From: John L. <jr...@us...> - 2007-02-26 01:57:26
|
Update of /cvsroot/wxlua/wxLua/modules/wxluasocket/src In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv32575/wxLua/modules/wxluasocket/src Modified Files: wxluasocket.cpp wxluasocket_bind.cpp Log Message: Change WXLUACLASS to keep a pointer to the base class's WXLUACLASS not it's tag for faster lookup. cleanup of the headers, more comments Index: wxluasocket_bind.cpp =================================================================== RCS file: /cvsroot/wxlua/wxLua/modules/wxluasocket/src/wxluasocket_bind.cpp,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** wxluasocket_bind.cpp 17 Dec 2006 07:47:17 -0000 1.12 --- wxluasocket_bind.cpp 26 Feb 2007 01:57:07 -0000 1.13 *************** *** 1,7 **** ! // ---------------------------------------------------------------------------- // This file was generated by genwxbind.lua // // Any changes made to this file may be lost when file is regenerated. ! // ---------------------------------------------------------------------------- #ifdef __BORLANDC__ --- 1,7 ---- ! // --------------------------------------------------------------------------- // This file was generated by genwxbind.lua // // Any changes made to this file may be lost when file is regenerated. ! // --------------------------------------------------------------------------- #ifdef __BORLANDC__ *************** *** 20,26 **** ! // ---------------------------------------------------------------------------- // wxLuaGetEventList_wxluasocket() is called to register events ! // ---------------------------------------------------------------------------- WXLUAEVENT* wxLuaGetEventList_wxluasocket(size_t &count) --- 20,26 ---- ! // --------------------------------------------------------------------------- // wxLuaGetEventList_wxluasocket() is called to register events ! // --------------------------------------------------------------------------- WXLUAEVENT* wxLuaGetEventList_wxluasocket(size_t &count) *************** *** 45,51 **** } ! // ---------------------------------------------------------------------------- // wxLuaGetDefineList_wxluasocket() is called to register defines and enums ! // ---------------------------------------------------------------------------- WXLUADEFINE* wxLuaGetDefineList_wxluasocket(size_t &count) --- 45,51 ---- } ! // --------------------------------------------------------------------------- // wxLuaGetDefineList_wxluasocket() is called to register defines and enums ! // --------------------------------------------------------------------------- WXLUADEFINE* wxLuaGetDefineList_wxluasocket(size_t &count) *************** *** 53,63 **** static WXLUADEFINE defineList[] = { ! // -------------------------------------------------------------------- // %define ! // -------------------------------------------------------------------- ! // -------------------------------------------------------------------- // %enum ! // -------------------------------------------------------------------- { 0, 0 }, --- 53,63 ---- static WXLUADEFINE defineList[] = { ! // ------------------------------------------------------------------- // %define ! // ------------------------------------------------------------------- ! // ------------------------------------------------------------------- // %enum ! // ------------------------------------------------------------------- { 0, 0 }, *************** *** 67,74 **** } ! // ---------------------------------------------------------------------------- // wxLuaGetStringList_wxluasocket() is called to register strings ! // ---------------------------------------------------------------------------- WXLUASTRING* wxLuaGetStringList_wxluasocket(size_t &count) --- 67,74 ---- } ! // --------------------------------------------------------------------------- // wxLuaGetStringList_wxluasocket() is called to register strings ! // --------------------------------------------------------------------------- WXLUASTRING* wxLuaGetStringList_wxluasocket(size_t &count) *************** *** 76,82 **** static WXLUASTRING stringList[] = { ! // -------------------------------------------------------------------- // %define %string ! // -------------------------------------------------------------------- { 0, 0 }, --- 76,82 ---- static WXLUASTRING stringList[] = { ! // ------------------------------------------------------------------- // %define %string ! // ------------------------------------------------------------------- { 0, 0 }, *************** *** 86,92 **** } ! // ---------------------------------------------------------------------------- // wxLuaGetObjectList_wxluasocket() is called to register object and pointer bindings ! // ---------------------------------------------------------------------------- WXLUAOBJECT* wxLuaGetObjectList_wxluasocket(size_t &count) --- 86,92 ---- } ! // --------------------------------------------------------------------------- // wxLuaGetObjectList_wxluasocket() is called to register object and pointer bindings ! // --------------------------------------------------------------------------- WXLUAOBJECT* wxLuaGetObjectList_wxluasocket(size_t &count) *************** *** 100,110 **** } ! // ---------------------------------------------------------------------------- // wxLuaGetFunctionList_wxluasocket() is called to register global functions ! // ---------------------------------------------------------------------------- ! // ---------------------------------------------------------------------------- // wxLuaGetFunctionList_wxluasocket() is called to register global functions ! // ---------------------------------------------------------------------------- WXLUAMETHOD* wxLuaGetFunctionList_wxluasocket(size_t &count) --- 100,110 ---- } ! // --------------------------------------------------------------------------- // wxLuaGetFunctionList_wxluasocket() is called to register global functions ! // --------------------------------------------------------------------------- ! // --------------------------------------------------------------------------- // wxLuaGetFunctionList_wxluasocket() is called to register global functions ! // --------------------------------------------------------------------------- WXLUAMETHOD* wxLuaGetFunctionList_wxluasocket(size_t &count) *************** *** 120,126 **** ! // ---------------------------------------------------------------------------- // wxLuaGetClassList_wxluasocket() is called to register classes ! // ---------------------------------------------------------------------------- WXLUACLASS* wxLuaGetClassList_wxluasocket(size_t &count) --- 120,126 ---- ! // --------------------------------------------------------------------------- // wxLuaGetClassList_wxluasocket() is called to register classes ! // --------------------------------------------------------------------------- WXLUACLASS* wxLuaGetClassList_wxluasocket(size_t &count) *************** *** 128,133 **** static WXLUACLASS classList[] = { ! { "wxLuaDebuggerEvent", wxLuaDebuggerEvent_methods, wxLuaDebuggerEvent_methodCount, -1, CLASSINFO(wxLuaDebuggerEvent), &s_wxluatag_wxLuaDebuggerEvent, "wxEvent" }, ! { "wxLuaDebuggerServer", wxLuaDebuggerServer_methods, wxLuaDebuggerServer_methodCount, -1, CLASSINFO(wxLuaDebuggerServer), &s_wxluatag_wxLuaDebuggerServer, "wxEvtHandler" }, { 0, 0, 0, 0, 0, 0, 0 }, }; --- 128,133 ---- static WXLUACLASS classList[] = { ! { "wxLuaDebuggerEvent", wxLuaDebuggerEvent_methods, wxLuaDebuggerEvent_methodCount, CLASSINFO(wxLuaDebuggerEvent), &s_wxluatag_wxLuaDebuggerEvent, "wxEvent", NULL }, ! { "wxLuaDebuggerServer", wxLuaDebuggerServer_methods, wxLuaDebuggerServer_methodCount, CLASSINFO(wxLuaDebuggerServer), &s_wxluatag_wxLuaDebuggerServer, "wxEvtHandler", NULL }, { 0, 0, 0, 0, 0, 0, 0 }, }; *************** *** 138,144 **** ! // ---------------------------------------------------------------------------- // wxLuaGetClassList_wxluasocket() is called to register classes ! // ---------------------------------------------------------------------------- // binding class --- 138,144 ---- ! // --------------------------------------------------------------------------- // wxLuaGetClassList_wxluasocket() is called to register classes ! // --------------------------------------------------------------------------- // binding class Index: wxluasocket.cpp =================================================================== RCS file: /cvsroot/wxlua/wxLua/modules/wxluasocket/src/wxluasocket.cpp,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** wxluasocket.cpp 22 Feb 2007 20:33:10 -0000 1.16 --- wxluasocket.cpp 26 Feb 2007 01:57:07 -0000 1.17 *************** *** 1,7 **** ! // ---------------------------------------------------------------------------- // This file was generated by genwxbind.lua // // Any changes made to this file may be lost when file is regenerated. ! // ---------------------------------------------------------------------------- #ifdef __BORLANDC__ --- 1,7 ---- ! // --------------------------------------------------------------------------- // This file was generated by genwxbind.lua // // Any changes made to this file may be lost when file is regenerated. ! // --------------------------------------------------------------------------- #ifdef __BORLANDC__ *************** *** 20,26 **** ! // ------------------------------------------------------------------------------------------------- // Bind class wxLuaDebuggerServer ! // ------------------------------------------------------------------------------------------------- // Lua MetaTable Tag for Class 'wxLuaDebuggerServer' --- 20,26 ---- ! // --------------------------------------------------------------------------- // Bind class wxLuaDebuggerServer ! // --------------------------------------------------------------------------- // Lua MetaTable Tag for Class 'wxLuaDebuggerServer' *************** *** 405,411 **** int wxLuaDebuggerServer_methodCount = sizeof(wxLuaDebuggerServer_methods)/sizeof(wxLuaDebuggerServer_methods[0]); ! // ------------------------------------------------------------------------------------------------- // Bind class wxLuaDebuggerEvent ! // ------------------------------------------------------------------------------------------------- // Lua MetaTable Tag for Class 'wxLuaDebuggerEvent' --- 405,411 ---- int wxLuaDebuggerServer_methodCount = sizeof(wxLuaDebuggerServer_methods)/sizeof(wxLuaDebuggerServer_methods[0]); ! // --------------------------------------------------------------------------- // Bind class wxLuaDebuggerEvent ! // --------------------------------------------------------------------------- // Lua MetaTable Tag for Class 'wxLuaDebuggerEvent' |