Update of /cvsroot/wxlua/wxLua/modules/wxlua/src
In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv26472/wxLua/modules/wxlua/src
Modified Files:
wxlstate.cpp
Log Message:
Try to use the lua.exe in the path first
Fix bitlib LUALIB_API to use LUACALL
Index: wxlstate.cpp
===================================================================
RCS file: /cvsroot/wxlua/wxLua/modules/wxlua/src/wxlstate.cpp,v
retrieving revision 1.170
retrieving revision 1.171
diff -C2 -d -r1.170 -r1.171
*** wxlstate.cpp 1 Feb 2008 05:36:38 -0000 1.170
--- wxlstate.cpp 2 Feb 2008 15:39:05 -0000 1.171
***************
*** 4142,4146 ****
};
! LUALIB_API int luaopen_bit (lua_State *L) {
luaL_register(L, "bit", bitlib);
lua_pushnumber(L, BIT_BITS);
--- 4142,4146 ----
};
! int LUACALL luaopen_bit (lua_State *L) {
luaL_register(L, "bit", bitlib);
lua_pushnumber(L, BIT_BITS);
|