From: John L. <jr...@us...> - 2007-06-13 00:09:07
|
Update of /cvsroot/wxlua/wxLua/modules/wxlua/include In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv10172/wxLua/modules/wxlua/include Modified Files: wxlbind.h wxldefs.h Log Message: Add new flag for wxLuaBindMethod WXLUAMETHOD_DELETE to know if this is our special delete function. Do not treat the delete function as if it was overloaded from base class Fix MSVC warnings about comparing ints and enums in wxlbind.cpp Add "class" to get class from wxLuaBinding_XXX in lua, also check for null for class_name Add bitlib from Reuben Thomas to wxlstate.cpp, maybe not the best place, but it's small Add code for bindings.wx.lua to check base classes and also functions overloading base class functions Add more unittest.wx.lua code to verify bindings Index: wxldefs.h =================================================================== RCS file: /cvsroot/wxlua/wxLua/modules/wxlua/include/wxldefs.h,v retrieving revision 1.23 retrieving revision 1.24 diff -C2 -d -r1.23 -r1.24 *** wxldefs.h 12 Jun 2007 05:03:17 -0000 1.23 --- wxldefs.h 13 Jun 2007 00:09:04 -0000 1.24 *************** *** 67,71 **** //----------------------------------------------------------------------------- ! #define WXLUA_BINDING_VERSION 11 // ---------------------------------------------------------------------------- --- 67,71 ---- //----------------------------------------------------------------------------- ! #define WXLUA_BINDING_VERSION 12 // ---------------------------------------------------------------------------- Index: wxlbind.h =================================================================== RCS file: /cvsroot/wxlua/wxLua/modules/wxlua/include/wxlbind.h,v retrieving revision 1.49 retrieving revision 1.50 diff -C2 -d -r1.49 -r1.50 *** wxlbind.h 12 Jun 2007 05:03:17 -0000 1.49 --- wxlbind.h 13 Jun 2007 00:09:04 -0000 1.50 *************** *** 86,90 **** // but are the min and max of all functions ! WXLUAMETHOD_OVERLOAD_BASE = 0x4000, // Class method has been checked to see if it is // overloaded from the base class by the function // wxLuaBinding::GetClassMethod(wxLuaBindClass...) --- 86,94 ---- // but are the min and max of all functions ! WXLUAMETHOD_DELETE = 0x4000, // This is the delete function that wxLua has generated ! // to delete this class and is not part of the ! // original class. ! ! WXLUAMETHOD_OVERLOAD_BASE = 0x8000, // Class method has been checked to see if it is // overloaded from the base class by the function // wxLuaBinding::GetClassMethod(wxLuaBindClass...) |