Update of /cvsroot/wxlua/wxLua/modules/wxbind/src In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv4156/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: Rename structs WXLUACLASS, WXLUAMETHOD, WXLUADEFINE, WXLUASTRING, WXLUAEVENT to wxLuaBindClass, wxLuaBindMethod, wxLuaBindDefine, wxLuaBindString, wxLuaBindEvent Fix %renamed listCtrl:SetItemString to now use overload SetItem Fix recursion in traversing the base class methods Add IntArray_FromLuaTable for binding generator to do (int n, int* items) from a table Use NULL in bindings for items that are *pointers for clarity Use sizeof(struct name) instead of sizeof(array[0]) in bindings Rename wxLuaBinding GetLuaClassList to just GetClassArray since it's a C array Index: xml.cpp =================================================================== RCS file: /cvsroot/wxlua/wxLua/modules/wxbind/src/xml.cpp,v retrieving revision 1.32 retrieving revision 1.33 diff -C2 -d -r1.32 -r1.33 *** xml.cpp 6 Jun 2007 03:53:39 -0000 1.32 --- xml.cpp 6 Jun 2007 23:43:13 -0000 1.33 *************** *** 35,41 **** int s_wxluatag_wxXmlNode = -1; ! static wxLuaArgTag s_wxluatagArray_wxLua_wxXmlNode_AddChild[] = { &s_wxluatag_wxXmlNode, &s_wxluatag_wxXmlNode, 0 }; static int LUACALL wxLua_wxXmlNode_AddChild(lua_State *L); ! static WXLUAMETHOD_CFUNC s_wxluafunc_wxLua_wxXmlNode_AddChild[1] = {{ wxLua_wxXmlNode_AddChild, WXLUAMETHOD_METHOD, 2, 2, s_wxluatagArray_wxLua_wxXmlNode_AddChild }}; // void AddChild(wxXmlNode *child) --- 35,41 ---- int s_wxluatag_wxXmlNode = -1; [...2038 lines suppressed...] ! int wxXmlResource_enumCount = sizeof(wxXmlResource_enums)/sizeof(wxXmlResource_enums[0]) - 1; #endif // wxLUA_USE_wxXMLResource && wxUSE_XML --- 2033,2047 ---- #endif // (wxLUA_USE_wxXMLResource && wxUSE_XML) ! { 0, 0, 0, 0 }, }; ! int wxXmlResource_methodCount = sizeof(wxXmlResource_methods)/sizeof(wxLuaBindMethod) - 1; ! wxLuaBindDefine wxXmlResource_enums[] = { { NULL, 0, }, }; ! int wxXmlResource_enumCount = sizeof(wxXmlResource_enums)/sizeof(wxLuaBindDefine) - 1; #endif // wxLUA_USE_wxXMLResource && wxUSE_XML Index: defsutil.cpp =================================================================== RCS file: /cvsroot/wxlua/wxLua/modules/wxbind/src/defsutil.cpp,v retrieving revision 1.34 retrieving revision 1.35 diff -C2 -d -r1.34 -r1.35 *** defsutil.cpp 6 Jun 2007 03:53:36 -0000 1.34 --- defsutil.cpp 6 Jun 2007 23:43:00 -0000 1.35 *************** *** 36,42 **** #if (wxUSE_STREAMS) && (wxLUA_USE_wxProcess) ! static wxLuaArgTag s_wxluatagArray_wxLua_wxProcess_CloseOutput[] = { &s_wxluatag_wxProcess, 0 }; static int LUACALL wxLua_wxProcess_CloseOutput(lua_State *L); ! static WXLUAMETHOD_CFUNC s_wxluafunc_wxLua_wxProcess_CloseOutput[1] = {{ wxLua_wxProcess_CloseOutput, WXLUAMETHOD_METHOD, 1, 1, s_wxluatagArray_wxLua_wxProcess_CloseOutput }}; // void CloseOutput() --- 36,42 ---- #if (wxUSE_STREAMS) && (wxLUA_USE_wxProcess) [...968 lines suppressed...] --- 982,1000 ---- // Map Lua Class Methods to C Binding Functions ! wxLuaBindMethod wxBusyInfo_methods[] = { ! { WXLUAMETHOD_METHOD, "Delete", s_wxluafunc_wxLua_wxBusyInfo_Delete, 1, NULL }, ! { WXLUAMETHOD_CONSTRUCTOR, "wxBusyInfo", s_wxluafunc_wxLua_wxBusyInfo_constructor, 1, NULL }, ! { 0, 0, 0, 0 }, }; ! int wxBusyInfo_methodCount = sizeof(wxBusyInfo_methods)/sizeof(wxLuaBindMethod) - 1; ! wxLuaBindDefine wxBusyInfo_enums[] = { { NULL, 0, }, }; ! int wxBusyInfo_enumCount = sizeof(wxBusyInfo_enums)/sizeof(wxLuaBindDefine) - 1; #endif // wxLUA_USE_wxBusyInfo && wxUSE_BUSYINFO Index: wxlua.cpp =================================================================== RCS file: /cvsroot/wxlua/wxLua/modules/wxbind/src/wxlua.cpp,v retrieving revision 1.36 retrieving revision 1.37 diff -C2 -d -r1.36 -r1.37 *** wxlua.cpp 6 Jun 2007 03:53:39 -0000 1.36 --- wxlua.cpp 6 Jun 2007 23:43:13 -0000 1.37 *************** *** 33,39 **** int s_wxluatag_wxLuaState = -1; ! static wxLuaArgTag s_wxluatagArray_wxLua_wxLuaState_Delete[] = { &s_wxluatag_wxLuaState, 0 }; static int LUACALL wxLua_wxLuaState_Delete(lua_State *L); ! static WXLUAMETHOD_CFUNC s_wxluafunc_wxLua_wxLuaState_Delete[1] = {{ wxLua_wxLuaState_Delete, WXLUAMETHOD_METHOD, 1, 1, s_wxluatagArray_wxLua_wxLuaState_Delete }}; static int LUACALL wxLua_wxLuaState_Delete(lua_State *L) --- 33,39 ---- int s_wxluatag_wxLuaState = -1; ! static wxLuaArgTag s_wxluatagArray_wxLua_wxLuaState_Delete[] = { &s_wxluatag_wxLuaState, NULL }; static int LUACALL wxLua_wxLuaState_Delete(lua_State *L); ! static wxLuaBindCFunc s_wxluafunc_wxLua_wxLuaState_Delete[1] = {{ wxLua_wxLuaState_Delete, WXLUAMETHOD_METHOD, 1, 1, s_wxluatagArray_wxLua_wxLuaState_Delete }}; static int LUACALL wxLua_wxLuaState_Delete(lua_State *L) *************** *** 53,69 **** // Map Lua Class Methods to C Binding Functions ! WXLUAMETHOD wxLuaState_methods[] = { ! { WXLUAMETHOD_METHOD, "Delete", s_wxluafunc_wxLua_wxLuaState_Delete, 1, 0 }, ! { WXLUAMETHOD_METHOD, 0, 0, 0 }, }; ! int wxLuaState_methodCount = sizeof(wxLuaState_methods)/sizeof(wxLuaState_methods[0]) - 1; ! WXLUADEFINE wxLuaState_enums[] = { { NULL, 0, }, }; ! int wxLuaState_enumCount = sizeof(wxLuaState_enums)/sizeof(wxLuaState_enums[0]) - 1; // --------------------------------------------------------------------------- --- 53,69 ---- // Map Lua Class Methods to C Binding Functions ! wxLuaBindMethod wxLuaState_methods[] = { ! { WXLUAMETHOD_METHOD, "Delete", s_wxluafunc_wxLua_wxLuaState_Delete, 1, NULL }, ! { 0, 0, 0, 0 }, }; ! int wxLuaState_methodCount = sizeof(wxLuaState_methods)/sizeof(wxLuaBindMethod) - 1; ! wxLuaBindDefine wxLuaState_enums[] = { { NULL, 0, }, }; ! int wxLuaState_enumCount = sizeof(wxLuaState_enums)/sizeof(wxLuaBindDefine) - 1; // --------------------------------------------------------------------------- *************** *** 74,80 **** int s_wxluatag_wxLuaObject = -1; ! static wxLuaArgTag s_wxluatagArray_wxLua_wxLuaObject_Delete[] = { &s_wxluatag_wxLuaObject, 0 }; static int LUACALL wxLua_wxLuaObject_Delete(lua_State *L); ! static WXLUAMETHOD_CFUNC s_wxluafunc_wxLua_wxLuaObject_Delete[1] = {{ wxLua_wxLuaObject_Delete, WXLUAMETHOD_METHOD, 1, 1, s_wxluatagArray_wxLua_wxLuaObject_Delete }}; static int LUACALL wxLua_wxLuaObject_Delete(lua_State *L) --- 74,80 ---- int s_wxluatag_wxLuaObject = -1; ! static wxLuaArgTag s_wxluatagArray_wxLua_wxLuaObject_Delete[] = { &s_wxluatag_wxLuaObject, NULL }; static int LUACALL wxLua_wxLuaObject_Delete(lua_State *L); ! static wxLuaBindCFunc s_wxluafunc_wxLua_wxLuaObject_Delete[1] = {{ wxLua_wxLuaObject_Delete, WXLUAMETHOD_METHOD, 1, 1, s_wxluatagArray_wxLua_wxLuaObject_Delete }}; static int LUACALL wxLua_wxLuaObject_Delete(lua_State *L) *************** *** 91,97 **** } ! static wxLuaArgTag s_wxluatagArray_wxLua_wxLuaObject_GetAllocationFlags[] = { &s_wxluatag_wxLuaObject, 0 }; static int LUACALL wxLua_wxLuaObject_GetAllocationFlags(lua_State *L); ! static WXLUAMETHOD_CFUNC s_wxluafunc_wxLua_wxLuaObject_GetAllocationFlags[1] = {{ wxLua_wxLuaObject_GetAllocationFlags, WXLUAMETHOD_METHOD, 1, 1, s_wxluatagArray_wxLua_wxLuaObject_GetAllocationFlags }}; // int GetAllocationFlags() const --- 91,97 ---- } ! static wxLuaArgTag s_wxluatagArray_wxLua_wxLuaObject_GetAllocationFlags[] = { &s_wxluatag_wxLuaObject, NULL }; static int LUACALL wxLua_wxLuaObject_GetAllocationFlags(lua_State *L); ! static wxLuaBindCFunc s_wxluafunc_wxLua_wxLuaObject_GetAllocationFlags[1] = {{ wxLua_wxLuaObject_GetAllocationFlags, WXLUAMETHOD_METHOD, 1, 1, s_wxluatagArray_wxLua_wxLuaObject_GetAllocationFlags }}; // int GetAllocationFlags() const *************** *** 110,116 **** } ! static wxLuaArgTag s_wxluatagArray_wxLua_wxLuaObject_GetObject[] = { &s_wxluatag_wxLuaObject, 0 }; static int LUACALL wxLua_wxLuaObject_GetObject(lua_State *L); ! static WXLUAMETHOD_CFUNC s_wxluafunc_wxLua_wxLuaObject_GetObject[1] = {{ wxLua_wxLuaObject_GetObject, WXLUAMETHOD_METHOD, 1, 1, s_wxluatagArray_wxLua_wxLuaObject_GetObject }}; // %override wxLua_wxLuaObject_GetObject --- 110,116 ---- } ! static wxLuaArgTag s_wxluatagArray_wxLua_wxLuaObject_GetObject[] = { &s_wxluatag_wxLuaObject, NULL }; static int LUACALL wxLua_wxLuaObject_GetObject(lua_State *L); ! static wxLuaBindCFunc s_wxluafunc_wxLua_wxLuaObject_GetObject[1] = {{ wxLua_wxLuaObject_GetObject, WXLUAMETHOD_METHOD, 1, 1, s_wxluatagArray_wxLua_wxLuaObject_GetObject }}; // %override wxLua_wxLuaObject_GetObject *************** *** 127,133 **** } ! static wxLuaArgTag s_wxluatagArray_wxLua_wxLuaObject_HasAllocationFlag[] = { &s_wxluatag_wxLuaObject, &s_wxluaarg_Enum, 0 }; static int LUACALL wxLua_wxLuaObject_HasAllocationFlag(lua_State *L); ! static WXLUAMETHOD_CFUNC s_wxluafunc_wxLua_wxLuaObject_HasAllocationFlag[1] = {{ wxLua_wxLuaObject_HasAllocationFlag, WXLUAMETHOD_METHOD, 2, 2, s_wxluatagArray_wxLua_wxLuaObject_HasAllocationFlag }}; // bool HasAllocationFlag(wxLuaObject_Type flag) --- 127,133 ---- } ! static wxLuaArgTag s_wxluatagArray_wxLua_wxLuaObject_HasAllocationFlag[] = { &s_wxluatag_wxLuaObject, &s_wxluaarg_Enum, NULL }; static int LUACALL wxLua_wxLuaObject_HasAllocationFlag(lua_State *L); ! static wxLuaBindCFunc s_wxluafunc_wxLua_wxLuaObject_HasAllocationFlag[1] = {{ wxLua_wxLuaObject_HasAllocationFlag, WXLUAMETHOD_METHOD, 2, 2, s_wxluatagArray_wxLua_wxLuaObject_HasAllocationFlag }}; // bool HasAllocationFlag(wxLuaObject_Type flag) *************** *** 148,154 **** } ! static wxLuaArgTag s_wxluatagArray_wxLua_wxLuaObject_SetAllocationFlag[] = { &s_wxluatag_wxLuaObject, &s_wxluaarg_Enum, &s_wxluaarg_Boolean, 0 }; static int LUACALL wxLua_wxLuaObject_SetAllocationFlag(lua_State *L); ! static WXLUAMETHOD_CFUNC s_wxluafunc_wxLua_wxLuaObject_SetAllocationFlag[1] = {{ wxLua_wxLuaObject_SetAllocationFlag, WXLUAMETHOD_METHOD, 3, 3, s_wxluatagArray_wxLua_wxLuaObject_SetAllocationFlag }}; // int SetAllocationFlag(wxLuaObject_Type flag, bool set) --- 148,154 ---- } ! static wxLuaArgTag s_wxluatagArray_wxLua_wxLuaObject_SetAllocationFlag[] = { &s_wxluatag_wxLuaObject, &s_wxluaarg_Enum, &s_wxluaarg_Boolean, NULL }; static int LUACALL wxLua_wxLuaObject_SetAllocationFlag(lua_State *L); ! static wxLuaBindCFunc s_wxluafunc_wxLua_wxLuaObject_SetAllocationFlag[1] = {{ wxLua_wxLuaObject_SetAllocationFlag, WXLUAMETHOD_METHOD, 3, 3, s_wxluatagArray_wxLua_wxLuaObject_SetAllocationFlag }}; // int SetAllocationFlag(wxLuaObject_Type flag, bool set) *************** *** 171,177 **** } ! static wxLuaArgTag s_wxluatagArray_wxLua_wxLuaObject_SetObject[] = { &s_wxluatag_wxLuaObject, &s_wxluaarg_Number, 0 }; static int LUACALL wxLua_wxLuaObject_SetObject(lua_State *L); ! static WXLUAMETHOD_CFUNC s_wxluafunc_wxLua_wxLuaObject_SetObject[1] = {{ wxLua_wxLuaObject_SetObject, WXLUAMETHOD_METHOD, 1, 2, s_wxluatagArray_wxLua_wxLuaObject_SetObject }}; // %override wxLua_wxLuaObject_SetObject --- 171,177 ---- } ! static wxLuaArgTag s_wxluatagArray_wxLua_wxLuaObject_SetObject[] = { &s_wxluatag_wxLuaObject, &s_wxluaarg_Number, NULL }; static int LUACALL wxLua_wxLuaObject_SetObject(lua_State *L); ! static wxLuaBindCFunc s_wxluafunc_wxLua_wxLuaObject_SetObject[1] = {{ wxLua_wxLuaObject_SetObject, WXLUAMETHOD_METHOD, 1, 2, s_wxluatagArray_wxLua_wxLuaObject_SetObject }}; // %override wxLua_wxLuaObject_SetObject *************** *** 189,193 **** static int LUACALL wxLua_wxLuaObject_constructor(lua_State *L); ! static WXLUAMETHOD_CFUNC s_wxluafunc_wxLua_wxLuaObject_constructor[1] = {{ wxLua_wxLuaObject_constructor, WXLUAMETHOD_CONSTRUCTOR, 0, 0, s_wxluaargArray_None }}; // %override wxLua_wxLuaObject_constructor --- 189,193 ---- static int LUACALL wxLua_wxLuaObject_constructor(lua_State *L); ! static wxLuaBindCFunc s_wxluafunc_wxLua_wxLuaObject_constructor[1] = {{ wxLua_wxLuaObject_constructor, WXLUAMETHOD_CONSTRUCTOR, 0, 0, s_wxluaargArray_None }}; // %override wxLua_wxLuaObject_constructor *************** *** 195,199 **** static int LUACALL wxLua_wxLuaObject_constructor(lua_State *L) { ! wxlua_removetableforcall(L); wxLuaState wxlState(L); wxLuaObject *returns; --- 195,199 ---- static int LUACALL wxLua_wxLuaObject_constructor(lua_State *L) { ! wxluabind_removetableforcall(L); wxLuaState wxlState(L); wxLuaObject *returns; *************** *** 211,233 **** // Map Lua Class Methods to C Binding Functions ! WXLUAMETHOD wxLuaObject_methods[] = { ! { WXLUAMETHOD_METHOD, "Delete", s_wxluafunc_wxLua_wxLuaObject_Delete, 1, 0 }, ! { WXLUAMETHOD_METHOD, "GetAllocationFlags", s_wxluafunc_wxLua_wxLuaObject_GetAllocationFlags, 1, 0 }, ! { WXLUAMETHOD_METHOD, "GetObject", s_wxluafunc_wxLua_wxLuaObject_GetObject, 1, 0 }, ! { WXLUAMETHOD_METHOD, "HasAllocationFlag", s_wxluafunc_wxLua_wxLuaObject_HasAllocationFlag, 1, 0 }, ! { WXLUAMETHOD_METHOD, "SetAllocationFlag", s_wxluafunc_wxLua_wxLuaObject_SetAllocationFlag, 1, 0 }, ! { WXLUAMETHOD_METHOD, "SetObject", s_wxluafunc_wxLua_wxLuaObject_SetObject, 1, 0 }, ! { WXLUAMETHOD_CONSTRUCTOR, "wxLuaObject", s_wxluafunc_wxLua_wxLuaObject_constructor, 1, 0 }, ! { WXLUAMETHOD_METHOD, 0, 0, 0 }, }; ! int wxLuaObject_methodCount = sizeof(wxLuaObject_methods)/sizeof(wxLuaObject_methods[0]) - 1; ! WXLUADEFINE wxLuaObject_enums[] = { { NULL, 0, }, }; ! int wxLuaObject_enumCount = sizeof(wxLuaObject_enums)/sizeof(wxLuaObject_enums[0]) - 1; --- 211,233 ---- // Map Lua Class Methods to C Binding Functions ! wxLuaBindMethod wxLuaObject_methods[] = { ! { WXLUAMETHOD_METHOD, "Delete", s_wxluafunc_wxLua_wxLuaObject_Delete, 1, NULL }, ! { WXLUAMETHOD_METHOD, "GetAllocationFlags", s_wxluafunc_wxLua_wxLuaObject_GetAllocationFlags, 1, NULL }, ! { WXLUAMETHOD_METHOD, "GetObject", s_wxluafunc_wxLua_wxLuaObject_GetObject, 1, NULL }, ! { WXLUAMETHOD_METHOD, "HasAllocationFlag", s_wxluafunc_wxLua_wxLuaObject_HasAllocationFlag, 1, NULL }, ! { WXLUAMETHOD_METHOD, "SetAllocationFlag", s_wxluafunc_wxLua_wxLuaObject_SetAllocationFlag, 1, NULL }, ! { WXLUAMETHOD_METHOD, "SetObject", s_wxluafunc_wxLua_wxLuaObject_SetObject, 1, NULL }, ! { WXLUAMETHOD_CONSTRUCTOR, "wxLuaObject", s_wxluafunc_wxLua_wxLuaObject_constructor, 1, NULL }, ! { 0, 0, 0, 0 }, }; ! int wxLuaObject_methodCount = sizeof(wxLuaObject_methods)/sizeof(wxLuaBindMethod) - 1; ! wxLuaBindDefine wxLuaObject_enums[] = { { NULL, 0, }, }; ! int wxLuaObject_enumCount = sizeof(wxLuaObject_enums)/sizeof(wxLuaBindDefine) - 1; *************** *** 240,246 **** int s_wxluatag_wxLuaPrintout = -1; ! static wxLuaArgTag s_wxluatagArray_wxLua_wxLuaPrintout_Delete[] = { &s_wxluatag_wxLuaPrintout, 0 }; static int LUACALL wxLua_wxLuaPrintout_Delete(lua_State *L); ! static WXLUAMETHOD_CFUNC s_wxluafunc_wxLua_wxLuaPrintout_Delete[1] = {{ wxLua_wxLuaPrintout_Delete, WXLUAMETHOD_METHOD, 1, 1, s_wxluatagArray_wxLua_wxLuaPrintout_Delete }}; static int LUACALL wxLua_wxLuaPrintout_Delete(lua_State *L) --- 240,246 ---- int s_wxluatag_wxLuaPrintout = -1; ! static wxLuaArgTag s_wxluatagArray_wxLua_wxLuaPrintout_Delete[] = { &s_wxluatag_wxLuaPrintout, NULL }; static int LUACALL wxLua_wxLuaPrintout_Delete(lua_State *L); ! static wxLuaBindCFunc s_wxluafunc_wxLua_wxLuaPrintout_Delete[1] = {{ wxLua_wxLuaPrintout_Delete, WXLUAMETHOD_METHOD, 1, 1, s_wxluatagArray_wxLua_wxLuaPrintout_Delete }}; static int LUACALL wxLua_wxLuaPrintout_Delete(lua_State *L) *************** *** 257,263 **** } ! static wxLuaArgTag s_wxluatagArray_wxLua_wxLuaPrintout_GetID[] = { &s_wxluatag_wxLuaPrintout, 0 }; static int LUACALL wxLua_wxLuaPrintout_GetID(lua_State *L); ! static WXLUAMETHOD_CFUNC s_wxluafunc_wxLua_wxLuaPrintout_GetID[1] = {{ wxLua_wxLuaPrintout_GetID, WXLUAMETHOD_METHOD, 1, 1, s_wxluatagArray_wxLua_wxLuaPrintout_GetID }}; // wxLuaObject *GetID() --- 257,263 ---- } ! static wxLuaArgTag s_wxluatagArray_wxLua_wxLuaPrintout_GetID[] = { &s_wxluatag_wxLuaPrintout, NULL }; static int LUACALL wxLua_wxLuaPrintout_GetID(lua_State *L); ! static wxLuaBindCFunc s_wxluafunc_wxLua_wxLuaPrintout_GetID[1] = {{ wxLua_wxLuaPrintout_GetID, WXLUAMETHOD_METHOD, 1, 1, s_wxluatagArray_wxLua_wxLuaPrintout_GetID }}; // wxLuaObject *GetID() *************** *** 276,282 **** } ! static wxLuaArgTag s_wxluatagArray_wxLua_wxLuaPrintout_SetPageInfo[] = { &s_wxluatag_wxLuaPrintout, &s_wxluaarg_Number, &s_wxluaarg_Number, &s_wxluaarg_Number, &s_wxluaarg_Number, 0 }; static int LUACALL wxLua_wxLuaPrintout_SetPageInfo(lua_State *L); ! static WXLUAMETHOD_CFUNC s_wxluafunc_wxLua_wxLuaPrintout_SetPageInfo[1] = {{ wxLua_wxLuaPrintout_SetPageInfo, WXLUAMETHOD_METHOD, 3, 5, s_wxluatagArray_wxLua_wxLuaPrintout_SetPageInfo }}; // void SetPageInfo(int minPage, int maxPage, int pageFrom = 0, int pageTo = 0) --- 276,282 ---- } ! static wxLuaArgTag s_wxluatagArray_wxLua_wxLuaPrintout_SetPageInfo[] = { &s_wxluatag_wxLuaPrintout, &s_wxluaarg_Number, &s_wxluaarg_Number, &s_wxluaarg_Number, &s_wxluaarg_Number, NULL }; static int LUACALL wxLua_wxLuaPrintout_SetPageInfo(lua_State *L); ! static wxLuaBindCFunc s_wxluafunc_wxLua_wxLuaPrintout_SetPageInfo[1] = {{ wxLua_wxLuaPrintout_SetPageInfo, WXLUAMETHOD_METHOD, 3, 5, s_wxluatagArray_wxLua_wxLuaPrintout_SetPageInfo }}; // void SetPageInfo(int minPage, int maxPage, int pageFrom = 0, int pageTo = 0) *************** *** 302,308 **** } ! static wxLuaArgTag s_wxluatagArray_wxLua_wxLuaPrintout_constructor[] = { &s_wxluaarg_String, &s_wxluatag_wxLuaObject, 0 }; static int LUACALL wxLua_wxLuaPrintout_constructor(lua_State *L); ! static WXLUAMETHOD_CFUNC s_wxluafunc_wxLua_wxLuaPrintout_constructor[1] = {{ wxLua_wxLuaPrintout_constructor, WXLUAMETHOD_CONSTRUCTOR, 0, 2, s_wxluatagArray_wxLua_wxLuaPrintout_constructor }}; // %override wxLua_wxLuaPrintout_constructor --- 302,308 ---- } ! static wxLuaArgTag s_wxluatagArray_wxLua_wxLuaPrintout_constructor[] = { &s_wxluaarg_String, &s_wxluatag_wxLuaObject, NULL }; static int LUACALL wxLua_wxLuaPrintout_constructor(lua_State *L); ! static wxLuaBindCFunc s_wxluafunc_wxLua_wxLuaPrintout_constructor[1] = {{ wxLua_wxLuaPrintout_constructor, WXLUAMETHOD_CONSTRUCTOR, 0, 2, s_wxluatagArray_wxLua_wxLuaPrintout_constructor }}; // %override wxLua_wxLuaPrintout_constructor *************** *** 310,314 **** static int LUACALL wxLua_wxLuaPrintout_constructor(lua_State *L) { ! wxlua_removetableforcall(L); wxLuaState wxlState(L); wxLuaPrintout *returns; --- 310,314 ---- static int LUACALL wxLua_wxLuaPrintout_constructor(lua_State *L) { ! wxluabind_removetableforcall(L); wxLuaState wxlState(L); wxLuaPrintout *returns; *************** *** 333,353 **** // Map Lua Class Methods to C Binding Functions ! WXLUAMETHOD wxLuaPrintout_methods[] = { ! { WXLUAMETHOD_METHOD, "Delete", s_wxluafunc_wxLua_wxLuaPrintout_Delete, 1, 0 }, ! { WXLUAMETHOD_METHOD, "GetID", s_wxluafunc_wxLua_wxLuaPrintout_GetID, 1, 0 }, ! { WXLUAMETHOD_METHOD, "SetPageInfo", s_wxluafunc_wxLua_wxLuaPrintout_SetPageInfo, 1, 0 }, ! { WXLUAMETHOD_CONSTRUCTOR, "wxLuaPrintout", s_wxluafunc_wxLua_wxLuaPrintout_constructor, 1, 0 }, ! { WXLUAMETHOD_METHOD, 0, 0, 0 }, }; ! int wxLuaPrintout_methodCount = sizeof(wxLuaPrintout_methods)/sizeof(wxLuaPrintout_methods[0]) - 1; ! WXLUADEFINE wxLuaPrintout_enums[] = { { NULL, 0, }, }; ! int wxLuaPrintout_enumCount = sizeof(wxLuaPrintout_enums)/sizeof(wxLuaPrintout_enums[0]) - 1; #endif // wxLUA_USE_wxLuaPrintout --- 333,353 ---- // Map Lua Class Methods to C Binding Functions ! wxLuaBindMethod wxLuaPrintout_methods[] = { ! { WXLUAMETHOD_METHOD, "Delete", s_wxluafunc_wxLua_wxLuaPrintout_Delete, 1, NULL }, ! { WXLUAMETHOD_METHOD, "GetID", s_wxluafunc_wxLua_wxLuaPrintout_GetID, 1, NULL }, ! { WXLUAMETHOD_METHOD, "SetPageInfo", s_wxluafunc_wxLua_wxLuaPrintout_SetPageInfo, 1, NULL }, ! { WXLUAMETHOD_CONSTRUCTOR, "wxLuaPrintout", s_wxluafunc_wxLua_wxLuaPrintout_constructor, 1, NULL }, ! { 0, 0, 0, 0 }, }; ! int wxLuaPrintout_methodCount = sizeof(wxLuaPrintout_methods)/sizeof(wxLuaBindMethod) - 1; ! wxLuaBindDefine wxLuaPrintout_enums[] = { { NULL, 0, }, }; ! int wxLuaPrintout_enumCount = sizeof(wxLuaPrintout_enums)/sizeof(wxLuaBindDefine) - 1; #endif // wxLUA_USE_wxLuaPrintout *************** *** 362,368 **** #if (wxLUA_USE_wxLuaHtmlWindow) && (wxLUA_USE_wxPointSizeRect) ! static wxLuaArgTag s_wxluatagArray_wxLua_wxLuaHtmlWindow_constructor[] = { &s_wxluatag_wxWindow, &s_wxluaarg_Number, &s_wxluatag_wxPoint, &s_wxluatag_wxSize, &s_wxluaarg_Number, &s_wxluaarg_String, 0 }; static int LUACALL wxLua_wxLuaHtmlWindow_constructor(lua_State *L); ! static WXLUAMETHOD_CFUNC s_wxluafunc_wxLua_wxLuaHtmlWindow_constructor[1] = {{ wxLua_wxLuaHtmlWindow_constructor, WXLUAMETHOD_CONSTRUCTOR, 1, 6, s_wxluatagArray_wxLua_wxLuaHtmlWindow_constructor }}; // %override wxLua_wxLuaHtmlWindow_constructor --- 362,368 ---- #if (wxLUA_USE_wxLuaHtmlWindow) && (wxLUA_USE_wxPointSizeRect) ! static wxLuaArgTag s_wxluatagArray_wxLua_wxLuaHtmlWindow_constructor[] = { &s_wxluatag_wxWindow, &s_wxluaarg_Number, &s_wxluatag_wxPoint, &s_wxluatag_wxSize, &s_wxluaarg_Number, &s_wxluaarg_String, NULL }; static int LUACALL wxLua_wxLuaHtmlWindow_constructor(lua_State *L); ! static wxLuaBindCFunc s_wxluafunc_wxLua_wxLuaHtmlWindow_constructor[1] = {{ wxLua_wxLuaHtmlWindow_constructor, WXLUAMETHOD_CONSTRUCTOR, 1, 6, s_wxluatagArray_wxLua_wxLuaHtmlWindow_constructor }}; // %override wxLua_wxLuaHtmlWindow_constructor *************** *** 370,374 **** static int LUACALL wxLua_wxLuaHtmlWindow_constructor(lua_State *L) { ! wxlua_removetableforcall(L); wxLuaState wxlState(L); wxLuaHtmlWindow *returns; --- 370,374 ---- static int LUACALL wxLua_wxLuaHtmlWindow_constructor(lua_State *L) { ! wxluabind_removetableforcall(L); wxLuaState wxlState(L); wxLuaHtmlWindow *returns; *************** *** 403,422 **** // Map Lua Class Methods to C Binding Functions ! WXLUAMETHOD wxLuaHtmlWindow_methods[] = { #if (wxLUA_USE_wxLuaHtmlWindow) && (wxLUA_USE_wxPointSizeRect) ! { WXLUAMETHOD_CONSTRUCTOR, "wxLuaHtmlWindow", s_wxluafunc_wxLua_wxLuaHtmlWindow_constructor, 1, 0 }, #endif // (wxLUA_USE_wxLuaHtmlWindow) && (wxLUA_USE_wxPointSizeRect) ! { WXLUAMETHOD_METHOD, 0, 0, 0 }, }; ! int wxLuaHtmlWindow_methodCount = sizeof(wxLuaHtmlWindow_methods)/sizeof(wxLuaHtmlWindow_methods[0]) - 1; ! WXLUADEFINE wxLuaHtmlWindow_enums[] = { { NULL, 0, }, }; ! int wxLuaHtmlWindow_enumCount = sizeof(wxLuaHtmlWindow_enums)/sizeof(wxLuaHtmlWindow_enums[0]) - 1; #endif // wxLUA_USE_wxLuaHtmlWindow --- 403,422 ---- // Map Lua Class Methods to C Binding Functions ! wxLuaBindMethod wxLuaHtmlWindow_methods[] = { #if (wxLUA_USE_wxLuaHtmlWindow) && (wxLUA_USE_wxPointSizeRect) ! { WXLUAMETHOD_CONSTRUCTOR, "wxLuaHtmlWindow", s_wxluafunc_wxLua_wxLuaHtmlWindow_constructor, 1, NULL }, #endif // (wxLUA_USE_wxLuaHtmlWindow) && (wxLUA_USE_wxPointSizeRect) ! { 0, 0, 0, 0 }, }; ! int wxLuaHtmlWindow_methodCount = sizeof(wxLuaHtmlWindow_methods)/sizeof(wxLuaBindMethod) - 1; ! wxLuaBindDefine wxLuaHtmlWindow_enums[] = { { NULL, 0, }, }; ! int wxLuaHtmlWindow_enumCount = sizeof(wxLuaHtmlWindow_enums)/sizeof(wxLuaBindDefine) - 1; #endif // wxLUA_USE_wxLuaHtmlWindow *************** *** 430,436 **** int s_wxluatag_wxLuaHtmlWinTagEvent = -1; ! static wxLuaArgTag s_wxluatagArray_wxLua_wxLuaHtmlWinTagEvent_Delete[] = { &s_wxluatag_wxLuaHtmlWinTagEvent, 0 }; static int LUACALL wxLua_wxLuaHtmlWinTagEvent_Delete(lua_State *L); ! static WXLUAMETHOD_CFUNC s_wxluafunc_wxLua_wxLuaHtmlWinTagEvent_Delete[1] = {{ wxLua_wxLuaHtmlWinTagEvent_Delete, WXLUAMETHOD_METHOD, 1, 1, s_wxluatagArray_wxLua_wxLuaHtmlWinTagEvent_Delete }}; static int LUACALL wxLua_wxLuaHtmlWinTagEvent_Delete(lua_State *L) --- 430,436 ---- int s_wxluatag_wxLuaHtmlWinTagEvent = -1; ! static wxLuaArgTag s_wxluatagArray_wxLua_wxLuaHtmlWinTagEvent_Delete[] = { &s_wxluatag_wxLuaHtmlWinTagEvent, NULL }; static int LUACALL wxLua_wxLuaHtmlWinTagEvent_Delete(lua_State *L); ! static wxLuaBindCFunc s_wxluafunc_wxLua_wxLuaHtmlWinTagEvent_Delete[1] = {{ wxLua_wxLuaHtmlWinTagEvent_Delete, WXLUAMETHOD_METHOD, 1, 1, s_wxluatagArray_wxLua_wxLuaHtmlWinTagEvent_Delete }}; static int LUACALL wxLua_wxLuaHtmlWinTagEvent_Delete(lua_State *L) *************** *** 449,455 **** #if (wxLUA_USE_wxLuaHtmlWindow) && (wxLUA_USE_wxHTML && wxUSE_HTML) ! static wxLuaArgTag s_wxluatagArray_wxLua_wxLuaHtmlWinTagEvent_GetHtmlParser[] = { &s_wxluatag_wxLuaHtmlWinTagEvent, 0 }; static int LUACALL wxLua_wxLuaHtmlWinTagEvent_GetHtmlParser(lua_State *L); ! static WXLUAMETHOD_CFUNC s_wxluafunc_wxLua_wxLuaHtmlWinTagEvent_GetHtmlParser[1] = {{ wxLua_wxLuaHtmlWinTagEvent_GetHtmlParser, WXLUAMETHOD_METHOD, 1, 1, s_wxluatagArray_wxLua_wxLuaHtmlWinTagEvent_GetHtmlParser }}; // wxHtmlWinParser *GetHtmlParser() const --- 449,455 ---- #if (wxLUA_USE_wxLuaHtmlWindow) && (wxLUA_USE_wxHTML && wxUSE_HTML) ! static wxLuaArgTag s_wxluatagArray_wxLua_wxLuaHtmlWinTagEvent_GetHtmlParser[] = { &s_wxluatag_wxLuaHtmlWinTagEvent, NULL }; static int LUACALL wxLua_wxLuaHtmlWinTagEvent_GetHtmlParser(lua_State *L); ! static wxLuaBindCFunc s_wxluafunc_wxLua_wxLuaHtmlWinTagEvent_GetHtmlParser[1] = {{ wxLua_wxLuaHtmlWinTagEvent_GetHtmlParser, WXLUAMETHOD_METHOD, 1, 1, s_wxluatagArray_wxLua_wxLuaHtmlWinTagEvent_GetHtmlParser }}; // wxHtmlWinParser *GetHtmlParser() const *************** *** 468,474 **** } ! static wxLuaArgTag s_wxluatagArray_wxLua_wxLuaHtmlWinTagEvent_GetHtmlTag[] = { &s_wxluatag_wxLuaHtmlWinTagEvent, 0 }; static int LUACALL wxLua_wxLuaHtmlWinTagEvent_GetHtmlTag(lua_State *L); ! static WXLUAMETHOD_CFUNC s_wxluafunc_wxLua_wxLuaHtmlWinTagEvent_GetHtmlTag[1] = {{ wxLua_wxLuaHtmlWinTagEvent_GetHtmlTag, WXLUAMETHOD_METHOD, 1, 1, s_wxluatagArray_wxLua_wxLuaHtmlWinTagEvent_GetHtmlTag }}; // const wxHtmlTag *GetHtmlTag() const --- 468,474 ---- } ! static wxLuaArgTag s_wxluatagArray_wxLua_wxLuaHtmlWinTagEvent_GetHtmlTag[] = { &s_wxluatag_wxLuaHtmlWinTagEvent, NULL }; static int LUACALL wxLua_wxLuaHtmlWinTagEvent_GetHtmlTag(lua_State *L); ! static wxLuaBindCFunc s_wxluafunc_wxLua_wxLuaHtmlWinTagEvent_GetHtmlTag[1] = {{ wxLua_wxLuaHtmlWinTagEvent_GetHtmlTag, WXLUAMETHOD_METHOD, 1, 1, s_wxluatagArray_wxLua_wxLuaHtmlWinTagEvent_GetHtmlTag }}; // const wxHtmlTag *GetHtmlTag() const *************** *** 489,495 **** #endif // (wxLUA_USE_wxLuaHtmlWindow) && (wxLUA_USE_wxHTML && wxUSE_HTML) ! static wxLuaArgTag s_wxluatagArray_wxLua_wxLuaHtmlWinTagEvent_GetParseInnerCalled[] = { &s_wxluatag_wxLuaHtmlWinTagEvent, 0 }; static int LUACALL wxLua_wxLuaHtmlWinTagEvent_GetParseInnerCalled(lua_State *L); ! static WXLUAMETHOD_CFUNC s_wxluafunc_wxLua_wxLuaHtmlWinTagEvent_GetParseInnerCalled[1] = {{ wxLua_wxLuaHtmlWinTagEvent_GetParseInnerCalled, WXLUAMETHOD_METHOD, 1, 1, s_wxluatagArray_wxLua_wxLuaHtmlWinTagEvent_GetParseInnerCalled }}; // bool GetParseInnerCalled() const --- 489,495 ---- #endif // (wxLUA_USE_wxLuaHtmlWindow) && (wxLUA_USE_wxHTML && wxUSE_HTML) ! static wxLuaArgTag s_wxluatagArray_wxLua_wxLuaHtmlWinTagEvent_GetParseInnerCalled[] = { &s_wxluatag_wxLuaHtmlWinTagEvent, NULL }; static int LUACALL wxLua_wxLuaHtmlWinTagEvent_GetParseInnerCalled(lua_State *L); ! static wxLuaBindCFunc s_wxluafunc_wxLua_wxLuaHtmlWinTagEvent_GetParseInnerCalled[1] = {{ wxLua_wxLuaHtmlWinTagEvent_GetParseInnerCalled, WXLUAMETHOD_METHOD, 1, 1, s_wxluatagArray_wxLua_wxLuaHtmlWinTagEvent_GetParseInnerCalled }}; // bool GetParseInnerCalled() const *************** *** 508,514 **** } ! static wxLuaArgTag s_wxluatagArray_wxLua_wxLuaHtmlWinTagEvent_SetParseInnerCalled[] = { &s_wxluatag_wxLuaHtmlWinTagEvent, &s_wxluaarg_Boolean, 0 }; static int LUACALL wxLua_wxLuaHtmlWinTagEvent_SetParseInnerCalled(lua_State *L); ! static WXLUAMETHOD_CFUNC s_wxluafunc_wxLua_wxLuaHtmlWinTagEvent_SetParseInnerCalled[1] = {{ wxLua_wxLuaHtmlWinTagEvent_SetParseInnerCalled, WXLUAMETHOD_METHOD, 1, 2, s_wxluatagArray_wxLua_wxLuaHtmlWinTagEvent_SetParseInnerCalled }}; // void SetParseInnerCalled(bool fParseInnerCalled = true) --- 508,514 ---- } ! static wxLuaArgTag s_wxluatagArray_wxLua_wxLuaHtmlWinTagEvent_SetParseInnerCalled[] = { &s_wxluatag_wxLuaHtmlWinTagEvent, &s_wxluaarg_Boolean, NULL }; static int LUACALL wxLua_wxLuaHtmlWinTagEvent_SetParseInnerCalled(lua_State *L); ! static wxLuaBindCFunc s_wxluafunc_wxLua_wxLuaHtmlWinTagEvent_SetParseInnerCalled[1] = {{ wxLua_wxLuaHtmlWinTagEvent_SetParseInnerCalled, WXLUAMETHOD_METHOD, 1, 2, s_wxluatagArray_wxLua_wxLuaHtmlWinTagEvent_SetParseInnerCalled }}; // void SetParseInnerCalled(bool fParseInnerCalled = true) *************** *** 532,557 **** // Map Lua Class Methods to C Binding Functions ! WXLUAMETHOD wxLuaHtmlWinTagEvent_methods[] = { ! { WXLUAMETHOD_METHOD, "Delete", s_wxluafunc_wxLua_wxLuaHtmlWinTagEvent_Delete, 1, 0 }, #if (wxLUA_USE_wxLuaHtmlWindow) && (wxLUA_USE_wxHTML && wxUSE_HTML) ! { WXLUAMETHOD_METHOD, "GetHtmlParser", s_wxluafunc_wxLua_wxLuaHtmlWinTagEvent_GetHtmlParser, 1, 0 }, ! { WXLUAMETHOD_METHOD, "GetHtmlTag", s_wxluafunc_wxLua_wxLuaHtmlWinTagEvent_GetHtmlTag, 1, 0 }, #endif // (wxLUA_USE_wxLuaHtmlWindow) && (wxLUA_USE_wxHTML && wxUSE_HTML) ! { WXLUAMETHOD_METHOD, "GetParseInnerCalled", s_wxluafunc_wxLua_wxLuaHtmlWinTagEvent_GetParseInnerCalled, 1, 0 }, ! { WXLUAMETHOD_METHOD, "SetParseInnerCalled", s_wxluafunc_wxLua_wxLuaHtmlWinTagEvent_SetParseInnerCalled, 1, 0 }, ! { WXLUAMETHOD_METHOD, 0, 0, 0 }, }; ! int wxLuaHtmlWinTagEvent_methodCount = sizeof(wxLuaHtmlWinTagEvent_methods)/sizeof(wxLuaHtmlWinTagEvent_methods[0]) - 1; ! WXLUADEFINE wxLuaHtmlWinTagEvent_enums[] = { { NULL, 0, }, }; ! int wxLuaHtmlWinTagEvent_enumCount = sizeof(wxLuaHtmlWinTagEvent_enums)/sizeof(wxLuaHtmlWinTagEvent_enums[0]) - 1; #endif // wxLUA_USE_wxLuaHtmlWindow --- 532,557 ---- // Map Lua Class Methods to C Binding Functions ! wxLuaBindMethod wxLuaHtmlWinTagEvent_methods[] = { ! { WXLUAMETHOD_METHOD, "Delete", s_wxluafunc_wxLua_wxLuaHtmlWinTagEvent_Delete, 1, NULL }, #if (wxLUA_USE_wxLuaHtmlWindow) && (wxLUA_USE_wxHTML && wxUSE_HTML) ! { WXLUAMETHOD_METHOD, "GetHtmlParser", s_wxluafunc_wxLua_wxLuaHtmlWinTagEvent_GetHtmlParser, 1, NULL }, ! { WXLUAMETHOD_METHOD, "GetHtmlTag", s_wxluafunc_wxLua_wxLuaHtmlWinTagEvent_GetHtmlTag, 1, NULL }, #endif // (wxLUA_USE_wxLuaHtmlWindow) && (wxLUA_USE_wxHTML && wxUSE_HTML) ! { WXLUAMETHOD_METHOD, "GetParseInnerCalled", s_wxluafunc_wxLua_wxLuaHtmlWinTagEvent_GetParseInnerCalled, 1, NULL }, ! { WXLUAMETHOD_METHOD, "SetParseInnerCalled", s_wxluafunc_wxLua_wxLuaHtmlWinTagEvent_SetParseInnerCalled, 1, NULL }, ! { 0, 0, 0, 0 }, }; ! int wxLuaHtmlWinTagEvent_methodCount = sizeof(wxLuaHtmlWinTagEvent_methods)/sizeof(wxLuaBindMethod) - 1; ! wxLuaBindDefine wxLuaHtmlWinTagEvent_enums[] = { { NULL, 0, }, }; ! int wxLuaHtmlWinTagEvent_enumCount = sizeof(wxLuaHtmlWinTagEvent_enums)/sizeof(wxLuaBindDefine) - 1; #endif // wxLUA_USE_wxLuaHtmlWindow *************** *** 565,571 **** int s_wxluatag_wxLuaTreeItemData = -1; ! static wxLuaArgTag s_wxluatagArray_wxLua_wxLuaTreeItemData_GetValue[] = { &s_wxluatag_wxLuaTreeItemData, 0 }; static int LUACALL wxLua_wxLuaTreeItemData_GetValue(lua_State *L); ! static WXLUAMETHOD_CFUNC s_wxluafunc_wxLua_wxLuaTreeItemData_GetValue[1] = {{ wxLua_wxLuaTreeItemData_GetValue, WXLUAMETHOD_METHOD, 1, 1, s_wxluatagArray_wxLua_wxLuaTreeItemData_GetValue }}; // double GetValue() const; --- 565,571 ---- int s_wxluatag_wxLuaTreeItemData = -1; ! static wxLuaArgTag s_wxluatagArray_wxLua_wxLuaTreeItemData_GetValue[] = { &s_wxluatag_wxLuaTreeItemData, NULL }; static int LUACALL wxLua_wxLuaTreeItemData_GetValue(lua_State *L); ! static wxLuaBindCFunc s_wxluafunc_wxLua_wxLuaTreeItemData_GetValue[1] = {{ wxLua_wxLuaTreeItemData_GetValue, WXLUAMETHOD_METHOD, 1, 1, s_wxluatagArray_wxLua_wxLuaTreeItemData_GetValue }}; // double GetValue() const; *************** *** 584,590 **** } ! static wxLuaArgTag s_wxluatagArray_wxLua_wxLuaTreeItemData_SetValue[] = { &s_wxluatag_wxLuaTreeItemData, &s_wxluaarg_Number, 0 }; static int LUACALL wxLua_wxLuaTreeItemData_SetValue(lua_State *L); ! static WXLUAMETHOD_CFUNC s_wxluafunc_wxLua_wxLuaTreeItemData_SetValue[1] = {{ wxLua_wxLuaTreeItemData_SetValue, WXLUAMETHOD_METHOD, 2, 2, s_wxluatagArray_wxLua_wxLuaTreeItemData_SetValue }}; // void SetValue(double value); --- 584,590 ---- } ! static wxLuaArgTag s_wxluatagArray_wxLua_wxLuaTreeItemData_SetValue[] = { &s_wxluatag_wxLuaTreeItemData, &s_wxluaarg_Number, NULL }; static int LUACALL wxLua_wxLuaTreeItemData_SetValue(lua_State *L); ! static wxLuaBindCFunc s_wxluafunc_wxLua_wxLuaTreeItemData_SetValue[1] = {{ wxLua_wxLuaTreeItemData_SetValue, WXLUAMETHOD_METHOD, 2, 2, s_wxluatagArray_wxLua_wxLuaTreeItemData_SetValue }}; // void SetValue(double value); *************** *** 602,613 **** } ! static wxLuaArgTag s_wxluatagArray_wxLua_wxLuaTreeItemData_constructor[] = { &s_wxluaarg_Number, 0 }; static int LUACALL wxLua_wxLuaTreeItemData_constructor(lua_State *L); ! static WXLUAMETHOD_CFUNC s_wxluafunc_wxLua_wxLuaTreeItemData_constructor[1] = {{ wxLua_wxLuaTreeItemData_constructor, WXLUAMETHOD_CONSTRUCTOR, 0, 1, s_wxluatagArray_wxLua_wxLuaTreeItemData_constructor }}; // wxLuaTreeItemData(double value = 0) static int LUACALL wxLua_wxLuaTreeItemData_constructor(lua_State *L) { ! wxlua_removetableforcall(L); wxLuaState wxlState(L); wxLuaTreeItemData *returns; --- 602,613 ---- } ! static wxLuaArgTag s_wxluatagArray_wxLua_wxLuaTreeItemData_constructor[] = { &s_wxluaarg_Number, NULL }; static int LUACALL wxLua_wxLuaTreeItemData_constructor(lua_State *L); ! static wxLuaBindCFunc s_wxluafunc_wxLua_wxLuaTreeItemData_constructor[1] = {{ wxLua_wxLuaTreeItemData_constructor, WXLUAMETHOD_CONSTRUCTOR, 0, 1, s_wxluatagArray_wxLua_wxLuaTreeItemData_constructor }}; // wxLuaTreeItemData(double value = 0) static int LUACALL wxLua_wxLuaTreeItemData_constructor(lua_State *L) { ! wxluabind_removetableforcall(L); wxLuaState wxlState(L); wxLuaTreeItemData *returns; *************** *** 628,647 **** // Map Lua Class Methods to C Binding Functions ! WXLUAMETHOD wxLuaTreeItemData_methods[] = { ! { WXLUAMETHOD_METHOD, "GetValue", s_wxluafunc_wxLua_wxLuaTreeItemData_GetValue, 1, 0 }, ! { WXLUAMETHOD_METHOD, "SetValue", s_wxluafunc_wxLua_wxLuaTreeItemData_SetValue, 1, 0 }, ! { WXLUAMETHOD_CONSTRUCTOR, "wxLuaTreeItemData", s_wxluafunc_wxLua_wxLuaTreeItemData_constructor, 1, 0 }, ! { WXLUAMETHOD_METHOD, 0, 0, 0 }, }; ! int wxLuaTreeItemData_methodCount = sizeof(wxLuaTreeItemData_methods)/sizeof(wxLuaTreeItemData_methods[0]) - 1; ! WXLUADEFINE wxLuaTreeItemData_enums[] = { { NULL, 0, }, }; ! int wxLuaTreeItemData_enumCount = sizeof(wxLuaTreeItemData_enums)/sizeof(wxLuaTreeItemData_enums[0]) - 1; #endif // wxLUA_USE_wxTreeCtrl --- 628,647 ---- // Map Lua Class Methods to C Binding Functions ! wxLuaBindMethod wxLuaTreeItemData_methods[] = { ! { WXLUAMETHOD_METHOD, "GetValue", s_wxluafunc_wxLua_wxLuaTreeItemData_GetValue, 1, NULL }, ! { WXLUAMETHOD_METHOD, "SetValue", s_wxluafunc_wxLua_wxLuaTreeItemData_SetValue, 1, NULL }, ! { WXLUAMETHOD_CONSTRUCTOR, "wxLuaTreeItemData", s_wxluafunc_wxLua_wxLuaTreeItemData_constructor, 1, NULL }, ! { 0, 0, 0, 0 }, }; ! int wxLuaTreeItemData_methodCount = sizeof(wxLuaTreeItemData_methods)/sizeof(wxLuaBindMethod) - 1; ! wxLuaBindDefine wxLuaTreeItemData_enums[] = { { NULL, 0, }, }; ! int wxLuaTreeItemData_enumCount = sizeof(wxLuaTreeItemData_enums)/sizeof(wxLuaBindDefine) - 1; #endif // wxLUA_USE_wxTreeCtrl Index: image.cpp =================================================================== RCS file: /cvsroot/wxlua/wxLua/modules/wxbind/src/image.cpp,v retrieving revision 1.37 retrieving revision 1.38 diff -C2 -d -r1.37 -r1.38 *** image.cpp 5 Jun 2007 21:07:23 -0000 1.37 --- image.cpp 6 Jun 2007 23:43:06 -0000 1.38 *************** *** 35,41 **** int s_wxluatag_wxImage = -1; ! static wxLuaArgTag s_wxluatagArray_wxLua_wxImage_AddHandler[] = { &s_wxluatag_wxImageHandler, 0 }; static int LUACALL wxLua_wxImage_AddHandler(lua_State *L); ! static WXLUAMETHOD_CFUNC s_wxluafunc_wxLua_wxImage_AddHandler[1] = {{ wxLua_wxImage_AddHandler, WXLUAMETHOD_METHOD|WXLUAMETHOD_STATIC, 1, 1, s_wxluatagArray_wxLua_wxImage_AddHandler }}; // static void AddHandler(wxImageHandler* handler) --- 35,41 ---- int s_wxluatag_wxImage = -1; [...3922 lines suppressed...] #endif // (wxCHECK_VERSION(2,8,0)) && (wxLUA_USE_wxArtProvider) #if (wxLUA_USE_wxArtProvider) && ((wxCHECK_VERSION(2,8,0)) && (wxLUA_USE_wxArtProvider)) ! { WXLUAMETHOD_METHOD|WXLUAMETHOD_STATIC, "Push", s_wxluafunc_wxLua_wxArtProvider_Push, 1, NULL }, ! { WXLUAMETHOD_METHOD|WXLUAMETHOD_STATIC, "Remove", s_wxluafunc_wxLua_wxArtProvider_Remove, 1, NULL }, #endif // (wxLUA_USE_wxArtProvider) && ((wxCHECK_VERSION(2,8,0)) && (wxLUA_USE_wxArtProvider)) ! { 0, 0, 0, 0 }, }; ! int wxArtProvider_methodCount = sizeof(wxArtProvider_methods)/sizeof(wxLuaBindMethod) - 1; ! wxLuaBindDefine wxArtProvider_enums[] = { { NULL, 0, }, }; ! int wxArtProvider_enumCount = sizeof(wxArtProvider_enums)/sizeof(wxLuaBindDefine) - 1; #endif // wxLUA_USE_wxArtProvider Index: mdi.cpp =================================================================== RCS file: /cvsroot/wxlua/wxLua/modules/wxbind/src/mdi.cpp,v retrieving revision 1.34 retrieving revision 1.35 diff -C2 -d -r1.34 -r1.35 *** mdi.cpp 6 Jun 2007 03:53:38 -0000 1.34 --- mdi.cpp 6 Jun 2007 23:43:06 -0000 1.35 *************** *** 38,53 **** // Map Lua Class Methods to C Binding Functions ! WXLUAMETHOD wxMDIClientWindow_methods[] = { ! { WXLUAMETHOD_METHOD, 0, 0, 0 }, }; ! int wxMDIClientWindow_methodCount = sizeof(wxMDIClientWindow_methods)/sizeof(wxMDIClientWindow_methods[0]) - 1; ! WXLUADEFINE wxMDIClientWindow_enums[] = { [...4201 lines suppressed...] #if (wxLUA_USE_wxFileHistory && wxUSE_DOC_VIEW_ARCHITECTURE) && (wxLUA_USE_wxMenu && wxUSE_MENUS) ! { WXLUAMETHOD_METHOD, "UseMenu", s_wxluafunc_wxLua_wxFileHistory_UseMenu, 1, NULL }, #endif // (wxLUA_USE_wxFileHistory && wxUSE_DOC_VIEW_ARCHITECTURE) && (wxLUA_USE_wxMenu && wxUSE_MENUS) ! { WXLUAMETHOD_CONSTRUCTOR, "wxFileHistory", s_wxluafunc_wxLua_wxFileHistory_constructor, 1, NULL }, ! { 0, 0, 0, 0 }, }; ! int wxFileHistory_methodCount = sizeof(wxFileHistory_methods)/sizeof(wxLuaBindMethod) - 1; ! wxLuaBindDefine wxFileHistory_enums[] = { { NULL, 0, }, }; ! int wxFileHistory_enumCount = sizeof(wxFileHistory_enums)/sizeof(wxLuaBindDefine) - 1; #endif // wxLUA_USE_wxFileHistory && wxUSE_DOC_VIEW_ARCHITECTURE Index: config.cpp =================================================================== RCS file: /cvsroot/wxlua/wxLua/modules/wxbind/src/config.cpp,v retrieving revision 1.36 retrieving revision 1.37 diff -C2 -d -r1.36 -r1.37 *** config.cpp 5 Jun 2007 21:07:21 -0000 1.36 --- config.cpp 6 Jun 2007 23:42:58 -0000 1.37 *************** *** 36,40 **** static int LUACALL wxLua_wxConfigBase_Create(lua_State *L); ! static WXLUAMETHOD_CFUNC s_wxluafunc_wxLua_wxConfigBase_Create[1] = {{ wxLua_wxConfigBase_Create, WXLUAMETHOD_METHOD|WXLUAMETHOD_STATIC, 0, 0, s_wxluaargArray_None }}; // static wxConfigBase* Create() --- 36,40 ---- static int LUACALL wxLua_wxConfigBase_Create(lua_State *L); ! static wxLuaBindCFunc s_wxluafunc_wxLua_wxConfigBase_Create[1] = {{ wxLua_wxConfigBase_Create, WXLUAMETHOD_METHOD|WXLUAMETHOD_STATIC, 0, 0, s_wxluaargArray_None }}; [...1057 lines suppressed...] #if (wxCHECK_VERSION(2,8,0)) && (wxLUA_USE_wxConfig && wxUSE_CONFIG) ! { WXLUAMETHOD_METHOD, "UpdateIfDeleted", s_wxluafunc_wxLua_wxConfigPathChanger_UpdateIfDeleted, 1, NULL }, #endif // (wxCHECK_VERSION(2,8,0)) && (wxLUA_USE_wxConfig && wxUSE_CONFIG) ! { WXLUAMETHOD_CONSTRUCTOR, "wxConfigPathChanger", s_wxluafunc_wxLua_wxConfigPathChanger_constructor, 1, NULL }, ! { 0, 0, 0, 0 }, }; ! int wxConfigPathChanger_methodCount = sizeof(wxConfigPathChanger_methods)/sizeof(wxLuaBindMethod) - 1; ! wxLuaBindDefine wxConfigPathChanger_enums[] = { { NULL, 0, }, }; ! int wxConfigPathChanger_enumCount = sizeof(wxConfigPathChanger_enums)/sizeof(wxLuaBindDefine) - 1; #endif // wxLUA_USE_wxConfig && wxUSE_CONFIG Index: grid.cpp =================================================================== RCS file: /cvsroot/wxlua/wxLua/modules/wxbind/src/grid.cpp,v retrieving revision 1.35 retrieving revision 1.36 diff -C2 -d -r1.35 -r1.36 *** grid.cpp 6 Jun 2007 03:53:37 -0000 1.35 --- grid.cpp 6 Jun 2007 23:43:05 -0000 1.36 *************** *** 35,41 **** int s_wxluatag_wxGridCellWorker = -1; ! static wxLuaArgTag s_wxluatagArray_wxLua_wxGridCellWorker_DecRef[] = { &s_wxluatag_wxGridCellWorker, 0 }; static int LUACALL wxLua_wxGridCellWorker_DecRef(lua_State *L); ! static WXLUAMETHOD_CFUNC s_wxluafunc_wxLua_wxGridCellWorker_DecRef[1] = {{ wxLua_wxGridCellWorker_DecRef, WXLUAMETHOD_METHOD, 1, 1, s_wxluatagArray_wxLua_wxGridCellWorker_DecRef }}; // void DecRef() --- 35,41 ---- int s_wxluatag_wxGridCellWorker = -1; [...8370 lines suppressed...] ! { WXLUAMETHOD_METHOD, "SetControl", s_wxluafunc_wxLua_wxGridEditorCreatedEvent_SetControl, 1, NULL }, ! { WXLUAMETHOD_METHOD, "SetRow", s_wxluafunc_wxLua_wxGridEditorCreatedEvent_SetRow, 1, NULL }, #if (wxLUA_USE_wxObject) && (wxLUA_USE_wxGrid && wxUSE_GRID) ! { WXLUAMETHOD_CONSTRUCTOR, "wxGridEditorCreatedEvent", s_wxluafunc_wxLua_wxGridEditorCreatedEvent_constructor, 1, NULL }, #endif // (wxLUA_USE_wxObject) && (wxLUA_USE_wxGrid && wxUSE_GRID) ! { 0, 0, 0, 0 }, }; ! int wxGridEditorCreatedEvent_methodCount = sizeof(wxGridEditorCreatedEvent_methods)/sizeof(wxLuaBindMethod) - 1; ! wxLuaBindDefine wxGridEditorCreatedEvent_enums[] = { { NULL, 0, }, }; ! int wxGridEditorCreatedEvent_enumCount = sizeof(wxGridEditorCreatedEvent_enums)/sizeof(wxLuaBindDefine) - 1; #endif // wxLUA_USE_wxGrid && wxUSE_GRID Index: file.cpp =================================================================== RCS file: /cvsroot/wxlua/wxLua/modules/wxbind/src/file.cpp,v retrieving revision 1.44 retrieving revision 1.45 diff -C2 -d -r1.44 -r1.45 *** file.cpp 6 Jun 2007 03:53:37 -0000 1.44 --- file.cpp 6 Jun 2007 23:43:02 -0000 1.45 *************** *** 34,40 **** #if wxCHECK_VERSION(2,8,0) ! static wxLuaArgTag s_wxluatagArray_wxLua_wxPathList_Add2[] = { &s_wxluatag_wxPathList, &s_wxluaarg_LuaTable, 0 }; static int LUACALL wxLua_wxPathList_Add2(lua_State *L); ! // static WXLUAMETHOD_CFUNC s_wxluafunc_wxLua_wxPathList_Add2[1] = {{ wxLua_wxPathList_Add2, WXLUAMETHOD_METHOD, 2, 2, s_wxluatagArray_wxLua_wxPathList_Add2 }}; // %wxchkver_2_8 void Add(const wxArrayString_FromLuaTable& paths) --- 34,40 ---- #if wxCHECK_VERSION(2,8,0) [...5047 lines suppressed...] ! { WXLUAMETHOD_METHOD, "Write16", s_wxluafunc_wxLua_wxDataOutputStream_Write16, 1, NULL }, ! { WXLUAMETHOD_METHOD, "Write32", s_wxluafunc_wxLua_wxDataOutputStream_Write32, 1, NULL }, ! { WXLUAMETHOD_METHOD, "Write8", s_wxluafunc_wxLua_wxDataOutputStream_Write8, 1, NULL }, ! { WXLUAMETHOD_METHOD, "WriteDouble", s_wxluafunc_wxLua_wxDataOutputStream_WriteDouble, 1, NULL }, ! { WXLUAMETHOD_METHOD, "WriteString", s_wxluafunc_wxLua_wxDataOutputStream_WriteString, 1, NULL }, ! { WXLUAMETHOD_CONSTRUCTOR, "wxDataOutputStream", s_wxluafunc_wxLua_wxDataOutputStream_constructor, 1, NULL }, ! { 0, 0, 0, 0 }, }; ! int wxDataOutputStream_methodCount = sizeof(wxDataOutputStream_methods)/sizeof(wxLuaBindMethod) - 1; ! wxLuaBindDefine wxDataOutputStream_enums[] = { { NULL, 0, }, }; ! int wxDataOutputStream_enumCount = sizeof(wxDataOutputStream_enums)/sizeof(wxLuaBindDefine) - 1; #endif // wxUSE_STREAMS Index: data.cpp =================================================================== RCS file: /cvsroot/wxlua/wxLua/modules/wxbind/src/data.cpp,v retrieving revision 1.43 retrieving revision 1.44 diff -C2 -d -r1.43 -r1.44 *** data.cpp 5 Jun 2007 21:07:21 -0000 1.43 --- data.cpp 6 Jun 2007 23:43:00 -0000 1.44 *************** *** 33,39 **** int s_wxluatag_wxString = -1; ! static wxLuaArgTag s_wxluatagArray_wxLua_wxString_GetData[] = { &s_wxluatag_wxString, 0 }; static int LUACALL wxLua_wxString_GetData(lua_State *L); ! static WXLUAMETHOD_CFUNC s_wxluafunc_wxLua_wxString_GetData[1] = {{ wxLua_wxString_GetData, WXLUAMETHOD_METHOD, 1, 1, s_wxluatagArray_wxLua_wxString_GetData }}; // wxString GetData() const --- 33,39 ---- int s_wxluatag_wxString = -1; [...3407 lines suppressed...] ! { WXLUAMETHOD_METHOD, "Delete", s_wxluafunc_wxLua_wxULongLong_Delete, 1, NULL }, ! { WXLUAMETHOD_METHOD, "GetHi", s_wxluafunc_wxLua_wxULongLong_GetHi, 1, NULL }, ! { WXLUAMETHOD_METHOD, "GetLo", s_wxluafunc_wxLua_wxULongLong_GetLo, 1, NULL }, ! { WXLUAMETHOD_METHOD, "ToString", s_wxluafunc_wxLua_wxULongLong_ToString, 1, NULL }, ! { WXLUAMETHOD_METHOD, "ToULong", s_wxluafunc_wxLua_wxULongLong_ToULong, 1, NULL }, ! { WXLUAMETHOD_CONSTRUCTOR, "wxULongLong", s_wxluafunc_wxLua_wxULongLong_constructor, 1, NULL }, ! { 0, 0, 0, 0 }, }; ! int wxULongLong_methodCount = sizeof(wxULongLong_methods)/sizeof(wxLuaBindMethod) - 1; ! wxLuaBindDefine wxULongLong_enums[] = { { NULL, 0, }, }; ! int wxULongLong_enumCount = sizeof(wxULongLong_enums)/sizeof(wxLuaBindDefine) - 1; #endif // wxUSE_LONGLONG Index: controls.cpp =================================================================== RCS file: /cvsroot/wxlua/wxLua/modules/wxbind/src/controls.cpp,v retrieving revision 1.56 retrieving revision 1.57 diff -C2 -d -r1.56 -r1.57 *** controls.cpp 6 Jun 2007 03:53:36 -0000 1.56 --- controls.cpp 6 Jun 2007 23:42:58 -0000 1.57 *************** *** 36,42 **** #if ((wxLUA_USE_wxButton && wxUSE_BUTTON) && (wxLUA_USE_wxValidator && wxUSE_VALIDATORS)) && (wxLUA_USE_wxPointSizeRect) ! static wxLuaArgTag s_wxluatagArray_wxLua_wxButton_Create[] = { &s_wxluatag_wxButton, &s_wxluatag_wxWindow, &s_wxluaarg_Number, &s_wxluaarg_String, &s_wxluatag_wxPoint, &s_wxluatag_wxSize, &s_wxluaarg_Number, &s_wxluatag_wxValidator, &s_wxluaarg_String, 0 }; static int LUACALL wxLua_wxButton_Create(lua_State *L); ! static WXLUAMETHOD_CFUNC s_wxluafunc_wxLua_wxButton_Create[1] = {{ wxLua_wxButton_Create, WXLUAMETHOD_METHOD, 4, 9, s_wxluatagArray_wxLua_wxButton_Create }}; // bool Create(wxWindow *parent, wxWindowID id, const wxString& label, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = 0, const wxValidator& validator = wxDefaultValidator, const wxString& name = "wxButton") --- 36,42 ---- #if ((wxLUA_USE_wxButton && wxUSE_BUTTON) && (wxLUA_USE_wxValidator && wxUSE_VALIDATORS)) && (wxLUA_USE_wxPointSizeRect) [...13501 lines suppressed...] ! int wxGenericDirCtrl_enumCount = sizeof(wxGenericDirCtrl_enums)/sizeof(wxGenericDirCtrl_enums[0]) - 1; #endif // wxLUA_USE_wxGenericDirCtrl && wxUSE_DIRDLG --- 14254,14268 ---- #endif // ((wxLUA_USE_wxPointSizeRect) && (wxLUA_USE_wxGenericDirCtrl && wxUSE_DIRDLG))||(wxLUA_USE_wxGenericDirCtrl && wxUSE_DIRDLG) ! { 0, 0, 0, 0 }, }; ! int wxGenericDirCtrl_methodCount = sizeof(wxGenericDirCtrl_methods)/sizeof(wxLuaBindMethod) - 1; ! wxLuaBindDefine wxGenericDirCtrl_enums[] = { { NULL, 0, }, }; ! int wxGenericDirCtrl_enumCount = sizeof(wxGenericDirCtrl_enums)/sizeof(wxLuaBindDefine) - 1; #endif // wxLUA_USE_wxGenericDirCtrl && wxUSE_DIRDLG Index: regex.cpp =================================================================== RCS file: /cvsroot/wxlua/wxLua/modules/wxbind/src/regex.cpp,v retrieving revision 1.28 retrieving revision 1.29 diff -C2 -d -r1.28 -r1.29 *** regex.cpp 5 Jun 2007 21:07:23 -0000 1.28 --- regex.cpp 6 Jun 2007 23:43:08 -0000 1.29 *************** *** 35,41 **** int s_wxluatag_wxRegEx = -1; ! static wxLuaArgTag s_wxluatagArray_wxLua_wxRegEx_Compile[] = { &s_wxluatag_wxRegEx, &s_wxluaarg_String, &s_wxluaarg_Number, 0 }; static int LUACALL wxLua_wxRegEx_Compile(lua_State *L); ! static WXLUAMETHOD_CFUNC s_wxluafunc_wxLua_wxRegEx_Compile[1] = {{ wxLua_wxRegEx_Compile, WXLUAMETHOD_METHOD, 2, 3, s_wxluatagArray_wxLua_wxRegEx_Compile }}; // bool Compile(const wxString& pattern, int flags = wxRE_DEFAULT) --- 35,41 ---- int s_wxluatag_wxRegEx = -1; ! static wxLuaArgTag s_wxluatagArray_wxLua_wxRegEx_Compile[] = { &s_wxluatag_wxRegEx, &s_wxluaarg_String, &s_wxluaarg_Number, NULL }; static int LUACALL wxLua_wxRegEx_Compile(lua_State *L); ! static wxLuaBindCFunc s_wxluafunc_wxLua_wxRegEx_Compile[1] = {{ wxLua_wxRegEx_Compile, WXLUAMETHOD_METHOD, 2, 3, s_wxluatagArray_wxLua_wxRegEx_Compile }}; // bool Compile(const wxString& pattern, int flags = wxRE_DEFAULT) *************** *** 60,66 **** } ! static wxLuaArgTag s_wxluatagArray_wxLua_wxRegEx_Delete[] = { &s_wxluatag_wxRegEx, 0 }; static int LUACALL wxLua_wxRegEx_Delete(lua_State *L); ! static WXLUAMETHOD_CFUNC s_wxluafunc_wxLua_wxRegEx_Delete[1] = {{ wxLua_wxRegEx_Delete, WXLUAMETHOD_METHOD, 1, 1, s_wxluatagArray_wxLua_wxRegEx_Delete }}; static int LUACALL wxLua_wxRegEx_Delete(lua_State *L) --- 60,66 ---- } ! static wxLuaArgTag s_wxluatagArray_wxLua_wxRegEx_Delete[] = { &s_wxluatag_wxRegEx, NULL }; static int LUACALL wxLua_wxRegEx_Delete(lua_State *L); ! static wxLuaBindCFunc s_wxluafunc_wxLua_wxRegEx_Delete[1] = {{ wxLua_wxRegEx_Delete, WXLUAMETHOD_METHOD, 1, 1, s_wxluatagArray_wxLua_wxRegEx_Delete }}; static int LUACALL wxLua_wxRegEx_Delete(lua_State *L) *************** *** 78,84 **** #define wxLua_wxRegEx_GetMatch1 wxLua_wxRegEx_GetMatchIndexes ! static wxLuaArgTag s_wxluatagArray_wxLua_wxRegEx_GetMatch1[] = { &s_wxluatag_wxRegEx, &s_wxluaarg_Number, 0 }; static int LUACALL wxLua_wxRegEx_GetMatch1(lua_State *L); ! // static WXLUAMETHOD_CFUNC s_wxluafunc_wxLua_wxRegEx_GetMatch1[1] = {{ wxLua_wxRegEx_GetMatch1, WXLUAMETHOD_METHOD, 1, 2, s_wxluatagArray_wxLua_wxRegEx_GetMatch1 }}; // %override wxLua_wxRegEx_GetMatchIndexes --- 78,84 ---- #define wxLua_wxRegEx_GetMatch1 wxLua_wxRegEx_GetMatchIndexes ! static wxLuaArgTag s_wxluatagArray_wxLua_wxRegEx_GetMatch1[] = { &s_wxluatag_wxRegEx, &s_wxluaarg_Number, NULL }; static int LUACALL wxLua_wxRegEx_GetMatch1(lua_State *L); ! // static wxLuaBindCFunc s_wxluafunc_wxLua_wxRegEx_GetMatch1[1] = {{ wxLua_wxRegEx_GetMatch1, WXLUAMETHOD_METHOD, 1, 2, s_wxluatagArray_wxLua_wxRegEx_GetMatch1 }}; // %override wxLua_wxRegEx_GetMatchIndexes *************** *** 109,115 **** } ! static wxLuaArgTag s_wxluatagArray_wxLua_wxRegEx_GetMatch[] = { &s_wxluatag_wxRegEx, &s_wxluaarg_String, &s_wxluaarg_Number, 0 }; static int LUACALL wxLua_wxRegEx_GetMatch(lua_State *L); ! // static WXLUAMETHOD_CFUNC s_wxluafunc_wxLua_wxRegEx_GetMatch[1] = {{ wxLua_wxRegEx_GetMatch, WXLUAMETHOD_METHOD, 2, 3, s_wxluatagArray_wxLua_wxRegEx_GetMatch }}; // wxString GetMatch(const wxString& text, size_t index = 0) const --- 109,115 ---- } ! static wxLuaArgTag s_wxluatagArray_wxLua_wxRegEx_GetMatch[] = { &s_wxluatag_wxRegEx, &s_wxluaarg_String, &s_wxluaarg_Number, NULL }; static int LUACALL wxLua_wxRegEx_GetMatch(lua_State *L); ! // static wxLuaBindCFunc s_wxluafunc_wxLua_wxRegEx_GetMatch[1] = {{ wxLua_wxRegEx_GetMatch, WXLUAMETHOD_METHOD, 2, 3, s_wxluatagArray_wxLua_wxRegEx_GetMatch }}; // wxString GetMatch(const wxString& text, size_t index = 0) const *************** *** 134,140 **** } ! static wxLuaArgTag s_wxluatagArray_wxLua_wxRegEx_GetMatchCount[] = { &s_wxluatag_wxRegEx, 0 }; static int LUACALL wxLua_wxRegEx_GetMatchCount(lua_State *L); ! static WXLUAMETHOD_CFUNC s_wxluafunc_wxLua_wxRegEx_GetMatchCount[1] = {{ wxLua_wxRegEx_GetMatchCount, WXLUAMETHOD_METHOD, 1, 1, s_wxluatagArray_wxLua_wxRegEx_GetMatchCount }}; // size_t GetMatchCount() const --- 134,140 ---- } ! static wxLuaArgTag s_wxluatagArray_wxLua_wxRegEx_GetMatchCount[] = { &s_wxluatag_wxRegEx, NULL }; static int LUACALL wxLua_wxRegEx_GetMatchCount(lua_State *L); ! static wxLuaBindCFunc s_wxluafunc_wxLua_wxRegEx_GetMatchCount[1] = {{ wxLua_wxRegEx_GetMatchCount, WXLUAMETHOD_METHOD, 1, 1, s_wxluatagArray_wxLua_wxRegEx_GetMatchCount }}; // size_t GetMatchCount() const *************** *** 153,159 **** } ! static wxLuaArgTag s_wxluatagArray_wxLua_wxRegEx_IsValid[] = { &s_wxluatag_wxRegEx, 0 }; static int LUACALL wxLua_wxRegEx_IsValid(lua_State *L); ! static WXLUAMETHOD_CFUNC s_wxluafunc_wxLua_wxRegEx_IsValid[1] = {{ wxLua_wxRegEx_IsValid, WXLUAMETHOD_METHOD, 1, 1, s_wxluatagArray_wxLua_wxRegEx_IsValid }}; // bool IsValid() const --- 153,159 ---- } ! static wxLuaArgTag s_wxluatagArray_wxLua_wxRegEx_IsValid[] = { &s_wxluatag_wxRegEx, NULL }; static int LUACALL wxLua_wxRegEx_IsValid(lua_State *L); ! static wxLuaBindCFunc s_wxluafunc_wxLua_wxRegEx_IsValid[1] = {{ wxLua_wxRegEx_IsValid, WXLUAMETHOD_METHOD, 1, 1, s_wxluatagArray_wxLua_wxRegEx_IsValid }}; // bool IsValid() const *************** *** 172,178 **** } ! static wxLuaArgTag s_wxluatagArray_wxLua_wxRegEx_Matches[] = { &s_wxluatag_wxRegEx, &s_wxluaarg_String, &s_wxluaarg_Number, 0 }; static int LUACALL wxLua_wxRegEx_Matches(lua_State *L); ! static WXLUAMETHOD_CFUNC s_wxluafunc_wxLua_wxRegEx_Matches[1] = {{ wxLua_wxRegEx_Matches, WXLUAMETHOD_METHOD, 2, 3, s_wxluatagArray_wxLua_wxRegEx_Matches }}; // bool Matches(const wxString &text, int flags = 0) const --- 172,178 ---- } ! static wxLuaArgTag s_wxluatagArray_wxLua_wxRegEx_Matches[] = { &s_wxluatag_wxRegEx, &s_wxluaarg_String, &s_wxluaarg_Number, NULL }; static int LUACALL wxLua_wxRegEx_Matches(lua_State *L); ! static wxLuaBindCFunc s_wxluafunc_wxLua_wxRegEx_Matches[1] = {{ wxLua_wxRegEx_Matches, WXLUAMETHOD_METHOD, 2, 3, s_wxluatagArray_wxLua_wxRegEx_Matches }}; // bool Matches(const wxString &text, int flags = 0) const *************** *** 197,203 **** } ! static wxLuaArgTag s_wxluatagArray_wxLua_wxRegEx_Replace[] = { &s_wxluatag_wxRegEx, &s_wxluaarg_String, &s_wxluaarg_String, &s_wxluaarg_Number, 0 }; static int LUACALL wxLua_wxRegEx_Replace(lua_State *L); ! static WXLUAMETHOD_CFUNC s_wxluafunc_wxLua_wxRegEx_Replace[1] = {{ wxLua_wxRegEx_Replace, WXLUAMETHOD_METHOD, 3, 4, s_wxluatagArray_wxLua_wxRegEx_Replace }}; // %override wxLua_wxRegEx_Replace --- 197,203 ---- } ! static wxLuaArgTag s_wxluatagArray_wxLua_wxRegEx_Replace[] = { &s_wxluatag_wxRegEx, &s_wxluaarg_String, &s_wxluaarg_String, &s_wxluaarg_Number, NULL }; static int LUACALL wxLua_wxRegEx_Replace(lua_State *L); ! static wxLuaBindCFunc s_wxluafunc_wxLua_wxRegEx_Replace[1] = {{ wxLua_wxRegEx_Replace, WXLUAMETHOD_METHOD, 3, 4, s_wxluatagArray_wxLua_wxRegEx_Replace }}; // %override wxLua_wxRegEx_Replace *************** *** 227,233 **** } ! static wxLuaArgTag s_wxluatagArray_wxLua_wxRegEx_ReplaceAll[] = { &s_wxluatag_wxRegEx, &s_wxluaarg_String, &s_wxluaarg_String, 0 }; static int LUACALL wxLua_wxRegEx_ReplaceAll(lua_State *L); ! static WXLUAMETHOD_CFUNC s_wxluafunc_wxLua_wxRegEx_ReplaceAll[1] = {{ wxLua_wxRegEx_ReplaceAll, WXLUAMETHOD_METHOD, 3, 3, s_wxluatagArray_wxLua_wxRegEx_ReplaceAll }}; // %override wxLua_wxRegEx_ReplaceAll --- 227,233 ---- } ! static wxLuaArgTag s_wxluatagArray_wxLua_wxRegEx_ReplaceAll[] = { &s_wxluatag_wxRegEx, &s_wxluaarg_String, &s_wxluaarg_String, NULL }; static int LUACALL wxLua_wxRegEx_ReplaceAll(lua_State *L); ! static wxLuaBindCFunc s_wxluafunc_wxLua_wxRegEx_ReplaceAll[1] = {{ wxLua_wxRegEx_ReplaceAll, WXLUAMETHOD_METHOD, 3, 3, s_wxluatagArray_wxLua_wxRegEx_ReplaceAll }}; // %override wxLua_wxRegEx_ReplaceAll *************** *** 253,259 **** } ! static wxLuaArgTag s_wxluatagArray_wxLua_wxRegEx_ReplaceFirst[] = { &s_wxluatag_wxRegEx, &s_wxluaarg_String, &s_wxluaarg_String, 0 }; static int LUACALL wxLua_wxRegEx_ReplaceFirst(lua_State *L); ! static WXLUAMETHOD_CFUNC s_wxluafunc_wxLua_wxRegEx_ReplaceFirst[1] = {{ wxLua_wxRegEx_ReplaceFirst, WXLUAMETHOD_METHOD, 3, 3, s_wxluatagArray_wxLua_wxRegEx_ReplaceFirst }}; // %override wxLua_wxRegEx_ReplaceFirst --- 253,259 ---- } ! static wxLuaArgTag s_wxluatagArray_wxLua_wxRegEx_ReplaceFirst[] = { &s_wxluatag_wxRegEx, &s_wxluaarg_String, &s_wxluaarg_String, NULL }; static int LUACALL wxLua_wxRegEx_ReplaceFirst(lua_State *L); ! static wxLuaBindCFunc s_wxluafunc_wxLua_wxRegEx_ReplaceFirst[1] = {{ wxLua_wxRegEx_ReplaceFirst, WXLUAMETHOD_METHOD, 3, 3, s_wxluatagArray_wxLua_wxRegEx_ReplaceFirst }}; // %override wxLua_wxRegEx_ReplaceFirst *************** *** 279,290 **** } ! static wxLuaArgTag s_wxluatagArray_wxLua_wxRegEx_constructor1[] = { &s_wxluaarg_String, &s_wxluaarg_Number, 0 }; static int LUACALL wxLua_wxRegEx_constructor1(lua_State *L); ! // static WXLUAMETHOD_CFUNC s_wxluafunc_wxLua_wxRegEx_constructor1[1] = {{ wxLua_wxRegEx_constructor1, WXLUAMETHOD_CONSTRUCTOR, 1, 2, s_wxluatagArray_wxLua_wxRegEx_constructor1 }}; // wxRegEx(const wxString& expr, int flags = wxRE_DEFAULT) static int LUACALL wxLua_wxRegEx_constructor1(lua_State *L) { ! wxlua_removetableforcall(L); wxLuaState wxlState(L); wxRegEx *returns; --- 279,290 ---- } ! static wxLuaArgTag s_wxluatagArray_wxLua_wxRegEx_constructor1[] = { &s_wxluaarg_String, &s_wxluaarg_Number, NULL }; static int LUACALL wxLua_wxRegEx_constructor1(lua_State *L); ! // static wxLuaBindCFunc s_wxluafunc_wxLua_wxRegEx_constructor1[1] = {{ wxLua_wxRegEx_constructor1, WXLUAMETHOD_CONSTRUCTOR, 1, 2, s_wxluatagArray_wxLua_wxRegEx_constructor1 }}; // wxRegEx(const wxString& expr, int flags = wxRE_DEFAULT) static int LUACALL wxLua_wxRegEx_constructor1(lua_State *L) { ! wxluabind_removetableforcall(L); wxLuaState wxlState(L); wxRegEx *returns; *************** *** 306,315 **** static int LUACALL wxLua_wxRegEx_constructor(lua_State *L); ! // static WXLUAMETHOD_CFUNC s_wxluafunc_wxLua_wxRegEx_constructor[1] = {{ wxLua_wxRegEx_constructor, WXLUAMETHOD_CONSTRUCTOR, 0, 0, s_wxluaargArray_None }}; // wxRegEx() static int LUACALL wxLua_wxRegEx_constructor(lua_State *L) { ! wxlua_removetableforcall(L); wxLuaState wxlState(L); wxRegEx *returns; --- 306,315 ---- static int LUACALL wxLua_wxRegEx_constructor(lua_State *L); ! // static wxLuaBindCFunc s_wxluafunc_wxLua_wxRegEx_constructor[1] = {{ wxLua_wxRegEx_constructor, WXLUAMETHOD_CONSTRUCTOR, 0, 0, s_wxluaargArray_None }}; // wxRegEx() static int LUACALL wxLua_wxRegEx_constructor(lua_State *L) { ! wxluabind_removetableforcall(L); wxLuaState wxlState(L); wxRegEx *returns; *************** *** 330,334 **** static int LUACALL wxLua_wxRegEx_GetMatch_overload(lua_State *L); // function overload table ! static WXLUAMETHOD_CFUNC s_wxluafunc_wxLua_wxRegEx_GetMatch_overload[] = { { wxLua_wxRegEx_GetMatch_overload, WXLUAMETHOD_METHOD|WXLUAMETHOD_OVERLOAD, 1, 3, s_wxluaargArray_None }, --- 330,334 ---- static int LUACALL wxLua_wxRegEx_GetMatch_overload(lua_State *L); // function overload table ! static wxLuaBindCFunc s_wxluafunc_wxLua_wxRegEx_GetMatch_overload[] = { { wxLua_wxRegEx_GetMatch_overload, WXLUAMETHOD_METHOD|WXLUAMETHOD_OVERLOAD, 1, 3, s_wxluaargArray_No... [truncated message content] |