freebsd-ports/editors/bed/files/patch-plugins__examples__index2table.cc
Alejandro Pulver 4ca1cddb91 - Update to version 0.2.23.
- Rewrite check of 'menubar' feature in x11/rxvt when X11 option is enabled.
- Add dep to ALL_TARGET instead of running ${GMAKE} in post-configure.
- Add OPTIONS.
- Remove BROKEN for amd64 (builds).
- Remove BROKEN for ia64 (let's see what happens now).
- Add WWW line to pkg-descr.
- Added typedef hacks (has a bug that doesn't allow default arguments in
  function pointers, and also doesn't allow arrays of function pointers) to
  allow building with GCC > 2.95 (the problems are known, though).
2007-01-02 18:13:50 +00:00

11 lines
582 B
C++

--- plugins/examples/index2table.cc.orig Sun Jan 25 13:42:00 2004
+++ plugins/examples/index2table.cc Tue Jan 2 00:15:34 2007
@@ -33,7 +33,7 @@
iscalled(index2table)
//int Editor::gettableposition(int &length, int &startpos) ;
-int Editor::startindex2table(Filter * (*func)(int fb,int sb,char *opts,ScreenPart *part=NULL)) ;
+int Editor::startindex2table(startindex2table_func_t *func) ;
};
#define min(x,y) ((x)<(y)?(x):(y))
Index2table::Index2table(int fbytes,int sbytes,int off,int len,int pbase): tableoffset(off),maxintable(len),ptrbase(pbase),Filter(fbytes,sbytes) {