From: John L. <jr...@us...> - 2006-02-03 15:18:13
|
Update of /cvsroot/wxlua/wxLua/modules/wxbindstc/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11214/wxLua/modules/wxbindstc/src Modified Files: wxstc_builtin.cpp Log Message: fix genwxbind to just return NULL for builtin functions when there's none Index: wxstc_builtin.cpp =================================================================== RCS file: /cvsroot/wxlua/wxLua/modules/wxbindstc/src/wxstc_builtin.cpp,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** wxstc_builtin.cpp 2 Feb 2006 16:11:33 -0000 1.1 --- wxstc_builtin.cpp 3 Feb 2006 15:18:05 -0000 1.2 *************** *** 29,37 **** WXLUAMETHOD* wxLuaGetBuiltinList_wxstc(size_t &count) { ! static WXLUAMETHOD builtinList[] = ! { ! }; ! count = (sizeof(builtinList)/sizeof(builtinList[0])); ! return builtinList; } --- 29,34 ---- WXLUAMETHOD* wxLuaGetBuiltinList_wxstc(size_t &count) { ! count = 0; ! return NULL; } |