Update of /cvsroot/wxlua/wxLua/bindings/wxlua
In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv29717/wxLua/bindings/wxlua
Modified Files:
override.hpp
Log Message:
Rename TLUA_NOTAG to WXLUA_NOTAG since it's only for wxLua
Replace calls to lua_pushliteral with lua_pushlstring for better performance
Change wxLuaState::Has/Get/SetDerivedMethods to C functions wxlua_has/get/setderivedmethods
for a little better speed.
Test wxLuaObject in unittest.wx.lua
Index: override.hpp
===================================================================
RCS file: /cvsroot/wxlua/wxLua/bindings/wxlua/override.hpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** override.hpp 14 Jun 2007 01:23:07 -0000 1.1
--- override.hpp 14 Jun 2007 05:02:45 -0000 1.2
***************
*** 57,61 ****
// int wxluaarg_tag
int wxluaarg_tag = wxlua_ttag(L, 1);
! if (wxluaarg_tag == TLUA_NOTAG)
{
int ltype = lua_type(L, 1);
--- 57,61 ----
// int wxluaarg_tag
int wxluaarg_tag = wxlua_ttag(L, 1);
! if (wxluaarg_tag == WXLUA_NOTAG)
{
int ltype = lua_type(L, 1);
|