From: John L. <jr...@us...> - 2006-02-03 15:59:37
|
Update of /cvsroot/wxlua/wxLua/modules/wxbind/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26764/wxLua/modules/wxbind/src Modified Files: wx_builtin.cpp Log Message: make genwxbind.bat for wxstc nicer fix for empty arrays, fixes previous fix to empty builtin function array compilation error Index: wx_builtin.cpp =================================================================== RCS file: /cvsroot/wxlua/wxLua/modules/wxbind/src/wx_builtin.cpp,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** wx_builtin.cpp 2 Feb 2006 16:07:47 -0000 1.1 --- wx_builtin.cpp 3 Feb 2006 15:59:27 -0000 1.2 *************** *** 1903,1908 **** #endif }; ! count = (sizeof(builtinList)/sizeof(builtinList[0])); return builtinList; } --- 1903,1909 ---- #endif + { LuaGlobal, 0, 0, 0, 0 }, }; ! count = (sizeof(builtinList)/sizeof(builtinList[0])) - 1; return builtinList; } |