From: John L. <jr...@us...> - 2007-02-26 01:57:46
|
Update of /cvsroot/wxlua/wxLua/modules/wxbind/include In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv32575/wxLua/modules/wxbind/include Modified Files: wxbind.h 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: wxbind.h =================================================================== RCS file: /cvsroot/wxlua/wxLua/modules/wxbind/include/wxbind.h,v retrieving revision 1.52 retrieving revision 1.53 diff -C2 -d -r1.52 -r1.53 *** wxbind.h 23 Feb 2007 04:35:31 -0000 1.52 --- wxbind.h 26 Feb 2007 01:57:01 -0000 1.53 *************** *** 1,8 **** ! // ---------------------------------------------------------------------------- // wx.h - headers and tags for wxLua binding // // This file was generated by genwxbind.lua // Any changes made to this file may be lost when file is regenerated ! // ---------------------------------------------------------------------------- #ifndef __HOOK_WXLUA_wx_H__ --- 1,8 ---- ! // --------------------------------------------------------------------------- // wx.h - headers and tags for wxLua binding // // This file was generated by genwxbind.lua // Any changes made to this file may be lost when file is regenerated ! // --------------------------------------------------------------------------- #ifndef __HOOK_WXLUA_wx_H__ *************** *** 39,45 **** #include "wxlua/include/wxlbind.h" ! #if WXLUA_BINDING_VERSION > 4 # error "The WXLUA_BINDING_VERSION in the bindings is too old, regenerate bindings." ! #endif //WXLUA_BINDING_VERSION > 4 // binding class --- 39,50 ---- #include "wxlua/include/wxlbind.h" ! // --------------------------------------------------------------------------- ! // Check if the version of binding generator used to create this is older than ! // the current version of the bindings. ! // See 'bindings/genwxbind.lua' and 'modules/wxlua/include/wxldefs.h' ! #if WXLUA_BINDING_VERSION > 5 # error "The WXLUA_BINDING_VERSION in the bindings is too old, regenerate bindings." ! #endif //WXLUA_BINDING_VERSION > 5 ! // --------------------------------------------------------------------------- // binding class *************** *** 63,69 **** extern WXDLLIMPEXP_WXBIND bool wxLuaBinding_wx_init(); ! // ---------------------------------------------------------------------------- // Includes ! // ---------------------------------------------------------------------------- #if (!defined(__WXMSW__)) && (wxLUA_USE_wxHelpController && wxUSE_HELP) --- 68,74 ---- extern WXDLLIMPEXP_WXBIND bool wxLuaBinding_wx_init(); ! // --------------------------------------------------------------------------- // Includes ! // --------------------------------------------------------------------------- #if (!defined(__WXMSW__)) && (wxLUA_USE_wxHelpController && wxUSE_HELP) *************** *** 635,641 **** ! // ---------------------------------------------------------------------------- // Lua Tag Method Values for each Class ! // ---------------------------------------------------------------------------- #if (!defined(__WXMSW__)) && (wxLUA_USE_wxHelpController && wxUSE_HELP) --- 640,646 ---- ! // --------------------------------------------------------------------------- // Lua Tag Method Values for each Class ! // --------------------------------------------------------------------------- #if (!defined(__WXMSW__)) && (wxLUA_USE_wxHelpController && wxUSE_HELP) *************** *** 1471,1477 **** ! // ---------------------------------------------------------------------------- // Method Tables ! // ---------------------------------------------------------------------------- #if (!defined(__WXMSW__)) && (wxLUA_USE_wxHelpController && wxUSE_HELP) --- 1476,1482 ---- ! // --------------------------------------------------------------------------- // Method Tables ! // --------------------------------------------------------------------------- #if (!defined(__WXMSW__)) && (wxLUA_USE_wxHelpController && wxUSE_HELP) *************** *** 2671,2677 **** ! // ---------------------------------------------------------------------------- // Encapsulation Declarations ! // ---------------------------------------------------------------------------- wxLUA_DECLARE_ENCAPSULATION(WXDLLIMPEXP_WXBIND, wxString, wxString) --- 2676,2682 ---- ! // --------------------------------------------------------------------------- // Encapsulation Declarations ! // --------------------------------------------------------------------------- wxLUA_DECLARE_ENCAPSULATION(WXDLLIMPEXP_WXBIND, wxString, wxString) |