Update of /cvsroot/wxlua/wxLua/bindings
In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv22549/wxLua/bindings
Modified Files:
genwxbind.lua
Log Message:
Add ability to do profiling in GCC using Makefiles
Add InitBinding function to wxLuaBinding to presort items
Test code for sorted wxLuaMethods, doesn't seem to be any faster though.
Index: genwxbind.lua
===================================================================
RCS file: /cvsroot/wxlua/wxLua/bindings/genwxbind.lua,v
retrieving revision 1.118
retrieving revision 1.119
diff -C2 -d -r1.118 -r1.119
*** genwxbind.lua 12 Jun 2007 00:08:35 -0000 1.118
--- genwxbind.lua 12 Jun 2007 05:03:16 -0000 1.119
***************
*** 18,22 ****
-- ---------------------------------------------------------------------------
! WXLUA_BINDING_VERSION = 10 -- Used to verify that the bindings are updated
-- This must match modules/wxlua/include/wxldefs.h
-- otherwise a compile time error will be generated.
--- 18,22 ----
-- ---------------------------------------------------------------------------
! WXLUA_BINDING_VERSION = 11 -- Used to verify that the bindings are updated
-- This must match modules/wxlua/include/wxldefs.h
-- otherwise a compile time error will be generated.
***************
*** 4114,4117 ****
--- 4114,4118 ----
table.insert(fileData, " m_objectArray = "..hook_cpp_object_funcname.."(m_objectCount);\n")
table.insert(fileData, " m_functionArray = "..hook_cpp_function_funcname.."(m_functionCount);\n")
+ table.insert(fileData, " InitBinding();\n")
table.insert(fileData, "}\n")
table.insert(fileData, "\n")
|