From: John L. <jr...@us...> - 2006-12-17 07:47:22
|
Update of /cvsroot/wxlua/wxLua/modules/wxlua/include In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv28504/wxLua/modules/wxlua/include Modified Files: wxlbind.h wxldefs.h Log Message: separate out the wxluatag arrays and use pointer in WXLUAMETHOD Index: wxldefs.h =================================================================== RCS file: /cvsroot/wxlua/wxLua/modules/wxlua/include/wxldefs.h,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** wxldefs.h 14 Dec 2006 01:01:26 -0000 1.11 --- wxldefs.h 17 Dec 2006 07:47:17 -0000 1.12 *************** *** 49,53 **** //----------------------------------------------------------------------------- ! #define WXLUA_BINDING_VERSION 3 // ---------------------------------------------------------------------------- --- 49,53 ---- //----------------------------------------------------------------------------- ! #define WXLUA_BINDING_VERSION 4 // ---------------------------------------------------------------------------- Index: wxlbind.h =================================================================== RCS file: /cvsroot/wxlua/wxLua/modules/wxlua/include/wxlbind.h,v retrieving revision 1.31 retrieving revision 1.32 diff -C2 -d -r1.31 -r1.32 *** wxlbind.h 14 Dec 2006 01:01:26 -0000 1.31 --- wxlbind.h 17 Dec 2006 07:47:17 -0000 1.32 *************** *** 52,55 **** --- 52,56 ---- typedef int* wxLuaArgTag; // address of class tag (a pointer to it) + extern WXDLLIMPEXP_DATA_WXLUA(wxLuaArgTag) s_wxluaargArray_None[1]; // = {0} struct WXDLLIMPEXP_WXLUA WXLUAMETHOD // defines a LUA method or property *************** *** 60,64 **** int maxargs; // max number of function arguments (was 'params') int minargs; // min number of function arguments (was 'required') ! wxLuaArgTag argtags[20]; // array of lua tags representing each argument, zero terminated }; --- 61,65 ---- int maxargs; // max number of function arguments (was 'params') int minargs; // min number of function arguments (was 'required') ! wxLuaArgTag* argtags; // array of lua tags representing each argument, zero terminated }; |