From: John L. <jr...@us...> - 2006-12-12 01:23:43
|
Update of /cvsroot/wxlua/wxLua/modules/wxlua/include In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv16152/wxLua/modules/wxlua/include Modified Files: wxlbind.h wxlcallb.h wxlstate.h Log Message: remove all #pragma interface since they are no longer needed Index: wxlcallb.h =================================================================== RCS file: /cvsroot/wxlua/wxLua/modules/wxlua/include/wxlcallb.h,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** wxlcallb.h 7 Dec 2006 01:22:02 -0000 1.12 --- wxlcallb.h 12 Dec 2006 01:23:40 -0000 1.13 *************** *** 10,17 **** #define _WXLCALLB_H_ - #if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) - #pragma interface "wxlcallb.h" - #endif - #include "wxlua/include/wxldefs.h" #include "wxlua/include/wxlstate.h" --- 10,13 ---- *************** *** 28,32 **** // if only one event Id is needed set lastId = wxID_ANY wxLuaCallback( const wxLuaState& state, int theRoutine, ! wxWindowID winId, wxWindowID lastId, wxEventType eventType, wxEvtHandler *pHandler ); --- 24,28 ---- // if only one event Id is needed set lastId = wxID_ANY wxLuaCallback( const wxLuaState& state, int theRoutine, ! wxWindowID winId, wxWindowID lastId, wxEventType eventType, wxEvtHandler *pHandler ); Index: wxlbind.h =================================================================== RCS file: /cvsroot/wxlua/wxLua/modules/wxlua/include/wxlbind.h,v retrieving revision 1.28 retrieving revision 1.29 diff -C2 -d -r1.28 -r1.29 *** wxlbind.h 11 Dec 2006 23:25:05 -0000 1.28 --- wxlbind.h 12 Dec 2006 01:23:40 -0000 1.29 *************** *** 10,17 **** #define _WXLBIND_H_ - #if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) - #pragma interface "wxlbind.h" - #endif - #include "wxlua/include/wxldefs.h" --- 10,13 ---- Index: wxlstate.h =================================================================== RCS file: /cvsroot/wxlua/wxLua/modules/wxlua/include/wxlstate.h,v retrieving revision 1.54 retrieving revision 1.55 diff -C2 -d -r1.54 -r1.55 *** wxlstate.h 11 Dec 2006 23:25:05 -0000 1.54 --- wxlstate.h 12 Dec 2006 01:23:40 -0000 1.55 *************** *** 1,4 **** ///////////////////////////////////////////////////////////////////////////// ! // Purpose: Interface to wxLua // Author: Ray Gilbert, John Labenski, J Winwood // Created: 14/11/2001 --- 1,4 ---- ///////////////////////////////////////////////////////////////////////////// ! // Purpose: wxWidgets interface to lua // Author: Ray Gilbert, John Labenski, J Winwood // Created: 14/11/2001 *************** *** 27,34 **** #define _WXLSTATE_H_ - #if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) - #pragma interface "wxlstate.h" - #endif - extern "C" { --- 27,30 ---- *************** *** 109,119 **** // ---------------------------------------------------------------------------- ! // Create a reference to the object at stack index in the // wxLuaReferences registry table, returns the table index. //WXDLLIMPEXP_WXLUA int LUACALL wxLua_lua_tinsert(lua_State* L, int stack_idx); ! // Remove a reference to the object at the index in the // wxLuaReferences registry table, returns success. //WXDLLIMPEXP_WXLUA bool LUACALL wxLua_lua_tremove(lua_State* L, int iReference); ! // Push onto the top of the stack the object at the index in the // wxLuaReferences registry table, returns success. WXDLLIMPEXP_WXLUA bool LUACALL wxLua_lua_tget(lua_State* L, int wxlref_index); --- 105,115 ---- // ---------------------------------------------------------------------------- ! // Create a reference to the object at stack index in the // wxLuaReferences registry table, returns the table index. //WXDLLIMPEXP_WXLUA int LUACALL wxLua_lua_tinsert(lua_State* L, int stack_idx); ! // Remove a reference to the object at the index in the // wxLuaReferences registry table, returns success. //WXDLLIMPEXP_WXLUA bool LUACALL wxLua_lua_tremove(lua_State* L, int iReference); ! // Push onto the top of the stack the object at the index in the // wxLuaReferences registry table, returns success. WXDLLIMPEXP_WXLUA bool LUACALL wxLua_lua_tget(lua_State* L, int wxlref_index); *************** *** 134,138 **** //WXDLLIMPEXP_WXLUA int LUACALL wxLua_lua_tnewtag(lua_State* L); // Create a new table and its metatable with weak keys and/or values by setting the ! // metatable's __weak index to [k/v]. The table is tinsert into the wxLuaReferences // registry table and return its index into the ref table. //WXDLLIMPEXP_WXLUA int LUACALL wxLua_lua_tnewweaktag(lua_State* L, bool weak_keys, bool weak_values); --- 130,134 ---- //WXDLLIMPEXP_WXLUA int LUACALL wxLua_lua_tnewtag(lua_State* L); // Create a new table and its metatable with weak keys and/or values by setting the ! // metatable's __weak index to [k/v]. The table is tinsert into the wxLuaReferences // registry table and return its index into the ref table. //WXDLLIMPEXP_WXLUA int LUACALL wxLua_lua_tnewweaktag(lua_State* L, bool weak_keys, bool weak_values); *************** *** 224,228 **** // but for an embedded program they must be deleted before // shutting down the interpreter, else they dangle ! wxArrayInt m_unusedReferenceIndexes; // array of unused (available) table indicies in the // wxLuaReferences registry table --- 220,224 ---- // but for an embedded program they must be deleted before // shutting down the interpreter, else they dangle ! wxArrayInt m_unusedReferenceIndexes; // array of unused (available) table indicies in the // wxLuaReferences registry table *************** *** 526,536 **** // wxLua lua Registry Table Functions ! // Create a reference to the object at stack index in the // wxLuaReferences registry table, returns the table index. int tinsert(int stack_idx); ! // Remove a reference to the object at the index in the // wxLuaReferences registry table, returns success. bool tremove(int wxlref_index); ! // Push onto the top of the stack the object at the index in the // wxLuaReferences registry table, returns success. bool tget(int wxlref_index); --- 522,532 ---- // wxLua lua Registry Table Functions ! // Create a reference to the object at stack index in the // wxLuaReferences registry table, returns the table index. int tinsert(int stack_idx); ! // Remove a reference to the object at the index in the // wxLuaReferences registry table, returns success. bool tremove(int wxlref_index); ! // Push onto the top of the stack the object at the index in the // wxLuaReferences registry table, returns success. bool tget(int wxlref_index); *************** *** 552,556 **** int tnewtag(); // Create a new table and its metatable with weak keys and/or values by setting the ! // metatable's __weak index to [k/v]. The table is tinsert into the wxLuaReferences // registry table and return its index into the ref table. int tnewweaktag(bool weak_keys, bool weak_values); --- 548,552 ---- int tnewtag(); // Create a new table and its metatable with weak keys and/or values by setting the ! // metatable's __weak index to [k/v]. The table is tinsert into the wxLuaReferences // registry table and return its index into the ref table. int tnewweaktag(bool weak_keys, bool weak_values); |