From: John L. <jr...@us...> - 2007-11-08 23:47:20
|
Update of /cvsroot/wxlua/wxLua/modules/wxlua/include In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv10188/wxLua/modules/wxlua/include Modified Files: wxlbind.h Log Message: Add storage for key and value datatype in wxLuaDebugItem and show it in the stack dialog Index: wxlbind.h =================================================================== RCS file: /cvsroot/wxlua/wxLua/modules/wxlua/include/wxlbind.h,v retrieving revision 1.61 retrieving revision 1.62 diff -C2 -d -r1.61 -r1.62 *** wxlbind.h 4 Sep 2007 22:21:10 -0000 1.61 --- wxlbind.h 8 Nov 2007 23:47:15 -0000 1.62 *************** *** 49,63 **** // wxlua arg tags for common Lua types ! #define WXLUAARG_None 0 ! #define WXLUAARG_Nil -2 ! #define WXLUAARG_Boolean -3 ! #define WXLUAARG_LightUserData -4 ! #define WXLUAARG_Number -5 ! #define WXLUAARG_String -6 ! #define WXLUAARG_Table -7 ! #define WXLUAARG_Function -8 ! #define WXLUAARG_UserData -9 ! #define WXLUAARG_Thread -10 ! #define WXLUAARG_Integer -11 // Variables used in the wxLuaArgTag member of the wxLuaBindCFunc for --- 49,69 ---- // wxlua arg tags for common Lua types ! #define WXLUAARG_None 0 // LUA_TNONE ! #define WXLUAARG_Unknown -1 // unset and invalid ! #define WXLUAARG_Nil -2 // LUA_TNIL ! #define WXLUAARG_Boolean -3 // LUA_TBOOLEAN ! #define WXLUAARG_LightUserData -4 // LUA_TLIGHTUSERDATA ! #define WXLUAARG_Number -5 // LUA_TNUMBER ! #define WXLUAARG_String -6 // LUA_TSTRING ! #define WXLUAARG_Table -7 // LUA_TTABLE ! #define WXLUAARG_Function -8 // LUA_TFUNCTION ! #define WXLUAARG_UserData -9 // LUA_TUSERDATA ! #define WXLUAARG_Thread -10 // LUA_TTHREAD ! #define WXLUAARG_Integer -11 // LUA_TNUMBER bit wants only an integer ! #define WXLUAARG_CFunction -12 // LUA_TFUNCTION & lua_iscfunction, not a LUA_TXXX ! ! #define WXLUAARG__MIN -13 // Min of the WXLUAARG_XXX values ! ! #define WXLUAARG_TO_POSINDEX(wxlua_arg) (-(wxlua_arg)) // Variables used in the wxLuaArgTag member of the wxLuaBindCFunc for *************** *** 75,78 **** --- 81,85 ---- extern WXDLLIMPEXP_DATA_WXLUA(int) s_wxluaarg_Thread; extern WXDLLIMPEXP_DATA_WXLUA(int) s_wxluaarg_Integer; + extern WXDLLIMPEXP_DATA_WXLUA(int) s_wxluaarg_CFunction; // copies of wxlua arg tags for binding types that are used very often |