Update of /cvsroot/wxlua/wxLua/modules/wxbind/src In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv4861/wxLua/modules/wxbind/src Modified Files: appframe.cpp clipdrag.cpp config.cpp controls.cpp data.cpp datetime.cpp defsutil.cpp dialogs.cpp event.cpp file.cpp gdi.cpp geometry.cpp grid.cpp help.cpp html.cpp image.cpp mdi.cpp menutool.cpp print.cpp regex.cpp sizer.cpp socket.cpp thread.cpp wave.cpp windows.cpp wx_bind.cpp wxlua.cpp xml.cpp Log Message: Use s_wxluaargArray_None for arg array in bindings if there are no args instead of creating a new empty array for each function, { 0 }. Index: xml.cpp =================================================================== RCS file: /cvsroot/wxlua/wxLua/modules/wxbind/src/xml.cpp,v retrieving revision 1.18 retrieving revision 1.19 diff -C2 -d -r1.18 -r1.19 *** xml.cpp 6 Feb 2007 04:17:46 -0000 1.18 --- xml.cpp 7 Feb 2007 18:39:12 -0000 1.19 *************** *** 35,39 **** int s_wxluatag_wxXmlNode = -1; - static wxLuaArgTag s_wxluatagArray_wxLua_wxXmlNodeDefault_constructor[] = { 0 }; // %constructor wxXmlNodeDefault() static int LUACALL wxLua_wxXmlNodeDefault_constructor(lua_State *L) --- 35,38 ---- *************** *** 188,192 **** } - static wxLuaArgTag s_wxluatagArray_wxLua_wxXmlNode_GetType[] = { 0 }; // wxXmlNodeType GetType() const; static int LUACALL wxLua_wxXmlNode_GetType(lua_State *L) --- 187,190 ---- *************** *** 204,208 **** } - static wxLuaArgTag s_wxluatagArray_wxLua_wxXmlNode_GetName[] = { 0 }; // wxString GetName() const; static int LUACALL wxLua_wxXmlNode_GetName(lua_State *L) --- 202,205 ---- *************** *** 220,224 **** } - static wxLuaArgTag s_wxluatagArray_wxLua_wxXmlNode_GetContent[] = { 0 }; // wxString GetContent() const; static int LUACALL wxLua_wxXmlNode_GetContent(lua_State *L) --- 217,220 ---- *************** *** 236,240 **** } - static wxLuaArgTag s_wxluatagArray_wxLua_wxXmlNode_GetParent[] = { 0 }; // wxXmlNode *GetParent() const; static int LUACALL wxLua_wxXmlNode_GetParent(lua_State *L) --- 232,235 ---- *************** *** 252,256 **** } - static wxLuaArgTag s_wxluatagArray_wxLua_wxXmlNode_GetNext[] = { 0 }; // wxXmlNode *GetNext() const; static int LUACALL wxLua_wxXmlNode_GetNext(lua_State *L) --- 247,250 ---- *************** *** 268,272 **** } - static wxLuaArgTag s_wxluatagArray_wxLua_wxXmlNode_GetChildren[] = { 0 }; // wxXmlNode *GetChildren() const; static int LUACALL wxLua_wxXmlNode_GetChildren(lua_State *L) --- 262,265 ---- *************** *** 284,288 **** } - static wxLuaArgTag s_wxluatagArray_wxLua_wxXmlNode_GetProperties[] = { 0 }; // wxXmlProperty *GetProperties() const; static int LUACALL wxLua_wxXmlNode_GetProperties(lua_State *L) --- 277,280 ---- *************** *** 510,514 **** // Map Lua Class Methods to C Binding Functions WXLUAMETHOD wxXmlNode_methods[] = { ! { LuaConstructor, "wxXmlNodeDefault", wxLua_wxXmlNodeDefault_constructor, 0, 0, s_wxluatagArray_wxLua_wxXmlNodeDefault_constructor }, { LuaConstructor, "wxXmlNode", wxLua_wxXmlNode_constructor, 3, 2, s_wxluatagArray_wxLua_wxXmlNode_constructor }, { LuaConstructor, "wxXmlNodeEntry", wxLua_wxXmlNodeEntry_constructor, 6, 6, s_wxluatagArray_wxLua_wxXmlNodeEntry_constructor }, --- 502,506 ---- // Map Lua Class Methods to C Binding Functions WXLUAMETHOD wxXmlNode_methods[] = { ! { LuaConstructor, "wxXmlNodeDefault", wxLua_wxXmlNodeDefault_constructor, 0, 0, s_wxluaargArray_None }, { LuaConstructor, "wxXmlNode", wxLua_wxXmlNode_constructor, 3, 2, s_wxluatagArray_wxLua_wxXmlNode_constructor }, { LuaConstructor, "wxXmlNodeEntry", wxLua_wxXmlNodeEntry_constructor, 6, 6, s_wxluatagArray_wxLua_wxXmlNodeEntry_constructor }, *************** *** 518,528 **** { LuaMethod, "AddProperty", wxLua_wxXmlNode_AddProperty, 2, 2, s_wxluatagArray_wxLua_wxXmlNode_AddProperty }, { LuaMethod, "DeleteProperty", wxLua_wxXmlNode_DeleteProperty, 1, 1, s_wxluatagArray_wxLua_wxXmlNode_DeleteProperty }, ! { LuaMethod, "GetType", wxLua_wxXmlNode_GetType, 0, 0, s_wxluatagArray_wxLua_wxXmlNode_GetType }, ! { LuaMethod, "GetName", wxLua_wxXmlNode_GetName, 0, 0, s_wxluatagArray_wxLua_wxXmlNode_GetName }, ! { LuaMethod, "GetContent", wxLua_wxXmlNode_GetContent, 0, 0, s_wxluatagArray_wxLua_wxXmlNode_GetContent }, ! { LuaMethod, "GetParent", wxLua_wxXmlNode_GetParent, 0, 0, s_wxluatagArray_wxLua_wxXmlNode_GetParent }, ! { LuaMethod, "GetNext", wxLua_wxXmlNode_GetNext, 0, 0, s_wxluatagArray_wxLua_wxXmlNode_GetNext }, ! { LuaMethod, "GetChildren", wxLua_wxXmlNode_GetChildren, 0, 0, s_wxluatagArray_wxLua_wxXmlNode_GetChildren }, ! { LuaMethod, "GetProperties", wxLua_wxXmlNode_GetProperties, 0, 0, s_wxluatagArray_wxLua_wxXmlNode_GetProperties }, { LuaMethod, "GetPropValPtr", wxLua_wxXmlNode_GetPropValPtr, 2, 2, s_wxluatagArray_wxLua_wxXmlNode_GetPropValPtr }, { LuaMethod, "GetPropVal", wxLua_wxXmlNode_GetPropVal, 2, 2, s_wxluatagArray_wxLua_wxXmlNode_GetPropVal }, --- 510,520 ---- { LuaMethod, "AddProperty", wxLua_wxXmlNode_AddProperty, 2, 2, s_wxluatagArray_wxLua_wxXmlNode_AddProperty }, { LuaMethod, "DeleteProperty", wxLua_wxXmlNode_DeleteProperty, 1, 1, s_wxluatagArray_wxLua_wxXmlNode_DeleteProperty }, ! { LuaMethod, "GetType", wxLua_wxXmlNode_GetType, 0, 0, s_wxluaargArray_None }, ! { LuaMethod, "GetName", wxLua_wxXmlNode_GetName, 0, 0, s_wxluaargArray_None }, ! { LuaMethod, "GetContent", wxLua_wxXmlNode_GetContent, 0, 0, s_wxluaargArray_None }, ! { LuaMethod, "GetParent", wxLua_wxXmlNode_GetParent, 0, 0, s_wxluaargArray_None }, ! { LuaMethod, "GetNext", wxLua_wxXmlNode_GetNext, 0, 0, s_wxluaargArray_None }, ! { LuaMethod, "GetChildren", wxLua_wxXmlNode_GetChildren, 0, 0, s_wxluaargArray_None }, ! { LuaMethod, "GetProperties", wxLua_wxXmlNode_GetProperties, 0, 0, s_wxluaargArray_None }, { LuaMethod, "GetPropValPtr", wxLua_wxXmlNode_GetPropValPtr, 2, 2, s_wxluatagArray_wxLua_wxXmlNode_GetPropValPtr }, { LuaMethod, "GetPropVal", wxLua_wxXmlNode_GetPropVal, 2, 2, s_wxluatagArray_wxLua_wxXmlNode_GetPropVal }, *************** *** 588,592 **** } - static wxLuaArgTag s_wxluatagArray_wxLua_wxXmlPropertyDefault_constructor[] = { 0 }; // %constructor wxXmlPropertyDefault() static int LUACALL wxLua_wxXmlPropertyDefault_constructor(lua_State *L) --- 580,583 ---- *************** *** 604,608 **** } - static wxLuaArgTag s_wxluatagArray_wxLua_wxXmlProperty_GetName[] = { 0 }; // wxString GetName() static int LUACALL wxLua_wxXmlProperty_GetName(lua_State *L) --- 595,598 ---- *************** *** 620,624 **** } - static wxLuaArgTag s_wxluatagArray_wxLua_wxXmlProperty_GetValue[] = { 0 }; // wxString GetValue() static int LUACALL wxLua_wxXmlProperty_GetValue(lua_State *L) --- 610,613 ---- *************** *** 636,640 **** } - static wxLuaArgTag s_wxluatagArray_wxLua_wxXmlProperty_GetNext[] = { 0 }; // wxXmlProperty *GetNext() static int LUACALL wxLua_wxXmlProperty_GetNext(lua_State *L) --- 625,628 ---- *************** *** 727,734 **** WXLUAMETHOD wxXmlProperty_methods[] = { { LuaConstructor, "wxXmlProperty", wxLua_wxXmlProperty_constructor, 3, 3, s_wxluatagArray_wxLua_wxXmlProperty_constructor }, ! { LuaConstructor, "wxXmlPropertyDefault", wxLua_wxXmlPropertyDefault_constructor, 0, 0, s_wxluatagArray_wxLua_wxXmlPropertyDefault_constructor }, ! { LuaMethod, "GetName", wxLua_wxXmlProperty_GetName, 0, 0, s_wxluatagArray_wxLua_wxXmlProperty_GetName }, ! { LuaMethod, "GetValue", wxLua_wxXmlProperty_GetValue, 0, 0, s_wxluatagArray_wxLua_wxXmlProperty_GetValue }, ! { LuaMethod, "GetNext", wxLua_wxXmlProperty_GetNext, 0, 0, s_wxluatagArray_wxLua_wxXmlProperty_GetNext }, { LuaMethod, "SetName", wxLua_wxXmlProperty_SetName, 1, 1, s_wxluatagArray_wxLua_wxXmlProperty_SetName }, { LuaMethod, "SetValue", wxLua_wxXmlProperty_SetValue, 1, 1, s_wxluatagArray_wxLua_wxXmlProperty_SetValue }, --- 715,722 ---- WXLUAMETHOD wxXmlProperty_methods[] = { { LuaConstructor, "wxXmlProperty", wxLua_wxXmlProperty_constructor, 3, 3, s_wxluatagArray_wxLua_wxXmlProperty_constructor }, ! { LuaConstructor, "wxXmlPropertyDefault", wxLua_wxXmlPropertyDefault_constructor, 0, 0, s_wxluaargArray_None }, ! { LuaMethod, "GetName", wxLua_wxXmlProperty_GetName, 0, 0, s_wxluaargArray_None }, ! { LuaMethod, "GetValue", wxLua_wxXmlProperty_GetValue, 0, 0, s_wxluaargArray_None }, ! { LuaMethod, "GetNext", wxLua_wxXmlProperty_GetNext, 0, 0, s_wxluaargArray_None }, { LuaMethod, "SetName", wxLua_wxXmlProperty_SetName, 1, 1, s_wxluatagArray_wxLua_wxXmlProperty_SetName }, { LuaMethod, "SetValue", wxLua_wxXmlProperty_SetValue, 1, 1, s_wxluatagArray_wxLua_wxXmlProperty_SetValue }, *************** *** 756,760 **** int s_wxluatag_wxXmlDocument = -1; - static wxLuaArgTag s_wxluatagArray_wxLua_wxXmlDocumentDefault_constructor[] = { 0 }; // %constructor wxXmlDocumentDefault(); static int LUACALL wxLua_wxXmlDocumentDefault_constructor(lua_State *L) --- 744,747 ---- *************** *** 834,838 **** } - static wxLuaArgTag s_wxluatagArray_wxLua_wxXmlDocument_IsOk[] = { 0 }; // bool IsOk() const; static int LUACALL wxLua_wxXmlDocument_IsOk(lua_State *L) --- 821,824 ---- *************** *** 850,854 **** } - static wxLuaArgTag s_wxluatagArray_wxLua_wxXmlDocument_GetRoot[] = { 0 }; // wxXmlNode *GetRoot() const; static int LUACALL wxLua_wxXmlDocument_GetRoot(lua_State *L) --- 836,839 ---- *************** *** 866,870 **** } - static wxLuaArgTag s_wxluatagArray_wxLua_wxXmlDocument_GetVersion[] = { 0 }; // wxString GetVersion() const; static int LUACALL wxLua_wxXmlDocument_GetVersion(lua_State *L) --- 851,854 ---- *************** *** 882,886 **** } - static wxLuaArgTag s_wxluatagArray_wxLua_wxXmlDocument_GetFileEncoding[] = { 0 }; // wxString GetFileEncoding() const; static int LUACALL wxLua_wxXmlDocument_GetFileEncoding(lua_State *L) --- 866,869 ---- *************** *** 972,983 **** // Map Lua Class Methods to C Binding Functions WXLUAMETHOD wxXmlDocument_methods[] = { ! { LuaConstructor, "wxXmlDocumentDefault", wxLua_wxXmlDocumentDefault_constructor, 0, 0, s_wxluatagArray_wxLua_wxXmlDocumentDefault_constructor }, { LuaConstructor, "wxXmlDocument", wxLua_wxXmlDocument_constructor, 2, 1, s_wxluatagArray_wxLua_wxXmlDocument_constructor }, { LuaMethod, "Load", wxLua_wxXmlDocument_Load, 2, 1, s_wxluatagArray_wxLua_wxXmlDocument_Load }, { LuaMethod, "Save", wxLua_wxXmlDocument_Save, 1, 1, s_wxluatagArray_wxLua_wxXmlDocument_Save }, ! { LuaMethod, "IsOk", wxLua_wxXmlDocument_IsOk, 0, 0, s_wxluatagArray_wxLua_wxXmlDocument_IsOk }, ! { LuaMethod, "GetRoot", wxLua_wxXmlDocument_GetRoot, 0, 0, s_wxluatagArray_wxLua_wxXmlDocument_GetRoot }, ! { LuaMethod, "GetVersion", wxLua_wxXmlDocument_GetVersion, 0, 0, s_wxluatagArray_wxLua_wxXmlDocument_GetVersion }, ! { LuaMethod, "GetFileEncoding", wxLua_wxXmlDocument_GetFileEncoding, 0, 0, s_wxluatagArray_wxLua_wxXmlDocument_GetFileEncoding }, { LuaMethod, "SetRoot", wxLua_wxXmlDocument_SetRoot, 1, 1, s_wxluatagArray_wxLua_wxXmlDocument_SetRoot }, { LuaMethod, "SetVersion", wxLua_wxXmlDocument_SetVersion, 1, 1, s_wxluatagArray_wxLua_wxXmlDocument_SetVersion }, --- 955,966 ---- // Map Lua Class Methods to C Binding Functions WXLUAMETHOD wxXmlDocument_methods[] = { ! { LuaConstructor, "wxXmlDocumentDefault", wxLua_wxXmlDocumentDefault_constructor, 0, 0, s_wxluaargArray_None }, { LuaConstructor, "wxXmlDocument", wxLua_wxXmlDocument_constructor, 2, 1, s_wxluatagArray_wxLua_wxXmlDocument_constructor }, { LuaMethod, "Load", wxLua_wxXmlDocument_Load, 2, 1, s_wxluatagArray_wxLua_wxXmlDocument_Load }, { LuaMethod, "Save", wxLua_wxXmlDocument_Save, 1, 1, s_wxluatagArray_wxLua_wxXmlDocument_Save }, ! { LuaMethod, "IsOk", wxLua_wxXmlDocument_IsOk, 0, 0, s_wxluaargArray_None }, ! { LuaMethod, "GetRoot", wxLua_wxXmlDocument_GetRoot, 0, 0, s_wxluaargArray_None }, ! { LuaMethod, "GetVersion", wxLua_wxXmlDocument_GetVersion, 0, 0, s_wxluaargArray_None }, ! { LuaMethod, "GetFileEncoding", wxLua_wxXmlDocument_GetFileEncoding, 0, 0, s_wxluaargArray_None }, { LuaMethod, "SetRoot", wxLua_wxXmlDocument_SetRoot, 1, 1, s_wxluatagArray_wxLua_wxXmlDocument_SetRoot }, { LuaMethod, "SetVersion", wxLua_wxXmlDocument_SetVersion, 1, 1, s_wxluatagArray_wxLua_wxXmlDocument_SetVersion }, *************** *** 1309,1313 **** } - static wxLuaArgTag s_wxluatagArray_wxLua_wxXmlResourceGetDefault_constructor[] = { 0 }; // %override wxLua_wxXmlResourceGetDefault_constructor // %constructor wxXmlResourceGetDefault() --- 1292,1295 ---- *************** *** 1368,1372 **** } - static wxLuaArgTag s_wxluatagArray_wxLua_wxXmlResource_ClearHandlers[] = { 0 }; // void ClearHandlers(); static int LUACALL wxLua_wxXmlResource_ClearHandlers(lua_State *L) --- 1350,1353 ---- *************** *** 1405,1409 **** } - static wxLuaArgTag s_wxluatagArray_wxLua_wxXmlResource_Get[] = { 0 }; // %override wxLua_wxXmlResource_Get // wxXmlResource* Get() --- 1386,1389 ---- *************** *** 1420,1424 **** } - static wxLuaArgTag s_wxluatagArray_wxLua_wxXmlResource_GetFlags[] = { 0 }; // int GetFlags() static int LUACALL wxLua_wxXmlResource_GetFlags(lua_State *L) --- 1400,1403 ---- *************** *** 1436,1440 **** } - static wxLuaArgTag s_wxluatagArray_wxLua_wxXmlResource_GetVersion[] = { 0 }; // long GetVersion() const; static int LUACALL wxLua_wxXmlResource_GetVersion(lua_State *L) --- 1415,1418 ---- *************** *** 1469,1473 **** } - static wxLuaArgTag s_wxluatagArray_wxLua_wxXmlResource_InitAllHandlers[] = { 0 }; // void InitAllHandlers(); static int LUACALL wxLua_wxXmlResource_InitAllHandlers(lua_State *L) --- 1447,1450 ---- *************** *** 1657,1670 **** { LuaConstructor, "wxXmlResource", wxLua_wxXmlResource_constructor, 2, 1, s_wxluatagArray_wxLua_wxXmlResource_constructor }, ! { LuaConstructor, "wxXmlResourceGetDefault", wxLua_wxXmlResourceGetDefault_constructor, 0, 0, s_wxluatagArray_wxLua_wxXmlResourceGetDefault_constructor }, { LuaConstructor, "wxXmlResourceDefault", wxLua_wxXmlResourceDefault_constructor, 1, 0, s_wxluatagArray_wxLua_wxXmlResourceDefault_constructor }, { LuaMethod, "AttachUnknownControl", wxLua_wxXmlResource_AttachUnknownControl, 3, 2, s_wxluatagArray_wxLua_wxXmlResource_AttachUnknownControl }, ! { LuaMethod, "ClearHandlers", wxLua_wxXmlResource_ClearHandlers, 0, 0, s_wxluatagArray_wxLua_wxXmlResource_ClearHandlers }, { LuaMethod, "CompareVersion", wxLua_wxXmlResource_CompareVersion, 4, 4, s_wxluatagArray_wxLua_wxXmlResource_CompareVersion }, ! { LuaMethod, "Get", wxLua_wxXmlResource_Get, 0, 0, s_wxluatagArray_wxLua_wxXmlResource_Get }, ! { LuaMethod, "GetFlags", wxLua_wxXmlResource_GetFlags, 0, 0, s_wxluatagArray_wxLua_wxXmlResource_GetFlags }, ! { LuaMethod, "GetVersion", wxLua_wxXmlResource_GetVersion, 0, 0, s_wxluatagArray_wxLua_wxXmlResource_GetVersion }, { LuaMethod, "GetXRCID", wxLua_wxXmlResource_GetXRCID, 1, 1, s_wxluatagArray_wxLua_wxXmlResource_GetXRCID }, ! { LuaMethod, "InitAllHandlers", wxLua_wxXmlResource_InitAllHandlers, 0, 0, s_wxluatagArray_wxLua_wxXmlResource_InitAllHandlers }, { LuaMethod, "Load", wxLua_wxXmlResource_Load, 1, 1, s_wxluatagArray_wxLua_wxXmlResource_Load }, { LuaMethod, "LoadPanel", wxLua_wxXmlResource_LoadPanel, 2, 2, s_wxluatagArray_wxLua_wxXmlResource_LoadPanel }, --- 1634,1647 ---- { LuaConstructor, "wxXmlResource", wxLua_wxXmlResource_constructor, 2, 1, s_wxluatagArray_wxLua_wxXmlResource_constructor }, ! { LuaConstructor, "wxXmlResourceGetDefault", wxLua_wxXmlResourceGetDefault_constructor, 0, 0, s_wxluaargArray_None }, { LuaConstructor, "wxXmlResourceDefault", wxLua_wxXmlResourceDefault_constructor, 1, 0, s_wxluatagArray_wxLua_wxXmlResourceDefault_constructor }, { LuaMethod, "AttachUnknownControl", wxLua_wxXmlResource_AttachUnknownControl, 3, 2, s_wxluatagArray_wxLua_wxXmlResource_AttachUnknownControl }, ! { LuaMethod, "ClearHandlers", wxLua_wxXmlResource_ClearHandlers, 0, 0, s_wxluaargArray_None }, { LuaMethod, "CompareVersion", wxLua_wxXmlResource_CompareVersion, 4, 4, s_wxluatagArray_wxLua_wxXmlResource_CompareVersion }, ! { LuaMethod, "Get", wxLua_wxXmlResource_Get, 0, 0, s_wxluaargArray_None }, ! { LuaMethod, "GetFlags", wxLua_wxXmlResource_GetFlags, 0, 0, s_wxluaargArray_None }, ! { LuaMethod, "GetVersion", wxLua_wxXmlResource_GetVersion, 0, 0, s_wxluaargArray_None }, { LuaMethod, "GetXRCID", wxLua_wxXmlResource_GetXRCID, 1, 1, s_wxluatagArray_wxLua_wxXmlResource_GetXRCID }, ! { LuaMethod, "InitAllHandlers", wxLua_wxXmlResource_InitAllHandlers, 0, 0, s_wxluaargArray_None }, { LuaMethod, "Load", wxLua_wxXmlResource_Load, 1, 1, s_wxluatagArray_wxLua_wxXmlResource_Load }, { LuaMethod, "LoadPanel", wxLua_wxXmlResource_LoadPanel, 2, 2, s_wxluatagArray_wxLua_wxXmlResource_LoadPanel }, Index: defsutil.cpp =================================================================== RCS file: /cvsroot/wxlua/wxLua/modules/wxbind/src/defsutil.cpp,v retrieving revision 1.22 retrieving revision 1.23 diff -C2 -d -r1.22 -r1.23 *** defsutil.cpp 6 Feb 2007 04:17:42 -0000 1.22 --- defsutil.cpp 7 Feb 2007 18:39:08 -0000 1.23 *************** *** 37,41 **** #if ((wxUSE_STREAMS) && (wxLUA_USE_wxProcess)) && (wxUSE_STREAMS) - static wxLuaArgTag s_wxluatagArray_wxLua_wxProcess_GetErrorStream[] = { 0 }; // wxInputStream *GetErrorStream() const static int LUACALL wxLua_wxProcess_GetErrorStream(lua_State *L) --- 37,40 ---- *************** *** 53,57 **** } - static wxLuaArgTag s_wxluatagArray_wxLua_wxProcess_GetInputStream[] = { 0 }; // wxInputStream *GetInputStream() const static int LUACALL wxLua_wxProcess_GetInputStream(lua_State *L) --- 52,55 ---- *************** *** 69,73 **** } - static wxLuaArgTag s_wxluatagArray_wxLua_wxProcess_GetOutputStream[] = { 0 }; // wxOutputStream *GetOutputStream() const static int LUACALL wxLua_wxProcess_GetOutputStream(lua_State *L) --- 67,70 ---- *************** *** 108,112 **** #if (wxUSE_STREAMS) && (wxLUA_USE_wxProcess) - static wxLuaArgTag s_wxluatagArray_wxLua_wxProcess_CloseOutput[] = { 0 }; // void CloseOutput() static int LUACALL wxLua_wxProcess_CloseOutput(lua_State *L) --- 105,108 ---- *************** *** 121,125 **** } - static wxLuaArgTag s_wxluatagArray_wxLua_wxProcess_IsErrorAvailable[] = { 0 }; // bool IsErrorAvailable() const static int LUACALL wxLua_wxProcess_IsErrorAvailable(lua_State *L) --- 117,120 ---- *************** *** 137,141 **** } - static wxLuaArgTag s_wxluatagArray_wxLua_wxProcess_IsInputAvailable[] = { 0 }; // bool IsInputAvailable() const static int LUACALL wxLua_wxProcess_IsInputAvailable(lua_State *L) --- 132,135 ---- *************** *** 153,157 **** } - static wxLuaArgTag s_wxluatagArray_wxLua_wxProcess_IsInputOpened[] = { 0 }; // bool IsInputOpened() const static int LUACALL wxLua_wxProcess_IsInputOpened(lua_State *L) --- 147,150 ---- *************** *** 193,197 **** } - static wxLuaArgTag s_wxluatagArray_wxLua_wxProcess_Detach[] = { 0 }; // void Detach() static int LUACALL wxLua_wxProcess_Detach(lua_State *L) --- 186,189 ---- *************** *** 264,268 **** } - static wxLuaArgTag s_wxluatagArray_wxLua_wxProcess_Redirect[] = { 0 }; // void Redirect() static int LUACALL wxLua_wxProcess_Redirect(lua_State *L) --- 256,259 ---- *************** *** 277,281 **** } - static wxLuaArgTag s_wxluatagArray_wxLua_wxProcess_IsRedirected[] = { 0 }; // bool IsRedirected() static int LUACALL wxLua_wxProcess_IsRedirected(lua_State *L) --- 268,271 ---- *************** *** 324,330 **** #if ((wxUSE_STREAMS) && (wxLUA_USE_wxProcess)) && (wxUSE_STREAMS) ! { LuaMethod, "GetErrorStream", wxLua_wxProcess_GetErrorStream, 0, 0, s_wxluatagArray_wxLua_wxProcess_GetErrorStream }, ! { LuaMethod, "GetInputStream", wxLua_wxProcess_GetInputStream, 0, 0, s_wxluatagArray_wxLua_wxProcess_GetInputStream }, ! { LuaMethod, "GetOutputStream", wxLua_wxProcess_GetOutputStream, 0, 0, s_wxluatagArray_wxLua_wxProcess_GetOutputStream }, { LuaMethod, "SetPipeStreams", wxLua_wxProcess_SetPipeStreams, 3, 3, s_wxluatagArray_wxLua_wxProcess_SetPipeStreams }, #endif // ((wxUSE_STREAMS) && (wxLUA_USE_wxProcess)) && (wxUSE_STREAMS) --- 314,320 ---- #if ((wxUSE_STREAMS) && (wxLUA_USE_wxProcess)) && (wxUSE_STREAMS) ! { LuaMethod, "GetErrorStream", wxLua_wxProcess_GetErrorStream, 0, 0, s_wxluaargArray_None }, ! { LuaMethod, "GetInputStream", wxLua_wxProcess_GetInputStream, 0, 0, s_wxluaargArray_None }, ! { LuaMethod, "GetOutputStream", wxLua_wxProcess_GetOutputStream, 0, 0, s_wxluaargArray_None }, { LuaMethod, "SetPipeStreams", wxLua_wxProcess_SetPipeStreams, 3, 3, s_wxluatagArray_wxLua_wxProcess_SetPipeStreams }, #endif // ((wxUSE_STREAMS) && (wxLUA_USE_wxProcess)) && (wxUSE_STREAMS) *************** *** 332,348 **** #if (wxUSE_STREAMS) && (wxLUA_USE_wxProcess) ! { LuaMethod, "CloseOutput", wxLua_wxProcess_CloseOutput, 0, 0, s_wxluatagArray_wxLua_wxProcess_CloseOutput }, ! { LuaMethod, "IsErrorAvailable", wxLua_wxProcess_IsErrorAvailable, 0, 0, s_wxluatagArray_wxLua_wxProcess_IsErrorAvailable }, ! { LuaMethod, "IsInputAvailable", wxLua_wxProcess_IsInputAvailable, 0, 0, s_wxluatagArray_wxLua_wxProcess_IsInputAvailable }, ! { LuaMethod, "IsInputOpened", wxLua_wxProcess_IsInputOpened, 0, 0, s_wxluatagArray_wxLua_wxProcess_IsInputOpened }, #endif // (wxUSE_STREAMS) && (wxLUA_USE_wxProcess) { LuaConstructor, "wxProcess", wxLua_wxProcess_constructor, 2, 0, s_wxluatagArray_wxLua_wxProcess_constructor }, ! { LuaMethod, "Detach", wxLua_wxProcess_Detach, 0, 0, s_wxluatagArray_wxLua_wxProcess_Detach }, { LuaMethod, "Kill", wxLua_wxProcess_Kill, 3, 1, s_wxluatagArray_wxLua_wxProcess_Kill }, { LuaMethod, "Exists", wxLua_wxProcess_Exists, 1, 1, s_wxluatagArray_wxLua_wxProcess_Exists }, { LuaMethod, "Open", wxLua_wxProcess_Open, 2, 1, s_wxluatagArray_wxLua_wxProcess_Open }, ! { LuaMethod, "Redirect", wxLua_wxProcess_Redirect, 0, 0, s_wxluatagArray_wxLua_wxProcess_Redirect }, ! { LuaMethod, "IsRedirected", wxLua_wxProcess_IsRedirected, 0, 0, s_wxluatagArray_wxLua_wxProcess_IsRedirected }, { LuaDelete, "wxProcess", wxLua_wxProcess_destructor, 0, 0, s_wxluaargArray_None }, { LuaMethod, "Delete", wxLua_wxProcess_Delete, 0, 0, s_wxluaargArray_None }, --- 322,338 ---- #if (wxUSE_STREAMS) && (wxLUA_USE_wxProcess) ! { LuaMethod, "CloseOutput", wxLua_wxProcess_CloseOutput, 0, 0, s_wxluaargArray_None }, ! { LuaMethod, "IsErrorAvailable", wxLua_wxProcess_IsErrorAvailable, 0, 0, s_wxluaargArray_None }, ! { LuaMethod, "IsInputAvailable", wxLua_wxProcess_IsInputAvailable, 0, 0, s_wxluaargArray_None }, ! { LuaMethod, "IsInputOpened", wxLua_wxProcess_IsInputOpened, 0, 0, s_wxluaargArray_None }, #endif // (wxUSE_STREAMS) && (wxLUA_USE_wxProcess) { LuaConstructor, "wxProcess", wxLua_wxProcess_constructor, 2, 0, s_wxluatagArray_wxLua_wxProcess_constructor }, ! { LuaMethod, "Detach", wxLua_wxProcess_Detach, 0, 0, s_wxluaargArray_None }, { LuaMethod, "Kill", wxLua_wxProcess_Kill, 3, 1, s_wxluatagArray_wxLua_wxProcess_Kill }, { LuaMethod, "Exists", wxLua_wxProcess_Exists, 1, 1, s_wxluatagArray_wxLua_wxProcess_Exists }, { LuaMethod, "Open", wxLua_wxProcess_Open, 2, 1, s_wxluatagArray_wxLua_wxProcess_Open }, ! { LuaMethod, "Redirect", wxLua_wxProcess_Redirect, 0, 0, s_wxluaargArray_None }, ! { LuaMethod, "IsRedirected", wxLua_wxProcess_IsRedirected, 0, 0, s_wxluaargArray_None }, { LuaDelete, "wxProcess", wxLua_wxProcess_destructor, 0, 0, s_wxluaargArray_None }, { LuaMethod, "Delete", wxLua_wxProcess_Delete, 0, 0, s_wxluaargArray_None }, *************** *** 361,365 **** int s_wxluatag_wxMouseState = -1; - static wxLuaArgTag s_wxluatagArray_wxLua_wxMouseState_constructor[] = { 0 }; // wxMouseState() static int LUACALL wxLua_wxMouseState_constructor(lua_State *L) --- 351,354 ---- *************** *** 377,381 **** } - static wxLuaArgTag s_wxluatagArray_wxLua_wxMouseState_GetX[] = { 0 }; // wxCoord GetX() static int LUACALL wxLua_wxMouseState_GetX(lua_State *L) --- 366,369 ---- *************** *** 393,397 **** } - static wxLuaArgTag s_wxluatagArray_wxLua_wxMouseState_GetY[] = { 0 }; // wxCoord GetY() static int LUACALL wxLua_wxMouseState_GetY(lua_State *L) --- 381,384 ---- *************** *** 409,413 **** } - static wxLuaArgTag s_wxluatagArray_wxLua_wxMouseState_LeftDown[] = { 0 }; // bool LeftDown() static int LUACALL wxLua_wxMouseState_LeftDown(lua_State *L) --- 396,399 ---- *************** *** 425,429 **** } - static wxLuaArgTag s_wxluatagArray_wxLua_wxMouseState_MiddleDown[] = { 0 }; // bool MiddleDown() static int LUACALL wxLua_wxMouseState_MiddleDown(lua_State *L) --- 411,414 ---- *************** *** 441,445 **** } - static wxLuaArgTag s_wxluatagArray_wxLua_wxMouseState_RightDown[] = { 0 }; // bool RightDown() static int LUACALL wxLua_wxMouseState_RightDown(lua_State *L) --- 426,429 ---- *************** *** 457,461 **** } - static wxLuaArgTag s_wxluatagArray_wxLua_wxMouseState_ControlDown[] = { 0 }; // bool ControlDown() static int LUACALL wxLua_wxMouseState_ControlDown(lua_State *L) --- 441,444 ---- *************** *** 473,477 **** } - static wxLuaArgTag s_wxluatagArray_wxLua_wxMouseState_ShiftDown[] = { 0 }; // bool ShiftDown() static int LUACALL wxLua_wxMouseState_ShiftDown(lua_State *L) --- 456,459 ---- *************** *** 489,493 **** } - static wxLuaArgTag s_wxluatagArray_wxLua_wxMouseState_AltDown[] = { 0 }; // bool AltDown() static int LUACALL wxLua_wxMouseState_AltDown(lua_State *L) --- 471,474 ---- *************** *** 505,509 **** } - static wxLuaArgTag s_wxluatagArray_wxLua_wxMouseState_MetaDown[] = { 0 }; // bool MetaDown() static int LUACALL wxLua_wxMouseState_MetaDown(lua_State *L) --- 486,489 ---- *************** *** 521,525 **** } - static wxLuaArgTag s_wxluatagArray_wxLua_wxMouseState_CmdDown[] = { 0 }; // bool CmdDown() static int LUACALL wxLua_wxMouseState_CmdDown(lua_State *L) --- 501,504 ---- *************** *** 701,715 **** // Map Lua Class Methods to C Binding Functions WXLUAMETHOD wxMouseState_methods[] = { ! { LuaConstructor, "wxMouseState", wxLua_wxMouseState_constructor, 0, 0, s_wxluatagArray_wxLua_wxMouseState_constructor }, ! { LuaMethod, "GetX", wxLua_wxMouseState_GetX, 0, 0, s_wxluatagArray_wxLua_wxMouseState_GetX }, ! { LuaMethod, "GetY", wxLua_wxMouseState_GetY, 0, 0, s_wxluatagArray_wxLua_wxMouseState_GetY }, ! { LuaMethod, "LeftDown", wxLua_wxMouseState_LeftDown, 0, 0, s_wxluatagArray_wxLua_wxMouseState_LeftDown }, ! { LuaMethod, "MiddleDown", wxLua_wxMouseState_MiddleDown, 0, 0, s_wxluatagArray_wxLua_wxMouseState_MiddleDown }, ! { LuaMethod, "RightDown", wxLua_wxMouseState_RightDown, 0, 0, s_wxluatagArray_wxLua_wxMouseState_RightDown }, ! { LuaMethod, "ControlDown", wxLua_wxMouseState_ControlDown, 0, 0, s_wxluatagArray_wxLua_wxMouseState_ControlDown }, ! { LuaMethod, "ShiftDown", wxLua_wxMouseState_ShiftDown, 0, 0, s_wxluatagArray_wxLua_wxMouseState_ShiftDown }, ! { LuaMethod, "AltDown", wxLua_wxMouseState_AltDown, 0, 0, s_wxluatagArray_wxLua_wxMouseState_AltDown }, ! { LuaMethod, "MetaDown", wxLua_wxMouseState_MetaDown, 0, 0, s_wxluatagArray_wxLua_wxMouseState_MetaDown }, ! { LuaMethod, "CmdDown", wxLua_wxMouseState_CmdDown, 0, 0, s_wxluatagArray_wxLua_wxMouseState_CmdDown }, { LuaMethod, "SetX", wxLua_wxMouseState_SetX, 1, 1, s_wxluatagArray_wxLua_wxMouseState_SetX }, { LuaMethod, "SetY", wxLua_wxMouseState_SetY, 1, 1, s_wxluatagArray_wxLua_wxMouseState_SetY }, --- 680,694 ---- // Map Lua Class Methods to C Binding Functions WXLUAMETHOD wxMouseState_methods[] = { ! { LuaConstructor, "wxMouseState", wxLua_wxMouseState_constructor, 0, 0, s_wxluaargArray_None }, ! { LuaMethod, "GetX", wxLua_wxMouseState_GetX, 0, 0, s_wxluaargArray_None }, ! { LuaMethod, "GetY", wxLua_wxMouseState_GetY, 0, 0, s_wxluaargArray_None }, ! { LuaMethod, "LeftDown", wxLua_wxMouseState_LeftDown, 0, 0, s_wxluaargArray_None }, ! { LuaMethod, "MiddleDown", wxLua_wxMouseState_MiddleDown, 0, 0, s_wxluaargArray_None }, ! { LuaMethod, "RightDown", wxLua_wxMouseState_RightDown, 0, 0, s_wxluaargArray_None }, ! { LuaMethod, "ControlDown", wxLua_wxMouseState_ControlDown, 0, 0, s_wxluaargArray_None }, ! { LuaMethod, "ShiftDown", wxLua_wxMouseState_ShiftDown, 0, 0, s_wxluaargArray_None }, ! { LuaMethod, "AltDown", wxLua_wxMouseState_AltDown, 0, 0, s_wxluaargArray_None }, ! { LuaMethod, "MetaDown", wxLua_wxMouseState_MetaDown, 0, 0, s_wxluaargArray_None }, ! { LuaMethod, "CmdDown", wxLua_wxMouseState_CmdDown, 0, 0, s_wxluaargArray_None }, { LuaMethod, "SetX", wxLua_wxMouseState_SetX, 1, 1, s_wxluatagArray_wxLua_wxMouseState_SetX }, { LuaMethod, "SetY", wxLua_wxMouseState_SetY, 1, 1, s_wxluatagArray_wxLua_wxMouseState_SetY }, Index: wxlua.cpp =================================================================== RCS file: /cvsroot/wxlua/wxLua/modules/wxbind/src/wxlua.cpp,v retrieving revision 1.25 retrieving revision 1.26 diff -C2 -d -r1.25 -r1.26 *** wxlua.cpp 6 Feb 2007 04:17:46 -0000 1.25 --- wxlua.cpp 7 Feb 2007 18:39:12 -0000 1.26 *************** *** 75,79 **** int s_wxluatag_wxLuaObject = -1; - static wxLuaArgTag s_wxluatagArray_wxLua_wxLuaObject_constructor[] = { 0 }; // %override wxLua_wxLuaObject_constructor // wxLuaObject(void *object) --- 75,78 ---- *************** *** 106,110 **** } - static wxLuaArgTag s_wxluatagArray_wxLua_wxLuaObject_GetObject[] = { 0 }; // %override wxLua_wxLuaObject_GetObject // void *GetObject() const --- 105,108 ---- *************** *** 120,124 **** } - static wxLuaArgTag s_wxluatagArray_wxLua_wxLuaObject_GetAllocationFlags[] = { 0 }; // int GetAllocationFlags() const static int LUACALL wxLua_wxLuaObject_GetAllocationFlags(lua_State *L) --- 118,121 ---- *************** *** 203,210 **** // Map Lua Class Methods to C Binding Functions WXLUAMETHOD wxLuaObject_methods[] = { ! { LuaConstructor, "wxLuaObject", wxLua_wxLuaObject_constructor, 0, 0, s_wxluatagArray_wxLua_wxLuaObject_constructor }, { LuaMethod, "SetObject", wxLua_wxLuaObject_SetObject, 1, 0, s_wxluatagArray_wxLua_wxLuaObject_SetObject }, ! { LuaMethod, "GetObject", wxLua_wxLuaObject_GetObject, 0, 0, s_wxluatagArray_wxLua_wxLuaObject_GetObject }, ! { LuaMethod, "GetAllocationFlags", wxLua_wxLuaObject_GetAllocationFlags, 0, 0, s_wxluatagArray_wxLua_wxLuaObject_GetAllocationFlags }, { LuaMethod, "HasAllocationFlag", wxLua_wxLuaObject_HasAllocationFlag, 1, 1, s_wxluatagArray_wxLua_wxLuaObject_HasAllocationFlag }, { LuaMethod, "SetAllocationFlag", wxLua_wxLuaObject_SetAllocationFlag, 2, 2, s_wxluatagArray_wxLua_wxLuaObject_SetAllocationFlag }, --- 200,207 ---- // Map Lua Class Methods to C Binding Functions WXLUAMETHOD wxLuaObject_methods[] = { ! { LuaConstructor, "wxLuaObject", wxLua_wxLuaObject_constructor, 0, 0, s_wxluaargArray_None }, { LuaMethod, "SetObject", wxLua_wxLuaObject_SetObject, 1, 0, s_wxluatagArray_wxLua_wxLuaObject_SetObject }, ! { LuaMethod, "GetObject", wxLua_wxLuaObject_GetObject, 0, 0, s_wxluaargArray_None }, ! { LuaMethod, "GetAllocationFlags", wxLua_wxLuaObject_GetAllocationFlags, 0, 0, s_wxluaargArray_None }, { LuaMethod, "HasAllocationFlag", wxLua_wxLuaObject_HasAllocationFlag, 1, 1, s_wxluatagArray_wxLua_wxLuaObject_HasAllocationFlag }, { LuaMethod, "SetAllocationFlag", wxLua_wxLuaObject_SetAllocationFlag, 2, 2, s_wxluatagArray_wxLua_wxLuaObject_SetAllocationFlag }, *************** *** 250,254 **** } - static wxLuaArgTag s_wxluatagArray_wxLua_wxLuaPrintout_GetID[] = { 0 }; // wxLuaObject *GetID() static int LUACALL wxLua_wxLuaPrintout_GetID(lua_State *L) --- 247,250 ---- *************** *** 319,323 **** WXLUAMETHOD wxLuaPrintout_methods[] = { { LuaConstructor, "wxLuaPrintout", wxLua_wxLuaPrintout_constructor, 2, 0, s_wxluatagArray_wxLua_wxLuaPrintout_constructor }, ! { LuaMethod, "GetID", wxLua_wxLuaPrintout_GetID, 0, 0, s_wxluatagArray_wxLua_wxLuaPrintout_GetID }, { LuaMethod, "SetPageInfo", wxLua_wxLuaPrintout_SetPageInfo, 4, 2, s_wxluatagArray_wxLua_wxLuaPrintout_SetPageInfo }, { LuaDelete, "wxLuaPrintout", wxLua_wxLuaPrintout_destructor, 0, 0, s_wxluaargArray_None }, --- 315,319 ---- WXLUAMETHOD wxLuaPrintout_methods[] = { { LuaConstructor, "wxLuaPrintout", wxLua_wxLuaPrintout_constructor, 2, 0, s_wxluatagArray_wxLua_wxLuaPrintout_constructor }, ! { LuaMethod, "GetID", wxLua_wxLuaPrintout_GetID, 0, 0, s_wxluaargArray_None }, { LuaMethod, "SetPageInfo", wxLua_wxLuaPrintout_SetPageInfo, 4, 2, s_wxluatagArray_wxLua_wxLuaPrintout_SetPageInfo }, { LuaDelete, "wxLuaPrintout", wxLua_wxLuaPrintout_destructor, 0, 0, s_wxluaargArray_None }, *************** *** 404,408 **** #if (wxLUA_USE_wxLuaHtmlWindow) && (wxLUA_USE_wxHTML) - static wxLuaArgTag s_wxluatagArray_wxLua_wxLuaHtmlWinTagEvent_GetHtmlTag[] = { 0 }; // const wxHtmlTag *GetHtmlTag() const static int LUACALL wxLua_wxLuaHtmlWinTagEvent_GetHtmlTag(lua_State *L) --- 400,403 ---- *************** *** 420,424 **** } - static wxLuaArgTag s_wxluatagArray_wxLua_wxLuaHtmlWinTagEvent_GetHtmlParser[] = { 0 }; // wxHtmlWinParser *GetHtmlParser() const static int LUACALL wxLua_wxLuaHtmlWinTagEvent_GetHtmlParser(lua_State *L) --- 415,418 ---- *************** *** 455,459 **** } - static wxLuaArgTag s_wxluatagArray_wxLua_wxLuaHtmlWinTagEvent_GetParseInnerCalled[] = { 0 }; // bool GetParseInnerCalled() const static int LUACALL wxLua_wxLuaHtmlWinTagEvent_GetParseInnerCalled(lua_State *L) --- 449,452 ---- *************** *** 502,507 **** #if (wxLUA_USE_wxLuaHtmlWindow) && (wxLUA_USE_wxHTML) ! { LuaMethod, "GetHtmlTag", wxLua_wxLuaHtmlWinTagEvent_GetHtmlTag, 0, 0, s_wxluatagArray_wxLua_wxLuaHtmlWinTagEvent_GetHtmlTag }, ! { LuaMethod, "GetHtmlParser", wxLua_wxLuaHtmlWinTagEvent_GetHtmlParser, 0, 0, s_wxluatagArray_wxLua_wxLuaHtmlWinTagEvent_GetHtmlParser }, { LuaGetProp, "HtmlTag", wxLua_wxLuaHtmlWinTagEvent_GetHtmlTag, 0, 0, s_wxluaargArray_None }, { LuaGetProp, "HtmlParser", wxLua_wxLuaHtmlWinTagEvent_GetHtmlParser, 0, 0, s_wxluaargArray_None }, --- 495,500 ---- #if (wxLUA_USE_wxLuaHtmlWindow) && (wxLUA_USE_wxHTML) ! { LuaMethod, "GetHtmlTag", wxLua_wxLuaHtmlWinTagEvent_GetHtmlTag, 0, 0, s_wxluaargArray_None }, ! { LuaMethod, "GetHtmlParser", wxLua_wxLuaHtmlWinTagEvent_GetHtmlParser, 0, 0, s_wxluaargArray_None }, { LuaGetProp, "HtmlTag", wxLua_wxLuaHtmlWinTagEvent_GetHtmlTag, 0, 0, s_wxluaargArray_None }, { LuaGetProp, "HtmlParser", wxLua_wxLuaHtmlWinTagEvent_GetHtmlParser, 0, 0, s_wxluaargArray_None }, *************** *** 509,513 **** { LuaMethod, "SetParseInnerCalled", wxLua_wxLuaHtmlWinTagEvent_SetParseInnerCalled, 1, 0, s_wxluatagArray_wxLua_wxLuaHtmlWinTagEvent_SetParseInnerCalled }, ! { LuaMethod, "GetParseInnerCalled", wxLua_wxLuaHtmlWinTagEvent_GetParseInnerCalled, 0, 0, s_wxluatagArray_wxLua_wxLuaHtmlWinTagEvent_GetParseInnerCalled }, { LuaGetProp, "ParseInnerCalled", wxLua_wxLuaHtmlWinTagEvent_GetParseInnerCalled, 0, 0, s_wxluaargArray_None }, { LuaSetProp, "ParseInnerCalled", wxLua_wxLuaHtmlWinTagEvent_SetParseInnerCalled, 1, 1, s_wxluaargArray_None }, --- 502,506 ---- { LuaMethod, "SetParseInnerCalled", wxLua_wxLuaHtmlWinTagEvent_SetParseInnerCalled, 1, 0, s_wxluatagArray_wxLua_wxLuaHtmlWinTagEvent_SetParseInnerCalled }, ! { LuaMethod, "GetParseInnerCalled", wxLua_wxLuaHtmlWinTagEvent_GetParseInnerCalled, 0, 0, s_wxluaargArray_None }, { LuaGetProp, "ParseInnerCalled", wxLua_wxLuaHtmlWinTagEvent_GetParseInnerCalled, 0, 0, s_wxluaargArray_None }, { LuaSetProp, "ParseInnerCalled", wxLua_wxLuaHtmlWinTagEvent_SetParseInnerCalled, 1, 1, s_wxluaargArray_None }, *************** *** 546,550 **** } - static wxLuaArgTag s_wxluatagArray_wxLua_wxLuaTreeItemData_GetValue[] = { 0 }; // double GetValue() const; static int LUACALL wxLua_wxLuaTreeItemData_GetValue(lua_State *L) --- 539,542 ---- *************** *** 587,591 **** WXLUAMETHOD wxLuaTreeItemData_methods[] = { { LuaConstructor, "wxLuaTreeItemData", wxLua_wxLuaTreeItemData_constructor, 1, 0, s_wxluatagArray_wxLua_wxLuaTreeItemData_constructor }, ! { LuaMethod, "GetValue", wxLua_wxLuaTreeItemData_GetValue, 0, 0, s_wxluatagArray_wxLua_wxLuaTreeItemData_GetValue }, { LuaMethod, "SetValue", wxLua_wxLuaTreeItemData_SetValue, 1, 1, s_wxluatagArray_wxLua_wxLuaTreeItemData_SetValue }, { LuaGetProp, "Value", wxLua_wxLuaTreeItemData_GetValue, 0, 0, s_wxluaargArray_None }, --- 579,583 ---- WXLUAMETHOD wxLuaTreeItemData_methods[] = { { LuaConstructor, "wxLuaTreeItemData", wxLua_wxLuaTreeItemData_constructor, 1, 0, s_wxluatagArray_wxLua_wxLuaTreeItemData_constructor }, ! { LuaMethod, "GetValue", wxLua_wxLuaTreeItemData_GetValue, 0, 0, s_wxluaargArray_None }, { LuaMethod, "SetValue", wxLua_wxLuaTreeItemData_SetValue, 1, 1, s_wxluatagArray_wxLua_wxLuaTreeItemData_SetValue }, { LuaGetProp, "Value", wxLua_wxLuaTreeItemData_GetValue, 0, 0, s_wxluaargArray_None }, Index: image.cpp =================================================================== RCS file: /cvsroot/wxlua/wxLua/modules/wxbind/src/image.cpp,v retrieving revision 1.22 retrieving revision 1.23 diff -C2 -d -r1.22 -r1.23 *** image.cpp 6 Feb 2007 04:17:44 -0000 1.22 --- image.cpp 7 Feb 2007 18:39:10 -0000 1.23 *************** *** 60,64 **** #if (wxLUA_USE_wxList) && (wxLUA_USE_wxImage) - static wxLuaArgTag s_wxluatagArray_wxLua_wxImage_GetHandlers[] = { 0 }; // static wxList& GetHandlers() static int LUACALL wxLua_wxImage_GetHandlers(lua_State *L) --- 60,63 ---- *************** *** 78,82 **** #if (wxLUA_USE_wxPalette) && (wxLUA_USE_wxImage) - static wxLuaArgTag s_wxluatagArray_wxLua_wxImage_GetPalette[] = { 0 }; // wxPalette GetPalette() const static int LUACALL wxLua_wxImage_GetPalette(lua_State *L) --- 77,80 ---- *************** *** 314,318 **** } - static wxLuaArgTag s_wxluatagArray_wxLua_wxDefaultImage_constructor[] = { 0 }; // %constructor wxDefaultImage() static int LUACALL wxLua_wxDefaultImage_constructor(lua_State *L) --- 312,315 ---- *************** *** 416,420 **** } - static wxLuaArgTag s_wxluatagArray_wxLua_wxImage_CleanUpHandlers[] = { 0 }; // static void CleanUpHandlers() static int LUACALL wxLua_wxImage_CleanUpHandlers(lua_State *L) --- 413,416 ---- *************** *** 452,456 **** } - static wxLuaArgTag s_wxluatagArray_wxLua_wxImage_Copy[] = { 0 }; // wxImage Copy() const static int LUACALL wxLua_wxImage_Copy(lua_State *L) --- 448,451 ---- *************** *** 492,496 **** } - static wxLuaArgTag s_wxluatagArray_wxLua_wxImage_Destroy[] = { 0 }; // void Destroy() static int LUACALL wxLua_wxImage_Destroy(lua_State *L) --- 487,490 ---- *************** *** 600,604 **** } - static wxLuaArgTag s_wxluatagArray_wxLua_wxImage_GetImageExtWildcard[] = { 0 }; // static wxString GetImageExtWildcard() static int LUACALL wxLua_wxImage_GetImageExtWildcard(lua_State *L) --- 594,597 ---- *************** *** 694,698 **** } - static wxLuaArgTag s_wxluatagArray_wxLua_wxImage_GetHeight[] = { 0 }; // int GetHeight() const static int LUACALL wxLua_wxImage_GetHeight(lua_State *L) --- 687,690 ---- *************** *** 710,714 **** } - static wxLuaArgTag s_wxluatagArray_wxLua_wxImage_GetMaskBlue[] = { 0 }; // unsigned char GetMaskBlue() const static int LUACALL wxLua_wxImage_GetMaskBlue(lua_State *L) --- 702,705 ---- *************** *** 726,730 **** } - static wxLuaArgTag s_wxluatagArray_wxLua_wxImage_GetMaskGreen[] = { 0 }; // unsigned char GetMaskGreen() const static int LUACALL wxLua_wxImage_GetMaskGreen(lua_State *L) --- 717,720 ---- *************** *** 742,746 **** } - static wxLuaArgTag s_wxluatagArray_wxLua_wxImage_GetMaskRed[] = { 0 }; // unsigned char GetMaskRed() const static int LUACALL wxLua_wxImage_GetMaskRed(lua_State *L) --- 732,735 ---- *************** *** 799,803 **** } - static wxLuaArgTag s_wxluatagArray_wxLua_wxImage_GetWidth[] = { 0 }; // int GetWidth() const static int LUACALL wxLua_wxImage_GetWidth(lua_State *L) --- 788,791 ---- *************** *** 863,867 **** } - static wxLuaArgTag s_wxluatagArray_wxLua_wxImage_HasAlpha[] = { 0 }; // bool HasAlpha() const static int LUACALL wxLua_wxImage_HasAlpha(lua_State *L) --- 851,854 ---- *************** *** 879,883 **** } - static wxLuaArgTag s_wxluatagArray_wxLua_wxImage_HasMask[] = { 0 }; // bool HasMask() const static int LUACALL wxLua_wxImage_HasMask(lua_State *L) --- 866,869 ---- *************** *** 949,953 **** } - static wxLuaArgTag s_wxluatagArray_wxLua_wxImage_InitAlpha[] = { 0 }; // void InitAlpha() static int LUACALL wxLua_wxImage_InitAlpha(lua_State *L) --- 935,938 ---- *************** *** 962,966 **** } - static wxLuaArgTag s_wxluatagArray_wxLua_wxImage_InitStandardHandlers[] = { 0 }; // static void InitStandardHandlers() static int LUACALL wxLua_wxImage_InitStandardHandlers(lua_State *L) --- 947,950 ---- *************** *** 1052,1056 **** } - static wxLuaArgTag s_wxluatagArray_wxLua_wxImage_Ok[] = { 0 }; // bool Ok() const static int LUACALL wxLua_wxImage_Ok(lua_State *L) --- 1036,1039 ---- *************** *** 1503,1512 **** #if (wxLUA_USE_wxList) && (wxLUA_USE_wxImage) ! { LuaMethod, "GetHandlers", wxLua_wxImage_GetHandlers, 0, 0, s_wxluatagArray_wxLua_wxImage_GetHandlers }, #endif // (wxLUA_USE_wxList) && (wxLUA_USE_wxImage) #if (wxLUA_USE_wxPalette) && (wxLUA_USE_wxImage) ! { LuaMethod, "GetPalette", wxLua_wxImage_GetPalette, 0, 0, s_wxluatagArray_wxLua_wxImage_GetPalette }, { LuaMethod, "SetPalette", wxLua_wxImage_SetPalette, 1, 1, s_wxluatagArray_wxLua_wxImage_SetPalette }, #endif // (wxLUA_USE_wxPalette) && (wxLUA_USE_wxImage) --- 1486,1495 ---- #if (wxLUA_USE_wxList) && (wxLUA_USE_wxImage) ! { LuaMethod, "GetHandlers", wxLua_wxImage_GetHandlers, 0, 0, s_wxluaargArray_None }, #endif // (wxLUA_USE_wxList) && (wxLUA_USE_wxImage) #if (wxLUA_USE_wxPalette) && (wxLUA_USE_wxImage) ! { LuaMethod, "GetPalette", wxLua_wxImage_GetPalette, 0, 0, s_wxluaargArray_None }, { LuaMethod, "SetPalette", wxLua_wxImage_SetPalette, 1, 1, s_wxluatagArray_wxLua_wxImage_SetPalette }, #endif // (wxLUA_USE_wxPalette) && (wxLUA_USE_wxImage) *************** *** 1528,1541 **** { LuaConstructor, "wxImage", wxLua_wxImage_constructor, 1, 1, s_wxluatagArray_wxLua_wxImage_constructor }, ! { LuaConstructor, "wxDefaultImage", wxLua_wxDefaultImage_constructor, 0, 0, s_wxluatagArray_wxLua_wxDefaultImage_constructor }, { LuaConstructor, "wxEmptyImage", wxLua_wxEmptyImage_constructor, 3, 2, s_wxluatagArray_wxLua_wxEmptyImage_constructor }, { LuaConstructor, "wxImageFromData", wxLua_wxImageFromData_constructor, 4, 3, s_wxluatagArray_wxLua_wxImageFromData_constructor }, { LuaConstructor, "wxImageFromFile", wxLua_wxImageFromFile_constructor, 2, 1, s_wxluatagArray_wxLua_wxImageFromFile_constructor }, { LuaMethod, "AddHandler", wxLua_wxImage_AddHandler, 1, 1, s_wxluatagArray_wxLua_wxImage_AddHandler }, ! { LuaMethod, "CleanUpHandlers", wxLua_wxImage_CleanUpHandlers, 0, 0, s_wxluatagArray_wxLua_wxImage_CleanUpHandlers }, { LuaMethod, "ConvertToMono", wxLua_wxImage_ConvertToMono, 3, 3, s_wxluatagArray_wxLua_wxImage_ConvertToMono }, ! { LuaMethod, "Copy", wxLua_wxImage_Copy, 0, 0, s_wxluatagArray_wxLua_wxImage_Copy }, { LuaMethod, "Create", wxLua_wxImage_Create, 3, 2, s_wxluatagArray_wxLua_wxImage_Create }, ! { LuaMethod, "Destroy", wxLua_wxImage_Destroy, 0, 0, s_wxluatagArray_wxLua_wxImage_Destroy }, { LuaMethod, "FindFirstUnusedColour", wxLua_wxImage_FindFirstUnusedColour, 6, 3, s_wxluatagArray_wxLua_wxImage_FindFirstUnusedColour }, { LuaMethod, "FindHandler", wxLua_wxImage_FindHandler, 1, 1, s_wxluatagArray_wxLua_wxImage_FindHandler }, --- 1511,1524 ---- { LuaConstructor, "wxImage", wxLua_wxImage_constructor, 1, 1, s_wxluatagArray_wxLua_wxImage_constructor }, ! { LuaConstructor, "wxDefaultImage", wxLua_wxDefaultImage_constructor, 0, 0, s_wxluaargArray_None }, { LuaConstructor, "wxEmptyImage", wxLua_wxEmptyImage_constructor, 3, 2, s_wxluatagArray_wxLua_wxEmptyImage_constructor }, { LuaConstructor, "wxImageFromData", wxLua_wxImageFromData_constructor, 4, 3, s_wxluatagArray_wxLua_wxImageFromData_constructor }, { LuaConstructor, "wxImageFromFile", wxLua_wxImageFromFile_constructor, 2, 1, s_wxluatagArray_wxLua_wxImageFromFile_constructor }, { LuaMethod, "AddHandler", wxLua_wxImage_AddHandler, 1, 1, s_wxluatagArray_wxLua_wxImage_AddHandler }, ! { LuaMethod, "CleanUpHandlers", wxLua_wxImage_CleanUpHandlers, 0, 0, s_wxluaargArray_None }, { LuaMethod, "ConvertToMono", wxLua_wxImage_ConvertToMono, 3, 3, s_wxluatagArray_wxLua_wxImage_ConvertToMono }, ! { LuaMethod, "Copy", wxLua_wxImage_Copy, 0, 0, s_wxluaargArray_None }, { LuaMethod, "Create", wxLua_wxImage_Create, 3, 2, s_wxluatagArray_wxLua_wxImage_Create }, ! { LuaMethod, "Destroy", wxLua_wxImage_Destroy, 0, 0, s_wxluaargArray_None }, { LuaMethod, "FindFirstUnusedColour", wxLua_wxImage_FindFirstUnusedColour, 6, 3, s_wxluatagArray_wxLua_wxImage_FindFirstUnusedColour }, { LuaMethod, "FindHandler", wxLua_wxImage_FindHandler, 1, 1, s_wxluatagArray_wxLua_wxImage_FindHandler }, *************** *** 1543,1572 **** { LuaMethod, "FindHandlerType", wxLua_wxImage_FindHandlerType, 1, 1, s_wxluatagArray_wxLua_wxImage_FindHandlerType }, { LuaMethod, "FindHandlerMime", wxLua_wxImage_FindHandlerMime, 1, 1, s_wxluatagArray_wxLua_wxImage_FindHandlerMime }, ! { LuaMethod, "GetImageExtWildcard", wxLua_wxImage_GetImageExtWildcard, 0, 0, s_wxluatagArray_wxLua_wxImage_GetImageExtWildcard }, { LuaMethod, "GetAlpha", wxLua_wxImage_GetAlpha, 2, 2, s_wxluatagArray_wxLua_wxImage_GetAlpha }, { LuaMethod, "GetBlue", wxLua_wxImage_GetBlue, 2, 2, s_wxluatagArray_wxLua_wxImage_GetBlue }, { LuaMethod, "GetGreen", wxLua_wxImage_GetGreen, 2, 2, s_wxluatagArray_wxLua_wxImage_GetGreen }, { LuaMethod, "GetImageCount", wxLua_wxImage_GetImageCount, 2, 1, s_wxluatagArray_wxLua_wxImage_GetImageCount }, ! { LuaMethod, "GetHeight", wxLua_wxImage_GetHeight, 0, 0, s_wxluatagArray_wxLua_wxImage_GetHeight }, ! { LuaMethod, "GetMaskBlue", wxLua_wxImage_GetMaskBlue, 0, 0, s_wxluatagArray_wxLua_wxImage_GetMaskBlue }, ! { LuaMethod, "GetMaskGreen", wxLua_wxImage_GetMaskGreen, 0, 0, s_wxluatagArray_wxLua_wxImage_GetMaskGreen }, ! { LuaMethod, "GetMaskRed", wxLua_wxImage_GetMaskRed, 0, 0, s_wxluatagArray_wxLua_wxImage_GetMaskRed }, { LuaMethod, "GetOrFindMaskColour", wxLua_wxImage_GetOrFindMaskColour, 3, 3, s_wxluatagArray_wxLua_wxImage_GetOrFindMaskColour }, { LuaMethod, "GetRed", wxLua_wxImage_GetRed, 2, 2, s_wxluatagArray_wxLua_wxImage_GetRed }, ! { LuaMethod, "GetWidth", wxLua_wxImage_GetWidth, 0, 0, s_wxluatagArray_wxLua_wxImage_GetWidth }, { LuaMethod, "HSVtoRGB", wxLua_wxImage_HSVtoRGB, 3, 3, s_wxluatagArray_wxLua_wxImage_HSVtoRGB }, { LuaMethod, "RGBtoHSV", wxLua_wxImage_RGBtoHSV, 3, 3, s_wxluatagArray_wxLua_wxImage_RGBtoHSV }, ! { LuaMethod, "HasAlpha", wxLua_wxImage_HasAlpha, 0, 0, s_wxluatagArray_wxLua_wxImage_HasAlpha }, ! { LuaMethod, "HasMask", wxLua_wxImage_HasMask, 0, 0, s_wxluatagArray_wxLua_wxImage_HasMask }, { LuaMethod, "GetOption", wxLua_wxImage_GetOption, 1, 1, s_wxluatagArray_wxLua_wxImage_GetOption }, { LuaMethod, "GetOptionInt", wxLua_wxImage_GetOptionInt, 1, 1, s_wxluatagArray_wxLua_wxImage_GetOptionInt }, { LuaMethod, "HasOption", wxLua_wxImage_HasOption, 1, 1, s_wxluatagArray_wxLua_wxImage_HasOption }, ! { LuaMethod, "InitAlpha", wxLua_wxImage_InitAlpha, 0, 0, s_wxluatagArray_wxLua_wxImage_InitAlpha }, ! { LuaMethod, "InitStandardHandlers", wxLua_wxImage_InitStandardHandlers, 0, 0, s_wxluatagArray_wxLua_wxImage_InitStandardHandlers }, { LuaMethod, "InsertHandler", wxLua_wxImage_InsertHandler, 1, 1, s_wxluatagArray_wxLua_wxImage_InsertHandler }, { LuaMethod, "IsTransparent", wxLua_wxImage_IsTransparent, 3, 2, s_wxluatagArray_wxLua_wxImage_IsTransparent }, { LuaMethod, "LoadFile", wxLua_wxImage_LoadFile, 2, 1, s_wxluatagArray_wxLua_wxImage_LoadFile }, { LuaMethod, "LoadMimeFile", wxLua_wxImage_LoadMimeFile, 2, 2, s_wxluatagArray_wxLua_wxImage_LoadMimeFile }, ! { LuaMethod, "Ok", wxLua_wxImage_Ok, 0, 0, s_wxluatagArray_wxLua_wxImage_Ok }, { LuaMethod, "RemoveHandler", wxLua_wxImage_RemoveHandler, 1, 1, s_wxluatagArray_wxLua_wxImage_RemoveHandler }, { LuaMethod, "Mirror", wxLua_wxImage_Mirror, 1, 0, s_wxluatagArray_wxLua_wxImage_Mirror }, --- 1526,1555 ---- { LuaMethod, "FindHandlerType", wxLua_wxImage_FindHandlerType, 1, 1, s_wxluatagArray_wxLua_wxImage_FindHandlerType }, { LuaMethod, "FindHandlerMime", wxLua_wxImage_FindHandlerMime, 1, 1, s_wxluatagArray_wxLua_wxImage_FindHandlerMime }, ! { LuaMethod, "GetImageExtWildcard", wxLua_wxImage_GetImageExtWildcard, 0, 0, s_wxluaargArray_None }, { LuaMethod, "GetAlpha", wxLua_wxImage_GetAlpha, 2, 2, s_wxluatagArray_wxLua_wxImage_GetAlpha }, { LuaMethod, "GetBlue", wxLua_wxImage_GetBlue, 2, 2, s_wxluatagArray_wxLua_wxImage_GetBlue }, { LuaMethod, "GetGreen", wxLua_wxImage_GetGreen, 2, 2, s_wxluatagArray_wxLua_wxImage_GetGreen }, { LuaMethod, "GetImageCount", wxLua_wxImage_GetImageCount, 2, 1, s_wxluatagArray_wxLua_wxImage_GetImageCount }, ! { LuaMethod, "GetHeight", wxLua_wxImage_GetHeight, 0, 0, s_wxluaargArray_None }, ! { LuaMethod, "GetMaskBlue", wxLua_wxImage_GetMaskBlue, 0, 0, s_wxluaargArray_None }, ! { LuaMethod, "GetMaskGreen", wxLua_wxImage_GetMaskGreen, 0, 0, s_wxluaargArray_None }, ! { LuaMethod, "GetMaskRed", wxLua_wxImage_GetMaskRed, 0, 0, s_wxluaargArray_None }, { LuaMethod, "GetOrFindMaskColour", wxLua_wxImage_GetOrFindMaskColour, 3, 3, s_wxluatagArray_wxLua_wxImage_GetOrFindMaskColour }, { LuaMethod, "GetRed", wxLua_wxImage_GetRed, 2, 2, s_wxluatagArray_wxLua_wxImage_GetRed }, ! { LuaMethod, "GetWidth", wxLua_wxImage_GetWidth, 0, 0, s_wxluaargArray_None }, { LuaMethod, "HSVtoRGB", wxLua_wxImage_HSVtoRGB, 3, 3, s_wxluatagArray_wxLua_wxImage_HSVtoRGB }, { LuaMethod, "RGBtoHSV", wxLua_wxImage_RGBtoHSV, 3, 3, s_wxluatagArray_wxLua_wxImage_RGBtoHSV }, ! { LuaMethod, "HasAlpha", wxLua_wxImage_HasAlpha, 0, 0, s_wxluaargArray_None }, ! { LuaMethod, "HasMask", wxLua_wxImage_HasMask, 0, 0, s_wxluaargArray_None }, { LuaMethod, "GetOption", wxLua_wxImage_GetOption, 1, 1, s_wxluatagArray_wxLua_wxImage_GetOption }, { LuaMethod, "GetOptionInt", wxLua_wxImage_GetOptionInt, 1, 1, s_wxluatagArray_wxLua_wxImage_GetOptionInt }, { LuaMethod, "HasOption", wxLua_wxImage_HasOption, 1, 1, s_wxluatagArray_wxLua_wxImage_HasOption }, ! { LuaMethod, "InitAlpha", wxLua_wxImage_InitAlpha, 0, 0, s_wxluaargArray_None }, ! { LuaMethod, "InitStandardHandlers", wxLua_wxImage_InitStandardHandlers, 0, 0, s_wxluaargArray_None }, { LuaMethod, "InsertHandler", wxLua_wxImage_InsertHandler, 1, 1, s_wxluatagArray_wxLua_wxImage_InsertHandler }, { LuaMethod, "IsTransparent", wxLua_wxImage_IsTransparent, 3, 2, s_wxluatagArray_wxLua_wxImage_IsTransparent }, { LuaMethod, "LoadFile", wxLua_wxImage_LoadFile, 2, 1, s_wxluatagArray_wxLua_wxImage_LoadFile }, { LuaMethod, "LoadMimeFile", wxLua_wxImage_LoadMimeFile, 2, 2, s_wxluatagArray_wxLua_wxImage_LoadMimeFile }, ! { LuaMethod, "Ok", wxLua_wxImage_Ok, 0, 0, s_wxluaargArray_None }, { LuaMethod, "RemoveHandler", wxLua_wxImage_RemoveHandler, 1, 1, s_wxluatagArray_wxLua_wxImage_RemoveHandler }, { LuaMethod, "Mirror", wxLua_wxImage_Mirror, 1, 0, s_wxluatagArray_wxLua_wxImage_Mirror }, *************** *** 1673,1677 **** #endif // (wxUSE_STREAMS) && (wxLUA_USE_wxImage) - static wxLuaArgTag s_wxluatagArray_wxLua_wxImageHandler_GetName[] = { 0 }; // wxString GetName() const static int LUACALL wxLua_wxImageHandler_GetName(lua_State *L) --- 1656,1659 ---- *************** *** 1689,1693 **** } - static wxLuaArgTag s_wxluatagArray_wxLua_wxImageHandler_GetExtension[] = { 0 }; // wxString GetExtension() const static int LUACALL wxLua_wxImageHandler_GetExtension(lua_State *L) --- 1671,1674 ---- *************** *** 1705,1709 **** } - static wxLuaArgTag s_wxluatagArray_wxLua_wxImageHandler_GetType[] = { 0 }; // long GetType() const static int LUACALL wxLua_wxImageHandler_GetType(lua_State *L) --- 1686,1689 ---- *************** *** 1721,1725 **** } - static wxLuaArgTag s_wxluatagArray_wxLua_wxImageHandler_GetMimeType[] = { 0 }; // wxString GetMimeType() const static int LUACALL wxLua_wxImageHandler_GetMimeType(lua_State *L) --- 1701,1704 ---- *************** *** 1833,1840 **** #endif // (wxUSE_STREAMS) && (wxLUA_USE_wxImage) ! { LuaMethod, "GetName", wxLua_wxImageHandler_GetName, 0, 0, s_wxluatagArray_wxLua_wxImageHandler_GetName }, ! { LuaMethod, "GetExtension", wxLua_wxImageHandler_GetExtension, 0, 0, s_wxluatagArray_wxLua_wxImageHandler_GetExtension }, ! { LuaMethod, "GetType", wxLua_wxImageHandler_GetType, 0, 0, s_wxluatagArray_wxLua_wxImageHandler_GetType }, ! { LuaMethod, "GetMimeType", wxLua_wxImageHandler_GetMimeType, 0, 0, s_wxluatagArray_wxLua_wxImageHandler_GetMimeType }, { LuaMethod, "SetName", wxLua_wxImageHandler_SetName, 1, 1, s_wxluatagArray_wxLua_wxImageHandler_SetName }, { LuaMethod, "SetExtension", wxLua_wxImageHandler_SetExtension, 1, 1, s_wxluatagArray_wxLua_wxImageHandler_SetExtension }, --- 1812,1819 ---- #endif // (wxUSE_STREAMS) && (wxLUA_USE_wxImage) ! { LuaMethod, "GetName", wxLua_wxImageHandler_GetName, 0, 0, s_wxluaargArray_None }, ! { LuaMethod, "GetExtension", wxLua_wxImageHandler_GetExtension, 0, 0, s_wxluaargArray_None }, ! { LuaMethod, "GetType", wxLua_wxImageHandler_GetType, 0, 0, s_wxluaargArray_None }, ! { LuaMethod, "GetMimeType", wxLua_wxImageHandler_GetMimeType, 0, 0, s_wxluaargArray_None }, { LuaMethod, "SetName", wxLua_wxImageHandler_SetName, 1, 1, s_wxluatagArray_wxLua_wxImageHandler_SetName }, { LuaMethod, "SetExtension", wxLua_wxImageHandler_SetExtension, 1, 1, s_wxluatagArray_wxLua_wxImageHandler_SetExtension }, *************** *** 1865,1869 **** int s_wxluatag_wxBMPHandler = -1; - static wxLuaArgTag s_wxluatagArray_wxLua_wxBMPHandler_constructor[] = { 0 }; // wxBMPHandler() static int LUACALL wxLua_wxBMPHandler_constructor(lua_State *L) --- 1844,1847 ---- *************** *** 1891,1895 **** // Map Lua Class Methods to C Binding Functions WXLUAMETHOD wxBMPHandler_methods[] = { ! { LuaConstructor, "wxBMPHandler", wxLua_wxBMPHandler_constructor, 0, 0, s_wxluatagArray_wxLua_wxBMPHandler_constructor }, { LuaDelete, "wxBMPHandler", wxLua_wxBMPHandler_destructor, 0, 0, s_wxluaargArray_None }, }; --- 1869,1873 ---- // Map Lua Class Methods to C Binding Functions WXLUAMETHOD wxBMPHandler_methods[] = { ! { LuaConstructor, "wxBMPHandler", wxLua_wxBMPHandler_constructor, 0, 0, s_wxluaargArray_None }, { LuaDelete, "wxBMPHandler", wxLua_wxBMPHandler_destructor, 0, 0, s_wxluaargArray_None }, }; *************** *** 1907,1911 **** int s_wxluatag_wxICOHandler = -1; - static wxLuaArgTag s_wxluatagArray_wxLua_wxICOHandler_constructor[] = { 0 }; // wxICOHandler() static int LUACALL wxLua_wxICOHandler_constructor(lua_State *L) --- 1885,1888 ---- *************** *** 1933,1937 **** // Map Lua Class Methods to C Binding Functions WXLUAMETHOD wxICOHandler_methods[] = { ! { LuaConstructor, "wxICOHandler", wxLua_wxICOHandler_constructor, 0, 0, s_wxluatagArray_wxLua_wxICOHandler_constructor }, { LuaDelete, "wxICOHandler", wxLua_wxICOHandler_destructor, 0, 0, s_wxluaargArray_None }, }; --- 1910,1914 ---- // Map Lua Class Methods to C Binding Functions WXLUAMETHOD wxICOHandler_methods[] = { ! { LuaConstructor, "wxICOHandler", wxLua_wxICOHandler_constructor, 0, 0, s_wxluaargArray_None }, { LuaDelete, "wxICOHandler", wxLua_wxICOHandler_destructor, 0, 0, s_wxluaargArray_None }, }; *************** *** 1949,1953 **** int s_wxluatag_wxCURHandler = -1; - static wxLuaArgTag s_wxluatagArray_wxLua_wxCURHandler_constructor[] = { 0 }; // wxCURHandler() static int LUACALL wxLua_wxCURHandler_constructor(lua_State *L) --- 1926,1929 ---- *************** *** 1975,1979 **** // Map Lua Class Methods to C Binding Functions WXLUAMETHOD wxCURHandler_methods[] = { ! { LuaConstructor, "wxCURHandler", wxLua_wxCURHandler_constructor, 0, 0, s_wxluatagArray_wxLua_wxCURHandler_constructor }, { LuaDelete, "wxCURHandler", wxLua_wxCURHandler_destructor, 0, 0, s_wxluaargArray_None }, }; --- 1951,1955 ---- // Map Lua Class Methods to C Binding Functions WXLUAMETHOD wxCURHandler_methods[] = { ! { LuaConstructor, "wxCURHandler", wxLua_wxCURHandler_constructor, 0, 0, s_wxluaargArray_None }, { LuaDelete, "wxCURHandler", wxLua_wxCURHandler_destructor, 0, 0, s_wxluaargArray_None }, }; *************** *** 1991,1995 **** int s_wxluatag_wxANIHandler = -1; - static wxLuaArgTag s_wxluatagArray_wxLua_wxANIHandler_constructor[] = { 0 }; // wxANIHandler() static int LUACALL wxLua_wxANIHandler_constructor(lua_State *L) --- 1967,1970 ---- *************** *** 2017,2021 **** // Map Lua Class Methods to C Binding Functions WXLUAMETHOD wxANIHandler_methods[] = { ! { LuaConstructor, "wxANIHandler", wxLua_wxANIHandler_constructor, 0, 0, s_wxluatagArray_wxLua_wxANIHandler_constructor }, { LuaDelete, "wxANIHandler", wxLua_wxANIHandler_destructor, 0, 0, s_wxluaargArray_None }, }; --- 1992,1996 ---- // Map Lua Class Methods to C Binding Functions WXLUAMETHOD wxANIHandler_methods[] = { ! { LuaConstructor, "wxANIHandler", wxLua_wxANIHandler_constructor, 0, 0, s_wxluaargArray_None }, { LuaDelete, "wxANIHandler", wxLua_wxANIHandler_destructor, 0, 0, s_wxluaargArray_None }, }; *************** *** 2033,2037 **** int s_wxluatag_wxIFFHandler = -1; - static wxLuaArgTag s_wxluatagArray_wxLua_wxIFFHandler_constructor[] = { 0 }; // wxIFFHandler() static int LUACALL wxLua_wxIFFHandler_constructor(lua_State *L) --- 2008,2011 ---- *************** *** 2059,2063 **** // Map Lua Class Methods to C Binding Functions WXLUAMETHOD wxIFFHandler_methods[] = { ! { LuaConstructor, "wxIFFHandler", wxLua_wxIFFHandler_constructor, 0, 0, s_wxluatagArray_wxLua_wxIFFHandler_constructor }, { LuaDelete, "wxIFFHandler", wxLua_wxIFFHandler_destructor, 0, 0, s_wxluaargArray_None }, }; --- 2033,2037 ---- // Map Lua Class Methods to C Binding Functions WXLUAMETHOD wxIFFHandler_methods[] = { ! { LuaConstructor, "wxIFFHandler", wxLua_wxIFFHandler_constructor, 0, 0, s_wxluaargArray_None }, { LuaDelete, "wxIFFHandler", wxLua_wxIFFHandler_destructor, 0, 0, s_wxluaargArray_None }, }; *************** *** 2075,2079 **** int s_wxluatag_wxGIFHandler = -1; - static wxLuaArgTag s_wxluatagArray_wxLua_wxGIFHandler_constructor[] = { 0 }; // wxGIFHandler() static int LUACALL wxLua_wxGIFHandler_constructor(lua_State *L) --- 2049,2052 ---- *************** *** 2101,2105 **** // Map Lua Class Methods to C Binding Functions WXLUAMETHOD wxGIFHandler_methods[] = { ! { LuaConstructor, "wxGIFHandler", wxLua_wxGIFHandler_constructor, 0, 0, s_wxluatagArray_wxLua_wxGIFHandler_constructor }, { LuaDelete, "wxGIFHandler", wxLua_wxGIFHandler_destructor, 0, 0, s_wxluaargArray_None }, }; --- 2074,2078 ---- // Map Lua Class Methods to C Binding F... [truncated message content] |