Update of /cvsroot/wxlua/wxLua/apps/wxluacan/src
In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv22549/wxLua/apps/wxluacan/src
Modified Files:
wxluacan.h wxluacan_bind.cpp
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: wxluacan_bind.cpp
===================================================================
RCS file: /cvsroot/wxlua/wxLua/apps/wxluacan/src/wxluacan_bind.cpp,v
retrieving revision 1.22
retrieving revision 1.23
diff -C2 -d -r1.22 -r1.23
*** wxluacan_bind.cpp 8 Jun 2007 01:36:21 -0000 1.22
--- wxluacan_bind.cpp 12 Jun 2007 05:03:16 -0000 1.23
***************
*** 181,184 ****
--- 181,185 ----
m_objectArray = wxLuaGetObjectList_wxluacan(m_objectCount);
m_functionArray = wxLuaGetFunctionList_wxluacan(m_functionCount);
+ InitBinding();
}
Index: wxluacan.h
===================================================================
RCS file: /cvsroot/wxlua/wxLua/apps/wxluacan/src/wxluacan.h,v
retrieving revision 1.27
retrieving revision 1.28
diff -C2 -d -r1.27 -r1.28
*** wxluacan.h 8 Jun 2007 01:36:21 -0000 1.27
--- wxluacan.h 12 Jun 2007 05:03:16 -0000 1.28
***************
*** 18,24 ****
// the current version of the bindings.
// See 'bindings/genwxbind.lua' and 'modules/wxlua/include/wxldefs.h'
! #if WXLUA_BINDING_VERSION > 10
# error "The WXLUA_BINDING_VERSION in the bindings is too old, regenerate bindings."
! #endif //WXLUA_BINDING_VERSION > 10
// ---------------------------------------------------------------------------
--- 18,24 ----
// the current version of the bindings.
// See 'bindings/genwxbind.lua' and 'modules/wxlua/include/wxldefs.h'
! #if WXLUA_BINDING_VERSION > 11
# error "The WXLUA_BINDING_VERSION in the bindings is too old, regenerate bindings."
! #endif //WXLUA_BINDING_VERSION > 11
// ---------------------------------------------------------------------------
|