Update of /cvsroot/wxlua/wxLua/modules/wxlua/include
In directory sfp-cvsdas-1.v30.ch3.sourceforge.com:/tmp/cvs-serv30377/wxLua/modules/wxlua/include
Modified Files:
wxlstate.h
Log Message:
Make wxluaO_addgcobject return a bool instead of void.
Silence XRC warnings in calculator.wx.lua since we provide them.
Index: wxlstate.h
===================================================================
RCS file: /cvsroot/wxlua/wxLua/modules/wxlua/include/wxlstate.h,v
retrieving revision 1.128
retrieving revision 1.129
diff -C2 -d -r1.128 -r1.129
*** wxlstate.h 21 Dec 2009 04:06:13 -0000 1.128
--- wxlstate.h 30 Jan 2010 19:00:48 -0000 1.129
***************
*** 299,303 ****
// The object is stored in the wxlua_lreg_gcobjects_key of the LUA_REGISTRYINDEX.
// Note that the Lua userdata internal pointer is to the obj_ptr.
! WXDLLIMPEXP_WXLUA void LUACALL wxluaO_addgcobject(lua_State* L, void* obj_ptr, int wxl_type);
// Remove the wxLua object wrapped in a Lua userdata at the stack index from the
// wxlua_lreg_gcobjects_key table of the LUA_REGISTRYINDEX.
--- 299,303 ----
// The object is stored in the wxlua_lreg_gcobjects_key of the LUA_REGISTRYINDEX.
// Note that the Lua userdata internal pointer is to the obj_ptr.
! WXDLLIMPEXP_WXLUA bool LUACALL wxluaO_addgcobject(lua_State* L, void* obj_ptr, int wxl_type);
// Remove the wxLua object wrapped in a Lua userdata at the stack index from the
// wxlua_lreg_gcobjects_key table of the LUA_REGISTRYINDEX.
|