From: John L. <jr...@us...> - 2008-01-08 06:19:56
|
Update of /cvsroot/wxlua/wxLua/modules/wxlua/include In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv23092/wxLua/modules/wxlua/include Modified Files: wxlbind.h Log Message: Little bit of code cleanup Index: wxlbind.h =================================================================== RCS file: /cvsroot/wxlua/wxLua/modules/wxlua/include/wxlbind.h,v retrieving revision 1.77 retrieving revision 1.78 diff -C2 -d -r1.77 -r1.78 *** wxlbind.h 4 Jan 2008 00:21:08 -0000 1.77 --- wxlbind.h 8 Jan 2008 06:19:53 -0000 1.78 *************** *** 73,77 **** // Copies of wxLua types that are used very often. ! // Note that we do not use the original since we may not be linked // to the binding library that defines them. extern WXDLLIMPEXP_DATA_WXLUA(int) g_wxluatag_NULL; // wxLua type for NULL pointer --- 73,77 ---- // Copies of wxLua types that are used very often. ! // Note that we do not use the original since we may not be linked // to the binding library that defines them. extern WXDLLIMPEXP_DATA_WXLUA(int) g_wxluatag_NULL; // wxLua type for NULL pointer *************** *** 207,211 **** // registered since the base class may be from // a different module (a library perhaps). - // See wxLuaBinding::SetBaseClass() wxLuaBindNumber* enums; // Class member enums or NULL if none --- 207,210 ---- *************** *** 247,251 **** // wxLuaObject - Wraps a reference to a Lua object reference inside a // wxObject-derived class so that a Lua object can be used for userdata. ! // Also with a simple extension by a proxy member value it can be used // to provide pointers to the wxValidator classes. // ---------------------------------------------------------------------------- --- 246,250 ---- // wxLuaObject - Wraps a reference to a Lua object reference inside a // wxObject-derived class so that a Lua object can be used for userdata. ! // Also with a simple extension by a proxy member value it can be used // to provide pointers to the wxValidator classes. // ---------------------------------------------------------------------------- *************** *** 277,281 **** // You cannot call this after calling GetXXXPtr(), but only if this wraps a // stack item. ! void SetObject(int stack_idx = 1); // The following methods are used by the wxValidator interface --- 276,280 ---- // You cannot call this after calling GetXXXPtr(), but only if this wraps a // stack item. ! void SetObject(int stack_idx); // The following methods are used by the wxValidator interface *************** *** 375,379 **** void operator = (int *intArr) { m_intArr = intArr; } ! operator int *() { return m_intArr; } private: --- 374,378 ---- void operator = (int *intArr) { m_intArr = intArr; } ! operator int *() { return m_intArr; } // Note: not const for wxGLCanvas private: *************** *** 582,591 **** static void InitAllBindings(bool force_update = false); - // Look for the base class of the input wxLuaBindClass in this binding using the - // baseclassName of the input and if found, set the wxLuaBindClass::baseclass - // member of the input. - // This is called by InitAllBindings() by the wxLuaState and should not be called afterwards. - bool SetBaseClass(wxLuaBindClass* wxlClass); - protected: void InitBinding(); // must called after subclassed version is created --- 581,584 ---- |