Update of /cvsroot/wxlua/wxLua/modules/wxluasocket/include
In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv1159/wxLua/modules/wxluasocket/include
Modified Files:
wxluasocket_bind.h
Log Message:
- Removed the wxLuaBinding::PreRegister() and PostRegister() functions and
made RegisterBinding() virtual
Note: wxLuaBinding::RegisterBinding() now leaves the Lua table that the
binding objects were installed into on the stack. You must pop it.
* The rules.lua for genwxbind.lua now uses wxLuaBinding_class_declaration and
wxLuaBinding_class_implementation to replace wxLuaBinding_preregister and
wxLuaBinding_postregister. You may now add whatever you like to the class
declaration and implementation source code.
Updated to Lua 5.1.3 official
Index: wxluasocket_bind.h
===================================================================
RCS file: /cvsroot/wxlua/wxLua/modules/wxluasocket/include/wxluasocket_bind.h,v
retrieving revision 1.33
retrieving revision 1.34
diff -C2 -d -r1.33 -r1.34
*** wxluasocket_bind.h 24 Jan 2008 00:18:18 -0000 1.33
--- wxluasocket_bind.h 25 Jan 2008 23:50:54 -0000 1.34
***************
*** 31,40 ****
public:
wxLuaBinding_wxluasocket();
- virtual wxLuaBinding* Clone() const { return new wxLuaBinding_wxluasocket; }
- protected:
- virtual void PreRegister(const wxLuaState& wxlState, int luaTable);
- virtual void PostRegister(const wxLuaState& wxlState, int luaTable);
DECLARE_DYNAMIC_CLASS(wxLuaBinding_wxluasocket)
};
--- 31,37 ----
public:
wxLuaBinding_wxluasocket();
+ private:
DECLARE_DYNAMIC_CLASS(wxLuaBinding_wxluasocket)
};
|