diff --git a/EEex-v2.6.6.0/EEex-v2.6.6.0.vcxproj b/EEex-v2.6.6.0/EEex-v2.6.6.0.vcxproj index f354478..206c946 100644 --- a/EEex-v2.6.6.0/EEex-v2.6.6.0.vcxproj +++ b/EEex-v2.6.6.0/EEex-v2.6.6.0.vcxproj @@ -15,6 +15,7 @@ + @@ -23,6 +24,7 @@ + @@ -33,9 +35,11 @@ + + @@ -46,6 +50,9 @@ + + + 16.0 Win32Proj @@ -69,6 +76,7 @@ + @@ -146,5 +154,6 @@ + \ No newline at end of file diff --git a/EEex-v2.6.6.0/EEex-v2.6.6.0.vcxproj.filters b/EEex-v2.6.6.0/EEex-v2.6.6.0.vcxproj.filters index 8cfa8c8..d5c3005 100644 --- a/EEex-v2.6.6.0/EEex-v2.6.6.0.vcxproj.filters +++ b/EEex-v2.6.6.0/EEex-v2.6.6.0.vcxproj.filters @@ -84,6 +84,12 @@ Source Files\EEex-v2.6.6.0 + + Source Files\EEex-v2.6.6.0 + + + Source Files\EEex-v2.6.6.0 + @@ -122,6 +128,12 @@ Header Files\EEex-v2.6.6.0 + + Header Files\EEex-v2.6.6.0 + + + Header Files\EEex-v2.6.6.0 + @@ -131,4 +143,9 @@ Build Tasks + + + Source Files\EEex-v2.6.6.0 + + \ No newline at end of file diff --git a/EEex-v2.6.6.0/headers/EEex-v2.6.6.0/EEex.h b/EEex-v2.6.6.0/headers/EEex-v2.6.6.0/EEex.h index 3cbc1ed..edc3203 100644 --- a/EEex-v2.6.6.0/headers/EEex-v2.6.6.0/EEex.h +++ b/EEex-v2.6.6.0/headers/EEex-v2.6.6.0/EEex.h @@ -55,6 +55,7 @@ namespace EEex { int __cdecl Override_Infinity_TransitionMenu(lua_State* L); int __cdecl Override_Infinity_WriteINILine(lua_State* L); void __cdecl Override_uiDoFile(char* fileName); + void __cdecl Override_uiDrawMenuStack(); bool __cdecl Override_uiEventMenuStack(SDL_Event* pEvent, SDL_Rect* pWindow); //-------------------------// @@ -95,6 +96,8 @@ namespace EEex { bool Opcode_Hook_Op280_ShouldSuppressWildSurgeVisuals(CGameSprite* pSprite); // op319 bool Opcode_Hook_Op319_IsInverted(CGameEffect* pEffect); + // op342 + void Opcode_Hook_Op342_OnUnhandledParam2(CGameEffect* pEffect, CGameSprite* pSprite); // New op400 int Opcode_Hook_SetTemporaryAIScript_ApplyEffect(CGameEffect* pEffect, CGameSprite* pSprite); void Opcode_Hook_SetTemporaryAIScript_OnRemove(CGameEffect* pEffect, CGameSprite* pSprite); @@ -124,6 +127,7 @@ namespace EEex { void Sprite_Hook_OnDestruct(CGameSprite* pSprite); void Sprite_Hook_OnAfterEffectListUnmarshalled(CGameSprite* pSprite); void Sprite_Hook_OnBeforeEffectListMarshalled(CGameSprite* pSprite); + byte Sprite_Hook_OnGetAttackFrameType(CGameSprite* pSprite, byte numAttacks); //////////// // Action // @@ -160,6 +164,7 @@ namespace EEex { ///////// void Fix_Hook_HandleMiddleMouseDrag(SDL_Event* pEvent); + void Fix_Hook_ImplementWSPECIALSpeedColumn(CGameSprite* pSprite, int nProficiencyLevel, bool bOffHand); void Fix_Hook_OnBeforeUIKillCapture(); bool Fix_Hook_OnUIItemCheckRenderScrollbar(uiItem* pItem, bool bVisible); bool Fix_Hook_ShouldProcessEffectListSkipRolls(); diff --git a/EEex-v2.6.6.0/headers/EEex-v2.6.6.0/engine_function_names.hpp b/EEex-v2.6.6.0/headers/EEex-v2.6.6.0/engine_function_names.hpp new file mode 100644 index 0000000..7cd1fe3 --- /dev/null +++ b/EEex-v2.6.6.0/headers/EEex-v2.6.6.0/engine_function_names.hpp @@ -0,0 +1,8 @@ + +#pragma once + +#include + +const std::string& GetContainingFunctionName(uintptr_t address); +const std::string& GetFunctionName(uintptr_t address); +void LoadFunctionNames(); diff --git a/EEex-v2.6.6.0/headers/EEex-v2.6.6.0/profiler.hpp b/EEex-v2.6.6.0/headers/EEex-v2.6.6.0/profiler.hpp new file mode 100644 index 0000000..6829043 --- /dev/null +++ b/EEex-v2.6.6.0/headers/EEex-v2.6.6.0/profiler.hpp @@ -0,0 +1,30 @@ + +#pragma once + +#include "time_util.hpp" + +enum class TraceType +{ + NONE, + NORMAL, + SPAM +}; + +#pragma pack(push, 1) +struct SavedRegisters +{ + byte xmm1[16]; + byte xmm0[16]; + uintptr_t r11; + uintptr_t r10; + uintptr_t r9; + uintptr_t r8; + uintptr_t rdx; + uintptr_t rcx; + uintptr_t rax; +}; +#pragma pack(pop) + +void Profiler_StartTrace(TimeType startTime, TraceType toStartType); +void __stdcall Profiler_Trace(uintptr_t funcAddress, const SavedRegisters* savedRegisters, void* stackPtr); +void Profiler_RegisterTrace(const char* traceName, uintptr_t address, TimeType logTimeThreshold); diff --git a/EEex-v2.6.6.0/headers/EEex-v2.6.6.0/time_util.hpp b/EEex-v2.6.6.0/headers/EEex-v2.6.6.0/time_util.hpp index 545e4d3..d8d2257 100644 --- a/EEex-v2.6.6.0/headers/EEex-v2.6.6.0/time_util.hpp +++ b/EEex-v2.6.6.0/headers/EEex-v2.6.6.0/time_util.hpp @@ -1,11 +1,17 @@ #pragma once +//-----------------------------// +// Type Defs // +//-----------------------------// + +typedef long long TimeType; + //-----------------------------// // Functions // //-----------------------------// DWORD getHighestRefreshRate(); -long long getInitTime(); -long long getTime(); +TimeType getInitTime(); +TimeType getTime(); void initTimeUtil(); diff --git a/EEex-v2.6.6.0/headers/EEex-v2.6.6.0_generated/Baldur-v2.6.6.0_generated.h b/EEex-v2.6.6.0/headers/EEex-v2.6.6.0_generated/Baldur-v2.6.6.0_generated.h index 011ad69..0b0048d 100644 --- a/EEex-v2.6.6.0/headers/EEex-v2.6.6.0_generated/Baldur-v2.6.6.0_generated.h +++ b/EEex-v2.6.6.0/headers/EEex-v2.6.6.0_generated/Baldur-v2.6.6.0_generated.h @@ -195,10 +195,14 @@ struct Item_Header_st; struct Item_ability_st; struct Item_effect_st; union SDL_Event; +struct SDL_MessageBoxButtonData; +struct SDL_MessageBoxColorScheme; struct SDL_PixelFormat; struct SDL_Point; +struct SDL_PrivateGLESData; struct SDL_Rect; struct SDL_Surface; +struct SDL_VideoDevice; struct SDL_Window; struct STR_RES; struct Spell_Header_st; @@ -258,6 +262,11 @@ struct SDL_Cursor SDL_Cursor() = delete; }; +struct SDL_PrivateGLESData +{ + SDL_PrivateGLESData() = delete; +}; + struct SDL_WindowUserData { char* name; @@ -1559,6 +1568,15 @@ struct SDL_version SDL_version() = delete; }; +struct SDL_MessageBoxColor +{ + unsigned __int8 r; + unsigned __int8 g; + unsigned __int8 b; + + SDL_MessageBoxColor() = delete; +}; + struct SDL_Color { unsigned __int8 r; @@ -2013,6 +2031,31 @@ struct SDL_SysWMmsg SDL_SysWMmsg() = delete; }; +struct SDL_SysWMinfo +{ + union info_t + { + struct win_t + { + HWND__* window; + HDC__* hdc; + + win_t() = delete; + }; + + SDL_SysWMinfo::info_t::win_t win; + int dummy; + + info_t() = delete; + }; + + SDL_version version; + SDL_SYSWM_TYPE subsystem; + SDL_SysWMinfo::info_t info; + + SDL_SysWMinfo() = delete; +}; + struct SDL_SysWMEvent { unsigned int type; @@ -2022,6 +2065,15 @@ struct SDL_SysWMEvent SDL_SysWMEvent() = delete; }; +struct SDL_ShapeDriver +{ + SDL_WindowShaper* (__fastcall *CreateShaper)(SDL_Window*); + int (__fastcall *SetWindowShape)(SDL_WindowShaper*, SDL_Surface*, SDL_WindowShapeMode*); + int (__fastcall *ResizeWindowShape)(SDL_Window*); + + SDL_ShapeDriver() = delete; +}; + struct SDL_QuitEvent { unsigned int type; @@ -2099,6 +2151,28 @@ struct SDL_MouseButtonEvent SDL_MouseButtonEvent() = delete; }; +struct SDL_MessageBoxData +{ + unsigned int flags; + SDL_Window* window; + const char* title; + const char* message; + int numbuttons; + const SDL_MessageBoxButtonData* buttons; + const SDL_MessageBoxColorScheme* colorScheme; + + SDL_MessageBoxData() = delete; +}; + +struct SDL_MessageBoxButtonData +{ + unsigned int flags; + int buttonid; + const char* text; + + SDL_MessageBoxButtonData() = delete; +}; + struct SDL_Keysym { SDL_Scancode scancode; @@ -2188,6 +2262,53 @@ struct SDL_JoyAxisEvent SDL_JoyAxisEvent() = delete; }; +struct SDL_GLDriverData +{ + SDL_bool HAS_WGL_ARB_pixel_format; + SDL_bool HAS_WGL_EXT_swap_control_tear; + SDL_bool HAS_WGL_EXT_create_context_es2_profile; + SDL_bool HAS_WGL_ARB_context_flush_control; + void* (__fastcall *wglGetProcAddress)(const char*); + HGLRC__* (__fastcall *wglCreateContext)(HDC__*); + int (__fastcall *wglDeleteContext)(HGLRC__*); + int (__fastcall *wglMakeCurrent)(HDC__*, HGLRC__*); + int (__fastcall *wglShareLists)(HGLRC__*, HGLRC__*); + int (__fastcall *wglChoosePixelFormatARB)(HDC__*, const int*, const float*, unsigned int, int*, unsigned int*); + int (__fastcall *wglGetPixelFormatAttribivARB)(HDC__*, int, int, unsigned int, const int*, int*); + int (__fastcall *wglSwapIntervalEXT)(int); + int (__fastcall *wglGetSwapIntervalEXT)(); + + SDL_GLDriverData() = delete; +}; + +struct SDL_EGL_VideoData +{ + void* egl_dll_handle; + void* dll_handle; + void* egl_display; + void* egl_config; + int egl_swapinterval; + void* (__fastcall *eglGetDisplay)(HDC__*); + unsigned int (__fastcall *eglInitialize)(void*, int*, int*); + unsigned int (__fastcall *eglTerminate)(void*); + void* (__fastcall *eglGetProcAddress)(const char*); + unsigned int (__fastcall *eglChooseConfig)(void*, const int*, void**, int, int*); + void* (__fastcall *eglCreateContext)(void*, void*, void*, const int*); + unsigned int (__fastcall *eglDestroyContext)(void*, void*); + void* (__fastcall *eglCreateWindowSurface)(void*, void*, HWND__*, const int*); + unsigned int (__fastcall *eglDestroySurface)(void*, void*); + unsigned int (__fastcall *eglMakeCurrent)(void*, void*, void*, void*); + unsigned int (__fastcall *eglSwapBuffers)(void*, void*); + unsigned int (__fastcall *eglSwapInterval)(void*, int); + const char* (__fastcall *eglQueryString)(void*, int); + unsigned int (__fastcall *eglGetConfigAttrib)(void*, void*, int, int*); + unsigned int (__fastcall *eglWaitNative)(int); + unsigned int (__fastcall *eglWaitGL)(); + unsigned int (__fastcall *eglBindAPI)(unsigned int); + + SDL_EGL_VideoData() = delete; +}; + struct SDL_DropEvent { unsigned int type; @@ -2222,6 +2343,21 @@ struct SDL_DisplayMode SDL_DisplayMode() = delete; }; +struct SDL_VideoDisplay +{ + char* name; + int max_display_modes; + int num_display_modes; + SDL_DisplayMode* display_modes; + SDL_DisplayMode desktop_mode; + SDL_DisplayMode current_mode; + SDL_Window* fullscreen_window; + SDL_VideoDevice* device; + void* driverdata; + + SDL_VideoDisplay() = delete; +}; + struct SDL_ControllerDeviceEvent { unsigned int type; @@ -3741,6 +3877,19 @@ struct slicedRect } }; +struct _820A8B7015E7E0FD9144A7C186FBF075 +{ + SDL_Point pt; + bool on; + const char* text; + SDL_Rect r; + int count; + const char* lastText; + bool playedSound; + + _820A8B7015E7E0FD9144A7C186FBF075() = delete; +}; + struct _9B9540D9920A90D57A3D80DDD1A70514 { bool (__fastcall *f)(uiMenu*, const SDL_Rect*, SDL_Event*); @@ -4741,6 +4890,8 @@ namespace EEex extern int UncapFPS_BusyWaitThreshold; extern bool UncapFPS_Enabled; extern int UncapFPS_FPSLimit; + extern bool UncapFPS_FPSLimitEnabled; + extern int UncapFPS_LuaGCSteps; extern bool UncapFPS_RemoveMiddleMouseScrollMultiplier; uiItem* CreateTemplateFromCopy(lua_State* L, const char* menuName, const char* templateName, uiItem* pItem); @@ -9165,6 +9316,120 @@ struct font_t font_t() = delete; }; +struct SDL_VideoDevice +{ + struct gl_config_t + { + int red_size; + int green_size; + int blue_size; + int alpha_size; + int depth_size; + int buffer_size; + int stencil_size; + int double_buffer; + int accum_red_size; + int accum_green_size; + int accum_blue_size; + int accum_alpha_size; + int stereo; + int multisamplebuffers; + int multisamplesamples; + int accelerated; + int major_version; + int minor_version; + int flags; + int profile_mask; + int share_with_current_context; + int release_behavior; + int framebuffer_srgb_capable; + int retained_backing; + int driver_loaded; + Array driver_path; + void* dll_handle; + + gl_config_t() = delete; + }; + + const char* name; + int (__fastcall *VideoInit)(SDL_VideoDevice*); + void (__fastcall *VideoQuit)(SDL_VideoDevice*); + int (__fastcall *GetDisplayBounds)(SDL_VideoDevice*, SDL_VideoDisplay*, SDL_Rect*); + int (__fastcall *GetDisplayDPI)(SDL_VideoDevice*, SDL_VideoDisplay*, float*, float*, float*); + void (__fastcall *GetDisplayModes)(SDL_VideoDevice*, SDL_VideoDisplay*); + int (__fastcall *SetDisplayMode)(SDL_VideoDevice*, SDL_VideoDisplay*, SDL_DisplayMode*); + int (__fastcall *CreateWindowA)(SDL_VideoDevice*, SDL_Window*); + int (__fastcall *CreateWindowFrom)(SDL_VideoDevice*, SDL_Window*, const void*); + void (__fastcall *SetWindowTitle)(SDL_VideoDevice*, SDL_Window*); + void (__fastcall *SetWindowIcon)(SDL_VideoDevice*, SDL_Window*, SDL_Surface*); + void (__fastcall *SetWindowPosition)(SDL_VideoDevice*, SDL_Window*); + void (__fastcall *SetWindowSize)(SDL_VideoDevice*, SDL_Window*); + void (__fastcall *SetWindowMinimumSize)(SDL_VideoDevice*, SDL_Window*); + void (__fastcall *SetWindowMaximumSize)(SDL_VideoDevice*, SDL_Window*); + void (__fastcall *ShowWindow)(SDL_VideoDevice*, SDL_Window*); + void (__fastcall *HideWindow)(SDL_VideoDevice*, SDL_Window*); + void (__fastcall *RaiseWindow)(SDL_VideoDevice*, SDL_Window*); + void (__fastcall *MaximizeWindow)(SDL_VideoDevice*, SDL_Window*); + void (__fastcall *MinimizeWindow)(SDL_VideoDevice*, SDL_Window*); + void (__fastcall *RestoreWindow)(SDL_VideoDevice*, SDL_Window*); + void (__fastcall *SetWindowBordered)(SDL_VideoDevice*, SDL_Window*, SDL_bool); + void (__fastcall *SetWindowFullscreen)(SDL_VideoDevice*, SDL_Window*, SDL_VideoDisplay*, SDL_bool); + int (__fastcall *SetWindowGammaRamp)(SDL_VideoDevice*, SDL_Window*, const unsigned __int16*); + int (__fastcall *GetWindowGammaRamp)(SDL_VideoDevice*, SDL_Window*, wchar_t*); + void (__fastcall *SetWindowGrab)(SDL_VideoDevice*, SDL_Window*, SDL_bool); + void (__fastcall *DestroyWindow)(SDL_VideoDevice*, SDL_Window*); + int (__fastcall *CreateWindowFramebuffer)(SDL_VideoDevice*, SDL_Window*, unsigned int*, void**, int*); + int (__fastcall *UpdateWindowFramebuffer)(SDL_VideoDevice*, SDL_Window*, const SDL_Rect*, int); + void (__fastcall *DestroyWindowFramebuffer)(SDL_VideoDevice*, SDL_Window*); + void (__fastcall *OnWindowEnter)(SDL_VideoDevice*, SDL_Window*); + SDL_ShapeDriver shape_driver; + SDL_bool (__fastcall *GetWindowWMInfo)(SDL_VideoDevice*, SDL_Window*, SDL_SysWMinfo*); + int (__fastcall *GL_LoadLibrary)(SDL_VideoDevice*, const char*); + void* (__fastcall *GL_GetProcAddress)(SDL_VideoDevice*, const char*); + void (__fastcall *GL_UnloadLibrary)(SDL_VideoDevice*); + void* (__fastcall *GL_CreateContext)(SDL_VideoDevice*, SDL_Window*); + int (__fastcall *GL_MakeCurrent)(SDL_VideoDevice*, SDL_Window*, void*); + void (__fastcall *GL_GetDrawableSize)(SDL_VideoDevice*, SDL_Window*, int*, int*); + int (__fastcall *GL_SetSwapInterval)(SDL_VideoDevice*, int); + int (__fastcall *GL_GetSwapInterval)(SDL_VideoDevice*); + void (__fastcall *GL_SwapWindow)(SDL_VideoDevice*, SDL_Window*); + void (__fastcall *GL_DeleteContext)(SDL_VideoDevice*, void*); + void (__fastcall *PumpEvents)(SDL_VideoDevice*); + void (__fastcall *SuspendScreenSaver)(SDL_VideoDevice*); + void (__fastcall *StartTextInput)(SDL_VideoDevice*); + void (__fastcall *StopTextInput)(SDL_VideoDevice*); + void (__fastcall *SetTextInputRect)(SDL_VideoDevice*, SDL_Rect*); + SDL_bool (__fastcall *HasScreenKeyboardSupport)(SDL_VideoDevice*); + void (__fastcall *ShowScreenKeyboard)(SDL_VideoDevice*, SDL_Window*); + void (__fastcall *HideScreenKeyboard)(SDL_VideoDevice*, SDL_Window*); + SDL_bool (__fastcall *IsScreenKeyboardShown)(SDL_VideoDevice*, SDL_Window*); + int (__fastcall *SetClipboardText)(SDL_VideoDevice*, const char*); + char* (__fastcall *GetClipboardText)(SDL_VideoDevice*); + SDL_bool (__fastcall *HasClipboardText)(SDL_VideoDevice*); + int (__fastcall *ShowMessageBox)(SDL_VideoDevice*, const SDL_MessageBoxData*, int*); + int (__fastcall *SetWindowHitTest)(SDL_Window*, SDL_bool); + SDL_bool suspend_screensaver; + int num_displays; + SDL_VideoDisplay* displays; + SDL_Window* windows; + SDL_Window* grabbed_window; + unsigned __int8 window_magic; + unsigned int next_object_id; + char* clipboard_text; + SDL_VideoDevice::gl_config_t gl_config; + SDL_Window* current_glwin; + void* current_glctx; + unsigned int current_glwin_tls; + unsigned int current_glctx_tls; + void* driverdata; + SDL_GLDriverData* gl_data; + SDL_EGL_VideoData* egl_data; + SDL_PrivateGLESData* gles_data; + void (__fastcall *free)(SDL_VideoDevice*); + + SDL_VideoDevice() = delete; +}; + struct SDL_PixelFormat { unsigned int format; @@ -9190,6 +9455,13 @@ struct SDL_PixelFormat SDL_PixelFormat() = delete; }; +struct SDL_MessageBoxColorScheme +{ + Array colors; + + SDL_MessageBoxColorScheme() = delete; +}; + template struct LCharString { @@ -9446,6 +9718,9 @@ extern type_restoreMenuStack p_restoreMenuStack; typedef void (*type_saveMenuStack)(); extern type_saveMenuStack p_saveMenuStack; +typedef SDL_VideoDisplay* (*type_SDL_GetDisplayForWindow)(SDL_Window* window); +extern type_SDL_GetDisplayForWindow p_SDL_GetDisplayForWindow; + typedef int (*type_SDL_GetKeyFromName)(const char* name); extern type_SDL_GetKeyFromName p_SDL_GetKeyFromName; @@ -9524,6 +9799,9 @@ extern type_DrawEndScaled p_DrawEndScaled; typedef void (*type_drawLetters)(int X, int Y, int W, const SDL_Rect* rClip, const letter_t* letters, int nletters, int horizontalAlignment, font_t* font, int pointSize, int cursorPosition, int cursor, int selectionStart, int selectionEnd, int nLines, bool inlineColor, int indent, float fOffsetX, float fOffsetY); extern type_drawLetters p_drawLetters; +typedef bool (__cdecl *type_drawMenu)(uiMenu* m, const SDL_Rect* window); +extern type_drawMenu p_drawMenu; + typedef void (*type_DrawOrtho11Begin)(); extern type_DrawOrtho11Begin p_DrawOrtho11Begin; @@ -9548,6 +9826,9 @@ extern type_drawSliceSide p_drawSliceSide; typedef void (*type_DrawTexCoord)(int s, int t); extern type_DrawTexCoord p_DrawTexCoord; +typedef bool (__cdecl *type_drawTop)(const SDL_Rect* window); +extern type_drawTop p_drawTop; + typedef void (__cdecl *type_DrawTransformToScreen)(SDL_Rect* w, SDL_Rect* s); extern type_DrawTransformToScreen p_DrawTransformToScreen; @@ -9599,6 +9880,9 @@ extern type_uiDrawSlicedRect p_uiDrawSlicedRect; typedef int (*type_uiExecLuaInt)(int id); extern type_uiExecLuaInt p_uiExecLuaInt; +typedef void (__cdecl *type_uiHandleTooltip)(); +extern type_uiHandleTooltip p_uiHandleTooltip; + typedef bool (*type_uiPop)(const char* name); extern type_uiPop p_uiPop; @@ -9625,6 +9909,8 @@ extern type_YScreenToZoomed p_YScreenToZoomed; extern char** p_afxPchNil; extern _9B9540D9920A90D57A3D80DDD1A70514* p_capture; +extern bool* p_fingerDown; +extern uiMenu** p_g_backgroundMenu; extern RendererType* p_g_drawBackend; extern Array* p_g_keywords; extern lua_State** p_g_lua; @@ -9637,6 +9923,7 @@ extern Array* p_menuStack; extern int* p_nextStackMenuIdx; extern int* p_numMenus; extern CTypedPtrArray* p_resources; +extern _820A8B7015E7E0FD9144A7C186FBF075* p_tooltip; extern _A92C2F5FC159A4FE55DD6CCAABD58E72* p_transition; extern ConstArray* p_yy_action; extern ConstArray* p_yy_default; @@ -10557,7 +10844,7 @@ struct C2DArray : CResHelper typedef void (__thiscall *type_Destruct)(C2DArray* pThis); static type_Destruct p_Destruct; - typedef const CString* (__thiscall *type_GetAtCStringLabels)(C2DArray* pThis, const CString* nX, const CString* nY); + typedef const CString* (__thiscall *type_GetAtCStringLabels)(const C2DArray* pThis, const CString* nX, const CString* nY); static type_GetAtCStringLabels p_GetAtCStringLabels; typedef void (__thiscall *type_Load)(C2DArray* pThis, const CResRef* res); @@ -10573,7 +10860,7 @@ struct C2DArray : CResHelper p_Destruct(this); } - int FindColumnLabel(const char* sLabel) + int FindColumnLabel(const char* sLabel) const { EngineVal sLabelUppercase { sLabel }; sLabelUppercase->MakeUpper(); @@ -10593,7 +10880,7 @@ struct C2DArray : CResHelper return -1; } - int FindRowLabel(const char* sLabel) + int FindRowLabel(const char* sLabel) const { EngineVal sLabelUppercase { sLabel }; sLabelUppercase->MakeUpper(); @@ -10613,7 +10900,7 @@ struct C2DArray : CResHelper return -1; } - const CString* GetAt(int x, int y) + const CString* GetAt(int x, int y) const { if (x >= 0 && x < this->m_nSizeX && y >= 0 && y < this->m_nSizeY) { @@ -10622,7 +10909,7 @@ struct C2DArray : CResHelper return &this->m_default; } - const CString* GetAt(const char* nX, const char* nY) + const CString* GetAt(const char* nX, const char* nY) const { const int nColumnIndex = this->FindColumnLabel(nX); if (nColumnIndex == -1) return &this->m_default; @@ -10633,7 +10920,7 @@ struct C2DArray : CResHelper return this->GetAt(nColumnIndex, nRowIndex); } - const CString* GetAt(const CString* nX, const CString* nY) + const CString* GetAt(const CString* nX, const CString* nY) const { return p_GetAtCStringLabels(this, nX, nY); } @@ -10876,13 +11163,45 @@ struct CVidBitmap : CVidImage, CResHelper CVidBitmap() = delete; + typedef void (__thiscall *type_Construct)(CVidBitmap* pThis); + static type_Construct p_Construct; + + typedef void (__thiscall *type_Destruct)(CVidBitmap* pThis); + static type_Destruct p_Destruct; + typedef int (__thiscall *type_GetPixelColor)(CVidBitmap* pThis, tagRGBQUAD* color, int x, int y); static type_GetPixelColor p_GetPixelColor; + typedef byte (__thiscall *type_GetPixelValueOrZero)(CVidBitmap* pThis, int x, int y); + static type_GetPixelValueOrZero p_GetPixelValueOrZero; + + typedef void (__thiscall *type_SetResRef)(CVidBitmap* pThis, const CResRef* cNewResRef, int bSetAutoRequest, int bWarningIfMissing); + static type_SetResRef p_SetResRef; + + void Construct() + { + p_Construct(this); + } + + void Destruct() + { + p_Destruct(this); + } + int GetPixelColor(tagRGBQUAD* color, int x, int y) { return p_GetPixelColor(this, color, x, y); } + + byte GetPixelValue(int x, int y) + { + return p_GetPixelValueOrZero(this, x, y); + } + + void SetResRef(const CResRef* cNewResRef, int bSetAutoRequest, int bWarningIfMissing) + { + p_SetResRef(this, cNewResRef, bSetAutoRequest, bWarningIfMissing); + } }; struct CScreenAI : CBaldurEngine diff --git a/EEex-v2.6.6.0/scripts/generate_bindings/in/bindings.txt b/EEex-v2.6.6.0/scripts/generate_bindings/in/bindings.txt index 0f49e82..f4bc78e 100644 --- a/EEex-v2.6.6.0/scripts/generate_bindings/in/bindings.txt +++ b/EEex-v2.6.6.0/scripts/generate_bindings/in/bindings.txt @@ -121,6 +121,8 @@ namespace EEex int UncapFPS_BusyWaitThreshold; bool UncapFPS_Enabled; int UncapFPS_FPSLimit; + bool UncapFPS_FPSLimitEnabled; + int UncapFPS_LuaGCSteps; bool UncapFPS_RemoveMiddleMouseScrollMultiplier; // Functions diff --git a/EEex-v2.6.6.0/scripts/generate_bindings/in/ignore_header_types.txt b/EEex-v2.6.6.0/scripts/generate_bindings/in/ignore_header_types.txt index a64bd70..363dfce 100644 --- a/EEex-v2.6.6.0/scripts/generate_bindings/in/ignore_header_types.txt +++ b/EEex-v2.6.6.0/scripts/generate_bindings/in/ignore_header_types.txt @@ -68,6 +68,7 @@ GCheader GCObject global_State HDC__ +HGLRC__ HMONITOR__ HWND__ ID3DXBaseEffect diff --git a/EEex-v2.6.6.0/scripts/generate_bindings/in/manual_types.txt b/EEex-v2.6.6.0/scripts/generate_bindings/in/manual_types.txt index d153cdf..097bdf7 100644 --- a/EEex-v2.6.6.0/scripts/generate_bindings/in/manual_types.txt +++ b/EEex-v2.6.6.0/scripts/generate_bindings/in/manual_types.txt @@ -841,7 +841,7 @@ struct C2DArray : CResHelper $constructor_fake Construct(); void Destruct(); - int FindColumnLabel(primitive const char* sLabel) + int FindColumnLabel(primitive const char* sLabel) const { EngineVal sLabelUppercase { sLabel }; sLabelUppercase->MakeUpper(); @@ -861,7 +861,7 @@ struct C2DArray : CResHelper return -1; } - int FindRowLabel(primitive const char* sLabel) + int FindRowLabel(primitive const char* sLabel) const { EngineVal sLabelUppercase { sLabel }; sLabelUppercase->MakeUpper(); @@ -881,7 +881,7 @@ struct C2DArray : CResHelper return -1; } - $binding_name(GetAtPoint) const CString* GetAt(int x, int y) + $binding_name(GetAtPoint) const CString* GetAt(int x, int y) const { if (x >= 0 && x < this->m_nSizeX && y >= 0 && y < this->m_nSizeY) { @@ -890,7 +890,7 @@ struct C2DArray : CResHelper return &this->m_default; } - $binding_name(GetAtLabels) const CString* GetAt(primitive const char* nX, primitive const char* nY) + $binding_name(GetAtLabels) const CString* GetAt(primitive const char* nX, primitive const char* nY) const { const int nColumnIndex = this->FindColumnLabel(nX); if (nColumnIndex == -1) return &this->m_default; @@ -901,7 +901,7 @@ struct C2DArray : CResHelper return this->GetAt(nColumnIndex, nRowIndex); } - $binding_name(GetAtCStringLabels) $pattern_name(GetAt(const CString*,const CString*)) const CString* GetAt(const CString* nX, const CString* nY); + $binding_name(GetAtCStringLabels) $pattern_name(GetAt(const CString*,const CString*)) const CString* GetAt(const CString* nX, const CString* nY) const; void Load(const CResRef* res); }; @@ -1620,7 +1620,11 @@ struct CBaldurEngine : CWarp struct CVidBitmap : CVidImage, CResHelper { + $constructor_fake Construct(); + void Destruct(); int GetPixelColor(tagRGBQUAD* color, int x, int y); + $binding_name(GetPixelValueOrZero) $pattern_name(GetPixelValue(int,int)) byte GetPixelValue(int x, int y); + void SetResRef(const CResRef* cNewResRef, int bSetAutoRequest, int bWarningIfMissing); }; struct CVidFont : CResHelper @@ -1647,6 +1651,7 @@ uiMenu* findMenu(primitive const char* name, int panel, int state); int rand(); void restoreMenuStack(); void saveMenuStack(); +SDL_VideoDisplay* SDL_GetDisplayForWindow(SDL_Window* window); int SDL_GetKeyFromName(primitive const char* name); primitive char* __cdecl SDL_GetKeyName(int key); uint SDL_GetWindowFlags(SDL_Window* window); @@ -1674,6 +1679,7 @@ $nobinding void DrawEnable(DrawFeature f); $nobinding void DrawEnd(); $nobinding void DrawEndScaled(); $nobinding void drawLetters(int X, int Y, int W, const SDL_Rect* rClip, const letter_t* letters, int nletters, int horizontalAlignment, font_t* font, int pointSize, int cursorPosition, int cursor, int selectionStart, int selectionEnd, int nLines, bool inlineColor, int indent, float fOffsetX, float fOffsetY); +$nobinding bool __cdecl drawMenu(uiMenu* m, const SDL_Rect* window); $nobinding void DrawOrtho11Begin(); $nobinding void DrawOrtho11End(); $nobinding void DrawPopState(); @@ -1682,6 +1688,7 @@ $pattern_name(DrawQuad(CRect*,CRect*)) void DrawQuad(const CRect* rDest, const C $nobinding void drawSlice(const SDL_Rect* dr, const SDL_Rect* r, const SDL_Rect* rClip, float scaleX, float scaleY, bool unused); $nobinding void drawSliceSide(const SDL_Rect* dr, const SDL_Rect* r, const SDL_Rect* rClip, float scaleX, float scaleY, bool wide); $nobinding void DrawTexCoord(int s, int t); +$nobinding bool __cdecl drawTop(const SDL_Rect* window); $nobinding void __cdecl DrawTransformToScreen(SDL_Rect* w, SDL_Rect* s); $nobinding float __cdecl DrawTransformToScreenH(float h); $nobinding void DrawVertex(int x, int y); @@ -1699,6 +1706,7 @@ $nobinding int __cdecl SDL_ShowSimpleMessageBox(uint flags, const char* title, c $nobinding void SearchThreadMain(); $nobinding void uiDrawSlicedRect(int rectNum, const SDL_Rect* bounds, int alpha, const SDL_Rect* rClip); $nobinding int uiExecLuaInt(int id); +$nobinding void __cdecl uiHandleTooltip(); $nobinding bool uiPop(const char* name); $nobinding bool uiPush(const char* name); $nobinding void uiSetHidden(bool bHidden); @@ -1714,6 +1722,8 @@ $nobinding float YScreenToZoomed(float y); char* afxPchNil; $9B9540D9920A90D57A3D80DDD1A70514 capture; +bool fingerDown; +uiMenu* g_backgroundMenu; RendererType g_drawBackend; keyword g_keywords[124]; lua_State* g_lua; @@ -1726,6 +1736,7 @@ uiMenu* menuStack[256]; int nextStackMenuIdx; int numMenus; CTypedPtrArray resources; +$820A8B7015E7E0FD9144A7C186FBF075 tooltip; $A92C2F5FC159A4FE55DD6CCAABD58E72 transition; const ushort yy_action[1765]; const ushort yy_default[329]; diff --git a/EEex-v2.6.6.0/source/EEex-v2.6.6.0/EEex.cpp b/EEex-v2.6.6.0/source/EEex-v2.6.6.0/EEex.cpp index 80ea91b..9a80717 100644 --- a/EEex-v2.6.6.0/source/EEex-v2.6.6.0/EEex.cpp +++ b/EEex-v2.6.6.0/source/EEex-v2.6.6.0/EEex.cpp @@ -8,9 +8,11 @@ #include "Baldur-v2.6.6.0_generated.h" #include "EEex.h" +#include "engine_function_names.hpp" #include "infinity_loader_util_api.h" #include "lua_util.hpp" #include "menu_util.hpp" +#include "profiler.hpp" #include "time_util.hpp" #include "uncap_fps.hpp" #include "util.hpp" @@ -141,6 +143,7 @@ std::unordered_map> proj struct ExSpriteData { + EngineVal combatRoundsOverride[5]{}; Array oldDisabledSpellTypes; int oldDisableSpells = 0; uint64_t uuid = 0; @@ -384,11 +387,7 @@ bool EEex::IsMarshallingCopy() { // Stutter Util // //--------------------------------// -long long currentMicroseconds() { - return std::chrono::duration_cast(std::chrono::system_clock::now().time_since_epoch()).count(); -} - -void exitStutterLog(const char *const name, long long timeTaken) { +void exitStutterLog(const char *const name, TimeType timeTaken) { lua_State *const L = *p_g_lua; lua_getglobal(L, "EEex_StutterDetector_Private_Times"); // 1 [ ..., EEex_StutterDetector_Private_Times ] @@ -448,9 +447,9 @@ RetType logStutter(const char* name, std::function func) { bool oldTopLevel = topLevel; topLevel = false; - long long startTime = currentMicroseconds(); + TimeType startTime = getTime(); RetType ret = func(); - long long timeTaken = currentMicroseconds() - startTime; + TimeType timeTaken = getTime() - startTime; topLevel = oldTopLevel; exitStutterLog(name, timeTaken); return ret; @@ -466,9 +465,9 @@ void logStutter(const char* name, std::function func) { bool oldTopLevel = topLevel; topLevel = false; - long long startTime = currentMicroseconds(); + TimeType startTime = getTime(); func(); - long long timeTaken = currentMicroseconds() - startTime; + TimeType timeTaken = getTime() - startTime; topLevel = oldTopLevel; exitStutterLog(name, timeTaken); } @@ -1955,6 +1954,150 @@ void EEex::SetUIItemExtraScrollbarPad(uiItem* pItem, int nExtraPad) { // Overrides // ///////////////////////////////// +int CAICondition::Override_Hold(CTypedPtrList* pTriggerList, CGameAIBase* pCaller) +{ + auto pNode = this->m_triggerList.m_pNodeHead; + if (pNode == nullptr) { + return 1; + } + + bool bRet = false; + int nORCounter = 0; + + bool bNextTriggerObject = false; + CGameAIBase* pNextTriggerObject = nullptr; + + // EEex + int nTrigger = 0; + + do + { + if (nORCounter <= 0) { + bRet = false; + } + + CAITrigger *const pTrigger = pNode->data; + const short nTriggerID = pTrigger->m_triggerID; + + if (nTriggerID == 0x4089) // OR + { + nORCounter = pTrigger->m_specificID; + } + else if (nTriggerID == 0x40E0) // NextTriggerObject + { + EngineVal nextTriggerObjectType{ &pTrigger->m_triggerCause }; + nextTriggerObjectType->Decode(pCaller); + + bNextTriggerObject = true; + pNextTriggerObject = reinterpret_cast(nextTriggerObjectType->GetShareType(pCaller, CGameObjectType::AIBASE, 0)); + + if (pNextTriggerObject != nullptr && nORCounter < 1) { + bRet = true; + } + } + else { + --nORCounter; + } + + if (nTriggerID != 0x40E0) // NOT NextTriggerObject + { + if (bNextTriggerObject) + { + if (pNextTriggerObject != nullptr) + { + // EEex + if (EEex::bInTrackedResponse) + { + for (auto callback : triggerHitCallbacks) { + callback(nTrigger); + } + } + + bNextTriggerObject = false; + const bool bTriggerHolds = this->TriggerHolds(pTrigger, pTriggerList, pNextTriggerObject); + bRet |= bTriggerHolds; + + // EEex + if (EEex::bInTrackedResponse) + { + for (auto callback : triggerEvaluatedCallbacks) { + callback(bTriggerHolds); + } + } + } + } + else + { + // EEex + if (EEex::bInTrackedResponse) + { + for (auto callback : triggerHitCallbacks) { + callback(nTrigger); + } + } + + const bool bTriggerHolds = this->TriggerHolds(pTrigger, pTriggerList, pCaller); + bRet |= bTriggerHolds; + + // EEex + if (EEex::bInTrackedResponse) + { + for (auto callback : triggerEvaluatedCallbacks) { + callback(bTriggerHolds); + } + } + } + } + + if (!bRet && nORCounter < 1) // Fail + { + break; + } + + pNode = pNode->pNext; + + // EEex + ++nTrigger; + } + while (pNode != nullptr); + + return bRet; +} + +int CAICondition::Override_TriggerHolds(CAITrigger* pTrigger, CTypedPtrList* pTriggerList, CGameAIBase* pCaller) +{ + bool nRet = false; + + if ((pTrigger->m_triggerID & 0x4000) == 0) // Event-driven trigger + { + for (auto pNode = pTriggerList->m_pNodeHead; pNode != nullptr; pNode = pNode->pNext) + { + pTrigger->m_triggerCause.Decode(pCaller); + nRet = pNode->data->OfType(pTrigger); + + if ((pTrigger->m_flags & 1) != 0) // Inverted + { + nRet = !nRet; + } + + if (nRet) { + break; + } + } + } + else // Status trigger + { + nRet = pCaller->virtual_EvaluateStatusTrigger(pTrigger); + + if ((pTrigger->m_flags & 1) != 0) // Inverted + { + nRet = !nRet; + } + } + + return nRet; +} + void CChitin::Override_SynchronousUpdate() { CWarp *const pActiveEngine = this->pActiveEngine; @@ -2015,52 +2158,316 @@ void CChitin::Override_SynchronousUpdate() { } } -void __cdecl EEex::Override_uiDoFile(char* fileName) { +void updateScriptingObject(CGameAIBase* pAIBase, EEex_ScriptingObject scriptingObject, CAIObjectType* pToSet, CAIObjectType* pToSetWith) { - lua_State* const L = *p_g_lua; + if (*pToSet != pToSetWith) { - EngineVal fullFileName{}; - fullFileName->Format("%s.lua", fileName); + pToSet->Set(pToSetWith); - const CResRef resref { fileName }; - CRes *const pRes = p_dimmGetResObject(&resref, 0x409, false); + lua_State *const L = *p_g_lua; + luaCallProtected(L, 2, 0, [&](int _) { + lua_getglobal(L, "EEex_AIBase_LuaHook_OnScriptingObjectUpdated"); // 1 [ ..., EEex_AIBase_LuaHook_OnScriptingObjectUpdated ] + tolua_pushusertype(L, pAIBase, "CGameAIBase"); // 2 [ ..., EEex_AIBase_LuaHook_OnScriptingObjectUpdated, pAIBaseUD ] + lua_pushinteger(L, static_cast<__int32>(scriptingObject)); // 3 [ ..., EEex_AIBase_LuaHook_OnScriptingObjectUpdated, pAIBaseUD, scriptingObject ] + }); + } +} - if (pRes != nullptr) { +void CGameAIBase::Override_ApplyTriggers() { - const char *const pResBuffer = reinterpret_cast(pRes->Demand()); + CBaldurChitin *const pBaldurChitin = *p_g_pBaldurChitin; + CInfGame *const pGame = pBaldurChitin->m_pObjectGame; - if (luaL_loadbufferx(L, pResBuffer, pRes->nSize, fullFileName->m_pchData, nullptr) == LUA_OK) { + if (pGame->m_worldTime.m_gameTime % 3600 == 0) { + CMessageUpdateReaction *const pMessage = newEngineObj(11, this->m_id, this->m_id); + pBaldurChitin->m_cMessageHandler.AddMessage(pMessage, 0); + } - if (lua_pcallk(L, 0, -1, 0, 0, nullptr) != LUA_OK) { + if (this->virtual_GetObjectType() == CGameObjectType::SPRITE) { + CGameSprite *const pSprite = reinterpret_cast(this); + pSprite->GetActiveStats()->m_cContingencyList.Process(pSprite); + } - const char *const pErrorMessage = lua_tolstring(L, -1, nullptr); + for (auto pNode = this->m_pendingTriggers.m_pNodeHead; pNode != nullptr; pNode = pNode->pNext) { - if (pErrorMessage != nullptr) { - p_SDL_ShowSimpleMessageBox(0x10, CChitin::p_m_sGameName->m_pchData, pErrorMessage, (*p_g_pBaldurChitin)->cVideo.pCurrentMode->m_pWindow); - p_SDL_Log("Error [%s] in %s", pErrorMessage, fullFileName->m_pchData); + CAITrigger *const pTrigger = pNode->data; + if ((pTrigger->m_flags & 4) != 0) { + continue; + } + pTrigger->m_flags |= 4; + + switch (pTrigger->m_triggerID) { + + case 0x0002: { // AttackedBy + + this->virtual_AutoPause(2); + this->m_lAttackStyle = pTrigger->m_specificID; + + if + ( + pGame->GetCharacterPortraitNum(this->m_id) == -1 + || + pGame->GetCharacterPortraitNum(pTrigger->m_triggerCause.m_Instance) == -1 + ) + { + updateScriptingObject(this, EEex_ScriptingObject::ATTACKER, &this->m_lAttacker, &pTrigger->m_triggerCause); } + break; + } + case 0x0003: { // Help + updateScriptingObject(this, EEex_ScriptingObject::HELP, &this->m_lHelp, &pTrigger->m_triggerCause); + break; + } + case 0x0006: { // ReceivedOrder + updateScriptingObject(this, EEex_ScriptingObject::ORDERED_BY, &this->m_lOrderedBy, &pTrigger->m_triggerCause); + break; + } + case 0x0007: { // Said + updateScriptingObject(this, EEex_ScriptingObject::TALKED_TO, &this->m_lTalkedTo, &pTrigger->m_triggerCause); + break; + } + case 0x0020: { // HitBy + + this->virtual_AutoPause(4); + this->m_lAttackStyle = pTrigger->m_specificID; + + updateScriptingObject(this, EEex_ScriptingObject::HITTER, &this->m_lHitter, &pTrigger->m_triggerCause); + break; + } + case 0x002F: { // Heard + updateScriptingObject(this, EEex_ScriptingObject::HEARD, &this->m_lHeard, &pTrigger->m_triggerCause); + break; + } + case 0x0097: { // Summoned + updateScriptingObject(this, EEex_ScriptingObject::SUMMONED_BY, &this->m_lSummonedBy, &pTrigger->m_triggerCause); + break; } } - else { - const char *const pErrorMessage = lua_tolstring(L, -1, nullptr); - p_SDL_ShowSimpleMessageBox(0x10, CChitin::p_m_sGameName->m_pchData, pErrorMessage, (*p_g_pBaldurChitin)->cVideo.pCurrentMode->m_pWindow); - p_SDL_Log("Err: %s", pErrorMessage); + + if (pGame->SAVE_OBJECT_LIST.Find(pTrigger->m_triggerID) != nullptr) { + updateScriptingObject(this, EEex_ScriptingObject::TRIGGER, &this->m_lTrigger, &pTrigger->m_triggerCause); } - pRes->virtual_Dump(); + if (this->virtual_GetObjectType() == CGameObjectType::SPRITE) { + CGameSprite *const pSprite = reinterpret_cast(this); + pSprite->GetActiveStats()->m_cContingencyList.ProcessTrigger(pSprite, pTrigger); + } } +} - EngineVal langFile{}; - langFile->Format("L_%s", static_cast(*p_lang)); +static void onEventTriggerSet(CGameAIBase *const pAIBase, CAITrigger *const pTrigger) { - if (_stricmp(fileName, langFile->m_pchData) == 0) { - luaCallProtected(L, 0, 0, [&](int _) { - lua_getglobal(L, "EEex_Menu_LuaHook_AfterTranslationLoaded"); // 1 [ ..., EEex_Menu_LuaHook_AfterTranslationLoaded ] - }); + if (!EEex::AIBase_LuaHook_OnEventTriggerSet_Enabled) { + return; } -} -void EEex::Override_bootstrapLua() { + lua_State *const L = *p_g_lua; + luaCallProtected(L, 2, 0, [&](int) { + lua_getglobal(L, "EEex_AIBase_LuaHook_OnEventTriggerSet"); // 1 [ ..., EEex_AIBase_LuaHook_OnEventTriggerSet ] + pushGameObjectUD(L, pAIBase); // 2 [ ..., EEex_AIBase_LuaHook_OnEventTriggerSet, pAIBaseUD ] + tolua_pushusertype(L, pTrigger, "CAITrigger"); // 3 [ ..., EEex_AIBase_LuaHook_OnEventTriggerSet, pAIBaseUD, pTriggerUD ] + }); +} + +void CGameAIBase::Override_SetTrigger(const CAITrigger* pTrigger) { + + CAITrigger *const pTriggerCopy = newEngineObj(pTrigger); + + onEventTriggerSet(this, pTriggerCopy); + this->m_pendingTriggers.AddTail(pTriggerCopy); + this->m_bNewTrigger = 1; + + if ((pTriggerCopy->m_flags & 4) != 0) { + return; + } + pTriggerCopy->m_flags |= 4; + + CInfGame *const pGame = (*p_g_pBaldurChitin)->m_pObjectGame; + + switch (pTriggerCopy->m_triggerID) { + + case 0x0002: { // AttackedBy + + this->virtual_AutoPause(2); + + CGameSprite* pSprite = reinterpret_cast(pTriggerCopy->m_triggerCause.GetShareType(this, CGameObjectType::SPRITE, 0)); + if (pSprite != nullptr) { + // I don't know why the engine repeats this + pSprite = reinterpret_cast(pTriggerCopy->m_triggerCause.GetShareType(this, CGameObjectType::SPRITE, 0)); + if ((pSprite->GetActiveStats()->m_generalState & 0x800) != 0) { + break; + } + } + + this->m_lAttackStyle = pTriggerCopy->m_specificID; + if + ( + pGame->GetCharacterPortraitNum(this->m_id) == -1 + || + pGame->GetCharacterPortraitNum(pTriggerCopy->m_triggerCause.m_Instance) == -1 + ) + { + updateScriptingObject(this, EEex_ScriptingObject::ATTACKER, &this->m_lAttacker, &pTriggerCopy->m_triggerCause); + } + break; + } + case 0x0003: { // Help + updateScriptingObject(this, EEex_ScriptingObject::HELP, &this->m_lHelp, &pTriggerCopy->m_triggerCause); + break; + } + case 0x0006: { // ReceivedOrder + updateScriptingObject(this, EEex_ScriptingObject::ORDERED_BY, &this->m_lOrderedBy, &pTriggerCopy->m_triggerCause); + break; + } + case 0x0007: { // Said + updateScriptingObject(this, EEex_ScriptingObject::TALKED_TO, &this->m_lTalkedTo, &pTriggerCopy->m_triggerCause); + break; + } + case 0x0020: { // HitBy + + this->virtual_AutoPause(4); + this->m_lAttackStyle = pTriggerCopy->m_specificID; + + updateScriptingObject(this, EEex_ScriptingObject::HITTER, &this->m_lHitter, &pTriggerCopy->m_triggerCause); + break; + } + case 0x002F: { // Heard + updateScriptingObject(this, EEex_ScriptingObject::HEARD, &this->m_lHeard, &pTriggerCopy->m_triggerCause); + break; + } + case 0x004C: { // Entered + if (this->virtual_GetObjectType() == CGameObjectType::TRIGGER) { + CGameTrigger *const pTrigger = reinterpret_cast(this); + if ((pTrigger->m_dwFlags & 2) == 0) { + pTrigger->SetDrawPoly(0); + } + } + break; + } + case 0x0052: { // Opened + if (this->virtual_GetObjectType() == CGameObjectType::DOOR) { + CGameDoor *const pDoor = reinterpret_cast(this); + if ((pDoor->m_dwFlags & 4) == 0) { + pDoor->SetDrawPoly(0); + } + } + else { + if (this->virtual_GetObjectType() == CGameObjectType::CONTAINER) { + CGameContainer *const pContainer = reinterpret_cast(this); + if ((pContainer->m_dwFlags & 8) == 0) { + pContainer->SetDrawPoly(0); + } + } + } + break; + } + case 0x0097: { // Summoned + updateScriptingObject(this, EEex_ScriptingObject::SUMMONED_BY, &this->m_lSummonedBy, &pTriggerCopy->m_triggerCause); + break; + } + } + + if (pGame->SAVE_OBJECT_LIST.Find(pTriggerCopy->m_triggerID) != nullptr) { + updateScriptingObject(this, EEex_ScriptingObject::TRIGGER, &this->m_lTrigger, &pTriggerCopy->m_triggerCause); + } + + if (this->virtual_GetObjectType() == CGameObjectType::SPRITE) { + CGameSprite *const pSprite = reinterpret_cast(this); + pSprite->GetActiveStats()->m_cContingencyList.ProcessTrigger(pSprite, pTriggerCopy); + } +} + +void CMessageSetLastObject::Override_Run() { + + CGameObject* pObject; + if + ( + CGameObjectArray::GetShare(this->m_targetId, &pObject) != 0 + || + (pObject->virtual_GetObjectType() & CGameObjectType::AIBASE) == 0 + ) + { + return; + } + + if (pObject->virtual_GetObjectType() == CGameObjectType::SPRITE) { + CGameSprite *const pSprite = reinterpret_cast(pObject); + if ((pSprite->m_derivedStats.m_generalState & 0x80) != 0 || (pSprite->m_baseStats.m_generalState & 0x80) != 0) { + // STONE_DEATH + return; + } + } + + CGameAIBase *const pAIBase = reinterpret_cast(pObject); + + switch (this->m_type) { + case 0x0002: { // AttackedBy + updateScriptingObject(pAIBase, EEex_ScriptingObject::ATTACKER, &pAIBase->m_lAttacker, &this->m_lAttacker); + pAIBase->m_lAttackerSent.Set(&this->m_lAttacker); + break; + } + case 0x0003: { // Help + updateScriptingObject(pAIBase, EEex_ScriptingObject::HELP, &pAIBase->m_lHelp, &this->m_lAttacker); + pAIBase->m_lHelpSent.Set(&this->m_lAttacker); + break; + } + case 0x0006: { // ReceivedOrder + updateScriptingObject(pAIBase, EEex_ScriptingObject::ORDERED_BY, &pAIBase->m_lOrderedBy, &this->m_lAttacker); + pAIBase->m_lOrderedBySent.Set(&this->m_lAttacker); + break; + } + case 0x0007: { // Said + updateScriptingObject(pAIBase, EEex_ScriptingObject::TALKED_TO, &pAIBase->m_lTalkedTo, &this->m_lAttacker); + pAIBase->m_lTalkedToSent.Set(&this->m_lAttacker); + break; + } + case 0x0020: { // HitBy + updateScriptingObject(pAIBase, EEex_ScriptingObject::HITTER, &pAIBase->m_lHitter, &this->m_lAttacker); + pAIBase->m_lHitterSent.Set(&this->m_lAttacker); + break; + } + case 0x002F: { // Heard + updateScriptingObject(pAIBase, EEex_ScriptingObject::HEARD, &pAIBase->m_lHeard, &this->m_lAttacker); + pAIBase->m_lHeardSent.Set(&this->m_lAttacker); + break; + } + case 0x004B: { // Killed + updateScriptingObject(pAIBase, EEex_ScriptingObject::KILLED, &pAIBase->m_lKilled, &this->m_lAttacker); + pAIBase->m_lKilledSent.Set(&this->m_lAttacker); + break; + } + case 0x0097: { // Summoned + updateScriptingObject(pAIBase, EEex_ScriptingObject::SUMMONED_BY, &pAIBase->m_lSummonedBy, &this->m_lAttacker); + pAIBase->m_lSummonedBySent.Set(&this->m_lAttacker); + break; + } + case 0x401C: { // See + updateScriptingObject(pAIBase, EEex_ScriptingObject::SEEN, &pAIBase->m_lSeen, &this->m_lAttacker); + pAIBase->m_lSeenSent.Set(&this->m_lAttacker); + break; + } + default: { + updateScriptingObject(pAIBase, EEex_ScriptingObject::TRIGGER, &pAIBase->m_lTrigger, &this->m_lAttacker); + pAIBase->m_lTriggerSent.Set(&this->m_lAttacker); + break; + } + } +} + +void CScreenMap::Override_OnLButtonDblClk(CPoint cPoint) { + + CBaldurEngine *const pActiveEngine = reinterpret_cast((*p_g_pBaldurChitin)->pActiveEngine); + pActiveEngine->OnLeftPanelButtonClick(0); + + // Vanilla Bugfix: Fix closing the local area map with a double click resulting in the world screen responding to the button up event + // | + lua_State *const L = luaState(); + luaCallProtected(L, 0, 0, [&](int _) { + lua_getglobal(L, "EEex_Fix_LuaHook_OnLocalMapDoubleClick"); + }); +} + +void EEex::Override_bootstrapLua() { //*p_g_lua = luaL_newstate(); lua_State *const L = luaState(); @@ -2138,114 +2545,6 @@ end } } -//int __cdecl EEex::Override_fontWrap( -// char* text, -// SDL_Rect* r, -// SDL_Rect* rClip, -// int* horizontalAlignment, -// int* verticalAlignment, -// font_t* font, -// int* pointSize, -// letter_t* letters, -// int* nlines, -// int* nletters, -// int* pointIndex, -// bool* scale, -// adjustmentData_t* adjustData, -// int indent, -// bool bUseFontSizeFloor) -//{ -// const int maxLines = (*verticalAlignment >> 16) & 0xFFF; -// *verticalAlignment &= 0xFFFF; -// -// if (r->h == 0xFFFFFF) -// { -// *verticalAlignment = 0; -// } -// -// SDL_Rect rTransformed; -// SDL_Rect rClipTransformed; -// -// p_DrawTransformToScreen(r, &rTransformed); -// p_DrawTransformToScreen(rClip, &rClipTransformed); -// -// int nAlignAdjX = 0; -// -// if ((*horizontalAlignment & 4) != 0) { -// nAlignAdjX = rClipTransformed.w - rClipTransformed.x; -// } -// -// if ((*horizontalAlignment & 8) != 0) { -// nAlignAdjX = rTransformed.w; -// } -// -// int nAlignAdjY = 0; -// -// if ((*verticalAlignment & 4) != 0) { -// nAlignAdjY = rClipTransformed.h - rClipTransformed.y; -// } -// -// if ((*verticalAlignment & 8) != 0) { -// nAlignAdjY = rTransformed.h; -// } -// -// *horizontalAlignment = *horizontalAlignment & 0xFFFFFFF3; // Unset 0x4 | 0x8 -// *verticalAlignment = *verticalAlignment & 0xFFFFFFF3; // Unset 0x4 | 0x8 -// -// int nFinalPoint = static_cast(p_DrawTransformToScreenH(static_cast(*pointSize))); -// -// if (bUseFontSizeFloor) -// { -// nFinalPoint = (std::max)(10, nFinalPoint); -// } -// -// nFinalPoint = (std::min)(nFinalPoint, 79); -// nFinalPoint = static_cast(floor(nFinalPoint)); -// -// line_metric *const pNewLineMetrics = font->newLineMetrics; -// int lastLineHeight; -// -// for (; nFinalPoint > 1 && (nAlignAdjX != 0 || nAlignAdjY != 0); --nFinalPoint) -// { -// line_metric *const pNewLineMetric = &pNewLineMetrics[nFinalPoint]; -// const float fLineHeight = pNewLineMetric->ascent - pNewLineMetric->descent + pNewLineMetric->line_spacing - 0.001f; -// -// if (nAlignAdjY < 1 || fLineHeight <= nAlignAdjY) -// { -// *nlines = p_wordwrap(letters, 0x40000, nletters, text, rTransformed.w, font, nFinalPoint, *pointIndex, maxLines, &lastLineHeight, adjustData, indent); -// -// if -// ( -// (nAlignAdjY < 1 || *nlines * fLineHeight <= nAlignAdjY) -// && -// (nAlignAdjX < 1 || letters->w <= nAlignAdjX) -// ) -// { -// break; -// } -// } -// } -// -// if (*nletters == 0) -// { -// *nlines = p_wordwrap(letters, 0x40000, nletters, text, rTransformed.w, font, nFinalPoint, *pointIndex, maxLines, &lastLineHeight, adjustData, indent); -// } -// -// r->x = rTransformed.x; -// r->y = rTransformed.y; -// r->w = rTransformed.w; -// r->h = rTransformed.h; -// rClip->x = rClipTransformed.x; -// rClip->y = rClipTransformed.y; -// rClip->w = rClipTransformed.w; -// rClip->h = rClipTransformed.h; -// *pointSize = nFinalPoint; -// -// line_metric *const pNewLineMetric = &pNewLineMetrics[nFinalPoint]; -// const int nLineHeight = static_cast(ceil(pNewLineMetric->ascent - pNewLineMetric->descent + pNewLineMetric->line_spacing)); -// return nLineHeight * *nlines; -//} - int checkNoSavingThrowsAndEvasion(CGameEffect *const pEffect, CGameSprite *const pTarget) { if ((pEffect->m_savingThrow & 0x1F) == 0) { @@ -2684,468 +2983,168 @@ void __cdecl EEex::Override_crashHandler(EXCEPTION_POINTERS* pExceptionPointers) DumpCrashInfo(pExceptionPointers); } -#undef fprintf - -int __cdecl EEex::Override_Infinity_WriteINILine(lua_State* L) { - _iobuf *const buf = reinterpret_cast<_iobuf*>(lua_touserdata(L, 1)); - const char *const line = lua_tolstring(L, 2, nullptr); - fprintf(buf, "%s", line); - return 0; -} - -#define fprintf error - -int CAICondition::Override_Hold(CTypedPtrList* pTriggerList, CGameAIBase* pCaller) -{ - auto pNode = this->m_triggerList.m_pNodeHead; - if (pNode == nullptr) { - return 1; - } - - bool bRet = false; - int nORCounter = 0; - - bool bNextTriggerObject = false; - CGameAIBase* pNextTriggerObject = nullptr; - - // EEex - int nTrigger = 0; - - do - { - if (nORCounter <= 0) { - bRet = false; - } - - CAITrigger *const pTrigger = pNode->data; - const short nTriggerID = pTrigger->m_triggerID; - - if (nTriggerID == 0x4089) // OR - { - nORCounter = pTrigger->m_specificID; - } - else if (nTriggerID == 0x40E0) // NextTriggerObject - { - EngineVal nextTriggerObjectType{ &pTrigger->m_triggerCause }; - nextTriggerObjectType->Decode(pCaller); - - bNextTriggerObject = true; - pNextTriggerObject = reinterpret_cast(nextTriggerObjectType->GetShareType(pCaller, CGameObjectType::AIBASE, 0)); - - if (pNextTriggerObject != nullptr && nORCounter < 1) { - bRet = true; - } - } - else { - --nORCounter; - } - - if (nTriggerID != 0x40E0) // NOT NextTriggerObject - { - if (bNextTriggerObject) - { - if (pNextTriggerObject != nullptr) - { - // EEex - if (EEex::bInTrackedResponse) - { - for (auto callback : triggerHitCallbacks) { - callback(nTrigger); - } - } - - bNextTriggerObject = false; - const bool bTriggerHolds = this->TriggerHolds(pTrigger, pTriggerList, pNextTriggerObject); - bRet |= bTriggerHolds; - - // EEex - if (EEex::bInTrackedResponse) - { - for (auto callback : triggerEvaluatedCallbacks) { - callback(bTriggerHolds); - } - } - } - } - else - { - // EEex - if (EEex::bInTrackedResponse) - { - for (auto callback : triggerHitCallbacks) { - callback(nTrigger); - } - } - - const bool bTriggerHolds = this->TriggerHolds(pTrigger, pTriggerList, pCaller); - bRet |= bTriggerHolds; - - // EEex - if (EEex::bInTrackedResponse) - { - for (auto callback : triggerEvaluatedCallbacks) { - callback(bTriggerHolds); - } - } - } - } - - if (!bRet && nORCounter < 1) // Fail - { - break; - } - - pNode = pNode->pNext; - - // EEex - ++nTrigger; - } - while (pNode != nullptr); - - return bRet; -} - -int CAICondition::Override_TriggerHolds(CAITrigger* pTrigger, CTypedPtrList* pTriggerList, CGameAIBase* pCaller) -{ - bool nRet = false; - - if ((pTrigger->m_triggerID & 0x4000) == 0) // Event-driven trigger - { - for (auto pNode = pTriggerList->m_pNodeHead; pNode != nullptr; pNode = pNode->pNext) - { - pTrigger->m_triggerCause.Decode(pCaller); - nRet = pNode->data->OfType(pTrigger); - - if ((pTrigger->m_flags & 1) != 0) // Inverted - { - nRet = !nRet; - } - - if (nRet) { - break; - } - } - } - else // Status trigger - { - nRet = pCaller->virtual_EvaluateStatusTrigger(pTrigger); - - if ((pTrigger->m_flags & 1) != 0) // Inverted - { - nRet = !nRet; - } - } - - return nRet; -} - -void updateScriptingObject(CGameAIBase* pAIBase, EEex_ScriptingObject scriptingObject, CAIObjectType* pToSet, CAIObjectType* pToSetWith) { - - if (*pToSet != pToSetWith) { - - pToSet->Set(pToSetWith); - - lua_State *const L = *p_g_lua; - luaCallProtected(L, 2, 0, [&](int _) { - lua_getglobal(L, "EEex_AIBase_LuaHook_OnScriptingObjectUpdated"); // 1 [ ..., EEex_AIBase_LuaHook_OnScriptingObjectUpdated ] - tolua_pushusertype(L, pAIBase, "CGameAIBase"); // 2 [ ..., EEex_AIBase_LuaHook_OnScriptingObjectUpdated, pAIBaseUD ] - lua_pushinteger(L, static_cast<__int32>(scriptingObject)); // 3 [ ..., EEex_AIBase_LuaHook_OnScriptingObjectUpdated, pAIBaseUD, scriptingObject ] - }); - } -} - -void CMessageSetLastObject::Override_Run() { - - CGameObject* pObject; - if - ( - CGameObjectArray::GetShare(this->m_targetId, &pObject) != 0 - || - (pObject->virtual_GetObjectType() & CGameObjectType::AIBASE) == 0 - ) - { - return; - } - - if (pObject->virtual_GetObjectType() == CGameObjectType::SPRITE) { - CGameSprite *const pSprite = reinterpret_cast(pObject); - if ((pSprite->m_derivedStats.m_generalState & 0x80) != 0 || (pSprite->m_baseStats.m_generalState & 0x80) != 0) { - // STONE_DEATH - return; - } - } - - CGameAIBase *const pAIBase = reinterpret_cast(pObject); - - switch (this->m_type) { - case 0x0002: { // AttackedBy - updateScriptingObject(pAIBase, EEex_ScriptingObject::ATTACKER, &pAIBase->m_lAttacker, &this->m_lAttacker); - pAIBase->m_lAttackerSent.Set(&this->m_lAttacker); - break; - } - case 0x0003: { // Help - updateScriptingObject(pAIBase, EEex_ScriptingObject::HELP, &pAIBase->m_lHelp, &this->m_lAttacker); - pAIBase->m_lHelpSent.Set(&this->m_lAttacker); - break; - } - case 0x0006: { // ReceivedOrder - updateScriptingObject(pAIBase, EEex_ScriptingObject::ORDERED_BY, &pAIBase->m_lOrderedBy, &this->m_lAttacker); - pAIBase->m_lOrderedBySent.Set(&this->m_lAttacker); - break; - } - case 0x0007: { // Said - updateScriptingObject(pAIBase, EEex_ScriptingObject::TALKED_TO, &pAIBase->m_lTalkedTo, &this->m_lAttacker); - pAIBase->m_lTalkedToSent.Set(&this->m_lAttacker); - break; - } - case 0x0020: { // HitBy - updateScriptingObject(pAIBase, EEex_ScriptingObject::HITTER, &pAIBase->m_lHitter, &this->m_lAttacker); - pAIBase->m_lHitterSent.Set(&this->m_lAttacker); - break; - } - case 0x002F: { // Heard - updateScriptingObject(pAIBase, EEex_ScriptingObject::HEARD, &pAIBase->m_lHeard, &this->m_lAttacker); - pAIBase->m_lHeardSent.Set(&this->m_lAttacker); - break; - } - case 0x004B: { // Killed - updateScriptingObject(pAIBase, EEex_ScriptingObject::KILLED, &pAIBase->m_lKilled, &this->m_lAttacker); - pAIBase->m_lKilledSent.Set(&this->m_lAttacker); - break; - } - case 0x0097: { // Summoned - updateScriptingObject(pAIBase, EEex_ScriptingObject::SUMMONED_BY, &pAIBase->m_lSummonedBy, &this->m_lAttacker); - pAIBase->m_lSummonedBySent.Set(&this->m_lAttacker); - break; - } - case 0x401C: { // See - updateScriptingObject(pAIBase, EEex_ScriptingObject::SEEN, &pAIBase->m_lSeen, &this->m_lAttacker); - pAIBase->m_lSeenSent.Set(&this->m_lAttacker); - break; - } - default: { - updateScriptingObject(pAIBase, EEex_ScriptingObject::TRIGGER, &pAIBase->m_lTrigger, &this->m_lAttacker); - pAIBase->m_lTriggerSent.Set(&this->m_lAttacker); - break; - } - } -} - -static void onEventTriggerSet(CGameAIBase *const pAIBase, CAITrigger *const pTrigger) { - - if (!EEex::AIBase_LuaHook_OnEventTriggerSet_Enabled) { - return; - } - - lua_State *const L = *p_g_lua; - luaCallProtected(L, 2, 0, [&](int) { - lua_getglobal(L, "EEex_AIBase_LuaHook_OnEventTriggerSet"); // 1 [ ..., EEex_AIBase_LuaHook_OnEventTriggerSet ] - pushGameObjectUD(L, pAIBase); // 2 [ ..., EEex_AIBase_LuaHook_OnEventTriggerSet, pAIBaseUD ] - tolua_pushusertype(L, pTrigger, "CAITrigger"); // 3 [ ..., EEex_AIBase_LuaHook_OnEventTriggerSet, pAIBaseUD, pTriggerUD ] - }); -} - -void CGameAIBase::Override_SetTrigger(const CAITrigger* pTrigger) { - - CAITrigger *const pTriggerCopy = newEngineObj(pTrigger); - - onEventTriggerSet(this, pTriggerCopy); - this->m_pendingTriggers.AddTail(pTriggerCopy); - this->m_bNewTrigger = 1; - - if ((pTriggerCopy->m_flags & 4) != 0) { - return; - } - pTriggerCopy->m_flags |= 4; - - CInfGame *const pGame = (*p_g_pBaldurChitin)->m_pObjectGame; - - switch (pTriggerCopy->m_triggerID) { - - case 0x0002: { // AttackedBy - - this->virtual_AutoPause(2); - - CGameSprite* pSprite = reinterpret_cast(pTriggerCopy->m_triggerCause.GetShareType(this, CGameObjectType::SPRITE, 0)); - if (pSprite != nullptr) { - // I don't know why the engine repeats this - pSprite = reinterpret_cast(pTriggerCopy->m_triggerCause.GetShareType(this, CGameObjectType::SPRITE, 0)); - if ((pSprite->GetActiveStats()->m_generalState & 0x800) != 0) { - break; - } - } - - this->m_lAttackStyle = pTriggerCopy->m_specificID; - if - ( - pGame->GetCharacterPortraitNum(this->m_id) == -1 - || - pGame->GetCharacterPortraitNum(pTriggerCopy->m_triggerCause.m_Instance) == -1 - ) - { - updateScriptingObject(this, EEex_ScriptingObject::ATTACKER, &this->m_lAttacker, &pTriggerCopy->m_triggerCause); - } - break; - } - case 0x0003: { // Help - updateScriptingObject(this, EEex_ScriptingObject::HELP, &this->m_lHelp, &pTriggerCopy->m_triggerCause); - break; - } - case 0x0006: { // ReceivedOrder - updateScriptingObject(this, EEex_ScriptingObject::ORDERED_BY, &this->m_lOrderedBy, &pTriggerCopy->m_triggerCause); - break; - } - case 0x0007: { // Said - updateScriptingObject(this, EEex_ScriptingObject::TALKED_TO, &this->m_lTalkedTo, &pTriggerCopy->m_triggerCause); - break; - } - case 0x0020: { // HitBy - - this->virtual_AutoPause(4); - this->m_lAttackStyle = pTriggerCopy->m_specificID; - - updateScriptingObject(this, EEex_ScriptingObject::HITTER, &this->m_lHitter, &pTriggerCopy->m_triggerCause); - break; - } - case 0x002F: { // Heard - updateScriptingObject(this, EEex_ScriptingObject::HEARD, &this->m_lHeard, &pTriggerCopy->m_triggerCause); - break; - } - case 0x004C: { // Entered - if (this->virtual_GetObjectType() == CGameObjectType::TRIGGER) { - CGameTrigger *const pTrigger = reinterpret_cast(this); - if ((pTrigger->m_dwFlags & 2) == 0) { - pTrigger->SetDrawPoly(0); - } - } - break; - } - case 0x0052: { // Opened - if (this->virtual_GetObjectType() == CGameObjectType::DOOR) { - CGameDoor *const pDoor = reinterpret_cast(this); - if ((pDoor->m_dwFlags & 4) == 0) { - pDoor->SetDrawPoly(0); - } - } - else { - if (this->virtual_GetObjectType() == CGameObjectType::CONTAINER) { - CGameContainer *const pContainer = reinterpret_cast(this); - if ((pContainer->m_dwFlags & 8) == 0) { - pContainer->SetDrawPoly(0); - } - } - } - break; - } - case 0x0097: { // Summoned - updateScriptingObject(this, EEex_ScriptingObject::SUMMONED_BY, &this->m_lSummonedBy, &pTriggerCopy->m_triggerCause); - break; - } - } +//int __cdecl EEex::Override_fontWrap( +// char* text, +// SDL_Rect* r, +// SDL_Rect* rClip, +// int* horizontalAlignment, +// int* verticalAlignment, +// font_t* font, +// int* pointSize, +// letter_t* letters, +// int* nlines, +// int* nletters, +// int* pointIndex, +// bool* scale, +// adjustmentData_t* adjustData, +// int indent, +// bool bUseFontSizeFloor) +//{ +// const int maxLines = (*verticalAlignment >> 16) & 0xFFF; +// *verticalAlignment &= 0xFFFF; +// +// if (r->h == 0xFFFFFF) +// { +// *verticalAlignment = 0; +// } +// +// SDL_Rect rTransformed; +// SDL_Rect rClipTransformed; +// +// p_DrawTransformToScreen(r, &rTransformed); +// p_DrawTransformToScreen(rClip, &rClipTransformed); +// +// int nAlignAdjX = 0; +// +// if ((*horizontalAlignment & 4) != 0) { +// nAlignAdjX = rClipTransformed.w - rClipTransformed.x; +// } +// +// if ((*horizontalAlignment & 8) != 0) { +// nAlignAdjX = rTransformed.w; +// } +// +// int nAlignAdjY = 0; +// +// if ((*verticalAlignment & 4) != 0) { +// nAlignAdjY = rClipTransformed.h - rClipTransformed.y; +// } +// +// if ((*verticalAlignment & 8) != 0) { +// nAlignAdjY = rTransformed.h; +// } +// +// *horizontalAlignment = *horizontalAlignment & 0xFFFFFFF3; // Unset 0x4 | 0x8 +// *verticalAlignment = *verticalAlignment & 0xFFFFFFF3; // Unset 0x4 | 0x8 +// +// int nFinalPoint = static_cast(p_DrawTransformToScreenH(static_cast(*pointSize))); +// +// if (bUseFontSizeFloor) +// { +// nFinalPoint = (std::max)(10, nFinalPoint); +// } +// +// nFinalPoint = (std::min)(nFinalPoint, 79); +// nFinalPoint = static_cast(floor(nFinalPoint)); +// +// line_metric *const pNewLineMetrics = font->newLineMetrics; +// int lastLineHeight; +// +// for (; nFinalPoint > 1 && (nAlignAdjX != 0 || nAlignAdjY != 0); --nFinalPoint) +// { +// line_metric *const pNewLineMetric = &pNewLineMetrics[nFinalPoint]; +// const float fLineHeight = pNewLineMetric->ascent - pNewLineMetric->descent + pNewLineMetric->line_spacing - 0.001f; +// +// if (nAlignAdjY < 1 || fLineHeight <= nAlignAdjY) +// { +// *nlines = p_wordwrap(letters, 0x40000, nletters, text, rTransformed.w, font, nFinalPoint, *pointIndex, maxLines, &lastLineHeight, adjustData, indent); +// +// if +// ( +// (nAlignAdjY < 1 || *nlines * fLineHeight <= nAlignAdjY) +// && +// (nAlignAdjX < 1 || letters->w <= nAlignAdjX) +// ) +// { +// break; +// } +// } +// } +// +// if (*nletters == 0) +// { +// *nlines = p_wordwrap(letters, 0x40000, nletters, text, rTransformed.w, font, nFinalPoint, *pointIndex, maxLines, &lastLineHeight, adjustData, indent); +// } +// +// r->x = rTransformed.x; +// r->y = rTransformed.y; +// r->w = rTransformed.w; +// r->h = rTransformed.h; +// rClip->x = rClipTransformed.x; +// rClip->y = rClipTransformed.y; +// rClip->w = rClipTransformed.w; +// rClip->h = rClipTransformed.h; +// *pointSize = nFinalPoint; +// +// line_metric *const pNewLineMetric = &pNewLineMetrics[nFinalPoint]; +// const int nLineHeight = static_cast(ceil(pNewLineMetric->ascent - pNewLineMetric->descent + pNewLineMetric->line_spacing)); +// return nLineHeight * *nlines; +//} - if (pGame->SAVE_OBJECT_LIST.Find(pTriggerCopy->m_triggerID) != nullptr) { - updateScriptingObject(this, EEex_ScriptingObject::TRIGGER, &this->m_lTrigger, &pTriggerCopy->m_triggerCause); - } +#undef fprintf - if (this->virtual_GetObjectType() == CGameObjectType::SPRITE) { - CGameSprite *const pSprite = reinterpret_cast(this); - pSprite->GetActiveStats()->m_cContingencyList.ProcessTrigger(pSprite, pTriggerCopy); - } +int __cdecl EEex::Override_Infinity_WriteINILine(lua_State* L) { + _iobuf *const buf = reinterpret_cast<_iobuf*>(lua_touserdata(L, 1)); + const char *const line = lua_tolstring(L, 2, nullptr); + fprintf(buf, "%s", line); + return 0; } -void CGameAIBase::Override_ApplyTriggers() { - - CBaldurChitin *const pBaldurChitin = *p_g_pBaldurChitin; - CInfGame *const pGame = pBaldurChitin->m_pObjectGame; +#define fprintf error - if (pGame->m_worldTime.m_gameTime % 3600 == 0) { - CMessageUpdateReaction *const pMessage = newEngineObj(11, this->m_id, this->m_id); - pBaldurChitin->m_cMessageHandler.AddMessage(pMessage, 0); - } +void __cdecl EEex::Override_uiDoFile(char* fileName) { - if (this->virtual_GetObjectType() == CGameObjectType::SPRITE) { - CGameSprite *const pSprite = reinterpret_cast(this); - pSprite->GetActiveStats()->m_cContingencyList.Process(pSprite); - } + lua_State *const L = *p_g_lua; - for (auto pNode = this->m_pendingTriggers.m_pNodeHead; pNode != nullptr; pNode = pNode->pNext) { + EngineVal fullFileName{}; + fullFileName->Format("%s.lua", fileName); - CAITrigger *const pTrigger = pNode->data; - if ((pTrigger->m_flags & 4) != 0) { - continue; - } - pTrigger->m_flags |= 4; + const CResRef resref { fileName }; + CRes *const pRes = p_dimmGetResObject(&resref, 0x409, false); - switch (pTrigger->m_triggerID) { + if (pRes != nullptr) { - case 0x0002: { // AttackedBy + const char *const pResBuffer = reinterpret_cast(pRes->Demand()); - this->virtual_AutoPause(2); - this->m_lAttackStyle = pTrigger->m_specificID; + if (luaL_loadbufferx(L, pResBuffer, pRes->nSize, fullFileName->m_pchData, nullptr) == LUA_OK) { - if - ( - pGame->GetCharacterPortraitNum(this->m_id) == -1 - || - pGame->GetCharacterPortraitNum(pTrigger->m_triggerCause.m_Instance) == -1 - ) - { - updateScriptingObject(this, EEex_ScriptingObject::ATTACKER, &this->m_lAttacker, &pTrigger->m_triggerCause); - } - break; - } - case 0x0003: { // Help - updateScriptingObject(this, EEex_ScriptingObject::HELP, &this->m_lHelp, &pTrigger->m_triggerCause); - break; - } - case 0x0006: { // ReceivedOrder - updateScriptingObject(this, EEex_ScriptingObject::ORDERED_BY, &this->m_lOrderedBy, &pTrigger->m_triggerCause); - break; - } - case 0x0007: { // Said - updateScriptingObject(this, EEex_ScriptingObject::TALKED_TO, &this->m_lTalkedTo, &pTrigger->m_triggerCause); - break; - } - case 0x0020: { // HitBy + if (lua_pcallk(L, 0, -1, 0, 0, nullptr) != LUA_OK) { - this->virtual_AutoPause(4); - this->m_lAttackStyle = pTrigger->m_specificID; + const char *const pErrorMessage = lua_tolstring(L, -1, nullptr); - updateScriptingObject(this, EEex_ScriptingObject::HITTER, &this->m_lHitter, &pTrigger->m_triggerCause); - break; - } - case 0x002F: { // Heard - updateScriptingObject(this, EEex_ScriptingObject::HEARD, &this->m_lHeard, &pTrigger->m_triggerCause); - break; - } - case 0x0097: { // Summoned - updateScriptingObject(this, EEex_ScriptingObject::SUMMONED_BY, &this->m_lSummonedBy, &pTrigger->m_triggerCause); - break; + if (pErrorMessage != nullptr) { + p_SDL_ShowSimpleMessageBox(0x10, CChitin::p_m_sGameName->m_pchData, pErrorMessage, (*p_g_pBaldurChitin)->cVideo.pCurrentMode->m_pWindow); + p_SDL_Log("Error [%s] in %s", pErrorMessage, fullFileName->m_pchData); + } } } - - if (pGame->SAVE_OBJECT_LIST.Find(pTrigger->m_triggerID) != nullptr) { - updateScriptingObject(this, EEex_ScriptingObject::TRIGGER, &this->m_lTrigger, &pTrigger->m_triggerCause); + else { + const char *const pErrorMessage = lua_tolstring(L, -1, nullptr); + p_SDL_ShowSimpleMessageBox(0x10, CChitin::p_m_sGameName->m_pchData, pErrorMessage, (*p_g_pBaldurChitin)->cVideo.pCurrentMode->m_pWindow); + p_SDL_Log("Err: %s", pErrorMessage); } - if (this->virtual_GetObjectType() == CGameObjectType::SPRITE) { - CGameSprite *const pSprite = reinterpret_cast(this); - pSprite->GetActiveStats()->m_cContingencyList.ProcessTrigger(pSprite, pTrigger); - } + pRes->virtual_Dump(); } -} - -void CScreenMap::Override_OnLButtonDblClk(CPoint cPoint) { - CBaldurEngine *const pActiveEngine = reinterpret_cast((*p_g_pBaldurChitin)->pActiveEngine); - pActiveEngine->OnLeftPanelButtonClick(0); + EngineVal langFile{}; + langFile->Format("L_%s", static_cast(*p_lang)); - // Vanilla Bugfix: Fix closing the local area map with a double click resulting in the world screen responding to the button up event - // | - lua_State *const L = luaState(); - luaCallProtected(L, 0, 0, [&](int _) { - lua_getglobal(L, "EEex_Fix_LuaHook_OnLocalMapDoubleClick"); - }); + if (_stricmp(fileName, langFile->m_pchData) == 0) { + luaCallProtected(L, 0, 0, [&](int _) { + lua_getglobal(L, "EEex_Menu_LuaHook_AfterTranslationLoaded"); // 1 [ ..., EEex_Menu_LuaHook_AfterTranslationLoaded ] + }); + } } ///////////////////////////// @@ -3531,6 +3530,28 @@ int CGameEffectUsability::Override_CheckUsability(CGameSprite* pSprite) { return match ^ EEex::Opcode_Hook_Op319_IsInverted(this); } +//-------// +// op342 // +//-------// + +void EEex::Opcode_Hook_Op342_OnUnhandledParam2(CGameEffect* pEffect, CGameSprite* pSprite) { + + if (pEffect->m_dWFlags == 5) { // Override combat_round_* in animation INI + + const int nCombatRoundSlot = pEffect->m_effectAmount; + + if (nCombatRoundSlot < 0 || nCombatRoundSlot > 4) { + // Invalid combat round slot + pEffect->m_done = true; + return; + } + + ExSpriteData& exData = exSpriteDataMap[pSprite]; + exData.combatRoundsOverride[nCombatRoundSlot]->SetResRef(&pEffect->m_res, true, true); + pSprite->m_animation.m_overrides |= (0x4 << (nCombatRoundSlot + 1)); + } +} + //-----------// // New op400 // //-----------// @@ -3955,6 +3976,38 @@ void EEex::Sprite_Hook_OnBeforeEffectListMarshalled(CGameSprite* pSprite) { STUTTER_LOG_END } +static byte getAttackFrameTypeReimplementation(CVidBitmap* aBitmaps, byte numAttacks, byte speedFactor, byte combatFrame) { + + if (numAttacks <= 5 && speedFactor <= 10) { + + if (combatFrame > 100) { + return 15; + } + + return aBitmaps[numAttacks - 1].GetPixelValue(combatFrame, speedFactor); + } + + return 0; +} + +byte EEex::Sprite_Hook_OnGetAttackFrameType(CGameSprite* pSprite, byte numAttacks) { + + const CGameAnimation *const pAnimation = &pSprite->m_animation; + const byte nSpeedFactor = static_cast(pSprite->m_speedFactor); + const byte nAttackFrame = static_cast(pSprite->m_attackFrame); + + if ((pAnimation->m_overrides & (0x4 << numAttacks)) != 0) { // Override combat_round_* in animation INI + + // Passing `combatRoundsOverride` as a raw `CVidBitmap` array requires that the `EngineVal` wrapper isn't adding any fields + static_assert(sizeof(EngineVal) == sizeof(CVidBitmap)); + + ExSpriteData& exData = exSpriteDataMap[pSprite]; + return getAttackFrameTypeReimplementation(&**exData.combatRoundsOverride, numAttacks, nSpeedFactor, nAttackFrame); + } + + return pAnimation->m_animation->virtual_GetAttackFrameType(numAttacks, nSpeedFactor, nAttackFrame); +} + CGameEffectDamage* CGameSprite::Override_Damage( CItem* curWeaponIn, CItem* pLauncher, int curAttackNum, int criticalDamage, CAIObjectType* type, short facing, short myFacing, CGameSprite* target, int lastSwing) @@ -5082,6 +5135,26 @@ void CGameText::Override_Render(CGameArea* pArea, CVidMode* pVidMode) } } +void EEex::Fix_Hook_ImplementWSPECIALSpeedColumn(CGameSprite* pSprite, int nProficiencyLevel, bool bOffHand) { + + if (bOffHand) { + return; + } + + const C2DArray& WSPECIAL = (*p_g_pBaldurChitin)->m_pObjectGame->m_ruleTables.m_tWeaponSpecialization; + const CString *const sCell = WSPECIAL.GetAt(2, nProficiencyLevel); + + int nBonus = 0; + + if (sscanf(sCell->m_pchData, "%d", &nBonus) != 1) { + #pragma warning(disable:6031) + sscanf(WSPECIAL.m_default.m_pchData, "%d", &nBonus); + #pragma warning(default:6031) + } + + pSprite->m_derivedStats.m_nPhysicalSpeed -= nBonus; +} + void EEex::Fix_Hook_OnBeforeUIKillCapture() { if (p_capture->item == nullptr || p_capture->item->type != uiItemType::ITEM_EDIT) { @@ -5291,4 +5364,8 @@ void EEex::InitEEex() { EEex::Projectile_LuaHook_GlobalMutators_Enabled = false; initProjectileMutator(); EEex::StutterDetector_Enabled = false; + + //LoadFunctionNames(); + //Profiler_RegisterTrace("Render", 0x140136300, 15); + //Profiler_RegisterTrace("AI", 0x140131BF0, 5); } diff --git a/EEex-v2.6.6.0/source/EEex-v2.6.6.0/Generated/Baldur-v2.6.6.0_generated_internal_pointers.cpp b/EEex-v2.6.6.0/source/EEex-v2.6.6.0/Generated/Baldur-v2.6.6.0_generated_internal_pointers.cpp index d21ae1d..4e470c8 100644 --- a/EEex-v2.6.6.0/source/EEex-v2.6.6.0/Generated/Baldur-v2.6.6.0_generated_internal_pointers.cpp +++ b/EEex-v2.6.6.0/source/EEex-v2.6.6.0/Generated/Baldur-v2.6.6.0_generated_internal_pointers.cpp @@ -15,6 +15,8 @@ bool EEex::StutterDetector_Enabled; int EEex::UncapFPS_BusyWaitThreshold; bool EEex::UncapFPS_Enabled; int EEex::UncapFPS_FPSLimit; +bool EEex::UncapFPS_FPSLimitEnabled; +int EEex::UncapFPS_LuaGCSteps; bool EEex::UncapFPS_RemoveMiddleMouseScrollMultiplier; CTimerWorld::type_StartTime CTimerWorld::p_StartTime; CString::type_Construct_Overload_String CString::p_Construct_Overload_String; @@ -67,6 +69,7 @@ type_findMenu p_findMenu; type_rand p_rand; type_restoreMenuStack p_restoreMenuStack; type_saveMenuStack p_saveMenuStack; +type_SDL_GetDisplayForWindow p_SDL_GetDisplayForWindow; type_SDL_GetKeyFromName p_SDL_GetKeyFromName; type_SDL_GetKeyName p_SDL_GetKeyName; type_SDL_GetWindowFlags p_SDL_GetWindowFlags; @@ -93,6 +96,7 @@ type_DrawEnable p_DrawEnable; type_DrawEnd p_DrawEnd; type_DrawEndScaled p_DrawEndScaled; type_drawLetters p_drawLetters; +type_drawMenu p_drawMenu; type_DrawOrtho11Begin p_DrawOrtho11Begin; type_DrawOrtho11End p_DrawOrtho11End; type_DrawPopState p_DrawPopState; @@ -101,6 +105,7 @@ type_DrawQuad p_DrawQuad; type_drawSlice p_drawSlice; type_drawSliceSide p_drawSliceSide; type_DrawTexCoord p_DrawTexCoord; +type_drawTop p_drawTop; type_DrawTransformToScreen p_DrawTransformToScreen; type_DrawTransformToScreenH p_DrawTransformToScreenH; type_DrawVertex p_DrawVertex; @@ -118,6 +123,7 @@ type_SDL_ShowSimpleMessageBox p_SDL_ShowSimpleMessageBox; type_SearchThreadMain p_SearchThreadMain; type_uiDrawSlicedRect p_uiDrawSlicedRect; type_uiExecLuaInt p_uiExecLuaInt; +type_uiHandleTooltip p_uiHandleTooltip; type_uiPop p_uiPop; type_uiPush p_uiPush; type_uiSetHidden p_uiSetHidden; @@ -128,6 +134,8 @@ type_XScreenToZoomed p_XScreenToZoomed; type_YScreenToZoomed p_YScreenToZoomed; char** p_afxPchNil; _9B9540D9920A90D57A3D80DDD1A70514* p_capture; +bool* p_fingerDown; +uiMenu** p_g_backgroundMenu; RendererType* p_g_drawBackend; Array* p_g_keywords; lua_State** p_g_lua; @@ -140,6 +148,7 @@ Array* p_menuStack; int* p_nextStackMenuIdx; int* p_numMenus; CTypedPtrArray* p_resources; +_820A8B7015E7E0FD9144A7C186FBF075* p_tooltip; _A92C2F5FC159A4FE55DD6CCAABD58E72* p_transition; ConstArray* p_yy_action; ConstArray* p_yy_default; @@ -188,7 +197,11 @@ CAIScriptFile::type_ParseObjectType CAIScriptFile::p_ParseObjectType; CAIScriptFile::type_ParseResponseString CAIScriptFile::p_ParseResponseString; CSound::type_Construct CSound::p_Construct; CSound::type_Destruct CSound::p_Destruct; +CVidBitmap::type_Construct CVidBitmap::p_Construct; +CVidBitmap::type_Destruct CVidBitmap::p_Destruct; CVidBitmap::type_GetPixelColor CVidBitmap::p_GetPixelColor; +CVidBitmap::type_GetPixelValueOrZero CVidBitmap::p_GetPixelValueOrZero; +CVidBitmap::type_SetResRef CVidBitmap::p_SetResRef; CSearchBitmap::type_GetCost CSearchBitmap::p_GetCost; CSearchBitmap::type_GetLOSCost CSearchBitmap::p_GetLOSCost; CSearchBitmap::type_GetNearestOpenSquare CSearchBitmap::p_GetNearestOpenSquare; @@ -394,6 +407,7 @@ void InitBindingsInternal() { attemptFillPointer(TEXT("rand"), p_rand); attemptFillPointer(TEXT("restoreMenuStack"), p_restoreMenuStack); attemptFillPointer(TEXT("saveMenuStack"), p_saveMenuStack); + attemptFillPointer(TEXT("SDL_GetDisplayForWindow"), p_SDL_GetDisplayForWindow); attemptFillPointer(TEXT("SDL_GetKeyFromName"), p_SDL_GetKeyFromName); attemptFillPointer(TEXT("SDL_GetKeyName"), p_SDL_GetKeyName); attemptFillPointer(TEXT("SDL_GetWindowFlags"), p_SDL_GetWindowFlags); @@ -420,6 +434,7 @@ void InitBindingsInternal() { attemptFillPointer(TEXT("DrawEnd"), p_DrawEnd); attemptFillPointer(TEXT("DrawEndScaled"), p_DrawEndScaled); attemptFillPointer(TEXT("drawLetters"), p_drawLetters); + attemptFillPointer(TEXT("drawMenu"), p_drawMenu); attemptFillPointer(TEXT("DrawOrtho11Begin"), p_DrawOrtho11Begin); attemptFillPointer(TEXT("DrawOrtho11End"), p_DrawOrtho11End); attemptFillPointer(TEXT("DrawPopState"), p_DrawPopState); @@ -428,6 +443,7 @@ void InitBindingsInternal() { attemptFillPointer(TEXT("drawSlice"), p_drawSlice); attemptFillPointer(TEXT("drawSliceSide"), p_drawSliceSide); attemptFillPointer(TEXT("DrawTexCoord"), p_DrawTexCoord); + attemptFillPointer(TEXT("drawTop"), p_drawTop); attemptFillPointer(TEXT("DrawTransformToScreen"), p_DrawTransformToScreen); attemptFillPointer(TEXT("DrawTransformToScreenH"), p_DrawTransformToScreenH); attemptFillPointer(TEXT("DrawVertex"), p_DrawVertex); @@ -445,6 +461,7 @@ void InitBindingsInternal() { attemptFillPointer(TEXT("SearchThreadMain"), p_SearchThreadMain); attemptFillPointer(TEXT("uiDrawSlicedRect"), p_uiDrawSlicedRect); attemptFillPointer(TEXT("uiExecLuaInt"), p_uiExecLuaInt); + attemptFillPointer(TEXT("uiHandleTooltip"), p_uiHandleTooltip); attemptFillPointer(TEXT("uiPop"), p_uiPop); attemptFillPointer(TEXT("uiPush"), p_uiPush); attemptFillPointer(TEXT("uiSetHidden"), p_uiSetHidden); @@ -455,6 +472,8 @@ void InitBindingsInternal() { attemptFillPointer(TEXT("YScreenToZoomed"), p_YScreenToZoomed); attemptFillPointer(TEXT("afxPchNil"), p_afxPchNil); attemptFillPointer(TEXT("capture"), p_capture); + attemptFillPointer(TEXT("fingerDown"), p_fingerDown); + attemptFillPointer(TEXT("g_backgroundMenu"), p_g_backgroundMenu); attemptFillPointer(TEXT("g_drawBackend"), p_g_drawBackend); attemptFillPointer(TEXT("g_keywords"), p_g_keywords); attemptFillPointer(TEXT("g_lua"), p_g_lua); @@ -467,6 +486,7 @@ void InitBindingsInternal() { attemptFillPointer(TEXT("nextStackMenuIdx"), p_nextStackMenuIdx); attemptFillPointer(TEXT("numMenus"), p_numMenus); attemptFillPointer(TEXT("resources"), p_resources); + attemptFillPointer(TEXT("tooltip"), p_tooltip); attemptFillPointer(TEXT("transition"), p_transition); attemptFillPointer(TEXT("yy_action"), p_yy_action); attemptFillPointer(TEXT("yy_default"), p_yy_default); @@ -515,7 +535,11 @@ void InitBindingsInternal() { attemptFillPointer(TEXT("CAIScriptFile::ParseResponseString"), CAIScriptFile::p_ParseResponseString); attemptFillPointer(TEXT("CSound::Construct"), CSound::p_Construct); attemptFillPointer(TEXT("CSound::Destruct"), CSound::p_Destruct); + attemptFillPointer(TEXT("CVidBitmap::Construct"), CVidBitmap::p_Construct); + attemptFillPointer(TEXT("CVidBitmap::Destruct"), CVidBitmap::p_Destruct); attemptFillPointer(TEXT("CVidBitmap::GetPixelColor"), CVidBitmap::p_GetPixelColor); + attemptFillPointer(TEXT("CVidBitmap::GetPixelValue(int,int)"), CVidBitmap::p_GetPixelValueOrZero); + attemptFillPointer(TEXT("CVidBitmap::SetResRef"), CVidBitmap::p_SetResRef); attemptFillPointer(TEXT("CSearchBitmap::GetCost"), CSearchBitmap::p_GetCost); attemptFillPointer(TEXT("CSearchBitmap::GetLOSCost"), CSearchBitmap::p_GetLOSCost); attemptFillPointer(TEXT("CSearchBitmap::GetNearestOpenSquare"), CSearchBitmap::p_GetNearestOpenSquare); diff --git a/EEex-v2.6.6.0/source/EEex-v2.6.6.0/Generated/EEexLua_generated.cpp b/EEex-v2.6.6.0/source/EEex-v2.6.6.0/Generated/EEexLua_generated.cpp index 432028a..686f498 100644 --- a/EEex-v2.6.6.0/source/EEex-v2.6.6.0/Generated/EEexLua_generated.cpp +++ b/EEex-v2.6.6.0/source/EEex-v2.6.6.0/Generated/EEexLua_generated.cpp @@ -129,6 +129,42 @@ static int tolua_get_EEex_reference_UncapFPS_FPSLimit(lua_State* L) return 1; } +static int tolua_get_EEex_UncapFPS_FPSLimitEnabled(lua_State* L) +{ + tolua_pushboolean(L, (bool)EEex::UncapFPS_FPSLimitEnabled); + return 1; +} + +static int tolua_set_EEex_UncapFPS_FPSLimitEnabled(lua_State* L) +{ + EEex::UncapFPS_FPSLimitEnabled = tolua_setter_toboolean(L, "UncapFPS_FPSLimitEnabled"); + return 0; +} + +static int tolua_get_EEex_reference_UncapFPS_FPSLimitEnabled(lua_State* L) +{ + tolua_pushusertype(L, (void*)&EEex::UncapFPS_FPSLimitEnabled, "Primitive"); + return 1; +} + +static int tolua_get_EEex_UncapFPS_LuaGCSteps(lua_State* L) +{ + lua_pushinteger(L, (lua_Integer)EEex::UncapFPS_LuaGCSteps); + return 1; +} + +static int tolua_set_EEex_UncapFPS_LuaGCSteps(lua_State* L) +{ + EEex::UncapFPS_LuaGCSteps = tolua_setter_tointeger(L, "UncapFPS_LuaGCSteps"); + return 0; +} + +static int tolua_get_EEex_reference_UncapFPS_LuaGCSteps(lua_State* L) +{ + tolua_pushusertype(L, (void*)&EEex::UncapFPS_LuaGCSteps, "Primitive"); + return 1; +} + static int tolua_get_EEex_UncapFPS_RemoveMiddleMouseScrollMultiplier(lua_State* L) { tolua_pushboolean(L, (bool)EEex::UncapFPS_RemoveMiddleMouseScrollMultiplier); @@ -319,7 +355,7 @@ static int tolua_function_CGameSprite_getUUID(lua_State* L) { CGameSprite* self = (CGameSprite*)tolua_tousertype_dynamic(L, 1, 0, "CGameSprite"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getUUID'", NULL); - uint64_t returnVal = self->GetUUID(); + uint64_t returnVal = (self->GetUUID)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -335,6 +371,8 @@ static void tolua_reg_types(lua_State* L) tolua_usertype(L, "frameTableEntry_st::_anonymous_tag_"); tolua_usertype(L, "SDL_SysWMmsg"); tolua_usertype(L, "SDL_SysWMmsg::msg_t"); + tolua_usertype(L, "SDL_SysWMinfo"); + tolua_usertype(L, "SDL_SysWMinfo::info_t"); tolua_usertype(L, "Udata"); tolua_usertype(L, "TString"); tolua_usertype(L, "ISteamUserStats"); @@ -620,6 +658,7 @@ static void tolua_reg_types(lua_State* L) tolua_usertype(L, "EEex_CBaldurEngine"); tolua_usertype(L, "CDungeonMaster"); tolua_usertype(L, "uiItem"); + tolua_usertype(L, "SDL_VideoDevice"); tolua_usertype(L, "CResBinary"); tolua_usertype(L, "CMessageSetVariableAll"); tolua_usertype(L, "EngineGlobals"); @@ -824,6 +863,12 @@ int OpenBindingsInternal(lua_State* L) tolua_cclass(L, "SDL_SysWMmsg::msg_t", "SDL_SysWMmsg::msg_t", {}, NULL); tolua_beginmodule(L, "SDL_SysWMmsg::msg_t"); tolua_endmodule(L); + tolua_cclass(L, "SDL_SysWMinfo", "SDL_SysWMinfo", {}, NULL); + tolua_beginmodule(L, "SDL_SysWMinfo"); + tolua_endmodule(L); + tolua_cclass(L, "SDL_SysWMinfo::info_t", "SDL_SysWMinfo::info_t", {}, NULL); + tolua_beginmodule(L, "SDL_SysWMinfo::info_t"); + tolua_endmodule(L); tolua_cclass(L, "Udata", "Udata", {}, NULL); tolua_beginmodule(L, "Udata"); tolua_endmodule(L); @@ -882,6 +927,10 @@ int OpenBindingsInternal(lua_State* L) tolua_variable(L, "reference_UncapFPS_Enabled", tolua_get_EEex_reference_UncapFPS_Enabled, NULL); tolua_variable(L, "UncapFPS_FPSLimit", tolua_get_EEex_UncapFPS_FPSLimit, tolua_set_EEex_UncapFPS_FPSLimit); tolua_variable(L, "reference_UncapFPS_FPSLimit", tolua_get_EEex_reference_UncapFPS_FPSLimit, NULL); + tolua_variable(L, "UncapFPS_FPSLimitEnabled", tolua_get_EEex_UncapFPS_FPSLimitEnabled, tolua_set_EEex_UncapFPS_FPSLimitEnabled); + tolua_variable(L, "reference_UncapFPS_FPSLimitEnabled", tolua_get_EEex_reference_UncapFPS_FPSLimitEnabled, NULL); + tolua_variable(L, "UncapFPS_LuaGCSteps", tolua_get_EEex_UncapFPS_LuaGCSteps, tolua_set_EEex_UncapFPS_LuaGCSteps); + tolua_variable(L, "reference_UncapFPS_LuaGCSteps", tolua_get_EEex_reference_UncapFPS_LuaGCSteps, NULL); tolua_variable(L, "UncapFPS_RemoveMiddleMouseScrollMultiplier", tolua_get_EEex_UncapFPS_RemoveMiddleMouseScrollMultiplier, tolua_set_EEex_UncapFPS_RemoveMiddleMouseScrollMultiplier); tolua_variable(L, "reference_UncapFPS_RemoveMiddleMouseScrollMultiplier", tolua_get_EEex_reference_UncapFPS_RemoveMiddleMouseScrollMultiplier, NULL); tolua_function(L, "CreateTemplateFromCopy", &tolua_function_EEex_CreateTemplateFromCopy); @@ -917,6 +966,8 @@ int OpenBindingsInternal(lua_State* L) tolua_constantstring(L, "usertype_UncapFPS_BusyWaitThreshold", "Primitive"); tolua_constantstring(L, "usertype_UncapFPS_Enabled", "Primitive"); tolua_constantstring(L, "usertype_UncapFPS_FPSLimit", "Primitive"); + tolua_constantstring(L, "usertype_UncapFPS_FPSLimitEnabled", "Primitive"); + tolua_constantstring(L, "usertype_UncapFPS_LuaGCSteps", "Primitive"); tolua_constantstring(L, "usertype_UncapFPS_RemoveMiddleMouseScrollMultiplier", "Primitive"); tolua_endmodule(L); tolua_cclass(L, "EEex::ProjectileType", "EEex::ProjectileType", {"__int32"}, NULL); @@ -1749,6 +1800,9 @@ int OpenBindingsInternal(lua_State* L) tolua_cclass(L, "uiItem", "uiItem", {}, NULL); tolua_beginmodule(L, "uiItem"); tolua_endmodule(L); + tolua_cclass(L, "SDL_VideoDevice", "SDL_VideoDevice", {}, NULL); + tolua_beginmodule(L, "SDL_VideoDevice"); + tolua_endmodule(L); tolua_cclass(L, "CResBinary", "CResBinary", {"CRes"}, NULL); tolua_beginmodule(L, "CResBinary"); tolua_endmodule(L); diff --git a/EEex-v2.6.6.0/source/EEex-v2.6.6.0/engine_function_names.cpp b/EEex-v2.6.6.0/source/EEex-v2.6.6.0/engine_function_names.cpp new file mode 100644 index 0000000..dc0ff7b --- /dev/null +++ b/EEex-v2.6.6.0/source/EEex-v2.6.6.0/engine_function_names.cpp @@ -0,0 +1,101 @@ + +#include +#include + +#include "engine_function_names.hpp" +#include "infinity_loader_common_api.h" + +/////////////// +// Constants // +/////////////// + +std::string EMPTY_STRING { "" }; + +///////////// +// Globals // +///////////// + +std::vector> addressToName{}; + +/////////////// +// Functions // +/////////////// + +const std::string& GetContainingFunctionName(uintptr_t address) +{ + const size_t size = addressToName.size(); + const size_t lastValidIndex = size - 1; + + size_t l = 0; + size_t r = size; + + while (l < r) + { + const size_t mid = (l + r) / 2; + const std::pair& pair = addressToName.at(mid); + + if (address >= pair.first) + { + if (pair.first == address || mid == lastValidIndex || address < addressToName.at(mid + 1).first) + { + return pair.second; + } + + l = mid + 1; + } + else + { + r = mid; + } + } + + return EMPTY_STRING; +} + +const std::string& GetFunctionName(uintptr_t address) +{ + size_t l = 0; + size_t r = addressToName.size(); + + while (l < r) + { + const size_t mid = (l + r) / 2; + const std::pair& pair = addressToName.at(mid); + + if (address < pair.first) + { + r = mid; + } + else if (pair.first == address) + { + return pair.second; + } + else + { + l = mid + 1; + } + } + + return EMPTY_STRING; +} + +void LoadFunctionNames() +{ + std::ifstream inputFile { "function_names.db" }; + + if (!inputFile) + { + FPrint("[!][EEex.dll] LoadFunctionNames() - Error opening function_names.db\n"); + return; + } + + for (std::string line; std::getline(inputFile, line); ) + { + const size_t spaceI = line.find('\t'); + const uintptr_t address = std::stoull(line.substr(0, spaceI), nullptr, 16); + addressToName.emplace_back(address, line.substr(spaceI + 1)); + } + + inputFile.close(); + return; +} diff --git a/EEex-v2.6.6.0/source/EEex-v2.6.6.0/main.cpp b/EEex-v2.6.6.0/source/EEex-v2.6.6.0/main.cpp index 527751d..a0cb76e 100644 --- a/EEex-v2.6.6.0/source/EEex-v2.6.6.0/main.cpp +++ b/EEex-v2.6.6.0/source/EEex-v2.6.6.0/main.cpp @@ -2,6 +2,7 @@ #include "Baldur-v2.6.6.0_generated.h" #include "EEex.h" #include "EEexLua_generated.h" +#include "profiler.hpp" static void exportPattern(const String& name, void* value) { @@ -49,8 +50,8 @@ static void exportPatterns() { exportPattern(TEXT("CGameText::Override_Render"), getMemberPtr(&CGameText::Override_Render)); exportPattern(TEXT("CInfinity::Override_AdjustViewPosition"), getMemberPtr(&CInfinity::Override_AdjustViewPosition)); exportPattern(TEXT("CInfinity::Override_FitViewPosition"), getMemberPtr(&CInfinity::Override_FitViewPosition)); - exportPattern(TEXT("CInfinity::Override_SetScrollDest"), getMemberPtr(&CInfinity::Override_SetScrollDest)); exportPattern(TEXT("CInfinity::Override_Scroll"), getMemberPtr(&CInfinity::Override_Scroll)); + exportPattern(TEXT("CInfinity::Override_SetScrollDest"), getMemberPtr(&CInfinity::Override_SetScrollDest)); exportPattern(TEXT("CMessageSetLastObject::Override_Run"), getMemberPtr(&CMessageSetLastObject::Override_Run)); exportPattern(TEXT("CScreenMap::Override_CenterViewPort"), getMemberPtr(&CScreenMap::Override_CenterViewPort)); exportPattern(TEXT("CScreenMap::Override_OnLButtonDblClk"), getMemberPtr(&CScreenMap::Override_OnLButtonDblClk)); @@ -73,6 +74,7 @@ static void exportPatterns() { exportPattern(TEXT("EEex::Override_Infinity_TransitionMenu"), EEex::Override_Infinity_TransitionMenu); exportPattern(TEXT("EEex::Override_Infinity_WriteINILine"), EEex::Override_Infinity_WriteINILine); exportPattern(TEXT("EEex::Override_uiDoFile"), EEex::Override_uiDoFile); + exportPattern(TEXT("EEex::Override_uiDrawMenuStack"), EEex::Override_uiDrawMenuStack); exportPattern(TEXT("EEex::Override_uiEventMenuStack"), EEex::Override_uiEventMenuStack); ///////////////////////////// @@ -113,6 +115,8 @@ static void exportPatterns() { exportPattern(TEXT("EEex::Opcode_Hook_Op280_ShouldSuppressWildSurgeVisuals"), EEex::Opcode_Hook_Op280_ShouldSuppressWildSurgeVisuals); // op319 exportPattern(TEXT("EEex::Opcode_Hook_Op319_IsInverted"), EEex::Opcode_Hook_Op319_IsInverted); + // op342 + exportPattern(TEXT("EEex::Opcode_Hook_Op342_OnUnhandledParam2"), EEex::Opcode_Hook_Op342_OnUnhandledParam2); // New op400 exportPattern(TEXT("EEex::Opcode_Hook_SetTemporaryAIScript_ApplyEffect"), EEex::Opcode_Hook_SetTemporaryAIScript_ApplyEffect); exportPattern(TEXT("EEex::Opcode_Hook_SetTemporaryAIScript_OnRemove"), EEex::Opcode_Hook_SetTemporaryAIScript_OnRemove); @@ -142,6 +146,7 @@ static void exportPatterns() { exportPattern(TEXT("EEex::Sprite_Hook_OnDestruct"), EEex::Sprite_Hook_OnDestruct); exportPattern(TEXT("EEex::Sprite_Hook_OnAfterEffectListUnmarshalled"), EEex::Sprite_Hook_OnAfterEffectListUnmarshalled); exportPattern(TEXT("EEex::Sprite_Hook_OnBeforeEffectListMarshalled"), EEex::Sprite_Hook_OnBeforeEffectListMarshalled); + exportPattern(TEXT("EEex::Sprite_Hook_OnGetAttackFrameType"), EEex::Sprite_Hook_OnGetAttackFrameType); //////////// // Action // @@ -178,6 +183,7 @@ static void exportPatterns() { ///////// exportPattern(TEXT("EEex::Fix_Hook_HandleMiddleMouseDrag"), EEex::Fix_Hook_HandleMiddleMouseDrag); + exportPattern(TEXT("EEex::Fix_Hook_ImplementWSPECIALSpeedColumn"), EEex::Fix_Hook_ImplementWSPECIALSpeedColumn); exportPattern(TEXT("EEex::Fix_Hook_OnBeforeUIKillCapture"), EEex::Fix_Hook_OnBeforeUIKillCapture); exportPattern(TEXT("EEex::Fix_Hook_OnUIItemCheckRenderScrollbar"), EEex::Fix_Hook_OnUIItemCheckRenderScrollbar); exportPattern(TEXT("EEex::Fix_Hook_ShouldProcessEffectListSkipRolls"), EEex::Fix_Hook_ShouldProcessEffectListSkipRolls); @@ -221,6 +227,12 @@ static void exportPatterns() { exportPattern(TEXT("EEex::bNoUUID"), &EEex::bNoUUID); exportPattern(TEXT("EEex::bStripUUID"), &EEex::bStripUUID); exportPattern(TEXT("EEex::CGameSprite_Hit_Roll"), &EEex::CGameSprite_Hit_Roll); + + //////////////////////////////// + // Profiler // + //////////////////////////////// + + //exportPattern(TEXT("Profiler_Trace"), Profiler_Trace); } void __stdcall InitBindings(SharedState argSharedState) { diff --git a/EEex-v2.6.6.0/source/EEex-v2.6.6.0/profiler.cpp b/EEex-v2.6.6.0/source/EEex-v2.6.6.0/profiler.cpp new file mode 100644 index 0000000..3b90e97 --- /dev/null +++ b/EEex-v2.6.6.0/source/EEex-v2.6.6.0/profiler.cpp @@ -0,0 +1,445 @@ + +#include +#include +#include +#include +#include +#include + +#include + +#include "Baldur-v2.6.6.0_generated.h" +#include "engine_function_names.hpp" +#include "infinity_loader_common_api.h" +#include "profiler.hpp" +#include "time_util.hpp" + +//---------------------------// +// Structs // +//---------------------------// + +struct ReturnPtr +{ + void* sourceStackPtr; + uintptr_t function; + SavedRegisters savedRegisters; + void* returnPtr; + bool alsoPopPrevious; + TimeType startTime; +}; + +template +struct ThreadLocalContainer +{ + T value{}; + DWORD threadID = GetCurrentThreadId(); + std::vector*>* storageVector; + size_t position = static_cast(-1); + bool deadAllocatedCopy = false; + std::shared_mutex* storageLock; + + ThreadLocalContainer(std::vector*>* storageVector, std::shared_mutex* storageLock, bool add = true); + ~ThreadLocalContainer(); +}; + +template +ThreadLocalContainer::ThreadLocalContainer(std::vector*> *const theStorageVector, std::shared_mutex *const theStorageLock, const bool add) +{ + storageVector = theStorageVector; + storageLock = theStorageLock; + + if (add) + { + const std::unique_lock lk1 { *storageLock }; + position = storageVector->size(); + storageVector->push_back(this); + } +} + +template +ThreadLocalContainer::~ThreadLocalContainer() +{ + if (!deadAllocatedCopy) + { + const std::unique_lock lk1 { *storageLock }; + ThreadLocalContainer *const copy = new ThreadLocalContainer { storageVector, storageLock, false }; + copy->deadAllocatedCopy = true; + copy->value = std::move(value); + storageVector->at(position) = copy; + } +} + +struct TimerEntry +{ + TimeType milliseconds; + std::string column1; + std::string column2; + std::string column3; + std::string column4; + std::string column5; + std::string column6; +}; + +struct TimerTime +{ + TimeType microseconds = 0; + size_t callCount = 0; + std::vector debugLines{}; +}; + +struct TraceEntry +{ + TraceType traceType; + std::string traceName; + uintptr_t endFunction; + TimeType logTimeThreshold; +}; + +//---------------------------// +// Globals // +//---------------------------// + +thread_local std::vector threadSavedReturnPtrs; + +std::vector>*> funcTimesRefs; +std::shared_mutex funcTimesRefsLock; +thread_local ThreadLocalContainer> threadFuncTimes { &funcTimesRefs, &funcTimesRefsLock }; + +std::atomic traceType; +std::atomic pendingSpamTrace; +TimeType startTraceTime; + +DWORD traceStartThreadID; + +std::unordered_map traceEntries; +std::shared_mutex traceEntriesLock; +TraceEntry currentTraceEntry; +std::mutex startTracingLock; + +//-----------------------------// +// Functions // +//-----------------------------// + +void Profiler_StartTrace(const TimeType startTime, const TraceType toStartType) +{ + if (toStartType == TraceType::NORMAL) + { + traceStartThreadID = GetCurrentThreadId(); + startTraceTime = startTime; + + const std::unique_lock lk1 { funcTimesRefsLock }; + + size_t curI = 0; + for (auto itr = funcTimesRefs.begin(); itr != funcTimesRefs.end(); ) + { + auto& threadLocalContainer = *itr; + if (threadLocalContainer->deadAllocatedCopy) + { + delete threadLocalContainer; + itr = funcTimesRefs.erase(itr); + } + else + { + threadLocalContainer->value.clear(); + threadLocalContainer->position = curI++; + ++itr; + } + } + } + + traceType = toStartType; +} + +void Profiler_RegisterTrace(const char *const traceName, const uintptr_t address, const TimeType logTimeThreshold) +{ + std::unique_lock lk1 { traceEntriesLock }; + traceEntries.try_emplace(address, TraceType::NORMAL, traceName, address, logTimeThreshold); +} + +static bool sortTimerEntryByTime(const TimerEntry& a, const TimerEntry& b) +{ + return a.milliseconds > b.milliseconds; +} + +static std::string formatString(const char *const format, ...) +{ + constexpr int initialBufferSize = 256; + + va_list args; + va_start(args, format); + + int bufferSize = initialBufferSize; + std::string result; + + while (true) + { + char *const buffer = new char[bufferSize]; + const int ret = vsnprintf(buffer, bufferSize, format, args); + + if (ret <= -1) + { + // Encoding error + delete[] buffer; + result = ""; + break; + } + + if (ret < bufferSize) + { + // Formatting succeeded + result = buffer; + delete[] buffer; + break; + } + + // Increase buffer size and try again + delete[] buffer; + bufferSize = ret + 1; + } + + va_end(args); + return result; +} + +static void endTracingNormal(const TimeType endTime) +{ + const TimeType totalMicroseconds = endTime - startTraceTime; + + if (totalMicroseconds / 1000 <= currentTraceEntry.logTimeThreshold) + { + return; + } + + FPrint("[%s] - Total Time: %.02f ms\n", currentTraceEntry.traceName.c_str(), static_cast(totalMicroseconds) / 1000); + + { + const std::unique_lock lk1 { funcTimesRefsLock }; + + for (const ThreadLocalContainer> *const threadFuncTimesRef : funcTimesRefs) + { + if (threadFuncTimesRef->value.empty()) + { + continue; + } + + std::vector toSort{}; + size_t longestColumn1 = 0; + size_t longestColumn2 = 0; + size_t longestColumn3 = 0; + size_t longestColumn4 = 0; + size_t longestColumn5 = 0; + + for (const auto& x : threadFuncTimesRef->value) + { + const TimeType microseconds = x.second.microseconds; + const double percent = totalMicroseconds != 0 ? (static_cast(microseconds) * 100 / totalMicroseconds) : 0; + + if (percent >= 1) + { + TimerEntry& placed = toSort.emplace_back(); + placed.milliseconds = microseconds; + placed.column1 = formatString("%lux", x.second.callCount); + placed.column2 = formatString("%.02f%%", percent); + placed.column3 = formatString("%.02f ms", static_cast(microseconds) / 1000); + placed.column4 = formatString("%.02f ms", static_cast(microseconds) / 1000 / x.second.callCount); + placed.column5 = formatString("0x%" PRIXPTR, x.first); + placed.column6 = formatString("%s", GetFunctionName(x.first).c_str()); + + if (const size_t len = placed.column1.length(); len > longestColumn1) + { + longestColumn1 = len; + } + + if (const size_t len = placed.column2.length(); len > longestColumn2) + { + longestColumn2 = len; + } + + if (const size_t len = placed.column3.length(); len > longestColumn3) + { + longestColumn3 = len; + } + + if (const size_t len = placed.column4.length(); len > longestColumn4) + { + longestColumn4 = len; + } + + if (const size_t len = placed.column5.length(); len > longestColumn5) + { + longestColumn5 = len; + } + } + } + + std::sort(toSort.begin(), toSort.end(), sortTimerEntryByTime); + + if (!toSort.empty()) + { + if (threadFuncTimesRef->threadID == traceStartThreadID) + { + FPrint(" [Thread 0x%X] - Primary\n", threadFuncTimesRef->threadID); + } + else + { + FPrint(" [Thread 0x%X]\n", threadFuncTimesRef->threadID); + } + + for (const auto& x : toSort) + { + FPrint(" | %s | total %s | %s | %s avg | %s | %s\n", + formatString("%*s", longestColumn1, x.column1.c_str()).c_str(), + formatString("%*s", longestColumn2, x.column2.c_str()).c_str(), + formatString("%*s", longestColumn3, x.column3.c_str()).c_str(), + formatString("%*s", longestColumn4, x.column4.c_str()).c_str(), + formatString("%*s", longestColumn5, x.column5.c_str()).c_str(), + formatString("%s", x.column6.c_str()).c_str() + ); + } + } + + for (const auto& x : threadFuncTimesRef->value) + { + const TimerTime& timerTime = x.second; + + for (const std::string& debugLine : timerTime.debugLines) + { + FPrint(" %s", debugLine.c_str()); + } + } + } + } +} + +static void endTracing(const TimeType endTime) +{ + const std::unique_lock lk1 { startTracingLock }; + + if (traceType == TraceType::NORMAL) + { + endTracingNormal(endTime); + } + + traceType = TraceType::NONE; +} + +static void endFunctionTrace(const TimeType endTime, const ReturnPtr& realReturnPtr) +{ + switch (traceType) + { + case TraceType::NORMAL: + { + { + // To prevent endTracing() from locking threadFuncTimes is ONLY modified by the current thread + const std::shared_lock lk1 { funcTimesRefsLock }; + TimerTime& timerTime = threadFuncTimes.value[realReturnPtr.function]; + // std::max() so long running functions (those in another thread that started before the trace) don't appear over 100% + + const TimeType timeTaken = endTime - (std::max)(startTraceTime, realReturnPtr.startTime); + timerTime.microseconds += timeTaken; + ++timerTime.callCount; + + // TODO HACK + if (realReturnPtr.function == 0x1403D0A50) + { + const uiItem *const item = reinterpret_cast(realReturnPtr.savedRegisters.rcx); + const char *const menuName = item->menu != nullptr ? item->menu->name : "(null)"; + timerTime.debugLines.emplace_back(formatString("Took %.02f ms to draw item %s with type %d in menu %s\n", static_cast(timeTaken) / 1000, item->name, item->type, menuName)); + } + } + + if (traceStartThreadID == GetCurrentThreadId() && realReturnPtr.function == currentTraceEntry.endFunction) + { + endTracing(endTime); + } + + break; + } + case TraceType::SPAM: + { + const std::string funcName = GetFunctionName(realReturnPtr.function); + FPrint("[%p] END %s\n", GetCurrentThreadId(), funcName.c_str()); + break; + } + } +} + +extern "C" void* Profiler_GetCurReturn() // Called by Profiler_Return() in profiler_assembly.asm +{ + const TimeType endTime = getTime(); + + if (threadSavedReturnPtrs.empty()) + { + MessageBoxA(NULL, "[EEex] Assert failed", "EEex", MB_ICONERROR); + } + + ReturnPtr realReturnPtr; + do + { + realReturnPtr = threadSavedReturnPtrs.back(); + threadSavedReturnPtrs.pop_back(); + + if (traceType != TraceType::NONE) + { + endFunctionTrace(endTime, realReturnPtr); + } + } + while (realReturnPtr.alsoPopPrevious); + + return realReturnPtr.returnPtr; +} + +extern "C" void Profiler_Return(); // In profiler_assembly.asm + +void __stdcall Profiler_Trace(const uintptr_t funcAddress, const SavedRegisters *const savedRegisters, void *const stackPtr) +{ + const TimeType startTime = getTime(); + const bool alsoPopPrevious = !threadSavedReturnPtrs.empty() && threadSavedReturnPtrs.back().sourceStackPtr == stackPtr; + + ReturnPtr& placed = threadSavedReturnPtrs.emplace_back(); + placed.sourceStackPtr = stackPtr; + placed.function = funcAddress; + placed.returnPtr = (void*)*(uintptr_t*)stackPtr; + placed.alsoPopPrevious = alsoPopPrevious; + placed.startTime = startTime; + placed.savedRegisters = *savedRegisters; + + *reinterpret_cast(stackPtr) = reinterpret_cast(Profiler_Return); + + switch (traceType) + { + case TraceType::NONE: + { + { + const std::shared_lock lk1 { traceEntriesLock }; + + if (const auto itr = traceEntries.find(funcAddress); itr != traceEntries.end()) + { + const std::unique_lock lk1 { startTracingLock }; + + if (traceType == TraceType::NONE) + { + currentTraceEntry = itr->second; + Profiler_StartTrace(startTime, currentTraceEntry.traceType); + } + } + } + + const std::unique_lock lk1 { startTracingLock }; + + if (traceType == TraceType::NONE && pendingSpamTrace) + { + pendingSpamTrace = false; + Profiler_StartTrace(startTime, TraceType::SPAM); + } + + break; + } + case TraceType::SPAM: + { + const std::string funcName = GetFunctionName(funcAddress); + FPrint("[%p] START %s\n", GetCurrentThreadId(), funcName.c_str()); + break; + } + } +} diff --git a/EEex-v2.6.6.0/source/EEex-v2.6.6.0/profiler_assembly.asm b/EEex-v2.6.6.0/source/EEex-v2.6.6.0/profiler_assembly.asm new file mode 100644 index 0000000..c401f5d --- /dev/null +++ b/EEex-v2.6.6.0/source/EEex-v2.6.6.0/profiler_assembly.asm @@ -0,0 +1,39 @@ + +OPTION CASEMAP:NONE + +EXTERN Profiler_GetCurReturn:PROC + +.code + +Profiler_Return PROC + + lea rsp, qword ptr [rsp-128] + movdqu [rsp+104], xmm0 + movdqu [rsp+88], xmm1 + mov qword ptr [rsp+80], rax + mov qword ptr [rsp+72], rcx + mov qword ptr [rsp+64], rdx + mov qword ptr [rsp+56], r8 + mov qword ptr [rsp+48], r9 + mov qword ptr [rsp+40], r10 + mov qword ptr [rsp+32], r11 + + call Profiler_GetCurReturn + mov qword ptr [rsp+120], rax + + movdqu xmm0, [rsp+104] + movdqu xmm1, [rsp+88] + mov rax, qword ptr [rsp+80] + mov rcx, qword ptr [rsp+72] + mov rdx, qword ptr [rsp+64] + mov r8, qword ptr [rsp+56] + mov r9, qword ptr [rsp+48] + mov r10, qword ptr [rsp+40] + mov r11, qword ptr [rsp+32] + + lea rsp, qword ptr [rsp+128] + jmp qword ptr [rsp-8] + +Profiler_Return ENDP + +END diff --git a/EEex-v2.6.6.0/source/EEex-v2.6.6.0/time_util.cpp b/EEex-v2.6.6.0/source/EEex-v2.6.6.0/time_util.cpp index c93496b..58f7aa1 100644 --- a/EEex-v2.6.6.0/source/EEex-v2.6.6.0/time_util.cpp +++ b/EEex-v2.6.6.0/source/EEex-v2.6.6.0/time_util.cpp @@ -1,12 +1,14 @@ -#include "Windows.h" +#include + +#include "time_util.hpp" //---------------------------// // Globals // //---------------------------// -long long numTicksInMicrosecond; -long long initTime; +TimeType numTicksInMicrosecond; +TimeType initTime; //-----------------------------// // Functions // @@ -14,42 +16,42 @@ long long initTime; DWORD getHighestRefreshRate() { - DWORD highestRefreshRate = 0; + DWORD highestRefreshRate = 0; - DISPLAY_DEVICE displayDevice; - displayDevice.cb = sizeof(DISPLAY_DEVICE); + DISPLAY_DEVICE displayDevice; + displayDevice.cb = sizeof(DISPLAY_DEVICE); - DEVMODE devMode; - devMode.dmSize = sizeof(DEVMODE); - devMode.dmDriverExtra = 0; + DEVMODE devMode; + devMode.dmSize = sizeof(DEVMODE); + devMode.dmDriverExtra = 0; - for (DWORD deviceIndex = 0; EnumDisplayDevices(NULL, deviceIndex, &displayDevice, 0); ++deviceIndex) - { - if ((displayDevice.StateFlags & DISPLAY_DEVICE_ACTIVE) == 0) - { - continue; - } + for (DWORD deviceIndex = 0; EnumDisplayDevices(NULL, deviceIndex, &displayDevice, 0); ++deviceIndex) + { + if ((displayDevice.StateFlags & DISPLAY_DEVICE_ACTIVE) == 0) + { + continue; + } - if (!EnumDisplaySettings(displayDevice.DeviceName, ENUM_CURRENT_SETTINGS, &devMode)) - { - continue; - } + if (!EnumDisplaySettings(displayDevice.DeviceName, ENUM_CURRENT_SETTINGS, &devMode)) + { + continue; + } - if (devMode.dmDisplayFrequency > highestRefreshRate) - { - highestRefreshRate = devMode.dmDisplayFrequency; - } - } + if (devMode.dmDisplayFrequency > highestRefreshRate) + { + highestRefreshRate = devMode.dmDisplayFrequency; + } + } - return highestRefreshRate; + return highestRefreshRate; } -long long getInitTime() +TimeType getInitTime() { return initTime; } -long long getTime() +TimeType getTime() { LARGE_INTEGER result; QueryPerformanceCounter(&result); diff --git a/EEex-v2.6.6.0/source/EEex-v2.6.6.0/uncap_fps.cpp b/EEex-v2.6.6.0/source/EEex-v2.6.6.0/uncap_fps.cpp index 9f52e65..78a4a8e 100644 --- a/EEex-v2.6.6.0/source/EEex-v2.6.6.0/uncap_fps.cpp +++ b/EEex-v2.6.6.0/source/EEex-v2.6.6.0/uncap_fps.cpp @@ -1,8 +1,8 @@ #include -#include "EEex.h" #include "coordinate_util.hpp" +#include "EEex.h" #include "lua_util.hpp" #include "menu_util.hpp" #include "time_util.hpp" @@ -11,7 +11,7 @@ // Constants // //-----------------------------// -constexpr long long AUTO_ZOOM_TARGET_TIME = 10 * 1000000LL / 30; +constexpr TimeType AUTO_ZOOM_TARGET_TIME = 10 * 1000000LL / 30; // Empirically derived; lower values increase the smoothness of the "snap" at the // end of an exponential autoscroll at the cost of drawing out the autoscroll. @@ -62,27 +62,27 @@ class RollingAverage { struct Entry { - const long long timestamp; + const TimeType timestamp; const T value; - Entry(long long timestamp, T value) : timestamp(timestamp), value(value) {} + Entry(TimeType timestamp, T value) : timestamp(timestamp), value(value) {} }; - const long long timeWindow; + const TimeType timeWindow; T currentAverage = 0; std::deque queue{}; public: - RollingAverage(long long timeWindow); + RollingAverage(TimeType timeWindow); T get(); T getLast(); - void push(long long currentTime, T value); - void recalculate(long long currentTime); + void push(TimeType currentTime, T value); + void recalculate(TimeType currentTime); }; template -RollingAverage::RollingAverage(long long timeWindow) : timeWindow(timeWindow) {} +RollingAverage::RollingAverage(TimeType timeWindow) : timeWindow(timeWindow) {} template T RollingAverage::get() @@ -97,15 +97,15 @@ T RollingAverage::getLast() } template -void RollingAverage::push(long long currentTime, T value) +void RollingAverage::push(TimeType currentTime, T value) { queue.emplace_back(currentTime, value); } template -void RollingAverage::recalculate(long long currentTime) +void RollingAverage::recalculate(TimeType currentTime) { - const long long dropTime = currentTime - this->timeWindow; + const TimeType dropTime = currentTime - this->timeWindow; while (!queue.empty() && queue.front().timestamp < dropTime) { @@ -130,18 +130,20 @@ RollingAverage averageSyncUpdateDelta { 1000000 }; ExMenuStateOverrides beforeWorldScreenDeactivatedMenuStates{}; bool bAutoScrollFirstTick = false; bool bFullTick = false; -long long nLastAutoZoomTime = 0; -long long nLastScrollTime = 0; -long long nLastSyncUpdateTime = 0; -long long nLastTPSPrintTime = 0; -long long nNextFullSyncUpdateTick = 0; -long long nNextLightSyncUpdateTick = -1; -long long nRemainingAutoZoomTime = 0; -long long nRemainingScrollTime = 0; +bool bVSyncEnabled = true; +TimeType nLastAutoZoomTime = 0; +TimeType nLastScrollTime = 0; +TimeType nLastSyncUpdateTime = 0; +TimeType nLastTPSPrintTime = 0; +TimeType nNextFullSyncUpdateTick = 0; +TimeType nNextLightSyncUpdateTick = -1; +TimeType nRemainingAutoZoomTime = 0; +TimeType nRemainingScrollTime = 0; int nScreenShakeSavedX = 0; int nScreenShakeSavedY = 0; -long long nTransitionStartTime = 0; -long long nTransitionEndTime = 0; +TimeType nTooltipEnableTime = 0; +TimeType nTransitionStartTime = 0; +TimeType nTransitionEndTime = 0; CPoint ptMapPosExact; //-----------------------------// @@ -465,7 +467,7 @@ static void adjustViewPosition(CInfinity* pInfinity, byte nScrollState, ExAdjust // | pInfinity->m_nLastTickCount = nCurrentTick; // | - const long long nCurrentTime = getTime(); + const TimeType nCurrentTime = getTime(); const int nScrollUpdateDelta = static_cast(nCurrentTime - nLastScrollTime); const int nDeltaT = (std::max)(1, (std::min)(nScrollUpdateDelta, 500000)); nLastScrollTime = nCurrentTime; @@ -734,7 +736,7 @@ static ExpScrollResult expScrollNumSteps(int src, int dst, int minStep, int thre } } -static int expScrollScaleSpeedToTime(int src, int dst, int minStep, int threshold, int microsecondDelta, long long targetMicroseconds) +static int expScrollScaleSpeedToTime(int src, int dst, int minStep, int threshold, int microsecondDelta, TimeType targetMicroseconds) { if (std::abs(src - dst) <= threshold) { @@ -758,7 +760,7 @@ static int expScrollScaleSpeedToTime(int src, int dst, int minStep, int threshol // Lua Functions // /////////////////// -long long EEex::GetMicroseconds() +TimeType EEex::GetMicroseconds() { return getTime() - getInitTime(); } @@ -781,6 +783,8 @@ void EEex::SetVSyncEnabled(bool bEnable, bool bResetDevice) { p_SDL_GL_SetSwapInterval(bEnable); } + + bVSyncEnabled = bEnable; } void EEex::UpdateLastScrollTime() @@ -1012,7 +1016,7 @@ void EEex::UncapFPS_Hook_HandleTransitionMenuFade() // | p_uiPush(p_transition->newMenu->name); // | } // | - const long long nCurrentTime = getTime(); + const TimeType nCurrentTime = getTime(); // | if (nCurrentTime >= nTransitionEndTime) { @@ -1037,8 +1041,8 @@ void EEex::UncapFPS_Hook_HandleTransitionMenuFade() } else { - const long long nCurrentProgress = nCurrentTime - nTransitionStartTime; - const long long nTotalDistance = nTransitionEndTime - nTransitionStartTime; + const TimeType nCurrentProgress = nCurrentTime - nTransitionStartTime; + const TimeType nTotalDistance = nTransitionEndTime - nTransitionStartTime; const float fPercent = static_cast(nCurrentProgress) / nTotalDistance; if (p_transition->state == 1) @@ -1056,7 +1060,7 @@ void EEex::UncapFPS_Hook_HandleTransitionMenuFade() // Overrides // /////////////// -static void trackSyncUpdateDelta(long long nStartTime) +static void trackSyncUpdateDelta(TimeType nStartTime) { const int nSyncUpdateDelta = static_cast(nStartTime - nLastSyncUpdateTime); nLastSyncUpdateTime = nStartTime; @@ -1070,9 +1074,17 @@ static void trackSyncUpdateDelta(long long nStartTime) //} } +static int getWindowRefreshRate() +{ + CBaldurChitin *const pChitin = *p_g_pBaldurChitin; + SDL_Window *const pWindow = pChitin->cVideo.pCurrentMode->m_pWindow; + SDL_VideoDisplay *const pVideoDisplay = p_SDL_GetDisplayForWindow(pWindow); + return pVideoDisplay->current_mode.refresh_rate; +} + void CChitin::Override_Update() { - const long long nStartTime = getTime(); + const TimeType nStartTime = getTime(); ////////////////////////////////////////////////////////////////////// // Dump Lua values that were not properly cleaned up from the stack // @@ -1111,6 +1123,8 @@ void CChitin::Override_Update() } } + const bool bUsingFPSLimit = EEex::UncapFPS_FPSLimitEnabled && (!bVSyncEnabled || EEex::UncapFPS_FPSLimit < getWindowRefreshRate()); + // Patch: Run "full ticks" at 30tps like normal, and (if uncapped) run in-between "light" ticks that only render the game // | if (!EEex::UncapFPS_Enabled || nStartTime >= nNextFullSyncUpdateTick) @@ -1157,6 +1171,7 @@ void CChitin::Override_Update() this->m_displayStale = 0; this->m_bInSyncUpdate = 1; this->virtual_SynchronousUpdate(); + lua_gc(L, LUA_GCSTEP, EEex::UncapFPS_LuaGCSteps); this->m_bInSyncUpdate = 0; this->m_AIStale = 1; } @@ -1207,23 +1222,30 @@ void CChitin::Override_Update() } else { - const long long nEndTime = getTime(); - const long long nTimeTaken = nEndTime - nStartTime; + const TimeType nEndTime = getTime(); + const TimeType nTimeTaken = nEndTime - nStartTime; - const long long nTarget = 1000000 / EEex::UncapFPS_FPSLimit; + const TimeType nTarget = 1000000 / EEex::UncapFPS_FPSLimit; if (nTimeTaken > nTarget) { //FPrint("Light frame took too long: %lld > %lld\n", nTimeTaken, nTarget); } - const long long nTargetFullMicroseconds = 1000000 / *CChitin::p_TIMER_UPDATES_PER_SECOND - nTimeTaken; + const TimeType nTargetFullMicroseconds = (1000000 / *CChitin::p_TIMER_UPDATES_PER_SECOND) - nTimeTaken; nNextFullSyncUpdateTick = nEndTime + nTargetFullMicroseconds; // Check reschedule light ticks if they are disabled if (nNextLightSyncUpdateTick == -1) { - const int nEffectiveCap = EEex::UncapFPS_FPSLimit - *CChitin::p_TIMER_UPDATES_PER_SECOND; - nNextLightSyncUpdateTick = nEffectiveCap > 0 ? nEndTime + 1000000 / nEffectiveCap - nTimeTaken : -1; + if (!bUsingFPSLimit) + { + nNextLightSyncUpdateTick = 0; + } + else + { + const int nEffectiveCap = EEex::UncapFPS_FPSLimit - *CChitin::p_TIMER_UPDATES_PER_SECOND; + nNextLightSyncUpdateTick = nEffectiveCap > 0 ? nEndTime + (1000000 / nEffectiveCap) - nTimeTaken : -1; + } } } @@ -1263,32 +1285,40 @@ void CChitin::Override_Update() this->m_displayStale = 0; this->m_bInSyncUpdate = 1; this->virtual_SynchronousUpdate(); + lua_gc(L, LUA_GCSTEP, EEex::UncapFPS_LuaGCSteps); this->m_bInSyncUpdate = 0; this->m_AIStale = 1; } - const long long nEndTime = getTime(); - const long long nTimeTaken = nEndTime - nStartTime; + const TimeType nEndTime = getTime(); + const TimeType nTimeTaken = nEndTime - nStartTime; - const long long nTarget = 1000000 / EEex::UncapFPS_FPSLimit; + const TimeType nTarget = 1000000 / EEex::UncapFPS_FPSLimit; if (nTimeTaken > nTarget) { //FPrint("Light frame took too long: %lld > %lld\n", nTimeTaken, nTarget); } - const int nEffectiveCap = EEex::UncapFPS_FPSLimit - *CChitin::p_TIMER_UPDATES_PER_SECOND; - nNextLightSyncUpdateTick = nEffectiveCap > 0 ? nEndTime + 1000000 / nEffectiveCap - nTimeTaken : -1; + if (!bUsingFPSLimit) + { + nNextLightSyncUpdateTick = 0; + } + else + { + const int nEffectiveCap = EEex::UncapFPS_FPSLimit - *CChitin::p_TIMER_UPDATES_PER_SECOND; + nNextLightSyncUpdateTick = nEffectiveCap > 0 ? nEndTime + (1000000 / nEffectiveCap) - nTimeTaken : -1; + } } // Patch: If uncapped, sleep for a small amount so the main update loop doesn't hog the CPU // | - if (EEex::UncapFPS_Enabled && EEex::UncapFPS_BusyWaitThreshold != 0) + if (EEex::UncapFPS_Enabled && EEex::UncapFPS_BusyWaitThreshold != 0 && bUsingFPSLimit) { - const long long nNextTick = nNextLightSyncUpdateTick != -1 && nNextLightSyncUpdateTick < nNextFullSyncUpdateTick + const TimeType nNextTick = nNextLightSyncUpdateTick != -1 && nNextLightSyncUpdateTick < nNextFullSyncUpdateTick ? nNextLightSyncUpdateTick : nNextFullSyncUpdateTick; - const long long nDelayMilliseconds = (nNextTick - getTime()) / 1000; + const TimeType nDelayMilliseconds = (nNextTick - getTime()) / 1000; if (nDelayMilliseconds >= EEex::UncapFPS_BusyWaitThreshold) { @@ -1649,7 +1679,7 @@ void CInfinity::Override_Scroll(CPoint ptDest, short speed) // | this->m_nLastTickCount = nCurrentTick; // | - const long long nCurrentTime = getTime(); + const TimeType nCurrentTime = getTime(); const int nScrollUpdateDelta = bAutoScrollFirstTick ? averageSyncUpdateDelta.getLast() : static_cast(nCurrentTime - nLastScrollTime); const int nDeltaT = (std::max)(1, (std::min)(nScrollUpdateDelta, 500000)); bAutoScrollFirstTick = false; @@ -2320,6 +2350,91 @@ int __cdecl EEex::Override_Infinity_TransitionMenu(lua_State* L) return 0; } +void __cdecl EEex::Override_uiDrawMenuStack() +{ + CBaldurChitin *const pChitin = *p_g_pBaldurChitin; + CScreenWorld *const pWorld = pChitin->m_pEngineWorld; + + if + ( + (pChitin->pActiveEngine == pWorld && p_uiIsHidden()) + || + pWorld->m_bWaitToRender + ) + { + return; + } + + const uint nTooltipDelay = pChitin->m_pObjectGame->m_options.m_toolTips; + + // | + // Patch: Enable UI tooltips based on microsecond measurements (versus the tick-based vanilla implementation) + // | + // | if + // | ( + // | (!pChitin->m_bIsTouchUI || *p_fingerDown) + // | && + // | nTooltipDelay != 99 && static_cast(p_tooltip->count) > nTooltipDelay + // | ) + // | { + // | p_tooltip->on = true; + // | } + // | + // | ++p_tooltip->count; + // | + const TimeType nCurTime = getTime(); + // | + if (p_tooltip->count == nTooltipDelay || (GetAsyncKeyState(VK_TAB) & 0x8000) != 0) + { + // Pressing tab (to force the tooltip) sets `p_tooltip->count = nTooltipDelay`, which has been detected. + // This patch also directly checks the TAB key state, which is a bit hacky, but the vanilla implementation + // has an annoying flicker to the tooltip if the tab key is held down while the mouse is moved. The engine + // usually waits a tick to display the tooltip, but this patch immediately enables the tooltip to prevent + // flicker. + p_tooltip->count = -1; + nTooltipEnableTime = nCurTime; + } + else if (p_tooltip->count == 0) + { + // Engine has started the tooltip timer. The default implementation never immediately enables the tooltip, + // but this patch can do so for `nTooltipDelay == 0` to prevent flicker when the mouse is moved. + p_tooltip->count = -1; + nTooltipEnableTime = nCurTime + nTooltipDelay * 33333LL; + } + // | + if + ( + (!pChitin->m_bIsTouchUI || *p_fingerDown) + && + nTooltipDelay != 99 && nCurTime >= nTooltipEnableTime + ) + { + p_tooltip->on = true; + } + + const SDL_Rect rWindow { 0, 0, *CVidMode::p_SCREENWIDTH, *CVidMode::p_SCREENHEIGHT }; + + if (uiMenu *const g_backgroundMenu = *p_g_backgroundMenu; g_backgroundMenu != nullptr) + { + p_drawMenu(g_backgroundMenu, &rWindow); + } + + for (int nMenuIndex = 0; ; ++nMenuIndex) + { + uiMenu *const pMenu = getStackMenu(nMenuIndex); + if (pMenu == nullptr) break; + p_drawMenu(pMenu, &rWindow); + } + + if (uiMenu *const g_overlayMenu = *p_g_overlayMenu; g_overlayMenu != nullptr) + { + p_drawMenu(g_overlayMenu, &rWindow); + } + + p_drawTop(&rWindow); + p_uiHandleTooltip(); +} + //-----------------------------------// // Local Map Fixes // //-----------------------------------// @@ -2350,8 +2465,8 @@ void static handleAreaAutoZoom() // Patch: Keep track of auto zoom time delta // | - const long long nCurrentTime = getTime(); - const long long nDeltaT = nCurrentTime - nLastAutoZoomTime; + const TimeType nCurrentTime = getTime(); + const TimeType nDeltaT = nCurrentTime - nLastAutoZoomTime; nLastAutoZoomTime = nCurrentTime; // Patch: Calculate zoom percentage using time (instead of a static number of ticks) @@ -2420,7 +2535,7 @@ void static handleAreaAutoZoom() pArea->m_cGameAreaNotes.UpdateButtonPositions(); } -static void zoomOutToLocalMap(long long nCurrentTime, bool bOverwriteOriginal, bool bForceInstant) +static void zoomOutToLocalMap(TimeType nCurrentTime, bool bOverwriteOriginal, bool bForceInstant) { CBaldurChitin *const pChitin = *p_g_pBaldurChitin; CScreenWorld *const pScreenWorld = pChitin->m_pEngineWorld; @@ -2618,7 +2733,7 @@ void CScreenWorld::Override_ResetZoom() CInfGame *const pGame = pChitin->m_pObjectGame; CInfinity *const pInfinity = &pGame->m_gameAreas[pGame->m_visibleArea]->m_cInfinity; - const long long nCurrentTime = getTime(); + const TimeType nCurrentTime = getTime(); if (!this->m_bAutoZooming) { @@ -2657,7 +2772,7 @@ void CScreenWorld::Override_ZoomToMap(bool bOverwriteOriginal) CInfGame *const pGame = pChitin->m_pObjectGame; CInfinity *const pInfinity = &pGame->m_gameAreas[pGame->m_visibleArea]->m_cInfinity; - const long long nCurrentTime = getTime(); + const TimeType nCurrentTime = getTime(); if (!this->m_bAutoZooming) { @@ -2702,7 +2817,10 @@ void CScreenWorld::Override_ZoomToMap(bool bOverwriteOriginal) void initUncapFPS() { - const long long initTime = getInitTime(); + const TimeType initTime = getInitTime(); nLastSyncUpdateTime = initTime; nLastScrollTime = initTime; + + lua_gc(sharedState().LuaState(), LUA_GCSTOP, 0); + EEex::UncapFPS_LuaGCSteps = 50; } diff --git a/InfinityLoaderCommon/headers/common/lua_provider_api_core.h b/InfinityLoaderCommon/headers/common/lua_provider_api_core.h index 06df766..9f18be1 100644 --- a/InfinityLoaderCommon/headers/common/lua_provider_api_core.h +++ b/InfinityLoaderCommon/headers/common/lua_provider_api_core.h @@ -44,6 +44,7 @@ LUA_PROVIDER_API lua_CFunction lua_atpanic(lua_State* L, lua_CFunction panicf); LUA_PROVIDER_API void lua_callk(lua_State* L, int nargs, int nresults, int ctx, lua_CFunction k); LUA_PROVIDER_API void lua_concat(lua_State* L, int n); LUA_PROVIDER_API void lua_createtable(lua_State* L, int narr, int nrec); +LUA_PROVIDER_API int lua_gc(lua_State* L, int what, int data); LUA_PROVIDER_API void lua_getfield(lua_State* L, int idx, const char* k); LUA_PROVIDER_API void lua_getglobal(lua_State* L, const char* name); LUA_PROVIDER_API int lua_getmetatable(lua_State* L, int objindex); @@ -141,6 +142,16 @@ LUA_PROVIDER_API bool CheckLuaArgBoundsUIntPtr(lua_State* L, const int argI, siz #define LUA_TUSERDATA 7 #define LUA_TTHREAD 8 +#define LUA_GCSTOP 0 +#define LUA_GCRESTART 1 +#define LUA_GCCOLLECT 2 +#define LUA_GCCOUNT 3 +#define LUA_GCCOUNTB 4 +#define LUA_GCSTEP 5 +#define LUA_GCSETPAUSE 6 +#define LUA_GCSETSTEPMUL 7 +#define LUA_GCISRUNNING 9 + #define lua_call(L, n, r) lua_callk(L, (n), (r), 0, NULL) #define lua_isboolean(L, n) (lua_type(L, (n)) == LUA_TBOOLEAN) #define lua_isfunction(L, n) (lua_type(L, (n)) == LUA_TFUNCTION) diff --git a/LuaBindings-v2.6.6.0/headers/LuaBindings-v2.6.6.0_generated/Baldur-v2.6.6.0_generated.h b/LuaBindings-v2.6.6.0/headers/LuaBindings-v2.6.6.0_generated/Baldur-v2.6.6.0_generated.h index 4042b3a..36c60ac 100644 --- a/LuaBindings-v2.6.6.0/headers/LuaBindings-v2.6.6.0_generated/Baldur-v2.6.6.0_generated.h +++ b/LuaBindings-v2.6.6.0/headers/LuaBindings-v2.6.6.0_generated/Baldur-v2.6.6.0_generated.h @@ -188,10 +188,14 @@ struct Item_Header_st; struct Item_ability_st; struct Item_effect_st; union SDL_Event; +struct SDL_MessageBoxButtonData; +struct SDL_MessageBoxColorScheme; struct SDL_PixelFormat; struct SDL_Point; +struct SDL_PrivateGLESData; struct SDL_Rect; struct SDL_Surface; +struct SDL_VideoDevice; struct SDL_Window; struct STR_RES; struct Spell_Header_st; @@ -251,6 +255,11 @@ struct SDL_Cursor SDL_Cursor() = delete; }; +struct SDL_PrivateGLESData +{ + SDL_PrivateGLESData() = delete; +}; + struct SDL_WindowUserData { char* name; @@ -1504,6 +1513,15 @@ struct SDL_version SDL_version() = delete; }; +struct SDL_MessageBoxColor +{ + unsigned __int8 r; + unsigned __int8 g; + unsigned __int8 b; + + SDL_MessageBoxColor() = delete; +}; + struct SDL_Color { unsigned __int8 r; @@ -1958,6 +1976,31 @@ struct SDL_SysWMmsg SDL_SysWMmsg() = delete; }; +struct SDL_SysWMinfo +{ + union info_t + { + struct win_t + { + HWND__* window; + HDC__* hdc; + + win_t() = delete; + }; + + SDL_SysWMinfo::info_t::win_t win; + int dummy; + + info_t() = delete; + }; + + SDL_version version; + SDL_SYSWM_TYPE subsystem; + SDL_SysWMinfo::info_t info; + + SDL_SysWMinfo() = delete; +}; + struct SDL_SysWMEvent { unsigned int type; @@ -1967,6 +2010,15 @@ struct SDL_SysWMEvent SDL_SysWMEvent() = delete; }; +struct SDL_ShapeDriver +{ + SDL_WindowShaper* (__fastcall *CreateShaper)(SDL_Window*); + int (__fastcall *SetWindowShape)(SDL_WindowShaper*, SDL_Surface*, SDL_WindowShapeMode*); + int (__fastcall *ResizeWindowShape)(SDL_Window*); + + SDL_ShapeDriver() = delete; +}; + struct SDL_QuitEvent { unsigned int type; @@ -2044,6 +2096,28 @@ struct SDL_MouseButtonEvent SDL_MouseButtonEvent() = delete; }; +struct SDL_MessageBoxData +{ + unsigned int flags; + SDL_Window* window; + const char* title; + const char* message; + int numbuttons; + const SDL_MessageBoxButtonData* buttons; + const SDL_MessageBoxColorScheme* colorScheme; + + SDL_MessageBoxData() = delete; +}; + +struct SDL_MessageBoxButtonData +{ + unsigned int flags; + int buttonid; + const char* text; + + SDL_MessageBoxButtonData() = delete; +}; + struct SDL_Keysym { SDL_Scancode scancode; @@ -2133,6 +2207,53 @@ struct SDL_JoyAxisEvent SDL_JoyAxisEvent() = delete; }; +struct SDL_GLDriverData +{ + SDL_bool HAS_WGL_ARB_pixel_format; + SDL_bool HAS_WGL_EXT_swap_control_tear; + SDL_bool HAS_WGL_EXT_create_context_es2_profile; + SDL_bool HAS_WGL_ARB_context_flush_control; + void* (__fastcall *wglGetProcAddress)(const char*); + HGLRC__* (__fastcall *wglCreateContext)(HDC__*); + int (__fastcall *wglDeleteContext)(HGLRC__*); + int (__fastcall *wglMakeCurrent)(HDC__*, HGLRC__*); + int (__fastcall *wglShareLists)(HGLRC__*, HGLRC__*); + int (__fastcall *wglChoosePixelFormatARB)(HDC__*, const int*, const float*, unsigned int, int*, unsigned int*); + int (__fastcall *wglGetPixelFormatAttribivARB)(HDC__*, int, int, unsigned int, const int*, int*); + int (__fastcall *wglSwapIntervalEXT)(int); + int (__fastcall *wglGetSwapIntervalEXT)(); + + SDL_GLDriverData() = delete; +}; + +struct SDL_EGL_VideoData +{ + void* egl_dll_handle; + void* dll_handle; + void* egl_display; + void* egl_config; + int egl_swapinterval; + void* (__fastcall *eglGetDisplay)(HDC__*); + unsigned int (__fastcall *eglInitialize)(void*, int*, int*); + unsigned int (__fastcall *eglTerminate)(void*); + void* (__fastcall *eglGetProcAddress)(const char*); + unsigned int (__fastcall *eglChooseConfig)(void*, const int*, void**, int, int*); + void* (__fastcall *eglCreateContext)(void*, void*, void*, const int*); + unsigned int (__fastcall *eglDestroyContext)(void*, void*); + void* (__fastcall *eglCreateWindowSurface)(void*, void*, HWND__*, const int*); + unsigned int (__fastcall *eglDestroySurface)(void*, void*); + unsigned int (__fastcall *eglMakeCurrent)(void*, void*, void*, void*); + unsigned int (__fastcall *eglSwapBuffers)(void*, void*); + unsigned int (__fastcall *eglSwapInterval)(void*, int); + const char* (__fastcall *eglQueryString)(void*, int); + unsigned int (__fastcall *eglGetConfigAttrib)(void*, void*, int, int*); + unsigned int (__fastcall *eglWaitNative)(int); + unsigned int (__fastcall *eglWaitGL)(); + unsigned int (__fastcall *eglBindAPI)(unsigned int); + + SDL_EGL_VideoData() = delete; +}; + struct SDL_DropEvent { unsigned int type; @@ -2167,6 +2288,21 @@ struct SDL_DisplayMode SDL_DisplayMode() = delete; }; +struct SDL_VideoDisplay +{ + char* name; + int max_display_modes; + int num_display_modes; + SDL_DisplayMode* display_modes; + SDL_DisplayMode desktop_mode; + SDL_DisplayMode current_mode; + SDL_Window* fullscreen_window; + SDL_VideoDevice* device; + void* driverdata; + + SDL_VideoDisplay() = delete; +}; + struct SDL_ControllerDeviceEvent { unsigned int type; @@ -3686,6 +3822,19 @@ struct slicedRect } }; +struct _820A8B7015E7E0FD9144A7C186FBF075 +{ + SDL_Point pt; + bool on; + const char* text; + SDL_Rect r; + int count; + const char* lastText; + bool playedSound; + + _820A8B7015E7E0FD9144A7C186FBF075() = delete; +}; + struct _9B9540D9920A90D57A3D80DDD1A70514 { bool (__fastcall *f)(uiMenu*, const SDL_Rect*, SDL_Event*); @@ -9038,6 +9187,120 @@ struct font_t font_t() = delete; }; +struct SDL_VideoDevice +{ + struct gl_config_t + { + int red_size; + int green_size; + int blue_size; + int alpha_size; + int depth_size; + int buffer_size; + int stencil_size; + int double_buffer; + int accum_red_size; + int accum_green_size; + int accum_blue_size; + int accum_alpha_size; + int stereo; + int multisamplebuffers; + int multisamplesamples; + int accelerated; + int major_version; + int minor_version; + int flags; + int profile_mask; + int share_with_current_context; + int release_behavior; + int framebuffer_srgb_capable; + int retained_backing; + int driver_loaded; + Array driver_path; + void* dll_handle; + + gl_config_t() = delete; + }; + + const char* name; + int (__fastcall *VideoInit)(SDL_VideoDevice*); + void (__fastcall *VideoQuit)(SDL_VideoDevice*); + int (__fastcall *GetDisplayBounds)(SDL_VideoDevice*, SDL_VideoDisplay*, SDL_Rect*); + int (__fastcall *GetDisplayDPI)(SDL_VideoDevice*, SDL_VideoDisplay*, float*, float*, float*); + void (__fastcall *GetDisplayModes)(SDL_VideoDevice*, SDL_VideoDisplay*); + int (__fastcall *SetDisplayMode)(SDL_VideoDevice*, SDL_VideoDisplay*, SDL_DisplayMode*); + int (__fastcall *CreateWindowA)(SDL_VideoDevice*, SDL_Window*); + int (__fastcall *CreateWindowFrom)(SDL_VideoDevice*, SDL_Window*, const void*); + void (__fastcall *SetWindowTitle)(SDL_VideoDevice*, SDL_Window*); + void (__fastcall *SetWindowIcon)(SDL_VideoDevice*, SDL_Window*, SDL_Surface*); + void (__fastcall *SetWindowPosition)(SDL_VideoDevice*, SDL_Window*); + void (__fastcall *SetWindowSize)(SDL_VideoDevice*, SDL_Window*); + void (__fastcall *SetWindowMinimumSize)(SDL_VideoDevice*, SDL_Window*); + void (__fastcall *SetWindowMaximumSize)(SDL_VideoDevice*, SDL_Window*); + void (__fastcall *ShowWindow)(SDL_VideoDevice*, SDL_Window*); + void (__fastcall *HideWindow)(SDL_VideoDevice*, SDL_Window*); + void (__fastcall *RaiseWindow)(SDL_VideoDevice*, SDL_Window*); + void (__fastcall *MaximizeWindow)(SDL_VideoDevice*, SDL_Window*); + void (__fastcall *MinimizeWindow)(SDL_VideoDevice*, SDL_Window*); + void (__fastcall *RestoreWindow)(SDL_VideoDevice*, SDL_Window*); + void (__fastcall *SetWindowBordered)(SDL_VideoDevice*, SDL_Window*, SDL_bool); + void (__fastcall *SetWindowFullscreen)(SDL_VideoDevice*, SDL_Window*, SDL_VideoDisplay*, SDL_bool); + int (__fastcall *SetWindowGammaRamp)(SDL_VideoDevice*, SDL_Window*, const unsigned __int16*); + int (__fastcall *GetWindowGammaRamp)(SDL_VideoDevice*, SDL_Window*, wchar_t*); + void (__fastcall *SetWindowGrab)(SDL_VideoDevice*, SDL_Window*, SDL_bool); + void (__fastcall *DestroyWindow)(SDL_VideoDevice*, SDL_Window*); + int (__fastcall *CreateWindowFramebuffer)(SDL_VideoDevice*, SDL_Window*, unsigned int*, void**, int*); + int (__fastcall *UpdateWindowFramebuffer)(SDL_VideoDevice*, SDL_Window*, const SDL_Rect*, int); + void (__fastcall *DestroyWindowFramebuffer)(SDL_VideoDevice*, SDL_Window*); + void (__fastcall *OnWindowEnter)(SDL_VideoDevice*, SDL_Window*); + SDL_ShapeDriver shape_driver; + SDL_bool (__fastcall *GetWindowWMInfo)(SDL_VideoDevice*, SDL_Window*, SDL_SysWMinfo*); + int (__fastcall *GL_LoadLibrary)(SDL_VideoDevice*, const char*); + void* (__fastcall *GL_GetProcAddress)(SDL_VideoDevice*, const char*); + void (__fastcall *GL_UnloadLibrary)(SDL_VideoDevice*); + void* (__fastcall *GL_CreateContext)(SDL_VideoDevice*, SDL_Window*); + int (__fastcall *GL_MakeCurrent)(SDL_VideoDevice*, SDL_Window*, void*); + void (__fastcall *GL_GetDrawableSize)(SDL_VideoDevice*, SDL_Window*, int*, int*); + int (__fastcall *GL_SetSwapInterval)(SDL_VideoDevice*, int); + int (__fastcall *GL_GetSwapInterval)(SDL_VideoDevice*); + void (__fastcall *GL_SwapWindow)(SDL_VideoDevice*, SDL_Window*); + void (__fastcall *GL_DeleteContext)(SDL_VideoDevice*, void*); + void (__fastcall *PumpEvents)(SDL_VideoDevice*); + void (__fastcall *SuspendScreenSaver)(SDL_VideoDevice*); + void (__fastcall *StartTextInput)(SDL_VideoDevice*); + void (__fastcall *StopTextInput)(SDL_VideoDevice*); + void (__fastcall *SetTextInputRect)(SDL_VideoDevice*, SDL_Rect*); + SDL_bool (__fastcall *HasScreenKeyboardSupport)(SDL_VideoDevice*); + void (__fastcall *ShowScreenKeyboard)(SDL_VideoDevice*, SDL_Window*); + void (__fastcall *HideScreenKeyboard)(SDL_VideoDevice*, SDL_Window*); + SDL_bool (__fastcall *IsScreenKeyboardShown)(SDL_VideoDevice*, SDL_Window*); + int (__fastcall *SetClipboardText)(SDL_VideoDevice*, const char*); + char* (__fastcall *GetClipboardText)(SDL_VideoDevice*); + SDL_bool (__fastcall *HasClipboardText)(SDL_VideoDevice*); + int (__fastcall *ShowMessageBox)(SDL_VideoDevice*, const SDL_MessageBoxData*, int*); + int (__fastcall *SetWindowHitTest)(SDL_Window*, SDL_bool); + SDL_bool suspend_screensaver; + int num_displays; + SDL_VideoDisplay* displays; + SDL_Window* windows; + SDL_Window* grabbed_window; + unsigned __int8 window_magic; + unsigned int next_object_id; + char* clipboard_text; + SDL_VideoDevice::gl_config_t gl_config; + SDL_Window* current_glwin; + void* current_glctx; + unsigned int current_glwin_tls; + unsigned int current_glctx_tls; + void* driverdata; + SDL_GLDriverData* gl_data; + SDL_EGL_VideoData* egl_data; + SDL_PrivateGLESData* gles_data; + void (__fastcall *free)(SDL_VideoDevice*); + + SDL_VideoDevice() = delete; +}; + struct SDL_PixelFormat { unsigned int format; @@ -9063,6 +9326,13 @@ struct SDL_PixelFormat SDL_PixelFormat() = delete; }; +struct SDL_MessageBoxColorScheme +{ + Array colors; + + SDL_MessageBoxColorScheme() = delete; +}; + template struct LCharString { @@ -9319,6 +9589,9 @@ extern type_restoreMenuStack p_restoreMenuStack; typedef void (*type_saveMenuStack)(); extern type_saveMenuStack p_saveMenuStack; +typedef SDL_VideoDisplay* (*type_SDL_GetDisplayForWindow)(SDL_Window* window); +extern type_SDL_GetDisplayForWindow p_SDL_GetDisplayForWindow; + typedef int (*type_SDL_GetKeyFromName)(const char* name); extern type_SDL_GetKeyFromName p_SDL_GetKeyFromName; @@ -9397,6 +9670,9 @@ extern type_DrawEndScaled p_DrawEndScaled; typedef void (*type_drawLetters)(int X, int Y, int W, const SDL_Rect* rClip, const letter_t* letters, int nletters, int horizontalAlignment, font_t* font, int pointSize, int cursorPosition, int cursor, int selectionStart, int selectionEnd, int nLines, bool inlineColor, int indent, float fOffsetX, float fOffsetY); extern type_drawLetters p_drawLetters; +typedef bool (__cdecl *type_drawMenu)(uiMenu* m, const SDL_Rect* window); +extern type_drawMenu p_drawMenu; + typedef void (*type_DrawOrtho11Begin)(); extern type_DrawOrtho11Begin p_DrawOrtho11Begin; @@ -9421,6 +9697,9 @@ extern type_drawSliceSide p_drawSliceSide; typedef void (*type_DrawTexCoord)(int s, int t); extern type_DrawTexCoord p_DrawTexCoord; +typedef bool (__cdecl *type_drawTop)(const SDL_Rect* window); +extern type_drawTop p_drawTop; + typedef void (__cdecl *type_DrawTransformToScreen)(SDL_Rect* w, SDL_Rect* s); extern type_DrawTransformToScreen p_DrawTransformToScreen; @@ -9472,6 +9751,9 @@ extern type_uiDrawSlicedRect p_uiDrawSlicedRect; typedef int (*type_uiExecLuaInt)(int id); extern type_uiExecLuaInt p_uiExecLuaInt; +typedef void (__cdecl *type_uiHandleTooltip)(); +extern type_uiHandleTooltip p_uiHandleTooltip; + typedef bool (*type_uiPop)(const char* name); extern type_uiPop p_uiPop; @@ -9498,6 +9780,8 @@ extern type_YScreenToZoomed p_YScreenToZoomed; extern char** p_afxPchNil; extern _9B9540D9920A90D57A3D80DDD1A70514* p_capture; +extern bool* p_fingerDown; +extern uiMenu** p_g_backgroundMenu; extern RendererType* p_g_drawBackend; extern Array* p_g_keywords; extern lua_State** p_g_lua; @@ -9510,6 +9794,7 @@ extern Array* p_menuStack; extern int* p_nextStackMenuIdx; extern int* p_numMenus; extern CTypedPtrArray* p_resources; +extern _820A8B7015E7E0FD9144A7C186FBF075* p_tooltip; extern _A92C2F5FC159A4FE55DD6CCAABD58E72* p_transition; extern ConstArray* p_yy_action; extern ConstArray* p_yy_default; @@ -10421,7 +10706,7 @@ struct C2DArray : CResHelper typedef void (__thiscall *type_Destruct)(C2DArray* pThis); static type_Destruct p_Destruct; - typedef const CString* (__thiscall *type_GetAtCStringLabels)(C2DArray* pThis, const CString* nX, const CString* nY); + typedef const CString* (__thiscall *type_GetAtCStringLabels)(const C2DArray* pThis, const CString* nX, const CString* nY); static type_GetAtCStringLabels p_GetAtCStringLabels; typedef void (__thiscall *type_Load)(C2DArray* pThis, const CResRef* res); @@ -10437,7 +10722,7 @@ struct C2DArray : CResHelper p_Destruct(this); } - int FindColumnLabel(const char* sLabel) + int FindColumnLabel(const char* sLabel) const { EngineVal sLabelUppercase { sLabel }; sLabelUppercase->MakeUpper(); @@ -10457,7 +10742,7 @@ struct C2DArray : CResHelper return -1; } - int FindRowLabel(const char* sLabel) + int FindRowLabel(const char* sLabel) const { EngineVal sLabelUppercase { sLabel }; sLabelUppercase->MakeUpper(); @@ -10477,7 +10762,7 @@ struct C2DArray : CResHelper return -1; } - const CString* GetAt(int x, int y) + const CString* GetAt(int x, int y) const { if (x >= 0 && x < this->m_nSizeX && y >= 0 && y < this->m_nSizeY) { @@ -10486,7 +10771,7 @@ struct C2DArray : CResHelper return &this->m_default; } - const CString* GetAt(const char* nX, const char* nY) + const CString* GetAt(const char* nX, const char* nY) const { const int nColumnIndex = this->FindColumnLabel(nX); if (nColumnIndex == -1) return &this->m_default; @@ -10497,7 +10782,7 @@ struct C2DArray : CResHelper return this->GetAt(nColumnIndex, nRowIndex); } - const CString* GetAt(const CString* nX, const CString* nY) + const CString* GetAt(const CString* nX, const CString* nY) const { return p_GetAtCStringLabels(this, nX, nY); } @@ -10740,13 +11025,45 @@ struct CVidBitmap : CVidImage, CResHelper CVidBitmap() = delete; + typedef void (__thiscall *type_Construct)(CVidBitmap* pThis); + static type_Construct p_Construct; + + typedef void (__thiscall *type_Destruct)(CVidBitmap* pThis); + static type_Destruct p_Destruct; + typedef int (__thiscall *type_GetPixelColor)(CVidBitmap* pThis, tagRGBQUAD* color, int x, int y); static type_GetPixelColor p_GetPixelColor; + typedef byte (__thiscall *type_GetPixelValueOrZero)(CVidBitmap* pThis, int x, int y); + static type_GetPixelValueOrZero p_GetPixelValueOrZero; + + typedef void (__thiscall *type_SetResRef)(CVidBitmap* pThis, const CResRef* cNewResRef, int bSetAutoRequest, int bWarningIfMissing); + static type_SetResRef p_SetResRef; + + void Construct() + { + p_Construct(this); + } + + void Destruct() + { + p_Destruct(this); + } + int GetPixelColor(tagRGBQUAD* color, int x, int y) { return p_GetPixelColor(this, color, x, y); } + + byte GetPixelValue(int x, int y) + { + return p_GetPixelValueOrZero(this, x, y); + } + + void SetResRef(const CResRef* cNewResRef, int bSetAutoRequest, int bWarningIfMissing) + { + p_SetResRef(this, cNewResRef, bSetAutoRequest, bWarningIfMissing); + } }; struct CScreenAI : CBaldurEngine diff --git a/LuaBindings-v2.6.6.0/scripts/generate_bindings/in/ignore_header_types.txt b/LuaBindings-v2.6.6.0/scripts/generate_bindings/in/ignore_header_types.txt index a64bd70..363dfce 100644 --- a/LuaBindings-v2.6.6.0/scripts/generate_bindings/in/ignore_header_types.txt +++ b/LuaBindings-v2.6.6.0/scripts/generate_bindings/in/ignore_header_types.txt @@ -68,6 +68,7 @@ GCheader GCObject global_State HDC__ +HGLRC__ HMONITOR__ HWND__ ID3DXBaseEffect diff --git a/LuaBindings-v2.6.6.0/scripts/generate_bindings/in/manual_types.txt b/LuaBindings-v2.6.6.0/scripts/generate_bindings/in/manual_types.txt index e299a72..4c8d69c 100644 --- a/LuaBindings-v2.6.6.0/scripts/generate_bindings/in/manual_types.txt +++ b/LuaBindings-v2.6.6.0/scripts/generate_bindings/in/manual_types.txt @@ -841,7 +841,7 @@ struct C2DArray : CResHelper $constructor_fake Construct(); void Destruct(); - int FindColumnLabel(primitive const char* sLabel) + int FindColumnLabel(primitive const char* sLabel) const { EngineVal sLabelUppercase { sLabel }; sLabelUppercase->MakeUpper(); @@ -861,7 +861,7 @@ struct C2DArray : CResHelper return -1; } - int FindRowLabel(primitive const char* sLabel) + int FindRowLabel(primitive const char* sLabel) const { EngineVal sLabelUppercase { sLabel }; sLabelUppercase->MakeUpper(); @@ -881,7 +881,7 @@ struct C2DArray : CResHelper return -1; } - $binding_name(GetAtPoint) const CString* GetAt(int x, int y) + $binding_name(GetAtPoint) const CString* GetAt(int x, int y) const { if (x >= 0 && x < this->m_nSizeX && y >= 0 && y < this->m_nSizeY) { @@ -890,7 +890,7 @@ struct C2DArray : CResHelper return &this->m_default; } - $binding_name(GetAtLabels) const CString* GetAt(primitive const char* nX, primitive const char* nY) + $binding_name(GetAtLabels) const CString* GetAt(primitive const char* nX, primitive const char* nY) const { const int nColumnIndex = this->FindColumnLabel(nX); if (nColumnIndex == -1) return &this->m_default; @@ -901,7 +901,7 @@ struct C2DArray : CResHelper return this->GetAt(nColumnIndex, nRowIndex); } - $binding_name(GetAtCStringLabels) $pattern_name(GetAt(const CString*,const CString*)) const CString* GetAt(const CString* nX, const CString* nY); + $binding_name(GetAtCStringLabels) $pattern_name(GetAt(const CString*,const CString*)) const CString* GetAt(const CString* nX, const CString* nY) const; void Load(const CResRef* res); }; @@ -1620,7 +1620,11 @@ struct CBaldurEngine : CWarp struct CVidBitmap : CVidImage, CResHelper { + $constructor_fake Construct(); + void Destruct(); int GetPixelColor(tagRGBQUAD* color, int x, int y); + $binding_name(GetPixelValueOrZero) $pattern_name(GetPixelValue(int,int)) byte GetPixelValue(int x, int y); + void SetResRef(const CResRef* cNewResRef, int bSetAutoRequest, int bWarningIfMissing); }; struct CVidFont : CResHelper @@ -1647,6 +1651,7 @@ uiMenu* findMenu(primitive const char* name, int panel, int state); int rand(); void restoreMenuStack(); void saveMenuStack(); +SDL_VideoDisplay* SDL_GetDisplayForWindow(SDL_Window* window); int SDL_GetKeyFromName(primitive const char* name); primitive char* __cdecl SDL_GetKeyName(int key); uint SDL_GetWindowFlags(SDL_Window* window); @@ -1674,6 +1679,7 @@ $nobinding void DrawEnable(DrawFeature f); $nobinding void DrawEnd(); $nobinding void DrawEndScaled(); $nobinding void drawLetters(int X, int Y, int W, const SDL_Rect* rClip, const letter_t* letters, int nletters, int horizontalAlignment, font_t* font, int pointSize, int cursorPosition, int cursor, int selectionStart, int selectionEnd, int nLines, bool inlineColor, int indent, float fOffsetX, float fOffsetY); +$nobinding bool __cdecl drawMenu(uiMenu* m, const SDL_Rect* window); $nobinding void DrawOrtho11Begin(); $nobinding void DrawOrtho11End(); $nobinding void DrawPopState(); @@ -1682,6 +1688,7 @@ $pattern_name(DrawQuad(CRect*,CRect*)) void DrawQuad(const CRect* rDest, const C $nobinding void drawSlice(const SDL_Rect* dr, const SDL_Rect* r, const SDL_Rect* rClip, float scaleX, float scaleY, bool unused); $nobinding void drawSliceSide(const SDL_Rect* dr, const SDL_Rect* r, const SDL_Rect* rClip, float scaleX, float scaleY, bool wide); $nobinding void DrawTexCoord(int s, int t); +$nobinding bool __cdecl drawTop(const SDL_Rect* window); $nobinding void __cdecl DrawTransformToScreen(SDL_Rect* w, SDL_Rect* s); $nobinding float __cdecl DrawTransformToScreenH(float h); $nobinding void DrawVertex(int x, int y); @@ -1699,6 +1706,7 @@ $nobinding int __cdecl SDL_ShowSimpleMessageBox(uint flags, const char* title, c $nobinding void SearchThreadMain(); $nobinding void uiDrawSlicedRect(int rectNum, const SDL_Rect* bounds, int alpha, const SDL_Rect* rClip); $nobinding int uiExecLuaInt(int id); +$nobinding void __cdecl uiHandleTooltip(); $nobinding bool uiPop(const char* name); $nobinding bool uiPush(const char* name); $nobinding void uiSetHidden(bool bHidden); @@ -1714,6 +1722,8 @@ $nobinding float YScreenToZoomed(float y); char* afxPchNil; $9B9540D9920A90D57A3D80DDD1A70514 capture; +bool fingerDown; +uiMenu* g_backgroundMenu; RendererType g_drawBackend; keyword g_keywords[124]; lua_State* g_lua; @@ -1726,6 +1736,7 @@ uiMenu* menuStack[256]; int nextStackMenuIdx; int numMenus; CTypedPtrArray resources; +$820A8B7015E7E0FD9144A7C186FBF075 tooltip; $A92C2F5FC159A4FE55DD6CCAABD58E72 transition; const ushort yy_action[1765]; const ushort yy_default[329]; diff --git a/LuaBindings-v2.6.6.0/source/LuaBindings-v2.6.6.0/Generated/Baldur-v2.6.6.0_generated_internal_pointers.cpp b/LuaBindings-v2.6.6.0/source/LuaBindings-v2.6.6.0/Generated/Baldur-v2.6.6.0_generated_internal_pointers.cpp index 13e1822..64567d5 100644 --- a/LuaBindings-v2.6.6.0/source/LuaBindings-v2.6.6.0/Generated/Baldur-v2.6.6.0_generated_internal_pointers.cpp +++ b/LuaBindings-v2.6.6.0/source/LuaBindings-v2.6.6.0/Generated/Baldur-v2.6.6.0_generated_internal_pointers.cpp @@ -55,6 +55,7 @@ type_findMenu p_findMenu; type_rand p_rand; type_restoreMenuStack p_restoreMenuStack; type_saveMenuStack p_saveMenuStack; +type_SDL_GetDisplayForWindow p_SDL_GetDisplayForWindow; type_SDL_GetKeyFromName p_SDL_GetKeyFromName; type_SDL_GetKeyName p_SDL_GetKeyName; type_SDL_GetWindowFlags p_SDL_GetWindowFlags; @@ -81,6 +82,7 @@ type_DrawEnable p_DrawEnable; type_DrawEnd p_DrawEnd; type_DrawEndScaled p_DrawEndScaled; type_drawLetters p_drawLetters; +type_drawMenu p_drawMenu; type_DrawOrtho11Begin p_DrawOrtho11Begin; type_DrawOrtho11End p_DrawOrtho11End; type_DrawPopState p_DrawPopState; @@ -89,6 +91,7 @@ type_DrawQuad p_DrawQuad; type_drawSlice p_drawSlice; type_drawSliceSide p_drawSliceSide; type_DrawTexCoord p_DrawTexCoord; +type_drawTop p_drawTop; type_DrawTransformToScreen p_DrawTransformToScreen; type_DrawTransformToScreenH p_DrawTransformToScreenH; type_DrawVertex p_DrawVertex; @@ -106,6 +109,7 @@ type_SDL_ShowSimpleMessageBox p_SDL_ShowSimpleMessageBox; type_SearchThreadMain p_SearchThreadMain; type_uiDrawSlicedRect p_uiDrawSlicedRect; type_uiExecLuaInt p_uiExecLuaInt; +type_uiHandleTooltip p_uiHandleTooltip; type_uiPop p_uiPop; type_uiPush p_uiPush; type_uiSetHidden p_uiSetHidden; @@ -116,6 +120,8 @@ type_XScreenToZoomed p_XScreenToZoomed; type_YScreenToZoomed p_YScreenToZoomed; char** p_afxPchNil; _9B9540D9920A90D57A3D80DDD1A70514* p_capture; +bool* p_fingerDown; +uiMenu** p_g_backgroundMenu; RendererType* p_g_drawBackend; Array* p_g_keywords; lua_State** p_g_lua; @@ -128,6 +134,7 @@ Array* p_menuStack; int* p_nextStackMenuIdx; int* p_numMenus; CTypedPtrArray* p_resources; +_820A8B7015E7E0FD9144A7C186FBF075* p_tooltip; _A92C2F5FC159A4FE55DD6CCAABD58E72* p_transition; ConstArray* p_yy_action; ConstArray* p_yy_default; @@ -176,7 +183,11 @@ CAIScriptFile::type_ParseObjectType CAIScriptFile::p_ParseObjectType; CAIScriptFile::type_ParseResponseString CAIScriptFile::p_ParseResponseString; CSound::type_Construct CSound::p_Construct; CSound::type_Destruct CSound::p_Destruct; +CVidBitmap::type_Construct CVidBitmap::p_Construct; +CVidBitmap::type_Destruct CVidBitmap::p_Destruct; CVidBitmap::type_GetPixelColor CVidBitmap::p_GetPixelColor; +CVidBitmap::type_GetPixelValueOrZero CVidBitmap::p_GetPixelValueOrZero; +CVidBitmap::type_SetResRef CVidBitmap::p_SetResRef; CSearchBitmap::type_GetCost CSearchBitmap::p_GetCost; CSearchBitmap::type_GetLOSCost CSearchBitmap::p_GetLOSCost; CSearchBitmap::type_GetNearestOpenSquare CSearchBitmap::p_GetNearestOpenSquare; @@ -381,6 +392,7 @@ void InitBindingsInternal() { attemptFillPointer(TEXT("rand"), p_rand); attemptFillPointer(TEXT("restoreMenuStack"), p_restoreMenuStack); attemptFillPointer(TEXT("saveMenuStack"), p_saveMenuStack); + attemptFillPointer(TEXT("SDL_GetDisplayForWindow"), p_SDL_GetDisplayForWindow); attemptFillPointer(TEXT("SDL_GetKeyFromName"), p_SDL_GetKeyFromName); attemptFillPointer(TEXT("SDL_GetKeyName"), p_SDL_GetKeyName); attemptFillPointer(TEXT("SDL_GetWindowFlags"), p_SDL_GetWindowFlags); @@ -407,6 +419,7 @@ void InitBindingsInternal() { attemptFillPointer(TEXT("DrawEnd"), p_DrawEnd); attemptFillPointer(TEXT("DrawEndScaled"), p_DrawEndScaled); attemptFillPointer(TEXT("drawLetters"), p_drawLetters); + attemptFillPointer(TEXT("drawMenu"), p_drawMenu); attemptFillPointer(TEXT("DrawOrtho11Begin"), p_DrawOrtho11Begin); attemptFillPointer(TEXT("DrawOrtho11End"), p_DrawOrtho11End); attemptFillPointer(TEXT("DrawPopState"), p_DrawPopState); @@ -415,6 +428,7 @@ void InitBindingsInternal() { attemptFillPointer(TEXT("drawSlice"), p_drawSlice); attemptFillPointer(TEXT("drawSliceSide"), p_drawSliceSide); attemptFillPointer(TEXT("DrawTexCoord"), p_DrawTexCoord); + attemptFillPointer(TEXT("drawTop"), p_drawTop); attemptFillPointer(TEXT("DrawTransformToScreen"), p_DrawTransformToScreen); attemptFillPointer(TEXT("DrawTransformToScreenH"), p_DrawTransformToScreenH); attemptFillPointer(TEXT("DrawVertex"), p_DrawVertex); @@ -432,6 +446,7 @@ void InitBindingsInternal() { attemptFillPointer(TEXT("SearchThreadMain"), p_SearchThreadMain); attemptFillPointer(TEXT("uiDrawSlicedRect"), p_uiDrawSlicedRect); attemptFillPointer(TEXT("uiExecLuaInt"), p_uiExecLuaInt); + attemptFillPointer(TEXT("uiHandleTooltip"), p_uiHandleTooltip); attemptFillPointer(TEXT("uiPop"), p_uiPop); attemptFillPointer(TEXT("uiPush"), p_uiPush); attemptFillPointer(TEXT("uiSetHidden"), p_uiSetHidden); @@ -442,6 +457,8 @@ void InitBindingsInternal() { attemptFillPointer(TEXT("YScreenToZoomed"), p_YScreenToZoomed); attemptFillPointer(TEXT("afxPchNil"), p_afxPchNil); attemptFillPointer(TEXT("capture"), p_capture); + attemptFillPointer(TEXT("fingerDown"), p_fingerDown); + attemptFillPointer(TEXT("g_backgroundMenu"), p_g_backgroundMenu); attemptFillPointer(TEXT("g_drawBackend"), p_g_drawBackend); attemptFillPointer(TEXT("g_keywords"), p_g_keywords); attemptFillPointer(TEXT("g_lua"), p_g_lua); @@ -454,6 +471,7 @@ void InitBindingsInternal() { attemptFillPointer(TEXT("nextStackMenuIdx"), p_nextStackMenuIdx); attemptFillPointer(TEXT("numMenus"), p_numMenus); attemptFillPointer(TEXT("resources"), p_resources); + attemptFillPointer(TEXT("tooltip"), p_tooltip); attemptFillPointer(TEXT("transition"), p_transition); attemptFillPointer(TEXT("yy_action"), p_yy_action); attemptFillPointer(TEXT("yy_default"), p_yy_default); @@ -502,7 +520,11 @@ void InitBindingsInternal() { attemptFillPointer(TEXT("CAIScriptFile::ParseResponseString"), CAIScriptFile::p_ParseResponseString); attemptFillPointer(TEXT("CSound::Construct"), CSound::p_Construct); attemptFillPointer(TEXT("CSound::Destruct"), CSound::p_Destruct); + attemptFillPointer(TEXT("CVidBitmap::Construct"), CVidBitmap::p_Construct); + attemptFillPointer(TEXT("CVidBitmap::Destruct"), CVidBitmap::p_Destruct); attemptFillPointer(TEXT("CVidBitmap::GetPixelColor"), CVidBitmap::p_GetPixelColor); + attemptFillPointer(TEXT("CVidBitmap::GetPixelValue(int,int)"), CVidBitmap::p_GetPixelValueOrZero); + attemptFillPointer(TEXT("CVidBitmap::SetResRef"), CVidBitmap::p_SetResRef); attemptFillPointer(TEXT("CSearchBitmap::GetCost"), CSearchBitmap::p_GetCost); attemptFillPointer(TEXT("CSearchBitmap::GetLOSCost"), CSearchBitmap::p_GetLOSCost); attemptFillPointer(TEXT("CSearchBitmap::GetNearestOpenSquare"), CSearchBitmap::p_GetNearestOpenSquare); diff --git a/LuaBindings-v2.6.6.0/source/LuaBindings-v2.6.6.0/Generated/EEexLua_generated.cpp b/LuaBindings-v2.6.6.0/source/LuaBindings-v2.6.6.0/Generated/EEexLua_generated.cpp index 5bed072..efedb5a 100644 --- a/LuaBindings-v2.6.6.0/source/LuaBindings-v2.6.6.0/Generated/EEexLua_generated.cpp +++ b/LuaBindings-v2.6.6.0/source/LuaBindings-v2.6.6.0/Generated/EEexLua_generated.cpp @@ -51,171 +51,171 @@ static int tolua_get_Primitive_CGameObjectType__reference_value(lua_State* L) return 1; } -static int tolua_get_Primitive_CButtonType__value(lua_State* L) +static int tolua_get_Primitive_WindowShapeMode__value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); lua_pushinteger(L, (lua_Integer)self->value); return 1; } -static int tolua_set_Primitive_CButtonType__value(lua_State* L) +static int tolua_set_Primitive_WindowShapeMode__value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); - self->value = (CButtonType)tolua_setter_tointeger<__int32>(L, "value"); + self->value = (WindowShapeMode)tolua_setter_tointeger<__int32>(L, "value"); return 0; } -static int tolua_get_Primitive_CButtonType__reference_value(lua_State* L) +static int tolua_get_Primitive_WindowShapeMode__reference_value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); - tolua_pushusertype(L, (void*)&self->value, "Primitive"); + tolua_pushusertype(L, (void*)&self->value, "Primitive"); return 1; } -static int tolua_get_Primitive_CGameJournalEntryFlag__value(lua_State* L) +static int tolua_get_Primitive_SDL_bool__value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); lua_pushinteger(L, (lua_Integer)self->value); return 1; } -static int tolua_set_Primitive_CGameJournalEntryFlag__value(lua_State* L) +static int tolua_set_Primitive_SDL_bool__value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); - self->value = (CGameJournalEntryFlag)tolua_setter_tointeger<__int32>(L, "value"); + self->value = (SDL_bool)tolua_setter_tointeger<__int32>(L, "value"); return 0; } -static int tolua_get_Primitive_CGameJournalEntryFlag__reference_value(lua_State* L) +static int tolua_get_Primitive_SDL_bool__reference_value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); - tolua_pushusertype(L, (void*)&self->value, "Primitive"); + tolua_pushusertype(L, (void*)&self->value, "Primitive"); return 1; } -static int tolua_get_Primitive_CSpawn__ePMode__value(lua_State* L) +static int tolua_get_Primitive_SDL_HitTestResult__value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); lua_pushinteger(L, (lua_Integer)self->value); return 1; } -static int tolua_set_Primitive_CSpawn__ePMode__value(lua_State* L) +static int tolua_set_Primitive_SDL_HitTestResult__value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); - self->value = (CSpawn::ePMode)tolua_setter_tointeger<__int32>(L, "value"); + self->value = (SDL_HitTestResult)tolua_setter_tointeger<__int32>(L, "value"); return 0; } -static int tolua_get_Primitive_CSpawn__ePMode__reference_value(lua_State* L) +static int tolua_get_Primitive_SDL_HitTestResult__reference_value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); - tolua_pushusertype(L, (void*)&self->value, "Primitive"); + tolua_pushusertype(L, (void*)&self->value, "Primitive"); return 1; } -static int tolua_get_Primitive_CAOEEntry__AOEType__value(lua_State* L) +static int tolua_get_Primitive_CSpawn__ePMode__value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); lua_pushinteger(L, (lua_Integer)self->value); return 1; } -static int tolua_set_Primitive_CAOEEntry__AOEType__value(lua_State* L) +static int tolua_set_Primitive_CSpawn__ePMode__value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); - self->value = (CAOEEntry::AOEType)tolua_setter_tointeger<__int32>(L, "value"); + self->value = (CSpawn::ePMode)tolua_setter_tointeger<__int32>(L, "value"); return 0; } -static int tolua_get_Primitive_CAOEEntry__AOEType__reference_value(lua_State* L) +static int tolua_get_Primitive_CSpawn__ePMode__reference_value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); - tolua_pushusertype(L, (void*)&self->value, "Primitive"); + tolua_pushusertype(L, (void*)&self->value, "Primitive"); return 1; } -static int tolua_get_Primitive_WindowShapeMode__value(lua_State* L) +static int tolua_get_Primitive_CGameJournalEntryFlag__value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); lua_pushinteger(L, (lua_Integer)self->value); return 1; } -static int tolua_set_Primitive_WindowShapeMode__value(lua_State* L) +static int tolua_set_Primitive_CGameJournalEntryFlag__value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); - self->value = (WindowShapeMode)tolua_setter_tointeger<__int32>(L, "value"); + self->value = (CGameJournalEntryFlag)tolua_setter_tointeger<__int32>(L, "value"); return 0; } -static int tolua_get_Primitive_WindowShapeMode__reference_value(lua_State* L) +static int tolua_get_Primitive_CGameJournalEntryFlag__reference_value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); - tolua_pushusertype(L, (void*)&self->value, "Primitive"); + tolua_pushusertype(L, (void*)&self->value, "Primitive"); return 1; } -static int tolua_get_Primitive_SDL_HitTestResult__value(lua_State* L) +static int tolua_get_Primitive_CButtonType__value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); lua_pushinteger(L, (lua_Integer)self->value); return 1; } -static int tolua_set_Primitive_SDL_HitTestResult__value(lua_State* L) +static int tolua_set_Primitive_CButtonType__value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); - self->value = (SDL_HitTestResult)tolua_setter_tointeger<__int32>(L, "value"); + self->value = (CButtonType)tolua_setter_tointeger<__int32>(L, "value"); return 0; } -static int tolua_get_Primitive_SDL_HitTestResult__reference_value(lua_State* L) +static int tolua_get_Primitive_CButtonType__reference_value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); - tolua_pushusertype(L, (void*)&self->value, "Primitive"); + tolua_pushusertype(L, (void*)&self->value, "Primitive"); return 1; } -static int tolua_get_Primitive_SDL_bool__value(lua_State* L) +static int tolua_get_Primitive_CAOEEntry__AOEType__value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); lua_pushinteger(L, (lua_Integer)self->value); return 1; } -static int tolua_set_Primitive_SDL_bool__value(lua_State* L) +static int tolua_set_Primitive_CAOEEntry__AOEType__value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); - self->value = (SDL_bool)tolua_setter_tointeger<__int32>(L, "value"); + self->value = (CAOEEntry::AOEType)tolua_setter_tointeger<__int32>(L, "value"); return 0; } -static int tolua_get_Primitive_SDL_bool__reference_value(lua_State* L) +static int tolua_get_Primitive_CAOEEntry__AOEType__reference_value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); - tolua_pushusertype(L, (void*)&self->value, "Primitive"); + tolua_pushusertype(L, (void*)&self->value, "Primitive"); return 1; } @@ -267,51 +267,51 @@ static int tolua_get_Primitive_SDL_SYSWM_TYPE__reference_value(lua_State* L) return 1; } -static int tolua_get_Primitive_SDL_Scancode__value(lua_State* L) +static int tolua_get_Primitive_SDL_Keycode__value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); lua_pushinteger(L, (lua_Integer)self->value); return 1; } -static int tolua_set_Primitive_SDL_Scancode__value(lua_State* L) +static int tolua_set_Primitive_SDL_Keycode__value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); - self->value = (SDL_Scancode)tolua_setter_tointeger<__int32>(L, "value"); + self->value = (SDL_Keycode)tolua_setter_tointeger<__int32>(L, "value"); return 0; } -static int tolua_get_Primitive_SDL_Scancode__reference_value(lua_State* L) +static int tolua_get_Primitive_SDL_Keycode__reference_value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); - tolua_pushusertype(L, (void*)&self->value, "Primitive"); + tolua_pushusertype(L, (void*)&self->value, "Primitive"); return 1; } -static int tolua_get_Primitive_SDL_Keycode__value(lua_State* L) +static int tolua_get_Primitive_SDL_Scancode__value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); lua_pushinteger(L, (lua_Integer)self->value); return 1; } -static int tolua_set_Primitive_SDL_Keycode__value(lua_State* L) +static int tolua_set_Primitive_SDL_Scancode__value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); - self->value = (SDL_Keycode)tolua_setter_tointeger<__int32>(L, "value"); + self->value = (SDL_Scancode)tolua_setter_tointeger<__int32>(L, "value"); return 0; } -static int tolua_get_Primitive_SDL_Keycode__reference_value(lua_State* L) +static int tolua_get_Primitive_SDL_Scancode__reference_value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); - tolua_pushusertype(L, (void*)&self->value, "Primitive"); + tolua_pushusertype(L, (void*)&self->value, "Primitive"); return 1; } @@ -339,483 +339,507 @@ static int tolua_get_Primitive_SDL_EventType__reference_value(lua_State* L) return 1; } -static int tolua_get_Primitive_CScreenCreateCharStep__value(lua_State* L) +static int tolua_get_Primitive_uiVariantType__value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); lua_pushinteger(L, (lua_Integer)self->value); return 1; } -static int tolua_set_Primitive_CScreenCreateCharStep__value(lua_State* L) +static int tolua_set_Primitive_uiVariantType__value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); - self->value = (CScreenCreateCharStep)tolua_setter_tointeger<__int32>(L, "value"); + self->value = (uiVariantType)tolua_setter_tointeger<__int32>(L, "value"); return 0; } -static int tolua_get_Primitive_CScreenCreateCharStep__reference_value(lua_State* L) +static int tolua_get_Primitive_uiVariantType__reference_value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); - tolua_pushusertype(L, (void*)&self->value, "Primitive"); + tolua_pushusertype(L, (void*)&self->value, "Primitive"); return 1; } -static int tolua_get_Primitive_importStateType__value(lua_State* L) +static int tolua_get_Primitive__D3DFORMAT__value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive<_D3DFORMAT>* self = (Primitive<_D3DFORMAT>*)tolua_tousertype_dynamic(L, 1, 0, "Primitive<_D3DFORMAT>"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); lua_pushinteger(L, (lua_Integer)self->value); return 1; } -static int tolua_set_Primitive_importStateType__value(lua_State* L) +static int tolua_set_Primitive__D3DFORMAT__value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive<_D3DFORMAT>* self = (Primitive<_D3DFORMAT>*)tolua_tousertype_dynamic(L, 1, 0, "Primitive<_D3DFORMAT>"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); - self->value = (importStateType)tolua_setter_tointeger<__int32>(L, "value"); + self->value = (_D3DFORMAT)tolua_setter_tointeger<__int32>(L, "value"); return 0; } -static int tolua_get_Primitive_importStateType__reference_value(lua_State* L) +static int tolua_get_Primitive__D3DFORMAT__reference_value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive<_D3DFORMAT>* self = (Primitive<_D3DFORMAT>*)tolua_tousertype_dynamic(L, 1, 0, "Primitive<_D3DFORMAT>"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); - tolua_pushusertype(L, (void*)&self->value, "Primitive"); + tolua_pushusertype(L, (void*)&self->value, "Primitive<_D3DFORMAT>"); return 1; } -static int tolua_get_Primitive_CChitin__EngineMode__value(lua_State* L) +static int tolua_get_Primitive__D3DMULTISAMPLE_TYPE__value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive<_D3DMULTISAMPLE_TYPE>* self = (Primitive<_D3DMULTISAMPLE_TYPE>*)tolua_tousertype_dynamic(L, 1, 0, "Primitive<_D3DMULTISAMPLE_TYPE>"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); lua_pushinteger(L, (lua_Integer)self->value); return 1; } -static int tolua_set_Primitive_CChitin__EngineMode__value(lua_State* L) +static int tolua_set_Primitive__D3DMULTISAMPLE_TYPE__value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive<_D3DMULTISAMPLE_TYPE>* self = (Primitive<_D3DMULTISAMPLE_TYPE>*)tolua_tousertype_dynamic(L, 1, 0, "Primitive<_D3DMULTISAMPLE_TYPE>"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); - self->value = (CChitin::EngineMode)tolua_setter_tointeger<__int32>(L, "value"); + self->value = (_D3DMULTISAMPLE_TYPE)tolua_setter_tointeger<__int32>(L, "value"); return 0; } -static int tolua_get_Primitive_CChitin__EngineMode__reference_value(lua_State* L) +static int tolua_get_Primitive__D3DMULTISAMPLE_TYPE__reference_value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive<_D3DMULTISAMPLE_TYPE>* self = (Primitive<_D3DMULTISAMPLE_TYPE>*)tolua_tousertype_dynamic(L, 1, 0, "Primitive<_D3DMULTISAMPLE_TYPE>"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); - tolua_pushusertype(L, (void*)&self->value, "Primitive"); + tolua_pushusertype(L, (void*)&self->value, "Primitive<_D3DMULTISAMPLE_TYPE>"); return 1; } -static int tolua_get_Primitive_DPWrapper__PEER_STATE_t__value(lua_State* L) +static int tolua_get_Primitive__D3DSWAPEFFECT__value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive<_D3DSWAPEFFECT>* self = (Primitive<_D3DSWAPEFFECT>*)tolua_tousertype_dynamic(L, 1, 0, "Primitive<_D3DSWAPEFFECT>"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); lua_pushinteger(L, (lua_Integer)self->value); return 1; } -static int tolua_set_Primitive_DPWrapper__PEER_STATE_t__value(lua_State* L) +static int tolua_set_Primitive__D3DSWAPEFFECT__value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive<_D3DSWAPEFFECT>* self = (Primitive<_D3DSWAPEFFECT>*)tolua_tousertype_dynamic(L, 1, 0, "Primitive<_D3DSWAPEFFECT>"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); - self->value = (DPWrapper::PEER_STATE_t)tolua_setter_tointeger<__int32>(L, "value"); + self->value = (_D3DSWAPEFFECT)tolua_setter_tointeger<__int32>(L, "value"); return 0; } -static int tolua_get_Primitive_DPWrapper__PEER_STATE_t__reference_value(lua_State* L) +static int tolua_get_Primitive__D3DSWAPEFFECT__reference_value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive<_D3DSWAPEFFECT>* self = (Primitive<_D3DSWAPEFFECT>*)tolua_tousertype_dynamic(L, 1, 0, "Primitive<_D3DSWAPEFFECT>"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); - tolua_pushusertype(L, (void*)&self->value, "Primitive"); + tolua_pushusertype(L, (void*)&self->value, "Primitive<_D3DSWAPEFFECT>"); return 1; } -static int tolua_get_Primitive_DP_EventType__value(lua_State* L) +static int tolua_get_Primitive_DepthLockState__value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); lua_pushinteger(L, (lua_Integer)self->value); return 1; } -static int tolua_set_Primitive_DP_EventType__value(lua_State* L) +static int tolua_set_Primitive_DepthLockState__value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); - self->value = (DP_EventType)tolua_setter_tointeger<__int32>(L, "value"); + self->value = (DepthLockState)tolua_setter_tointeger<__int32>(L, "value"); return 0; } -static int tolua_get_Primitive_DP_EventType__reference_value(lua_State* L) +static int tolua_get_Primitive_DepthLockState__reference_value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); - tolua_pushusertype(L, (void*)&self->value, "Primitive"); + tolua_pushusertype(L, (void*)&self->value, "Primitive"); return 1; } -static int tolua_get_Primitive_DP_ProviderID__value(lua_State* L) +static int tolua_get_Primitive_DrawFilter__value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); lua_pushinteger(L, (lua_Integer)self->value); return 1; } -static int tolua_set_Primitive_DP_ProviderID__value(lua_State* L) +static int tolua_set_Primitive_DrawFilter__value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); - self->value = (DP_ProviderID)tolua_setter_tointeger<__int32>(L, "value"); + self->value = (DrawFilter)tolua_setter_tointeger<__int32>(L, "value"); return 0; } -static int tolua_get_Primitive_DP_ProviderID__reference_value(lua_State* L) +static int tolua_get_Primitive_DrawFilter__reference_value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); - tolua_pushusertype(L, (void*)&self->value, "Primitive"); + tolua_pushusertype(L, (void*)&self->value, "Primitive"); return 1; } -static int tolua_get_Primitive_EResult__value(lua_State* L) +static int tolua_get_Primitive_RendererType__value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); lua_pushinteger(L, (lua_Integer)self->value); return 1; } -static int tolua_set_Primitive_EResult__value(lua_State* L) +static int tolua_set_Primitive_RendererType__value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); - self->value = (EResult)tolua_setter_tointeger<__int32>(L, "value"); + self->value = (RendererType)tolua_setter_tointeger<__int32>(L, "value"); return 0; } -static int tolua_get_Primitive_EResult__reference_value(lua_State* L) +static int tolua_get_Primitive_RendererType__reference_value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); - tolua_pushusertype(L, (void*)&self->value, "Primitive"); + tolua_pushusertype(L, (void*)&self->value, "Primitive"); return 1; } -static int tolua_get_Primitive_EWorkshopFileType__value(lua_State* L) +static int tolua_get_Primitive_DrawFeature__value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); lua_pushinteger(L, (lua_Integer)self->value); return 1; } -static int tolua_set_Primitive_EWorkshopFileType__value(lua_State* L) +static int tolua_set_Primitive_DrawFeature__value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); - self->value = (EWorkshopFileType)tolua_setter_tointeger<__int32>(L, "value"); + self->value = (DrawFeature)tolua_setter_tointeger<__int32>(L, "value"); return 0; } -static int tolua_get_Primitive_EWorkshopFileType__reference_value(lua_State* L) +static int tolua_get_Primitive_DrawFeature__reference_value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); - tolua_pushusertype(L, (void*)&self->value, "Primitive"); + tolua_pushusertype(L, (void*)&self->value, "Primitive"); return 1; } -static int tolua_get_Primitive_EUserUGCList__value(lua_State* L) +static int tolua_get_Primitive_DrawBlend__value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); lua_pushinteger(L, (lua_Integer)self->value); return 1; } -static int tolua_set_Primitive_EUserUGCList__value(lua_State* L) +static int tolua_set_Primitive_DrawBlend__value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); - self->value = (EUserUGCList)tolua_setter_tointeger<__int32>(L, "value"); + self->value = (DrawBlend)tolua_setter_tointeger<__int32>(L, "value"); return 0; } -static int tolua_get_Primitive_EUserUGCList__reference_value(lua_State* L) +static int tolua_get_Primitive_DrawBlend__reference_value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); - tolua_pushusertype(L, (void*)&self->value, "Primitive"); + tolua_pushusertype(L, (void*)&self->value, "Primitive"); return 1; } -static int tolua_get_Primitive_EUGCQuery__value(lua_State* L) +static int tolua_get_Primitive_DrawTone__value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); lua_pushinteger(L, (lua_Integer)self->value); return 1; } -static int tolua_set_Primitive_EUGCQuery__value(lua_State* L) +static int tolua_set_Primitive_DrawTone__value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); - self->value = (EUGCQuery)tolua_setter_tointeger<__int32>(L, "value"); + self->value = (DrawTone)tolua_setter_tointeger<__int32>(L, "value"); return 0; } -static int tolua_get_Primitive_EUGCQuery__reference_value(lua_State* L) +static int tolua_get_Primitive_DrawTone__reference_value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); - tolua_pushusertype(L, (void*)&self->value, "Primitive"); + tolua_pushusertype(L, (void*)&self->value, "Primitive"); return 1; } -static int tolua_get_Primitive_EItemUpdateStatus__value(lua_State* L) +static int tolua_get_Primitive_SDL_Keymod__value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); lua_pushinteger(L, (lua_Integer)self->value); return 1; } -static int tolua_set_Primitive_EItemUpdateStatus__value(lua_State* L) +static int tolua_set_Primitive_SDL_Keymod__value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); - self->value = (EItemUpdateStatus)tolua_setter_tointeger<__int32>(L, "value"); + self->value = (SDL_Keymod)tolua_setter_tointeger<__int32>(L, "value"); return 0; } -static int tolua_get_Primitive_EItemUpdateStatus__reference_value(lua_State* L) +static int tolua_get_Primitive_SDL_Keymod__reference_value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); - tolua_pushusertype(L, (void*)&self->value, "Primitive"); + tolua_pushusertype(L, (void*)&self->value, "Primitive"); return 1; } -static int tolua_get_Primitive_ERemoteStoragePublishedFileVisibility__value(lua_State* L) +static int tolua_get_Primitive_uiItemType__value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); lua_pushinteger(L, (lua_Integer)self->value); return 1; } -static int tolua_set_Primitive_ERemoteStoragePublishedFileVisibility__value(lua_State* L) +static int tolua_set_Primitive_uiItemType__value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); - self->value = (ERemoteStoragePublishedFileVisibility)tolua_setter_tointeger<__int32>(L, "value"); + self->value = (uiItemType)tolua_setter_tointeger<__int32>(L, "value"); return 0; } -static int tolua_get_Primitive_ERemoteStoragePublishedFileVisibility__reference_value(lua_State* L) +static int tolua_get_Primitive_uiItemType__reference_value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); - tolua_pushusertype(L, (void*)&self->value, "Primitive"); + tolua_pushusertype(L, (void*)&self->value, "Primitive"); return 1; } -static int tolua_get_Primitive_EUGCMatchingUGCType__value(lua_State* L) +static int tolua_get_Primitive_DrawMode__value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); lua_pushinteger(L, (lua_Integer)self->value); return 1; } -static int tolua_set_Primitive_EUGCMatchingUGCType__value(lua_State* L) +static int tolua_set_Primitive_DrawMode__value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); - self->value = (EUGCMatchingUGCType)tolua_setter_tointeger<__int32>(L, "value"); + self->value = (DrawMode)tolua_setter_tointeger<__int32>(L, "value"); return 0; } -static int tolua_get_Primitive_EUGCMatchingUGCType__reference_value(lua_State* L) +static int tolua_get_Primitive_DrawMode__reference_value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); - tolua_pushusertype(L, (void*)&self->value, "Primitive"); + tolua_pushusertype(L, (void*)&self->value, "Primitive"); return 1; } -static int tolua_get_Primitive_EItemStatistic__value(lua_State* L) +static int tolua_get_Primitive_SDL_WindowFlags__value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); lua_pushinteger(L, (lua_Integer)self->value); return 1; } -static int tolua_set_Primitive_EItemStatistic__value(lua_State* L) +static int tolua_set_Primitive_SDL_WindowFlags__value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); - self->value = (EItemStatistic)tolua_setter_tointeger<__int32>(L, "value"); + self->value = (SDL_WindowFlags)tolua_setter_tointeger<__int32>(L, "value"); return 0; } -static int tolua_get_Primitive_EItemStatistic__reference_value(lua_State* L) +static int tolua_get_Primitive_SDL_WindowFlags__reference_value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); - tolua_pushusertype(L, (void*)&self->value, "Primitive"); + tolua_pushusertype(L, (void*)&self->value, "Primitive"); return 1; } -static int tolua_get_Primitive_EUserUGCListSortOrder__value(lua_State* L) +static int tolua_get_Primitive_CScreenCreateCharStep__value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); lua_pushinteger(L, (lua_Integer)self->value); return 1; } -static int tolua_set_Primitive_EUserUGCListSortOrder__value(lua_State* L) +static int tolua_set_Primitive_CScreenCreateCharStep__value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); - self->value = (EUserUGCListSortOrder)tolua_setter_tointeger<__int32>(L, "value"); + self->value = (CScreenCreateCharStep)tolua_setter_tointeger<__int32>(L, "value"); return 0; } -static int tolua_get_Primitive_EUserUGCListSortOrder__reference_value(lua_State* L) +static int tolua_get_Primitive_CScreenCreateCharStep__reference_value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); - tolua_pushusertype(L, (void*)&self->value, "Primitive"); + tolua_pushusertype(L, (void*)&self->value, "Primitive"); return 1; } -static int tolua_get_Primitive_EItemPreviewType__value(lua_State* L) +static int tolua_get_Primitive_importStateType__value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); lua_pushinteger(L, (lua_Integer)self->value); return 1; } -static int tolua_set_Primitive_EItemPreviewType__value(lua_State* L) +static int tolua_set_Primitive_importStateType__value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); - self->value = (EItemPreviewType)tolua_setter_tointeger<__int32>(L, "value"); + self->value = (importStateType)tolua_setter_tointeger<__int32>(L, "value"); return 0; } -static int tolua_get_Primitive_EItemPreviewType__reference_value(lua_State* L) +static int tolua_get_Primitive_importStateType__reference_value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); - tolua_pushusertype(L, (void*)&self->value, "Primitive"); + tolua_pushusertype(L, (void*)&self->value, "Primitive"); return 1; } -static int tolua_get_Primitive_ELeaderboardDataRequest__value(lua_State* L) +static int tolua_get_Primitive_CChitin__EngineMode__value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); lua_pushinteger(L, (lua_Integer)self->value); return 1; } -static int tolua_set_Primitive_ELeaderboardDataRequest__value(lua_State* L) +static int tolua_set_Primitive_CChitin__EngineMode__value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); - self->value = (ELeaderboardDataRequest)tolua_setter_tointeger<__int32>(L, "value"); + self->value = (CChitin::EngineMode)tolua_setter_tointeger<__int32>(L, "value"); return 0; } -static int tolua_get_Primitive_ELeaderboardDataRequest__reference_value(lua_State* L) +static int tolua_get_Primitive_CChitin__EngineMode__reference_value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); - tolua_pushusertype(L, (void*)&self->value, "Primitive"); + tolua_pushusertype(L, (void*)&self->value, "Primitive"); return 1; } -static int tolua_get_Primitive_ELeaderboardSortMethod__value(lua_State* L) +static int tolua_get_Primitive_DPWrapper__PEER_STATE_t__value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); lua_pushinteger(L, (lua_Integer)self->value); return 1; } -static int tolua_set_Primitive_ELeaderboardSortMethod__value(lua_State* L) +static int tolua_set_Primitive_DPWrapper__PEER_STATE_t__value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); - self->value = (ELeaderboardSortMethod)tolua_setter_tointeger<__int32>(L, "value"); + self->value = (DPWrapper::PEER_STATE_t)tolua_setter_tointeger<__int32>(L, "value"); return 0; } -static int tolua_get_Primitive_ELeaderboardSortMethod__reference_value(lua_State* L) +static int tolua_get_Primitive_DPWrapper__PEER_STATE_t__reference_value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); - tolua_pushusertype(L, (void*)&self->value, "Primitive"); + tolua_pushusertype(L, (void*)&self->value, "Primitive"); return 1; } -static int tolua_get_Primitive_ELeaderboardUploadScoreMethod__value(lua_State* L) +static int tolua_get_Primitive_DP_EventType__value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); lua_pushinteger(L, (lua_Integer)self->value); return 1; } -static int tolua_set_Primitive_ELeaderboardUploadScoreMethod__value(lua_State* L) +static int tolua_set_Primitive_DP_EventType__value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); - self->value = (ELeaderboardUploadScoreMethod)tolua_setter_tointeger<__int32>(L, "value"); + self->value = (DP_EventType)tolua_setter_tointeger<__int32>(L, "value"); return 0; } -static int tolua_get_Primitive_ELeaderboardUploadScoreMethod__reference_value(lua_State* L) +static int tolua_get_Primitive_DP_EventType__reference_value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); - tolua_pushusertype(L, (void*)&self->value, "Primitive"); + tolua_pushusertype(L, (void*)&self->value, "Primitive"); return 1; } -static int tolua_get_Primitive_ELeaderboardDisplayType__value(lua_State* L) +static int tolua_get_Primitive_DP_ProviderID__value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); lua_pushinteger(L, (lua_Integer)self->value); return 1; } -static int tolua_set_Primitive_ELeaderboardDisplayType__value(lua_State* L) +static int tolua_set_Primitive_DP_ProviderID__value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); - self->value = (ELeaderboardDisplayType)tolua_setter_tointeger<__int32>(L, "value"); + self->value = (DP_ProviderID)tolua_setter_tointeger<__int32>(L, "value"); return 0; } -static int tolua_get_Primitive_ELeaderboardDisplayType__reference_value(lua_State* L) +static int tolua_get_Primitive_DP_ProviderID__reference_value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); - tolua_pushusertype(L, (void*)&self->value, "Primitive"); + tolua_pushusertype(L, (void*)&self->value, "Primitive"); + return 1; +} + +static int tolua_get_Primitive_EWorkshopFileType__value(lua_State* L) +{ + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); + lua_pushinteger(L, (lua_Integer)self->value); + return 1; +} + +static int tolua_set_Primitive_EWorkshopFileType__value(lua_State* L) +{ + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); + self->value = (EWorkshopFileType)tolua_setter_tointeger<__int32>(L, "value"); + return 0; +} + +static int tolua_get_Primitive_EWorkshopFileType__reference_value(lua_State* L) +{ + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); + tolua_pushusertype(L, (void*)&self->value, "Primitive"); return 1; } @@ -843,6 +867,30 @@ static int tolua_get_Primitive_EWorkshopVideoProvider__reference_value(lua_State return 1; } +static int tolua_get_Primitive_ERemoteStoragePublishedFileVisibility__value(lua_State* L) +{ + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); + lua_pushinteger(L, (lua_Integer)self->value); + return 1; +} + +static int tolua_set_Primitive_ERemoteStoragePublishedFileVisibility__value(lua_State* L) +{ + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); + self->value = (ERemoteStoragePublishedFileVisibility)tolua_setter_tointeger<__int32>(L, "value"); + return 0; +} + +static int tolua_get_Primitive_ERemoteStoragePublishedFileVisibility__reference_value(lua_State* L) +{ + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); + tolua_pushusertype(L, (void*)&self->value, "Primitive"); + return 1; +} + static int tolua_get_Primitive_ERemoteStoragePlatform__value(lua_State* L) { Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); @@ -939,507 +987,507 @@ static int tolua_get_Primitive_EWorkshopEnumerationType__reference_value(lua_Sta return 1; } -static int tolua_get_Primitive_uiVariantType__value(lua_State* L) +static int tolua_get_Primitive_EResult__value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); lua_pushinteger(L, (lua_Integer)self->value); return 1; } -static int tolua_set_Primitive_uiVariantType__value(lua_State* L) +static int tolua_set_Primitive_EResult__value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); - self->value = (uiVariantType)tolua_setter_tointeger<__int32>(L, "value"); + self->value = (EResult)tolua_setter_tointeger<__int32>(L, "value"); return 0; } -static int tolua_get_Primitive_uiVariantType__reference_value(lua_State* L) +static int tolua_get_Primitive_EResult__reference_value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); - tolua_pushusertype(L, (void*)&self->value, "Primitive"); + tolua_pushusertype(L, (void*)&self->value, "Primitive"); return 1; } -static int tolua_get_Primitive_uiItemType__value(lua_State* L) +static int tolua_get_Primitive_EUserUGCList__value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); lua_pushinteger(L, (lua_Integer)self->value); return 1; } -static int tolua_set_Primitive_uiItemType__value(lua_State* L) +static int tolua_set_Primitive_EUserUGCList__value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); - self->value = (uiItemType)tolua_setter_tointeger<__int32>(L, "value"); + self->value = (EUserUGCList)tolua_setter_tointeger<__int32>(L, "value"); return 0; } -static int tolua_get_Primitive_uiItemType__reference_value(lua_State* L) +static int tolua_get_Primitive_EUserUGCList__reference_value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); - tolua_pushusertype(L, (void*)&self->value, "Primitive"); + tolua_pushusertype(L, (void*)&self->value, "Primitive"); return 1; } -static int tolua_get_Primitive_SDL_WindowFlags__value(lua_State* L) +static int tolua_get_Primitive_EUGCQuery__value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); lua_pushinteger(L, (lua_Integer)self->value); return 1; } -static int tolua_set_Primitive_SDL_WindowFlags__value(lua_State* L) +static int tolua_set_Primitive_EUGCQuery__value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); - self->value = (SDL_WindowFlags)tolua_setter_tointeger<__int32>(L, "value"); + self->value = (EUGCQuery)tolua_setter_tointeger<__int32>(L, "value"); return 0; } -static int tolua_get_Primitive_SDL_WindowFlags__reference_value(lua_State* L) +static int tolua_get_Primitive_EUGCQuery__reference_value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); - tolua_pushusertype(L, (void*)&self->value, "Primitive"); + tolua_pushusertype(L, (void*)&self->value, "Primitive"); return 1; } -static int tolua_get_Primitive_DrawFilter__value(lua_State* L) +static int tolua_get_Primitive_EUGCMatchingUGCType__value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); lua_pushinteger(L, (lua_Integer)self->value); return 1; } -static int tolua_set_Primitive_DrawFilter__value(lua_State* L) +static int tolua_set_Primitive_EUGCMatchingUGCType__value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); - self->value = (DrawFilter)tolua_setter_tointeger<__int32>(L, "value"); + self->value = (EUGCMatchingUGCType)tolua_setter_tointeger<__int32>(L, "value"); return 0; } -static int tolua_get_Primitive_DrawFilter__reference_value(lua_State* L) +static int tolua_get_Primitive_EUGCMatchingUGCType__reference_value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); - tolua_pushusertype(L, (void*)&self->value, "Primitive"); + tolua_pushusertype(L, (void*)&self->value, "Primitive"); return 1; } -static int tolua_get_Primitive_DepthLockState__value(lua_State* L) +static int tolua_get_Primitive_EItemStatistic__value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); lua_pushinteger(L, (lua_Integer)self->value); return 1; } -static int tolua_set_Primitive_DepthLockState__value(lua_State* L) +static int tolua_set_Primitive_EItemStatistic__value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); - self->value = (DepthLockState)tolua_setter_tointeger<__int32>(L, "value"); + self->value = (EItemStatistic)tolua_setter_tointeger<__int32>(L, "value"); return 0; } -static int tolua_get_Primitive_DepthLockState__reference_value(lua_State* L) +static int tolua_get_Primitive_EItemStatistic__reference_value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); - tolua_pushusertype(L, (void*)&self->value, "Primitive"); + tolua_pushusertype(L, (void*)&self->value, "Primitive"); return 1; } -static int tolua_get_Primitive__D3DFORMAT__value(lua_State* L) +static int tolua_get_Primitive_EItemUpdateStatus__value(lua_State* L) { - Primitive<_D3DFORMAT>* self = (Primitive<_D3DFORMAT>*)tolua_tousertype_dynamic(L, 1, 0, "Primitive<_D3DFORMAT>"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); lua_pushinteger(L, (lua_Integer)self->value); return 1; } -static int tolua_set_Primitive__D3DFORMAT__value(lua_State* L) +static int tolua_set_Primitive_EItemUpdateStatus__value(lua_State* L) { - Primitive<_D3DFORMAT>* self = (Primitive<_D3DFORMAT>*)tolua_tousertype_dynamic(L, 1, 0, "Primitive<_D3DFORMAT>"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); - self->value = (_D3DFORMAT)tolua_setter_tointeger<__int32>(L, "value"); + self->value = (EItemUpdateStatus)tolua_setter_tointeger<__int32>(L, "value"); return 0; } -static int tolua_get_Primitive__D3DFORMAT__reference_value(lua_State* L) +static int tolua_get_Primitive_EItemUpdateStatus__reference_value(lua_State* L) { - Primitive<_D3DFORMAT>* self = (Primitive<_D3DFORMAT>*)tolua_tousertype_dynamic(L, 1, 0, "Primitive<_D3DFORMAT>"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); - tolua_pushusertype(L, (void*)&self->value, "Primitive<_D3DFORMAT>"); + tolua_pushusertype(L, (void*)&self->value, "Primitive"); return 1; } -static int tolua_get_Primitive__D3DSWAPEFFECT__value(lua_State* L) +static int tolua_get_Primitive_EUserUGCListSortOrder__value(lua_State* L) { - Primitive<_D3DSWAPEFFECT>* self = (Primitive<_D3DSWAPEFFECT>*)tolua_tousertype_dynamic(L, 1, 0, "Primitive<_D3DSWAPEFFECT>"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); lua_pushinteger(L, (lua_Integer)self->value); return 1; } -static int tolua_set_Primitive__D3DSWAPEFFECT__value(lua_State* L) +static int tolua_set_Primitive_EUserUGCListSortOrder__value(lua_State* L) { - Primitive<_D3DSWAPEFFECT>* self = (Primitive<_D3DSWAPEFFECT>*)tolua_tousertype_dynamic(L, 1, 0, "Primitive<_D3DSWAPEFFECT>"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); - self->value = (_D3DSWAPEFFECT)tolua_setter_tointeger<__int32>(L, "value"); + self->value = (EUserUGCListSortOrder)tolua_setter_tointeger<__int32>(L, "value"); return 0; } -static int tolua_get_Primitive__D3DSWAPEFFECT__reference_value(lua_State* L) +static int tolua_get_Primitive_EUserUGCListSortOrder__reference_value(lua_State* L) { - Primitive<_D3DSWAPEFFECT>* self = (Primitive<_D3DSWAPEFFECT>*)tolua_tousertype_dynamic(L, 1, 0, "Primitive<_D3DSWAPEFFECT>"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); - tolua_pushusertype(L, (void*)&self->value, "Primitive<_D3DSWAPEFFECT>"); + tolua_pushusertype(L, (void*)&self->value, "Primitive"); return 1; } -static int tolua_get_Primitive__D3DMULTISAMPLE_TYPE__value(lua_State* L) +static int tolua_get_Primitive_EItemPreviewType__value(lua_State* L) { - Primitive<_D3DMULTISAMPLE_TYPE>* self = (Primitive<_D3DMULTISAMPLE_TYPE>*)tolua_tousertype_dynamic(L, 1, 0, "Primitive<_D3DMULTISAMPLE_TYPE>"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); lua_pushinteger(L, (lua_Integer)self->value); return 1; } -static int tolua_set_Primitive__D3DMULTISAMPLE_TYPE__value(lua_State* L) +static int tolua_set_Primitive_EItemPreviewType__value(lua_State* L) { - Primitive<_D3DMULTISAMPLE_TYPE>* self = (Primitive<_D3DMULTISAMPLE_TYPE>*)tolua_tousertype_dynamic(L, 1, 0, "Primitive<_D3DMULTISAMPLE_TYPE>"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); - self->value = (_D3DMULTISAMPLE_TYPE)tolua_setter_tointeger<__int32>(L, "value"); + self->value = (EItemPreviewType)tolua_setter_tointeger<__int32>(L, "value"); return 0; } -static int tolua_get_Primitive__D3DMULTISAMPLE_TYPE__reference_value(lua_State* L) +static int tolua_get_Primitive_EItemPreviewType__reference_value(lua_State* L) { - Primitive<_D3DMULTISAMPLE_TYPE>* self = (Primitive<_D3DMULTISAMPLE_TYPE>*)tolua_tousertype_dynamic(L, 1, 0, "Primitive<_D3DMULTISAMPLE_TYPE>"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); - tolua_pushusertype(L, (void*)&self->value, "Primitive<_D3DMULTISAMPLE_TYPE>"); + tolua_pushusertype(L, (void*)&self->value, "Primitive"); return 1; } -static int tolua_get_Primitive_RendererType__value(lua_State* L) +static int tolua_get_Primitive_ELeaderboardUploadScoreMethod__value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); lua_pushinteger(L, (lua_Integer)self->value); return 1; } -static int tolua_set_Primitive_RendererType__value(lua_State* L) +static int tolua_set_Primitive_ELeaderboardUploadScoreMethod__value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); - self->value = (RendererType)tolua_setter_tointeger<__int32>(L, "value"); + self->value = (ELeaderboardUploadScoreMethod)tolua_setter_tointeger<__int32>(L, "value"); return 0; } -static int tolua_get_Primitive_RendererType__reference_value(lua_State* L) +static int tolua_get_Primitive_ELeaderboardUploadScoreMethod__reference_value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); - tolua_pushusertype(L, (void*)&self->value, "Primitive"); + tolua_pushusertype(L, (void*)&self->value, "Primitive"); return 1; } -static int tolua_get_Primitive_DrawTone__value(lua_State* L) +static int tolua_get_Primitive_ELeaderboardSortMethod__value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); lua_pushinteger(L, (lua_Integer)self->value); return 1; } -static int tolua_set_Primitive_DrawTone__value(lua_State* L) +static int tolua_set_Primitive_ELeaderboardSortMethod__value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); - self->value = (DrawTone)tolua_setter_tointeger<__int32>(L, "value"); + self->value = (ELeaderboardSortMethod)tolua_setter_tointeger<__int32>(L, "value"); return 0; } -static int tolua_get_Primitive_DrawTone__reference_value(lua_State* L) +static int tolua_get_Primitive_ELeaderboardSortMethod__reference_value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); - tolua_pushusertype(L, (void*)&self->value, "Primitive"); + tolua_pushusertype(L, (void*)&self->value, "Primitive"); return 1; } -static int tolua_get_Primitive_DrawFeature__value(lua_State* L) +static int tolua_get_Primitive_ELeaderboardDataRequest__value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); lua_pushinteger(L, (lua_Integer)self->value); return 1; } -static int tolua_set_Primitive_DrawFeature__value(lua_State* L) +static int tolua_set_Primitive_ELeaderboardDataRequest__value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); - self->value = (DrawFeature)tolua_setter_tointeger<__int32>(L, "value"); + self->value = (ELeaderboardDataRequest)tolua_setter_tointeger<__int32>(L, "value"); return 0; } -static int tolua_get_Primitive_DrawFeature__reference_value(lua_State* L) +static int tolua_get_Primitive_ELeaderboardDataRequest__reference_value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); - tolua_pushusertype(L, (void*)&self->value, "Primitive"); + tolua_pushusertype(L, (void*)&self->value, "Primitive"); return 1; } -static int tolua_get_Primitive_DrawBlend__value(lua_State* L) +static int tolua_get_Primitive_ELeaderboardDisplayType__value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); lua_pushinteger(L, (lua_Integer)self->value); return 1; } -static int tolua_set_Primitive_DrawBlend__value(lua_State* L) +static int tolua_set_Primitive_ELeaderboardDisplayType__value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); - self->value = (DrawBlend)tolua_setter_tointeger<__int32>(L, "value"); + self->value = (ELeaderboardDisplayType)tolua_setter_tointeger<__int32>(L, "value"); return 0; } -static int tolua_get_Primitive_DrawBlend__reference_value(lua_State* L) +static int tolua_get_Primitive_ELeaderboardDisplayType__reference_value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); - tolua_pushusertype(L, (void*)&self->value, "Primitive"); + tolua_pushusertype(L, (void*)&self->value, "Primitive"); return 1; } -static int tolua_get_Primitive_SDL_Keymod__value(lua_State* L) +static int tolua_get_Primitive_int32_t__value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); lua_pushinteger(L, (lua_Integer)self->value); return 1; } -static int tolua_set_Primitive_SDL_Keymod__value(lua_State* L) +static int tolua_set_Primitive_int32_t__value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); - self->value = (SDL_Keymod)tolua_setter_tointeger<__int32>(L, "value"); + self->value = tolua_setter_tointeger(L, "value"); return 0; } -static int tolua_get_Primitive_SDL_Keymod__reference_value(lua_State* L) +static int tolua_get_Primitive_int32_t__reference_value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); - tolua_pushusertype(L, (void*)&self->value, "Primitive"); + tolua_pushusertype(L, (void*)&self->value, "Primitive"); return 1; } -static int tolua_get_Primitive_DrawMode__value(lua_State* L) +static int tolua_get_Primitive_bool__value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); - lua_pushinteger(L, (lua_Integer)self->value); + tolua_pushboolean(L, (bool)self->value); return 1; } -static int tolua_set_Primitive_DrawMode__value(lua_State* L) +static int tolua_set_Primitive_bool__value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); - self->value = (DrawMode)tolua_setter_tointeger<__int32>(L, "value"); + self->value = tolua_setter_toboolean(L, "value"); return 0; } -static int tolua_get_Primitive_DrawMode__reference_value(lua_State* L) +static int tolua_get_Primitive_bool__reference_value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); - tolua_pushusertype(L, (void*)&self->value, "Primitive"); + tolua_pushusertype(L, (void*)&self->value, "Primitive"); return 1; } -static int tolua_get_Primitive_INT__value(lua_State* L) +static int tolua_get_Primitive_DWORD__value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); lua_pushinteger(L, (lua_Integer)self->value); return 1; } -static int tolua_set_Primitive_INT__value(lua_State* L) +static int tolua_set_Primitive_DWORD__value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); - self->value = tolua_setter_tointeger(L, "value"); + self->value = tolua_setter_tointeger(L, "value"); return 0; } -static int tolua_get_Primitive_INT__reference_value(lua_State* L) +static int tolua_get_Primitive_DWORD__reference_value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); - tolua_pushusertype(L, (void*)&self->value, "Primitive"); + tolua_pushusertype(L, (void*)&self->value, "Primitive"); return 1; } -static int tolua_get_Primitive_lua_Integer__value(lua_State* L) +static int tolua_get_Primitive_size_t__value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); lua_pushinteger(L, (lua_Integer)self->value); return 1; } -static int tolua_set_Primitive_lua_Integer__value(lua_State* L) +static int tolua_set_Primitive_size_t__value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); - self->value = tolua_setter_tointeger(L, "value"); + self->value = tolua_setter_tointeger(L, "value"); return 0; } -static int tolua_get_Primitive_lua_Integer__reference_value(lua_State* L) +static int tolua_get_Primitive_size_t__reference_value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); - tolua_pushusertype(L, (void*)&self->value, "Primitive"); + tolua_pushusertype(L, (void*)&self->value, "Primitive"); return 1; } -static int tolua_get_Primitive_char__value(lua_State* L) +static int tolua_get_Primitive_LONG__value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); - lua_pushlstring(L, (const char*)self->value, 1); + lua_pushinteger(L, (lua_Integer)self->value); return 1; } -static int tolua_set_Primitive_char__value(lua_State* L) +static int tolua_set_Primitive_LONG__value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); - self->value = tolua_setter_tochar(L, "value"); + self->value = tolua_setter_tointeger(L, "value"); return 0; } -static int tolua_get_Primitive_char__reference_value(lua_State* L) +static int tolua_get_Primitive_LONG__reference_value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); - tolua_pushusertype(L, (void*)&self->value, "char"); + tolua_pushusertype(L, (void*)&self->value, "Primitive"); return 1; } -static int tolua_get_Primitive_bool__value(lua_State* L) +static int tolua_get_Primitive_ushort__value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); - tolua_pushboolean(L, (bool)self->value); + lua_pushinteger(L, (lua_Integer)self->value); return 1; } -static int tolua_set_Primitive_bool__value(lua_State* L) +static int tolua_set_Primitive_ushort__value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); - self->value = tolua_setter_toboolean(L, "value"); + self->value = tolua_setter_tointeger(L, "value"); return 0; } -static int tolua_get_Primitive_bool__reference_value(lua_State* L) +static int tolua_get_Primitive_ushort__reference_value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); - tolua_pushusertype(L, (void*)&self->value, "Primitive"); + tolua_pushusertype(L, (void*)&self->value, "Primitive"); return 1; } -static int tolua_get_Primitive_LRESULT__value(lua_State* L) +static int tolua_get_Primitive_short__value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); lua_pushinteger(L, (lua_Integer)self->value); return 1; } -static int tolua_set_Primitive_LRESULT__value(lua_State* L) +static int tolua_set_Primitive_short__value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); - self->value = tolua_setter_tointeger(L, "value"); + self->value = tolua_setter_tointeger(L, "value"); return 0; } -static int tolua_get_Primitive_LRESULT__reference_value(lua_State* L) +static int tolua_get_Primitive_short__reference_value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); - tolua_pushusertype(L, (void*)&self->value, "Primitive"); + tolua_pushusertype(L, (void*)&self->value, "Primitive"); return 1; } -static int tolua_get_Primitive___int16__value(lua_State* L) +static int tolua_get_Primitive_LRESULT__value(lua_State* L) { - Primitive<__int16>* self = (Primitive<__int16>*)tolua_tousertype_dynamic(L, 1, 0, "Primitive<__int16>"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); lua_pushinteger(L, (lua_Integer)self->value); return 1; } -static int tolua_set_Primitive___int16__value(lua_State* L) +static int tolua_set_Primitive_LRESULT__value(lua_State* L) { - Primitive<__int16>* self = (Primitive<__int16>*)tolua_tousertype_dynamic(L, 1, 0, "Primitive<__int16>"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); - self->value = tolua_setter_tointeger<__int16>(L, "value"); + self->value = tolua_setter_tointeger(L, "value"); return 0; } -static int tolua_get_Primitive___int16__reference_value(lua_State* L) +static int tolua_get_Primitive_LRESULT__reference_value(lua_State* L) { - Primitive<__int16>* self = (Primitive<__int16>*)tolua_tousertype_dynamic(L, 1, 0, "Primitive<__int16>"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); - tolua_pushusertype(L, (void*)&self->value, "Primitive<__int16>"); + tolua_pushusertype(L, (void*)&self->value, "Primitive"); return 1; } -static int tolua_get_Primitive_HRESULT__value(lua_State* L) +static int tolua_get_Primitive_UINT__value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); lua_pushinteger(L, (lua_Integer)self->value); return 1; } -static int tolua_set_Primitive_HRESULT__value(lua_State* L) +static int tolua_set_Primitive_UINT__value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); - self->value = tolua_setter_tointeger(L, "value"); + self->value = tolua_setter_tointeger(L, "value"); return 0; } -static int tolua_get_Primitive_HRESULT__reference_value(lua_State* L) +static int tolua_get_Primitive_UINT__reference_value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); - tolua_pushusertype(L, (void*)&self->value, "Primitive"); + tolua_pushusertype(L, (void*)&self->value, "Primitive"); return 1; } @@ -1467,323 +1515,267 @@ static int tolua_get_Primitive_uint32_t__reference_value(lua_State* L) return 1; } -static int tolua_get_Primitive_size_t__value(lua_State* L) +static int tolua_get_Primitive___int8__value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive<__int8>* self = (Primitive<__int8>*)tolua_tousertype_dynamic(L, 1, 0, "Primitive<__int8>"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); lua_pushinteger(L, (lua_Integer)self->value); return 1; } -static int tolua_set_Primitive_size_t__value(lua_State* L) +static int tolua_set_Primitive___int8__value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive<__int8>* self = (Primitive<__int8>*)tolua_tousertype_dynamic(L, 1, 0, "Primitive<__int8>"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); - self->value = tolua_setter_tointeger(L, "value"); + self->value = tolua_setter_tointeger<__int8>(L, "value"); return 0; } -static int tolua_get_Primitive_size_t__reference_value(lua_State* L) +static int tolua_get_Primitive___int8__reference_value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive<__int8>* self = (Primitive<__int8>*)tolua_tousertype_dynamic(L, 1, 0, "Primitive<__int8>"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); - tolua_pushusertype(L, (void*)&self->value, "Primitive"); + tolua_pushusertype(L, (void*)&self->value, "Primitive<__int8>"); return 1; } -static int tolua_get_Primitive_ushort__value(lua_State* L) +static int tolua_get_Primitive_char__value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); - lua_pushinteger(L, (lua_Integer)self->value); + lua_pushlstring(L, (const char*)self->value, 1); return 1; } -static int tolua_set_Primitive_ushort__value(lua_State* L) +static int tolua_set_Primitive_char__value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); - self->value = tolua_setter_tointeger(L, "value"); + self->value = tolua_setter_tochar(L, "value"); return 0; } -static int tolua_get_Primitive_ushort__reference_value(lua_State* L) +static int tolua_get_Primitive_char__reference_value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); - tolua_pushusertype(L, (void*)&self->value, "Primitive"); + tolua_pushusertype(L, (void*)&self->value, "char"); return 1; } -static int tolua_get_Primitive_uint16_t__value(lua_State* L) +static int tolua_get_Primitive_uint__value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); lua_pushinteger(L, (lua_Integer)self->value); return 1; } -static int tolua_set_Primitive_uint16_t__value(lua_State* L) +static int tolua_set_Primitive_uint__value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); - self->value = tolua_setter_tointeger(L, "value"); + self->value = tolua_setter_tointeger(L, "value"); return 0; } -static int tolua_get_Primitive_uint16_t__reference_value(lua_State* L) +static int tolua_get_Primitive_uint__reference_value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); - tolua_pushusertype(L, (void*)&self->value, "Primitive"); + tolua_pushusertype(L, (void*)&self->value, "Primitive"); return 1; } -static int tolua_get_Primitive_float__value(lua_State* L) +static int tolua_get_Primitive_long_double__value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); tolua_pushnumber(L, (lua_Number)self->value); return 1; } -static int tolua_set_Primitive_float__value(lua_State* L) -{ - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); - if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); - self->value = tolua_setter_tonumber(L, "value"); - return 0; -} - -static int tolua_get_Primitive_float__reference_value(lua_State* L) -{ - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); - if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); - tolua_pushusertype(L, (void*)&self->value, "Primitive"); - return 1; -} - -static int tolua_get_Primitive_char___value(lua_State* L) -{ - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); - if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); - tolua_pushusertype(L, (void*)&self->value, "ConstCharString"); - return 1; -} - -static int tolua_get_Primitive_UINT__value(lua_State* L) -{ - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); - if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); - lua_pushinteger(L, (lua_Integer)self->value); - return 1; -} - -static int tolua_set_Primitive_UINT__value(lua_State* L) -{ - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); - if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); - self->value = tolua_setter_tointeger(L, "value"); - return 0; -} - -static int tolua_get_Primitive_UINT__reference_value(lua_State* L) -{ - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); - if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); - tolua_pushusertype(L, (void*)&self->value, "Primitive"); - return 1; -} - -static int tolua_get_Primitive_ptrdiff_t__value(lua_State* L) -{ - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); - if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); - lua_pushinteger(L, (lua_Integer)self->value); - return 1; -} - -static int tolua_set_Primitive_ptrdiff_t__value(lua_State* L) +static int tolua_set_Primitive_long_double__value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); - self->value = tolua_setter_tointeger(L, "value"); + self->value = tolua_setter_tonumber(L, "value"); return 0; } -static int tolua_get_Primitive_ptrdiff_t__reference_value(lua_State* L) +static int tolua_get_Primitive_long_double__reference_value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); - tolua_pushusertype(L, (void*)&self->value, "Primitive"); + tolua_pushusertype(L, (void*)&self->value, "Primitive"); return 1; } -static int tolua_get_Primitive_uint64_t__value(lua_State* L) +static int tolua_get_Primitive_BOOL__value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); lua_pushinteger(L, (lua_Integer)self->value); return 1; } -static int tolua_set_Primitive_uint64_t__value(lua_State* L) +static int tolua_set_Primitive_BOOL__value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); - self->value = tolua_setter_tointeger(L, "value"); + self->value = tolua_setter_tointeger(L, "value"); return 0; } -static int tolua_get_Primitive_uint64_t__reference_value(lua_State* L) +static int tolua_get_Primitive_BOOL__reference_value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); - tolua_pushusertype(L, (void*)&self->value, "Primitive"); + tolua_pushusertype(L, (void*)&self->value, "Primitive"); return 1; } -static int tolua_get_Primitive___int64__value(lua_State* L) +static int tolua_get_Primitive_HRESULT__value(lua_State* L) { - Primitive<__int64>* self = (Primitive<__int64>*)tolua_tousertype_dynamic(L, 1, 0, "Primitive<__int64>"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); lua_pushinteger(L, (lua_Integer)self->value); return 1; } -static int tolua_set_Primitive___int64__value(lua_State* L) +static int tolua_set_Primitive_HRESULT__value(lua_State* L) { - Primitive<__int64>* self = (Primitive<__int64>*)tolua_tousertype_dynamic(L, 1, 0, "Primitive<__int64>"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); - self->value = tolua_setter_tointeger<__int64>(L, "value"); + self->value = tolua_setter_tointeger(L, "value"); return 0; } -static int tolua_get_Primitive___int64__reference_value(lua_State* L) +static int tolua_get_Primitive_HRESULT__reference_value(lua_State* L) { - Primitive<__int64>* self = (Primitive<__int64>*)tolua_tousertype_dynamic(L, 1, 0, "Primitive<__int64>"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); - tolua_pushusertype(L, (void*)&self->value, "Primitive<__int64>"); + tolua_pushusertype(L, (void*)&self->value, "Primitive"); return 1; } -static int tolua_get_Primitive_BOOL__value(lua_State* L) +static int tolua_get_Primitive_intptr_t__value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); lua_pushinteger(L, (lua_Integer)self->value); return 1; } -static int tolua_set_Primitive_BOOL__value(lua_State* L) +static int tolua_set_Primitive_intptr_t__value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); - self->value = tolua_setter_tointeger(L, "value"); + self->value = tolua_setter_tointeger(L, "value"); return 0; } -static int tolua_get_Primitive_BOOL__reference_value(lua_State* L) +static int tolua_get_Primitive_intptr_t__reference_value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); - tolua_pushusertype(L, (void*)&self->value, "Primitive"); + tolua_pushusertype(L, (void*)&self->value, "Primitive"); return 1; } -static int tolua_get_Primitive_LONG__value(lua_State* L) +static int tolua_get_Primitive_INT__value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); lua_pushinteger(L, (lua_Integer)self->value); return 1; } -static int tolua_set_Primitive_LONG__value(lua_State* L) +static int tolua_set_Primitive_INT__value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); - self->value = tolua_setter_tointeger(L, "value"); + self->value = tolua_setter_tointeger(L, "value"); return 0; } -static int tolua_get_Primitive_LONG__reference_value(lua_State* L) +static int tolua_get_Primitive_INT__reference_value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); - tolua_pushusertype(L, (void*)&self->value, "Primitive"); + tolua_pushusertype(L, (void*)&self->value, "Primitive"); return 1; } -static int tolua_get_Primitive_int64_t__value(lua_State* L) +static int tolua_get_Primitive_double__value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); - lua_pushinteger(L, (lua_Integer)self->value); + tolua_pushnumber(L, (lua_Number)self->value); return 1; } -static int tolua_set_Primitive_int64_t__value(lua_State* L) +static int tolua_set_Primitive_double__value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); - self->value = tolua_setter_tointeger(L, "value"); + self->value = tolua_setter_tonumber(L, "value"); return 0; } -static int tolua_get_Primitive_int64_t__reference_value(lua_State* L) +static int tolua_get_Primitive_double__reference_value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); - tolua_pushusertype(L, (void*)&self->value, "Primitive"); + tolua_pushusertype(L, (void*)&self->value, "Primitive"); return 1; } -static int tolua_get_Primitive_uint__value(lua_State* L) +static int tolua_get_Primitive_float__value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); - lua_pushinteger(L, (lua_Integer)self->value); + tolua_pushnumber(L, (lua_Number)self->value); return 1; } -static int tolua_set_Primitive_uint__value(lua_State* L) +static int tolua_set_Primitive_float__value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); - self->value = tolua_setter_tointeger(L, "value"); + self->value = tolua_setter_tonumber(L, "value"); return 0; } -static int tolua_get_Primitive_uint__reference_value(lua_State* L) +static int tolua_get_Primitive_float__reference_value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); - tolua_pushusertype(L, (void*)&self->value, "Primitive"); + tolua_pushusertype(L, (void*)&self->value, "Primitive"); return 1; } -static int tolua_get_Primitive_intptr_t__value(lua_State* L) +static int tolua_get_Primitive_int__value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); lua_pushinteger(L, (lua_Integer)self->value); return 1; } -static int tolua_set_Primitive_intptr_t__value(lua_State* L) +static int tolua_set_Primitive_int__value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); - self->value = tolua_setter_tointeger(L, "value"); + self->value = tolua_setter_tointeger(L, "value"); return 0; } -static int tolua_get_Primitive_intptr_t__reference_value(lua_State* L) +static int tolua_get_Primitive_int__reference_value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); - tolua_pushusertype(L, (void*)&self->value, "Primitive"); + tolua_pushusertype(L, (void*)&self->value, "Primitive"); return 1; } @@ -1811,27 +1803,35 @@ static int tolua_get_Primitive_uint8_t__reference_value(lua_State* L) return 1; } -static int tolua_get_Primitive_short__value(lua_State* L) +static int tolua_get_Primitive___int64__value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive<__int64>* self = (Primitive<__int64>*)tolua_tousertype_dynamic(L, 1, 0, "Primitive<__int64>"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); lua_pushinteger(L, (lua_Integer)self->value); return 1; } -static int tolua_set_Primitive_short__value(lua_State* L) +static int tolua_set_Primitive___int64__value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive<__int64>* self = (Primitive<__int64>*)tolua_tousertype_dynamic(L, 1, 0, "Primitive<__int64>"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); - self->value = tolua_setter_tointeger(L, "value"); + self->value = tolua_setter_tointeger<__int64>(L, "value"); return 0; } -static int tolua_get_Primitive_short__reference_value(lua_State* L) +static int tolua_get_Primitive___int64__reference_value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive<__int64>* self = (Primitive<__int64>*)tolua_tousertype_dynamic(L, 1, 0, "Primitive<__int64>"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); - tolua_pushusertype(L, (void*)&self->value, "Primitive"); + tolua_pushusertype(L, (void*)&self->value, "Primitive<__int64>"); + return 1; +} + +static int tolua_get_Primitive_char___value(lua_State* L) +{ + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); + tolua_pushusertype(L, (void*)&self->value, "ConstCharString"); return 1; } @@ -1859,54 +1859,6 @@ static int tolua_get_Primitive_int16_t__reference_value(lua_State* L) return 1; } -static int tolua_get_Primitive_DWORD__value(lua_State* L) -{ - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); - if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); - lua_pushinteger(L, (lua_Integer)self->value); - return 1; -} - -static int tolua_set_Primitive_DWORD__value(lua_State* L) -{ - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); - if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); - self->value = tolua_setter_tointeger(L, "value"); - return 0; -} - -static int tolua_get_Primitive_DWORD__reference_value(lua_State* L) -{ - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); - if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); - tolua_pushusertype(L, (void*)&self->value, "Primitive"); - return 1; -} - -static int tolua_get_Primitive_uintptr_t__value(lua_State* L) -{ - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); - if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); - lua_pushinteger(L, (lua_Integer)self->value); - return 1; -} - -static int tolua_set_Primitive_uintptr_t__value(lua_State* L) -{ - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); - if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); - self->value = tolua_setter_tointeger(L, "value"); - return 0; -} - -static int tolua_get_Primitive_uintptr_t__reference_value(lua_State* L) -{ - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); - if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); - tolua_pushusertype(L, (void*)&self->value, "Primitive"); - return 1; -} - static int tolua_get_Primitive_int8_t__value(lua_State* L) { Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); @@ -1931,51 +1883,51 @@ static int tolua_get_Primitive_int8_t__reference_value(lua_State* L) return 1; } -static int tolua_get_Primitive_byte__value(lua_State* L) +static int tolua_get_Primitive_int64_t__value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); lua_pushinteger(L, (lua_Integer)self->value); return 1; } -static int tolua_set_Primitive_byte__value(lua_State* L) +static int tolua_set_Primitive_int64_t__value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); - self->value = tolua_setter_tointeger(L, "value"); + self->value = tolua_setter_tointeger(L, "value"); return 0; } -static int tolua_get_Primitive_byte__reference_value(lua_State* L) +static int tolua_get_Primitive_int64_t__reference_value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); - tolua_pushusertype(L, (void*)&self->value, "Primitive"); + tolua_pushusertype(L, (void*)&self->value, "Primitive"); return 1; } -static int tolua_get_Primitive_int__value(lua_State* L) +static int tolua_get_Primitive_ptrdiff_t__value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); lua_pushinteger(L, (lua_Integer)self->value); return 1; } -static int tolua_set_Primitive_int__value(lua_State* L) +static int tolua_set_Primitive_ptrdiff_t__value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); - self->value = tolua_setter_tointeger(L, "value"); + self->value = tolua_setter_tointeger(L, "value"); return 0; } -static int tolua_get_Primitive_int__reference_value(lua_State* L) +static int tolua_get_Primitive_ptrdiff_t__reference_value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); - tolua_pushusertype(L, (void*)&self->value, "Primitive"); + tolua_pushusertype(L, (void*)&self->value, "Primitive"); return 1; } @@ -2003,75 +1955,75 @@ static int tolua_get_Primitive_long__reference_value(lua_State* L) return 1; } -static int tolua_get_Primitive_int32_t__value(lua_State* L) +static int tolua_get_Primitive_uint64_t__value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); lua_pushinteger(L, (lua_Integer)self->value); return 1; } -static int tolua_set_Primitive_int32_t__value(lua_State* L) +static int tolua_set_Primitive_uint64_t__value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); - self->value = tolua_setter_tointeger(L, "value"); + self->value = tolua_setter_tointeger(L, "value"); return 0; } -static int tolua_get_Primitive_int32_t__reference_value(lua_State* L) +static int tolua_get_Primitive_uint64_t__reference_value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); - tolua_pushusertype(L, (void*)&self->value, "Primitive"); + tolua_pushusertype(L, (void*)&self->value, "Primitive"); return 1; } -static int tolua_get_Primitive___int8__value(lua_State* L) +static int tolua_get_Primitive___int16__value(lua_State* L) { - Primitive<__int8>* self = (Primitive<__int8>*)tolua_tousertype_dynamic(L, 1, 0, "Primitive<__int8>"); + Primitive<__int16>* self = (Primitive<__int16>*)tolua_tousertype_dynamic(L, 1, 0, "Primitive<__int16>"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); lua_pushinteger(L, (lua_Integer)self->value); return 1; } -static int tolua_set_Primitive___int8__value(lua_State* L) +static int tolua_set_Primitive___int16__value(lua_State* L) { - Primitive<__int8>* self = (Primitive<__int8>*)tolua_tousertype_dynamic(L, 1, 0, "Primitive<__int8>"); + Primitive<__int16>* self = (Primitive<__int16>*)tolua_tousertype_dynamic(L, 1, 0, "Primitive<__int16>"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); - self->value = tolua_setter_tointeger<__int8>(L, "value"); + self->value = tolua_setter_tointeger<__int16>(L, "value"); return 0; } -static int tolua_get_Primitive___int8__reference_value(lua_State* L) +static int tolua_get_Primitive___int16__reference_value(lua_State* L) { - Primitive<__int8>* self = (Primitive<__int8>*)tolua_tousertype_dynamic(L, 1, 0, "Primitive<__int8>"); + Primitive<__int16>* self = (Primitive<__int16>*)tolua_tousertype_dynamic(L, 1, 0, "Primitive<__int16>"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); - tolua_pushusertype(L, (void*)&self->value, "Primitive<__int8>"); + tolua_pushusertype(L, (void*)&self->value, "Primitive<__int16>"); return 1; } -static int tolua_get_Primitive_double__value(lua_State* L) +static int tolua_get_Primitive_uintptr_t__value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); - tolua_pushnumber(L, (lua_Number)self->value); + lua_pushinteger(L, (lua_Integer)self->value); return 1; } -static int tolua_set_Primitive_double__value(lua_State* L) +static int tolua_set_Primitive_uintptr_t__value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); - self->value = tolua_setter_tonumber(L, "value"); + self->value = tolua_setter_tointeger(L, "value"); return 0; } -static int tolua_get_Primitive_double__reference_value(lua_State* L) +static int tolua_get_Primitive_uintptr_t__reference_value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); - tolua_pushusertype(L, (void*)&self->value, "Primitive"); + tolua_pushusertype(L, (void*)&self->value, "Primitive"); return 1; } @@ -2099,27 +2051,75 @@ static int tolua_get_Primitive___int32__reference_value(lua_State* L) return 1; } -static int tolua_get_Primitive_long_double__value(lua_State* L) +static int tolua_get_Primitive_byte__value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); - tolua_pushnumber(L, (lua_Number)self->value); + lua_pushinteger(L, (lua_Integer)self->value); return 1; } -static int tolua_set_Primitive_long_double__value(lua_State* L) +static int tolua_set_Primitive_byte__value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); - self->value = tolua_setter_tonumber(L, "value"); + self->value = tolua_setter_tointeger(L, "value"); return 0; } -static int tolua_get_Primitive_long_double__reference_value(lua_State* L) +static int tolua_get_Primitive_byte__reference_value(lua_State* L) { - Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); - tolua_pushusertype(L, (void*)&self->value, "Primitive"); + tolua_pushusertype(L, (void*)&self->value, "Primitive"); + return 1; +} + +static int tolua_get_Primitive_lua_Integer__value(lua_State* L) +{ + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); + lua_pushinteger(L, (lua_Integer)self->value); + return 1; +} + +static int tolua_set_Primitive_lua_Integer__value(lua_State* L) +{ + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); + self->value = tolua_setter_tointeger(L, "value"); + return 0; +} + +static int tolua_get_Primitive_lua_Integer__reference_value(lua_State* L) +{ + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); + tolua_pushusertype(L, (void*)&self->value, "Primitive"); + return 1; +} + +static int tolua_get_Primitive_uint16_t__value(lua_State* L) +{ + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); + lua_pushinteger(L, (lua_Integer)self->value); + return 1; +} + +static int tolua_set_Primitive_uint16_t__value(lua_State* L) +{ + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); + self->value = tolua_setter_tointeger(L, "value"); + return 0; +} + +static int tolua_get_Primitive_uint16_t__reference_value(lua_State* L) +{ + Primitive* self = (Primitive*)tolua_tousertype_dynamic(L, 1, 0, "Primitive"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'value'", NULL); + tolua_pushusertype(L, (void*)&self->value, "Primitive"); return 1; } @@ -3259,6 +3259,78 @@ static int tolua_get_SDL_version_reference_patch(lua_State* L) return 1; } +static int tolua_get_SDL_MessageBoxColor_r(lua_State* L) +{ + SDL_MessageBoxColor* self = (SDL_MessageBoxColor*)tolua_tousertype_dynamic(L, 1, 0, "SDL_MessageBoxColor"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'r'", NULL); + lua_pushinteger(L, (lua_Integer)self->r); + return 1; +} + +static int tolua_set_SDL_MessageBoxColor_r(lua_State* L) +{ + SDL_MessageBoxColor* self = (SDL_MessageBoxColor*)tolua_tousertype_dynamic(L, 1, 0, "SDL_MessageBoxColor"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'r'", NULL); + self->r = tolua_setter_tointeger(L, "r"); + return 0; +} + +static int tolua_get_SDL_MessageBoxColor_reference_r(lua_State* L) +{ + SDL_MessageBoxColor* self = (SDL_MessageBoxColor*)tolua_tousertype_dynamic(L, 1, 0, "SDL_MessageBoxColor"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'r'", NULL); + tolua_pushusertype(L, (void*)&self->r, "Primitive<__int8>"); + return 1; +} + +static int tolua_get_SDL_MessageBoxColor_g(lua_State* L) +{ + SDL_MessageBoxColor* self = (SDL_MessageBoxColor*)tolua_tousertype_dynamic(L, 1, 0, "SDL_MessageBoxColor"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'g'", NULL); + lua_pushinteger(L, (lua_Integer)self->g); + return 1; +} + +static int tolua_set_SDL_MessageBoxColor_g(lua_State* L) +{ + SDL_MessageBoxColor* self = (SDL_MessageBoxColor*)tolua_tousertype_dynamic(L, 1, 0, "SDL_MessageBoxColor"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'g'", NULL); + self->g = tolua_setter_tointeger(L, "g"); + return 0; +} + +static int tolua_get_SDL_MessageBoxColor_reference_g(lua_State* L) +{ + SDL_MessageBoxColor* self = (SDL_MessageBoxColor*)tolua_tousertype_dynamic(L, 1, 0, "SDL_MessageBoxColor"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'g'", NULL); + tolua_pushusertype(L, (void*)&self->g, "Primitive<__int8>"); + return 1; +} + +static int tolua_get_SDL_MessageBoxColor_b(lua_State* L) +{ + SDL_MessageBoxColor* self = (SDL_MessageBoxColor*)tolua_tousertype_dynamic(L, 1, 0, "SDL_MessageBoxColor"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'b'", NULL); + lua_pushinteger(L, (lua_Integer)self->b); + return 1; +} + +static int tolua_set_SDL_MessageBoxColor_b(lua_State* L) +{ + SDL_MessageBoxColor* self = (SDL_MessageBoxColor*)tolua_tousertype_dynamic(L, 1, 0, "SDL_MessageBoxColor"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'b'", NULL); + self->b = tolua_setter_tointeger(L, "b"); + return 0; +} + +static int tolua_get_SDL_MessageBoxColor_reference_b(lua_State* L) +{ + SDL_MessageBoxColor* self = (SDL_MessageBoxColor*)tolua_tousertype_dynamic(L, 1, 0, "SDL_MessageBoxColor"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'b'", NULL); + tolua_pushusertype(L, (void*)&self->b, "Primitive<__int8>"); + return 1; +} + static int tolua_get_SDL_Color_r(lua_State* L) { SDL_Color* self = (SDL_Color*)tolua_tousertype_dynamic(L, 1, 0, "SDL_Color"); @@ -6639,7 +6711,7 @@ static int tolua_function_Value_f(lua_State* L) { Value* self = (Value*)tolua_tousertype_dynamic(L, 1, 0, "Value"); if (!self) tolua_error(L, "invalid 'self' in calling function 'f'", NULL); - int returnVal = self->f((lua_State*)tolua_tousertype_dynamic(L, 2, 0, "lua_State")); + int returnVal = (self->f)((lua_State*)tolua_tousertype_dynamic(L, 2, 0, "lua_State")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -7996,6 +8068,126 @@ static int tolua_get_SDL_SysWMmsg__msg_t__win_t_reference_lParam(lua_State* L) return 1; } +static int tolua_get_SDL_SysWMinfo_version(lua_State* L) +{ + SDL_SysWMinfo* self = (SDL_SysWMinfo*)tolua_tousertype_dynamic(L, 1, 0, "SDL_SysWMinfo"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'version'", NULL); + tolua_pushusertype(L, (void*)&self->version, "SDL_version"); + return 1; +} + +static int tolua_get_SDL_SysWMinfo_subsystem(lua_State* L) +{ + SDL_SysWMinfo* self = (SDL_SysWMinfo*)tolua_tousertype_dynamic(L, 1, 0, "SDL_SysWMinfo"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'subsystem'", NULL); + lua_pushinteger(L, (lua_Integer)self->subsystem); + return 1; +} + +static int tolua_set_SDL_SysWMinfo_subsystem(lua_State* L) +{ + SDL_SysWMinfo* self = (SDL_SysWMinfo*)tolua_tousertype_dynamic(L, 1, 0, "SDL_SysWMinfo"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'subsystem'", NULL); + self->subsystem = (SDL_SYSWM_TYPE)tolua_setter_tointeger<__int32>(L, "subsystem"); + return 0; +} + +static int tolua_get_SDL_SysWMinfo_reference_subsystem(lua_State* L) +{ + SDL_SysWMinfo* self = (SDL_SysWMinfo*)tolua_tousertype_dynamic(L, 1, 0, "SDL_SysWMinfo"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'subsystem'", NULL); + tolua_pushusertype(L, (void*)&self->subsystem, "Primitive"); + return 1; +} + +static int tolua_get_SDL_SysWMinfo_info(lua_State* L) +{ + SDL_SysWMinfo* self = (SDL_SysWMinfo*)tolua_tousertype_dynamic(L, 1, 0, "SDL_SysWMinfo"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'info'", NULL); + tolua_pushusertype(L, (void*)&self->info, "SDL_SysWMinfo::info_t"); + return 1; +} + +static int tolua_get_SDL_SysWMinfo__info_t_win(lua_State* L) +{ + SDL_SysWMinfo::info_t* self = (SDL_SysWMinfo::info_t*)tolua_tousertype_dynamic(L, 1, 0, "SDL_SysWMinfo::info_t"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'win'", NULL); + tolua_pushusertype(L, (void*)&self->win, "SDL_SysWMinfo::info_t::win_t"); + return 1; +} + +static int tolua_get_SDL_SysWMinfo__info_t_dummy(lua_State* L) +{ + SDL_SysWMinfo::info_t* self = (SDL_SysWMinfo::info_t*)tolua_tousertype_dynamic(L, 1, 0, "SDL_SysWMinfo::info_t"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'dummy'", NULL); + lua_pushinteger(L, (lua_Integer)self->dummy); + return 1; +} + +static int tolua_set_SDL_SysWMinfo__info_t_dummy(lua_State* L) +{ + SDL_SysWMinfo::info_t* self = (SDL_SysWMinfo::info_t*)tolua_tousertype_dynamic(L, 1, 0, "SDL_SysWMinfo::info_t"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'dummy'", NULL); + self->dummy = tolua_setter_tointeger(L, "dummy"); + return 0; +} + +static int tolua_get_SDL_SysWMinfo__info_t_reference_dummy(lua_State* L) +{ + SDL_SysWMinfo::info_t* self = (SDL_SysWMinfo::info_t*)tolua_tousertype_dynamic(L, 1, 0, "SDL_SysWMinfo::info_t"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'dummy'", NULL); + tolua_pushusertype(L, (void*)&self->dummy, "Primitive"); + return 1; +} + +static int tolua_get_SDL_SysWMinfo__info_t__win_t_window(lua_State* L) +{ + SDL_SysWMinfo::info_t::win_t* self = (SDL_SysWMinfo::info_t::win_t*)tolua_tousertype_dynamic(L, 1, 0, "SDL_SysWMinfo::info_t::win_t"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'window'", NULL); + tolua_pushusertype(L, (void*)self->window, "HWND__"); + return 1; +} + +static int tolua_set_SDL_SysWMinfo__info_t__win_t_window(lua_State* L) +{ + SDL_SysWMinfo::info_t::win_t* self = (SDL_SysWMinfo::info_t::win_t*)tolua_tousertype_dynamic(L, 1, 0, "SDL_SysWMinfo::info_t::win_t"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'window'", NULL); + self->window = (HWND__*)tolua_tousertype_dynamic(L, 2, 0, "HWND__"); + return 0; +} + +static int tolua_get_SDL_SysWMinfo__info_t__win_t_reference_window(lua_State* L) +{ + SDL_SysWMinfo::info_t::win_t* self = (SDL_SysWMinfo::info_t::win_t*)tolua_tousertype_dynamic(L, 1, 0, "SDL_SysWMinfo::info_t::win_t"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'window'", NULL); + tolua_pushusertype(L, (void*)&self->window, "Pointer"); + return 1; +} + +static int tolua_get_SDL_SysWMinfo__info_t__win_t_hdc(lua_State* L) +{ + SDL_SysWMinfo::info_t::win_t* self = (SDL_SysWMinfo::info_t::win_t*)tolua_tousertype_dynamic(L, 1, 0, "SDL_SysWMinfo::info_t::win_t"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'hdc'", NULL); + tolua_pushusertype(L, (void*)self->hdc, "HDC__"); + return 1; +} + +static int tolua_set_SDL_SysWMinfo__info_t__win_t_hdc(lua_State* L) +{ + SDL_SysWMinfo::info_t::win_t* self = (SDL_SysWMinfo::info_t::win_t*)tolua_tousertype_dynamic(L, 1, 0, "SDL_SysWMinfo::info_t::win_t"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'hdc'", NULL); + self->hdc = (HDC__*)tolua_tousertype_dynamic(L, 2, 0, "HDC__"); + return 0; +} + +static int tolua_get_SDL_SysWMinfo__info_t__win_t_reference_hdc(lua_State* L) +{ + SDL_SysWMinfo::info_t::win_t* self = (SDL_SysWMinfo::info_t::win_t*)tolua_tousertype_dynamic(L, 1, 0, "SDL_SysWMinfo::info_t::win_t"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'hdc'", NULL); + tolua_pushusertype(L, (void*)&self->hdc, "Pointer"); + return 1; +} + static int tolua_get_SDL_SysWMEvent_type(lua_State* L) { SDL_SysWMEvent* self = (SDL_SysWMEvent*)tolua_tousertype_dynamic(L, 1, 0, "SDL_SysWMEvent"); @@ -8068,6 +8260,33 @@ static int tolua_get_SDL_SysWMEvent_reference_msg(lua_State* L) return 1; } +static int tolua_function_SDL_ShapeDriver_CreateShaper(lua_State* L) +{ + SDL_ShapeDriver* self = (SDL_ShapeDriver*)tolua_tousertype_dynamic(L, 1, 0, "SDL_ShapeDriver"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'CreateShaper'", NULL); + SDL_WindowShaper* returnVal = (self->CreateShaper)((SDL_Window*)tolua_tousertype_dynamic(L, 2, 0, "SDL_Window")); + tolua_pushusertype(L, (void*)returnVal, "SDL_WindowShaper"); + return 1; +} + +static int tolua_function_SDL_ShapeDriver_SetWindowShape(lua_State* L) +{ + SDL_ShapeDriver* self = (SDL_ShapeDriver*)tolua_tousertype_dynamic(L, 1, 0, "SDL_ShapeDriver"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'SetWindowShape'", NULL); + int returnVal = (self->SetWindowShape)((SDL_WindowShaper*)tolua_tousertype_dynamic(L, 2, 0, "SDL_WindowShaper"), (SDL_Surface*)tolua_tousertype_dynamic(L, 3, 0, "SDL_Surface"), (SDL_WindowShapeMode*)tolua_tousertype_dynamic(L, 4, 0, "SDL_WindowShapeMode")); + lua_pushinteger(L, (lua_Integer)returnVal); + return 1; +} + +static int tolua_function_SDL_ShapeDriver_ResizeWindowShape(lua_State* L) +{ + SDL_ShapeDriver* self = (SDL_ShapeDriver*)tolua_tousertype_dynamic(L, 1, 0, "SDL_ShapeDriver"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'ResizeWindowShape'", NULL); + int returnVal = (self->ResizeWindowShape)((SDL_Window*)tolua_tousertype_dynamic(L, 2, 0, "SDL_Window")); + lua_pushinteger(L, (lua_Integer)returnVal); + return 1; +} + static int tolua_get_SDL_QuitEvent_type(lua_State* L) { SDL_QuitEvent* self = (SDL_QuitEvent*)tolua_tousertype_dynamic(L, 1, 0, "SDL_QuitEvent"); @@ -9052,6 +9271,198 @@ static int tolua_get_SDL_MouseButtonEvent_reference_y(lua_State* L) return 1; } +static int tolua_get_SDL_MessageBoxData_flags(lua_State* L) +{ + SDL_MessageBoxData* self = (SDL_MessageBoxData*)tolua_tousertype_dynamic(L, 1, 0, "SDL_MessageBoxData"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'flags'", NULL); + lua_pushinteger(L, (lua_Integer)self->flags); + return 1; +} + +static int tolua_set_SDL_MessageBoxData_flags(lua_State* L) +{ + SDL_MessageBoxData* self = (SDL_MessageBoxData*)tolua_tousertype_dynamic(L, 1, 0, "SDL_MessageBoxData"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'flags'", NULL); + self->flags = tolua_setter_tointeger(L, "flags"); + return 0; +} + +static int tolua_get_SDL_MessageBoxData_reference_flags(lua_State* L) +{ + SDL_MessageBoxData* self = (SDL_MessageBoxData*)tolua_tousertype_dynamic(L, 1, 0, "SDL_MessageBoxData"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'flags'", NULL); + tolua_pushusertype(L, (void*)&self->flags, "Primitive"); + return 1; +} + +static int tolua_get_SDL_MessageBoxData_window(lua_State* L) +{ + SDL_MessageBoxData* self = (SDL_MessageBoxData*)tolua_tousertype_dynamic(L, 1, 0, "SDL_MessageBoxData"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'window'", NULL); + tolua_pushusertype(L, (void*)self->window, "SDL_Window"); + return 1; +} + +static int tolua_set_SDL_MessageBoxData_window(lua_State* L) +{ + SDL_MessageBoxData* self = (SDL_MessageBoxData*)tolua_tousertype_dynamic(L, 1, 0, "SDL_MessageBoxData"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'window'", NULL); + self->window = (SDL_Window*)tolua_tousertype_dynamic(L, 2, 0, "SDL_Window"); + return 0; +} + +static int tolua_get_SDL_MessageBoxData_reference_window(lua_State* L) +{ + SDL_MessageBoxData* self = (SDL_MessageBoxData*)tolua_tousertype_dynamic(L, 1, 0, "SDL_MessageBoxData"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'window'", NULL); + tolua_pushusertype(L, (void*)&self->window, "Pointer"); + return 1; +} + +static int tolua_get_SDL_MessageBoxData_title(lua_State* L) +{ + SDL_MessageBoxData* self = (SDL_MessageBoxData*)tolua_tousertype_dynamic(L, 1, 0, "SDL_MessageBoxData"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'title'", NULL); + tolua_pushusertype(L, (void*)&self->title, "ConstCharString"); + return 1; +} + +static int tolua_get_SDL_MessageBoxData_message(lua_State* L) +{ + SDL_MessageBoxData* self = (SDL_MessageBoxData*)tolua_tousertype_dynamic(L, 1, 0, "SDL_MessageBoxData"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'message'", NULL); + tolua_pushusertype(L, (void*)&self->message, "ConstCharString"); + return 1; +} + +static int tolua_get_SDL_MessageBoxData_numbuttons(lua_State* L) +{ + SDL_MessageBoxData* self = (SDL_MessageBoxData*)tolua_tousertype_dynamic(L, 1, 0, "SDL_MessageBoxData"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'numbuttons'", NULL); + lua_pushinteger(L, (lua_Integer)self->numbuttons); + return 1; +} + +static int tolua_set_SDL_MessageBoxData_numbuttons(lua_State* L) +{ + SDL_MessageBoxData* self = (SDL_MessageBoxData*)tolua_tousertype_dynamic(L, 1, 0, "SDL_MessageBoxData"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'numbuttons'", NULL); + self->numbuttons = tolua_setter_tointeger(L, "numbuttons"); + return 0; +} + +static int tolua_get_SDL_MessageBoxData_reference_numbuttons(lua_State* L) +{ + SDL_MessageBoxData* self = (SDL_MessageBoxData*)tolua_tousertype_dynamic(L, 1, 0, "SDL_MessageBoxData"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'numbuttons'", NULL); + tolua_pushusertype(L, (void*)&self->numbuttons, "Primitive"); + return 1; +} + +static int tolua_get_SDL_MessageBoxData_buttons(lua_State* L) +{ + SDL_MessageBoxData* self = (SDL_MessageBoxData*)tolua_tousertype_dynamic(L, 1, 0, "SDL_MessageBoxData"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'buttons'", NULL); + tolua_pushusertype(L, (void*)self->buttons, "SDL_MessageBoxButtonData"); + return 1; +} + +static int tolua_set_SDL_MessageBoxData_buttons(lua_State* L) +{ + SDL_MessageBoxData* self = (SDL_MessageBoxData*)tolua_tousertype_dynamic(L, 1, 0, "SDL_MessageBoxData"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'buttons'", NULL); + self->buttons = (const SDL_MessageBoxButtonData*)tolua_tousertype_dynamic(L, 2, 0, "SDL_MessageBoxButtonData"); + return 0; +} + +static int tolua_get_SDL_MessageBoxData_reference_buttons(lua_State* L) +{ + SDL_MessageBoxData* self = (SDL_MessageBoxData*)tolua_tousertype_dynamic(L, 1, 0, "SDL_MessageBoxData"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'buttons'", NULL); + tolua_pushusertype(L, (void*)&self->buttons, "Pointer"); + return 1; +} + +static int tolua_get_SDL_MessageBoxData_colorScheme(lua_State* L) +{ + SDL_MessageBoxData* self = (SDL_MessageBoxData*)tolua_tousertype_dynamic(L, 1, 0, "SDL_MessageBoxData"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'colorScheme'", NULL); + tolua_pushusertype(L, (void*)self->colorScheme, "SDL_MessageBoxColorScheme"); + return 1; +} + +static int tolua_set_SDL_MessageBoxData_colorScheme(lua_State* L) +{ + SDL_MessageBoxData* self = (SDL_MessageBoxData*)tolua_tousertype_dynamic(L, 1, 0, "SDL_MessageBoxData"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'colorScheme'", NULL); + self->colorScheme = (const SDL_MessageBoxColorScheme*)tolua_tousertype_dynamic(L, 2, 0, "SDL_MessageBoxColorScheme"); + return 0; +} + +static int tolua_get_SDL_MessageBoxData_reference_colorScheme(lua_State* L) +{ + SDL_MessageBoxData* self = (SDL_MessageBoxData*)tolua_tousertype_dynamic(L, 1, 0, "SDL_MessageBoxData"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'colorScheme'", NULL); + tolua_pushusertype(L, (void*)&self->colorScheme, "Pointer"); + return 1; +} + +static int tolua_get_SDL_MessageBoxButtonData_flags(lua_State* L) +{ + SDL_MessageBoxButtonData* self = (SDL_MessageBoxButtonData*)tolua_tousertype_dynamic(L, 1, 0, "SDL_MessageBoxButtonData"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'flags'", NULL); + lua_pushinteger(L, (lua_Integer)self->flags); + return 1; +} + +static int tolua_set_SDL_MessageBoxButtonData_flags(lua_State* L) +{ + SDL_MessageBoxButtonData* self = (SDL_MessageBoxButtonData*)tolua_tousertype_dynamic(L, 1, 0, "SDL_MessageBoxButtonData"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'flags'", NULL); + self->flags = tolua_setter_tointeger(L, "flags"); + return 0; +} + +static int tolua_get_SDL_MessageBoxButtonData_reference_flags(lua_State* L) +{ + SDL_MessageBoxButtonData* self = (SDL_MessageBoxButtonData*)tolua_tousertype_dynamic(L, 1, 0, "SDL_MessageBoxButtonData"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'flags'", NULL); + tolua_pushusertype(L, (void*)&self->flags, "Primitive"); + return 1; +} + +static int tolua_get_SDL_MessageBoxButtonData_buttonid(lua_State* L) +{ + SDL_MessageBoxButtonData* self = (SDL_MessageBoxButtonData*)tolua_tousertype_dynamic(L, 1, 0, "SDL_MessageBoxButtonData"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'buttonid'", NULL); + lua_pushinteger(L, (lua_Integer)self->buttonid); + return 1; +} + +static int tolua_set_SDL_MessageBoxButtonData_buttonid(lua_State* L) +{ + SDL_MessageBoxButtonData* self = (SDL_MessageBoxButtonData*)tolua_tousertype_dynamic(L, 1, 0, "SDL_MessageBoxButtonData"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'buttonid'", NULL); + self->buttonid = tolua_setter_tointeger(L, "buttonid"); + return 0; +} + +static int tolua_get_SDL_MessageBoxButtonData_reference_buttonid(lua_State* L) +{ + SDL_MessageBoxButtonData* self = (SDL_MessageBoxButtonData*)tolua_tousertype_dynamic(L, 1, 0, "SDL_MessageBoxButtonData"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'buttonid'", NULL); + tolua_pushusertype(L, (void*)&self->buttonid, "Primitive"); + return 1; +} + +static int tolua_get_SDL_MessageBoxButtonData_text(lua_State* L) +{ + SDL_MessageBoxButtonData* self = (SDL_MessageBoxButtonData*)tolua_tousertype_dynamic(L, 1, 0, "SDL_MessageBoxButtonData"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'text'", NULL); + tolua_pushusertype(L, (void*)&self->text, "ConstCharString"); + return 1; +} + static int tolua_get_SDL_Keysym_scancode(lua_State* L) { SDL_Keysym* self = (SDL_Keysym*)tolua_tousertype_dynamic(L, 1, 0, "SDL_Keysym"); @@ -10164,6 +10575,447 @@ static int tolua_get_SDL_JoyAxisEvent_reference_padding4(lua_State* L) return 1; } +static int tolua_get_SDL_GLDriverData_HAS_WGL_ARB_pixel_format(lua_State* L) +{ + SDL_GLDriverData* self = (SDL_GLDriverData*)tolua_tousertype_dynamic(L, 1, 0, "SDL_GLDriverData"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'HAS_WGL_ARB_pixel_format'", NULL); + lua_pushinteger(L, (lua_Integer)self->HAS_WGL_ARB_pixel_format); + return 1; +} + +static int tolua_set_SDL_GLDriverData_HAS_WGL_ARB_pixel_format(lua_State* L) +{ + SDL_GLDriverData* self = (SDL_GLDriverData*)tolua_tousertype_dynamic(L, 1, 0, "SDL_GLDriverData"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'HAS_WGL_ARB_pixel_format'", NULL); + self->HAS_WGL_ARB_pixel_format = (SDL_bool)tolua_setter_tointeger<__int32>(L, "HAS_WGL_ARB_pixel_format"); + return 0; +} + +static int tolua_get_SDL_GLDriverData_reference_HAS_WGL_ARB_pixel_format(lua_State* L) +{ + SDL_GLDriverData* self = (SDL_GLDriverData*)tolua_tousertype_dynamic(L, 1, 0, "SDL_GLDriverData"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'HAS_WGL_ARB_pixel_format'", NULL); + tolua_pushusertype(L, (void*)&self->HAS_WGL_ARB_pixel_format, "Primitive"); + return 1; +} + +static int tolua_get_SDL_GLDriverData_HAS_WGL_EXT_swap_control_tear(lua_State* L) +{ + SDL_GLDriverData* self = (SDL_GLDriverData*)tolua_tousertype_dynamic(L, 1, 0, "SDL_GLDriverData"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'HAS_WGL_EXT_swap_control_tear'", NULL); + lua_pushinteger(L, (lua_Integer)self->HAS_WGL_EXT_swap_control_tear); + return 1; +} + +static int tolua_set_SDL_GLDriverData_HAS_WGL_EXT_swap_control_tear(lua_State* L) +{ + SDL_GLDriverData* self = (SDL_GLDriverData*)tolua_tousertype_dynamic(L, 1, 0, "SDL_GLDriverData"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'HAS_WGL_EXT_swap_control_tear'", NULL); + self->HAS_WGL_EXT_swap_control_tear = (SDL_bool)tolua_setter_tointeger<__int32>(L, "HAS_WGL_EXT_swap_control_tear"); + return 0; +} + +static int tolua_get_SDL_GLDriverData_reference_HAS_WGL_EXT_swap_control_tear(lua_State* L) +{ + SDL_GLDriverData* self = (SDL_GLDriverData*)tolua_tousertype_dynamic(L, 1, 0, "SDL_GLDriverData"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'HAS_WGL_EXT_swap_control_tear'", NULL); + tolua_pushusertype(L, (void*)&self->HAS_WGL_EXT_swap_control_tear, "Primitive"); + return 1; +} + +static int tolua_get_SDL_GLDriverData_HAS_WGL_EXT_create_context_es2_profile(lua_State* L) +{ + SDL_GLDriverData* self = (SDL_GLDriverData*)tolua_tousertype_dynamic(L, 1, 0, "SDL_GLDriverData"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'HAS_WGL_EXT_create_context_es2_profile'", NULL); + lua_pushinteger(L, (lua_Integer)self->HAS_WGL_EXT_create_context_es2_profile); + return 1; +} + +static int tolua_set_SDL_GLDriverData_HAS_WGL_EXT_create_context_es2_profile(lua_State* L) +{ + SDL_GLDriverData* self = (SDL_GLDriverData*)tolua_tousertype_dynamic(L, 1, 0, "SDL_GLDriverData"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'HAS_WGL_EXT_create_context_es2_profile'", NULL); + self->HAS_WGL_EXT_create_context_es2_profile = (SDL_bool)tolua_setter_tointeger<__int32>(L, "HAS_WGL_EXT_create_context_es2_profile"); + return 0; +} + +static int tolua_get_SDL_GLDriverData_reference_HAS_WGL_EXT_create_context_es2_profile(lua_State* L) +{ + SDL_GLDriverData* self = (SDL_GLDriverData*)tolua_tousertype_dynamic(L, 1, 0, "SDL_GLDriverData"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'HAS_WGL_EXT_create_context_es2_profile'", NULL); + tolua_pushusertype(L, (void*)&self->HAS_WGL_EXT_create_context_es2_profile, "Primitive"); + return 1; +} + +static int tolua_get_SDL_GLDriverData_HAS_WGL_ARB_context_flush_control(lua_State* L) +{ + SDL_GLDriverData* self = (SDL_GLDriverData*)tolua_tousertype_dynamic(L, 1, 0, "SDL_GLDriverData"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'HAS_WGL_ARB_context_flush_control'", NULL); + lua_pushinteger(L, (lua_Integer)self->HAS_WGL_ARB_context_flush_control); + return 1; +} + +static int tolua_set_SDL_GLDriverData_HAS_WGL_ARB_context_flush_control(lua_State* L) +{ + SDL_GLDriverData* self = (SDL_GLDriverData*)tolua_tousertype_dynamic(L, 1, 0, "SDL_GLDriverData"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'HAS_WGL_ARB_context_flush_control'", NULL); + self->HAS_WGL_ARB_context_flush_control = (SDL_bool)tolua_setter_tointeger<__int32>(L, "HAS_WGL_ARB_context_flush_control"); + return 0; +} + +static int tolua_get_SDL_GLDriverData_reference_HAS_WGL_ARB_context_flush_control(lua_State* L) +{ + SDL_GLDriverData* self = (SDL_GLDriverData*)tolua_tousertype_dynamic(L, 1, 0, "SDL_GLDriverData"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'HAS_WGL_ARB_context_flush_control'", NULL); + tolua_pushusertype(L, (void*)&self->HAS_WGL_ARB_context_flush_control, "Primitive"); + return 1; +} + +static int tolua_function_SDL_GLDriverData_wglGetProcAddress(lua_State* L) +{ + SDL_GLDriverData* self = (SDL_GLDriverData*)tolua_tousertype_dynamic(L, 1, 0, "SDL_GLDriverData"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'wglGetProcAddress'", NULL); + void* returnVal = (self->wglGetProcAddress)(*(const char**)tolua_tousertype_dynamic(L, 2, 0, "ConstCharString")); + tolua_pushusertype(L, (void*)returnVal, "UnmappedUserType"); + return 1; +} + +static int tolua_function_SDL_GLDriverData_wglCreateContext(lua_State* L) +{ + SDL_GLDriverData* self = (SDL_GLDriverData*)tolua_tousertype_dynamic(L, 1, 0, "SDL_GLDriverData"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'wglCreateContext'", NULL); + HGLRC__* returnVal = (self->wglCreateContext)((HDC__*)tolua_tousertype_dynamic(L, 2, 0, "HDC__")); + tolua_pushusertype(L, (void*)returnVal, "HGLRC__"); + return 1; +} + +static int tolua_function_SDL_GLDriverData_wglDeleteContext(lua_State* L) +{ + SDL_GLDriverData* self = (SDL_GLDriverData*)tolua_tousertype_dynamic(L, 1, 0, "SDL_GLDriverData"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'wglDeleteContext'", NULL); + int returnVal = (self->wglDeleteContext)((HGLRC__*)tolua_tousertype_dynamic(L, 2, 0, "HGLRC__")); + lua_pushinteger(L, (lua_Integer)returnVal); + return 1; +} + +static int tolua_function_SDL_GLDriverData_wglMakeCurrent(lua_State* L) +{ + SDL_GLDriverData* self = (SDL_GLDriverData*)tolua_tousertype_dynamic(L, 1, 0, "SDL_GLDriverData"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'wglMakeCurrent'", NULL); + int returnVal = (self->wglMakeCurrent)((HDC__*)tolua_tousertype_dynamic(L, 2, 0, "HDC__"), (HGLRC__*)tolua_tousertype_dynamic(L, 3, 0, "HGLRC__")); + lua_pushinteger(L, (lua_Integer)returnVal); + return 1; +} + +static int tolua_function_SDL_GLDriverData_wglShareLists(lua_State* L) +{ + SDL_GLDriverData* self = (SDL_GLDriverData*)tolua_tousertype_dynamic(L, 1, 0, "SDL_GLDriverData"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'wglShareLists'", NULL); + int returnVal = (self->wglShareLists)((HGLRC__*)tolua_tousertype_dynamic(L, 2, 0, "HGLRC__"), (HGLRC__*)tolua_tousertype_dynamic(L, 3, 0, "HGLRC__")); + lua_pushinteger(L, (lua_Integer)returnVal); + return 1; +} + +static int tolua_function_SDL_GLDriverData_wglChoosePixelFormatARB(lua_State* L) +{ + SDL_GLDriverData* self = (SDL_GLDriverData*)tolua_tousertype_dynamic(L, 1, 0, "SDL_GLDriverData"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'wglChoosePixelFormatARB'", NULL); + int returnVal = (self->wglChoosePixelFormatARB)((HDC__*)tolua_tousertype_dynamic(L, 2, 0, "HDC__"), (const int*)tolua_tousertype_dynamic(L, 3, 0, "Primitive"), (const float*)tolua_tousertype_dynamic(L, 4, 0, "Primitive"), tolua_function_tointeger(L, 5, "wglChoosePixelFormatARB"), (int*)tolua_tousertype_dynamic(L, 6, 0, "Primitive"), (unsigned int*)tolua_tousertype_dynamic(L, 7, 0, "Primitive")); + lua_pushinteger(L, (lua_Integer)returnVal); + return 1; +} + +static int tolua_function_SDL_GLDriverData_wglGetPixelFormatAttribivARB(lua_State* L) +{ + SDL_GLDriverData* self = (SDL_GLDriverData*)tolua_tousertype_dynamic(L, 1, 0, "SDL_GLDriverData"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'wglGetPixelFormatAttribivARB'", NULL); + int returnVal = (self->wglGetPixelFormatAttribivARB)((HDC__*)tolua_tousertype_dynamic(L, 2, 0, "HDC__"), tolua_function_tointeger(L, 3, "wglGetPixelFormatAttribivARB"), tolua_function_tointeger(L, 4, "wglGetPixelFormatAttribivARB"), tolua_function_tointeger(L, 5, "wglGetPixelFormatAttribivARB"), (const int*)tolua_tousertype_dynamic(L, 6, 0, "Primitive"), (int*)tolua_tousertype_dynamic(L, 7, 0, "Primitive")); + lua_pushinteger(L, (lua_Integer)returnVal); + return 1; +} + +static int tolua_function_SDL_GLDriverData_wglSwapIntervalEXT(lua_State* L) +{ + SDL_GLDriverData* self = (SDL_GLDriverData*)tolua_tousertype_dynamic(L, 1, 0, "SDL_GLDriverData"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'wglSwapIntervalEXT'", NULL); + int returnVal = (self->wglSwapIntervalEXT)(tolua_function_tointeger(L, 2, "wglSwapIntervalEXT")); + lua_pushinteger(L, (lua_Integer)returnVal); + return 1; +} + +static int tolua_function_SDL_GLDriverData_wglGetSwapIntervalEXT(lua_State* L) +{ + SDL_GLDriverData* self = (SDL_GLDriverData*)tolua_tousertype_dynamic(L, 1, 0, "SDL_GLDriverData"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'wglGetSwapIntervalEXT'", NULL); + int returnVal = (self->wglGetSwapIntervalEXT)(); + lua_pushinteger(L, (lua_Integer)returnVal); + return 1; +} + +static int tolua_get_SDL_EGL_VideoData_egl_dll_handle(lua_State* L) +{ + SDL_EGL_VideoData* self = (SDL_EGL_VideoData*)tolua_tousertype_dynamic(L, 1, 0, "SDL_EGL_VideoData"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'egl_dll_handle'", NULL); + tolua_pushusertype(L, (void*)self->egl_dll_handle, "UnmappedUserType"); + return 1; +} + +static int tolua_set_SDL_EGL_VideoData_egl_dll_handle(lua_State* L) +{ + SDL_EGL_VideoData* self = (SDL_EGL_VideoData*)tolua_tousertype_dynamic(L, 1, 0, "SDL_EGL_VideoData"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'egl_dll_handle'", NULL); + self->egl_dll_handle = (void*)tolua_tousertype_dynamic(L, 2, 0, "UnmappedUserType"); + return 0; +} + +static int tolua_get_SDL_EGL_VideoData_reference_egl_dll_handle(lua_State* L) +{ + SDL_EGL_VideoData* self = (SDL_EGL_VideoData*)tolua_tousertype_dynamic(L, 1, 0, "SDL_EGL_VideoData"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'egl_dll_handle'", NULL); + tolua_pushusertype(L, (void*)&self->egl_dll_handle, "VoidPointer"); + return 1; +} + +static int tolua_get_SDL_EGL_VideoData_dll_handle(lua_State* L) +{ + SDL_EGL_VideoData* self = (SDL_EGL_VideoData*)tolua_tousertype_dynamic(L, 1, 0, "SDL_EGL_VideoData"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'dll_handle'", NULL); + tolua_pushusertype(L, (void*)self->dll_handle, "UnmappedUserType"); + return 1; +} + +static int tolua_set_SDL_EGL_VideoData_dll_handle(lua_State* L) +{ + SDL_EGL_VideoData* self = (SDL_EGL_VideoData*)tolua_tousertype_dynamic(L, 1, 0, "SDL_EGL_VideoData"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'dll_handle'", NULL); + self->dll_handle = (void*)tolua_tousertype_dynamic(L, 2, 0, "UnmappedUserType"); + return 0; +} + +static int tolua_get_SDL_EGL_VideoData_reference_dll_handle(lua_State* L) +{ + SDL_EGL_VideoData* self = (SDL_EGL_VideoData*)tolua_tousertype_dynamic(L, 1, 0, "SDL_EGL_VideoData"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'dll_handle'", NULL); + tolua_pushusertype(L, (void*)&self->dll_handle, "VoidPointer"); + return 1; +} + +static int tolua_get_SDL_EGL_VideoData_egl_display(lua_State* L) +{ + SDL_EGL_VideoData* self = (SDL_EGL_VideoData*)tolua_tousertype_dynamic(L, 1, 0, "SDL_EGL_VideoData"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'egl_display'", NULL); + tolua_pushusertype(L, (void*)self->egl_display, "UnmappedUserType"); + return 1; +} + +static int tolua_set_SDL_EGL_VideoData_egl_display(lua_State* L) +{ + SDL_EGL_VideoData* self = (SDL_EGL_VideoData*)tolua_tousertype_dynamic(L, 1, 0, "SDL_EGL_VideoData"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'egl_display'", NULL); + self->egl_display = (void*)tolua_tousertype_dynamic(L, 2, 0, "UnmappedUserType"); + return 0; +} + +static int tolua_get_SDL_EGL_VideoData_reference_egl_display(lua_State* L) +{ + SDL_EGL_VideoData* self = (SDL_EGL_VideoData*)tolua_tousertype_dynamic(L, 1, 0, "SDL_EGL_VideoData"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'egl_display'", NULL); + tolua_pushusertype(L, (void*)&self->egl_display, "VoidPointer"); + return 1; +} + +static int tolua_get_SDL_EGL_VideoData_egl_config(lua_State* L) +{ + SDL_EGL_VideoData* self = (SDL_EGL_VideoData*)tolua_tousertype_dynamic(L, 1, 0, "SDL_EGL_VideoData"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'egl_config'", NULL); + tolua_pushusertype(L, (void*)self->egl_config, "UnmappedUserType"); + return 1; +} + +static int tolua_set_SDL_EGL_VideoData_egl_config(lua_State* L) +{ + SDL_EGL_VideoData* self = (SDL_EGL_VideoData*)tolua_tousertype_dynamic(L, 1, 0, "SDL_EGL_VideoData"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'egl_config'", NULL); + self->egl_config = (void*)tolua_tousertype_dynamic(L, 2, 0, "UnmappedUserType"); + return 0; +} + +static int tolua_get_SDL_EGL_VideoData_reference_egl_config(lua_State* L) +{ + SDL_EGL_VideoData* self = (SDL_EGL_VideoData*)tolua_tousertype_dynamic(L, 1, 0, "SDL_EGL_VideoData"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'egl_config'", NULL); + tolua_pushusertype(L, (void*)&self->egl_config, "VoidPointer"); + return 1; +} + +static int tolua_get_SDL_EGL_VideoData_egl_swapinterval(lua_State* L) +{ + SDL_EGL_VideoData* self = (SDL_EGL_VideoData*)tolua_tousertype_dynamic(L, 1, 0, "SDL_EGL_VideoData"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'egl_swapinterval'", NULL); + lua_pushinteger(L, (lua_Integer)self->egl_swapinterval); + return 1; +} + +static int tolua_set_SDL_EGL_VideoData_egl_swapinterval(lua_State* L) +{ + SDL_EGL_VideoData* self = (SDL_EGL_VideoData*)tolua_tousertype_dynamic(L, 1, 0, "SDL_EGL_VideoData"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'egl_swapinterval'", NULL); + self->egl_swapinterval = tolua_setter_tointeger(L, "egl_swapinterval"); + return 0; +} + +static int tolua_get_SDL_EGL_VideoData_reference_egl_swapinterval(lua_State* L) +{ + SDL_EGL_VideoData* self = (SDL_EGL_VideoData*)tolua_tousertype_dynamic(L, 1, 0, "SDL_EGL_VideoData"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'egl_swapinterval'", NULL); + tolua_pushusertype(L, (void*)&self->egl_swapinterval, "Primitive"); + return 1; +} + +static int tolua_function_SDL_EGL_VideoData_eglGetDisplay(lua_State* L) +{ + SDL_EGL_VideoData* self = (SDL_EGL_VideoData*)tolua_tousertype_dynamic(L, 1, 0, "SDL_EGL_VideoData"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'eglGetDisplay'", NULL); + void* returnVal = (self->eglGetDisplay)((HDC__*)tolua_tousertype_dynamic(L, 2, 0, "HDC__")); + tolua_pushusertype(L, (void*)returnVal, "UnmappedUserType"); + return 1; +} + +static int tolua_function_SDL_EGL_VideoData_eglInitialize(lua_State* L) +{ + SDL_EGL_VideoData* self = (SDL_EGL_VideoData*)tolua_tousertype_dynamic(L, 1, 0, "SDL_EGL_VideoData"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'eglInitialize'", NULL); + unsigned int returnVal = (self->eglInitialize)((void*)tolua_tousertype_dynamic(L, 2, 0, "UnmappedUserType"), (int*)tolua_tousertype_dynamic(L, 3, 0, "Primitive"), (int*)tolua_tousertype_dynamic(L, 4, 0, "Primitive")); + lua_pushinteger(L, (lua_Integer)returnVal); + return 1; +} + +static int tolua_function_SDL_EGL_VideoData_eglTerminate(lua_State* L) +{ + SDL_EGL_VideoData* self = (SDL_EGL_VideoData*)tolua_tousertype_dynamic(L, 1, 0, "SDL_EGL_VideoData"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'eglTerminate'", NULL); + unsigned int returnVal = (self->eglTerminate)((void*)tolua_tousertype_dynamic(L, 2, 0, "UnmappedUserType")); + lua_pushinteger(L, (lua_Integer)returnVal); + return 1; +} + +static int tolua_function_SDL_EGL_VideoData_eglGetProcAddress(lua_State* L) +{ + SDL_EGL_VideoData* self = (SDL_EGL_VideoData*)tolua_tousertype_dynamic(L, 1, 0, "SDL_EGL_VideoData"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'eglGetProcAddress'", NULL); + void* returnVal = (self->eglGetProcAddress)(*(const char**)tolua_tousertype_dynamic(L, 2, 0, "ConstCharString")); + tolua_pushusertype(L, (void*)returnVal, "UnmappedUserType"); + return 1; +} + +static int tolua_function_SDL_EGL_VideoData_eglChooseConfig(lua_State* L) +{ + SDL_EGL_VideoData* self = (SDL_EGL_VideoData*)tolua_tousertype_dynamic(L, 1, 0, "SDL_EGL_VideoData"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'eglChooseConfig'", NULL); + unsigned int returnVal = (self->eglChooseConfig)((void*)tolua_tousertype_dynamic(L, 2, 0, "UnmappedUserType"), (const int*)tolua_tousertype_dynamic(L, 3, 0, "Primitive"), (void**)tolua_tousertype_dynamic(L, 4, 0, "VoidPointer"), tolua_function_tointeger(L, 5, "eglChooseConfig"), (int*)tolua_tousertype_dynamic(L, 6, 0, "Primitive")); + lua_pushinteger(L, (lua_Integer)returnVal); + return 1; +} + +static int tolua_function_SDL_EGL_VideoData_eglCreateContext(lua_State* L) +{ + SDL_EGL_VideoData* self = (SDL_EGL_VideoData*)tolua_tousertype_dynamic(L, 1, 0, "SDL_EGL_VideoData"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'eglCreateContext'", NULL); + void* returnVal = (self->eglCreateContext)((void*)tolua_tousertype_dynamic(L, 2, 0, "UnmappedUserType"), (void*)tolua_tousertype_dynamic(L, 3, 0, "UnmappedUserType"), (void*)tolua_tousertype_dynamic(L, 4, 0, "UnmappedUserType"), (const int*)tolua_tousertype_dynamic(L, 5, 0, "Primitive")); + tolua_pushusertype(L, (void*)returnVal, "UnmappedUserType"); + return 1; +} + +static int tolua_function_SDL_EGL_VideoData_eglDestroyContext(lua_State* L) +{ + SDL_EGL_VideoData* self = (SDL_EGL_VideoData*)tolua_tousertype_dynamic(L, 1, 0, "SDL_EGL_VideoData"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'eglDestroyContext'", NULL); + unsigned int returnVal = (self->eglDestroyContext)((void*)tolua_tousertype_dynamic(L, 2, 0, "UnmappedUserType"), (void*)tolua_tousertype_dynamic(L, 3, 0, "UnmappedUserType")); + lua_pushinteger(L, (lua_Integer)returnVal); + return 1; +} + +static int tolua_function_SDL_EGL_VideoData_eglCreateWindowSurface(lua_State* L) +{ + SDL_EGL_VideoData* self = (SDL_EGL_VideoData*)tolua_tousertype_dynamic(L, 1, 0, "SDL_EGL_VideoData"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'eglCreateWindowSurface'", NULL); + void* returnVal = (self->eglCreateWindowSurface)((void*)tolua_tousertype_dynamic(L, 2, 0, "UnmappedUserType"), (void*)tolua_tousertype_dynamic(L, 3, 0, "UnmappedUserType"), (HWND__*)tolua_tousertype_dynamic(L, 4, 0, "HWND__"), (const int*)tolua_tousertype_dynamic(L, 5, 0, "Primitive")); + tolua_pushusertype(L, (void*)returnVal, "UnmappedUserType"); + return 1; +} + +static int tolua_function_SDL_EGL_VideoData_eglDestroySurface(lua_State* L) +{ + SDL_EGL_VideoData* self = (SDL_EGL_VideoData*)tolua_tousertype_dynamic(L, 1, 0, "SDL_EGL_VideoData"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'eglDestroySurface'", NULL); + unsigned int returnVal = (self->eglDestroySurface)((void*)tolua_tousertype_dynamic(L, 2, 0, "UnmappedUserType"), (void*)tolua_tousertype_dynamic(L, 3, 0, "UnmappedUserType")); + lua_pushinteger(L, (lua_Integer)returnVal); + return 1; +} + +static int tolua_function_SDL_EGL_VideoData_eglMakeCurrent(lua_State* L) +{ + SDL_EGL_VideoData* self = (SDL_EGL_VideoData*)tolua_tousertype_dynamic(L, 1, 0, "SDL_EGL_VideoData"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'eglMakeCurrent'", NULL); + unsigned int returnVal = (self->eglMakeCurrent)((void*)tolua_tousertype_dynamic(L, 2, 0, "UnmappedUserType"), (void*)tolua_tousertype_dynamic(L, 3, 0, "UnmappedUserType"), (void*)tolua_tousertype_dynamic(L, 4, 0, "UnmappedUserType"), (void*)tolua_tousertype_dynamic(L, 5, 0, "UnmappedUserType")); + lua_pushinteger(L, (lua_Integer)returnVal); + return 1; +} + +static int tolua_function_SDL_EGL_VideoData_eglSwapBuffers(lua_State* L) +{ + SDL_EGL_VideoData* self = (SDL_EGL_VideoData*)tolua_tousertype_dynamic(L, 1, 0, "SDL_EGL_VideoData"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'eglSwapBuffers'", NULL); + unsigned int returnVal = (self->eglSwapBuffers)((void*)tolua_tousertype_dynamic(L, 2, 0, "UnmappedUserType"), (void*)tolua_tousertype_dynamic(L, 3, 0, "UnmappedUserType")); + lua_pushinteger(L, (lua_Integer)returnVal); + return 1; +} + +static int tolua_function_SDL_EGL_VideoData_eglSwapInterval(lua_State* L) +{ + SDL_EGL_VideoData* self = (SDL_EGL_VideoData*)tolua_tousertype_dynamic(L, 1, 0, "SDL_EGL_VideoData"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'eglSwapInterval'", NULL); + unsigned int returnVal = (self->eglSwapInterval)((void*)tolua_tousertype_dynamic(L, 2, 0, "UnmappedUserType"), tolua_function_tointeger(L, 3, "eglSwapInterval")); + lua_pushinteger(L, (lua_Integer)returnVal); + return 1; +} + +static int tolua_function_SDL_EGL_VideoData_eglGetConfigAttrib(lua_State* L) +{ + SDL_EGL_VideoData* self = (SDL_EGL_VideoData*)tolua_tousertype_dynamic(L, 1, 0, "SDL_EGL_VideoData"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'eglGetConfigAttrib'", NULL); + unsigned int returnVal = (self->eglGetConfigAttrib)((void*)tolua_tousertype_dynamic(L, 2, 0, "UnmappedUserType"), (void*)tolua_tousertype_dynamic(L, 3, 0, "UnmappedUserType"), tolua_function_tointeger(L, 4, "eglGetConfigAttrib"), (int*)tolua_tousertype_dynamic(L, 5, 0, "Primitive")); + lua_pushinteger(L, (lua_Integer)returnVal); + return 1; +} + +static int tolua_function_SDL_EGL_VideoData_eglWaitNative(lua_State* L) +{ + SDL_EGL_VideoData* self = (SDL_EGL_VideoData*)tolua_tousertype_dynamic(L, 1, 0, "SDL_EGL_VideoData"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'eglWaitNative'", NULL); + unsigned int returnVal = (self->eglWaitNative)(tolua_function_tointeger(L, 2, "eglWaitNative")); + lua_pushinteger(L, (lua_Integer)returnVal); + return 1; +} + +static int tolua_function_SDL_EGL_VideoData_eglWaitGL(lua_State* L) +{ + SDL_EGL_VideoData* self = (SDL_EGL_VideoData*)tolua_tousertype_dynamic(L, 1, 0, "SDL_EGL_VideoData"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'eglWaitGL'", NULL); + unsigned int returnVal = (self->eglWaitGL)(); + lua_pushinteger(L, (lua_Integer)returnVal); + return 1; +} + +static int tolua_function_SDL_EGL_VideoData_eglBindAPI(lua_State* L) +{ + SDL_EGL_VideoData* self = (SDL_EGL_VideoData*)tolua_tousertype_dynamic(L, 1, 0, "SDL_EGL_VideoData"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'eglBindAPI'", NULL); + unsigned int returnVal = (self->eglBindAPI)(tolua_function_tointeger(L, 2, "eglBindAPI")); + lua_pushinteger(L, (lua_Integer)returnVal); + return 1; +} + static int tolua_get_SDL_DropEvent_type(lua_State* L) { SDL_DropEvent* self = (SDL_DropEvent*)tolua_tousertype_dynamic(L, 1, 0, "SDL_DropEvent"); @@ -10532,6 +11384,174 @@ static int tolua_get_SDL_DisplayMode_reference_driverdata(lua_State* L) return 1; } +static int tolua_get_SDL_VideoDisplay_name(lua_State* L) +{ + SDL_VideoDisplay* self = (SDL_VideoDisplay*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDisplay"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'name'", NULL); + tolua_pushusertype(L, (void*)&self->name, "CharString"); + return 1; +} + +static int tolua_get_SDL_VideoDisplay_max_display_modes(lua_State* L) +{ + SDL_VideoDisplay* self = (SDL_VideoDisplay*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDisplay"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'max_display_modes'", NULL); + lua_pushinteger(L, (lua_Integer)self->max_display_modes); + return 1; +} + +static int tolua_set_SDL_VideoDisplay_max_display_modes(lua_State* L) +{ + SDL_VideoDisplay* self = (SDL_VideoDisplay*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDisplay"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'max_display_modes'", NULL); + self->max_display_modes = tolua_setter_tointeger(L, "max_display_modes"); + return 0; +} + +static int tolua_get_SDL_VideoDisplay_reference_max_display_modes(lua_State* L) +{ + SDL_VideoDisplay* self = (SDL_VideoDisplay*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDisplay"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'max_display_modes'", NULL); + tolua_pushusertype(L, (void*)&self->max_display_modes, "Primitive"); + return 1; +} + +static int tolua_get_SDL_VideoDisplay_num_display_modes(lua_State* L) +{ + SDL_VideoDisplay* self = (SDL_VideoDisplay*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDisplay"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'num_display_modes'", NULL); + lua_pushinteger(L, (lua_Integer)self->num_display_modes); + return 1; +} + +static int tolua_set_SDL_VideoDisplay_num_display_modes(lua_State* L) +{ + SDL_VideoDisplay* self = (SDL_VideoDisplay*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDisplay"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'num_display_modes'", NULL); + self->num_display_modes = tolua_setter_tointeger(L, "num_display_modes"); + return 0; +} + +static int tolua_get_SDL_VideoDisplay_reference_num_display_modes(lua_State* L) +{ + SDL_VideoDisplay* self = (SDL_VideoDisplay*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDisplay"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'num_display_modes'", NULL); + tolua_pushusertype(L, (void*)&self->num_display_modes, "Primitive"); + return 1; +} + +static int tolua_get_SDL_VideoDisplay_display_modes(lua_State* L) +{ + SDL_VideoDisplay* self = (SDL_VideoDisplay*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDisplay"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'display_modes'", NULL); + tolua_pushusertype(L, (void*)self->display_modes, "SDL_DisplayMode"); + return 1; +} + +static int tolua_set_SDL_VideoDisplay_display_modes(lua_State* L) +{ + SDL_VideoDisplay* self = (SDL_VideoDisplay*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDisplay"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'display_modes'", NULL); + self->display_modes = (SDL_DisplayMode*)tolua_tousertype_dynamic(L, 2, 0, "SDL_DisplayMode"); + return 0; +} + +static int tolua_get_SDL_VideoDisplay_reference_display_modes(lua_State* L) +{ + SDL_VideoDisplay* self = (SDL_VideoDisplay*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDisplay"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'display_modes'", NULL); + tolua_pushusertype(L, (void*)&self->display_modes, "Pointer"); + return 1; +} + +static int tolua_get_SDL_VideoDisplay_desktop_mode(lua_State* L) +{ + SDL_VideoDisplay* self = (SDL_VideoDisplay*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDisplay"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'desktop_mode'", NULL); + tolua_pushusertype(L, (void*)&self->desktop_mode, "SDL_DisplayMode"); + return 1; +} + +static int tolua_get_SDL_VideoDisplay_current_mode(lua_State* L) +{ + SDL_VideoDisplay* self = (SDL_VideoDisplay*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDisplay"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'current_mode'", NULL); + tolua_pushusertype(L, (void*)&self->current_mode, "SDL_DisplayMode"); + return 1; +} + +static int tolua_get_SDL_VideoDisplay_fullscreen_window(lua_State* L) +{ + SDL_VideoDisplay* self = (SDL_VideoDisplay*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDisplay"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'fullscreen_window'", NULL); + tolua_pushusertype(L, (void*)self->fullscreen_window, "SDL_Window"); + return 1; +} + +static int tolua_set_SDL_VideoDisplay_fullscreen_window(lua_State* L) +{ + SDL_VideoDisplay* self = (SDL_VideoDisplay*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDisplay"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'fullscreen_window'", NULL); + self->fullscreen_window = (SDL_Window*)tolua_tousertype_dynamic(L, 2, 0, "SDL_Window"); + return 0; +} + +static int tolua_get_SDL_VideoDisplay_reference_fullscreen_window(lua_State* L) +{ + SDL_VideoDisplay* self = (SDL_VideoDisplay*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDisplay"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'fullscreen_window'", NULL); + tolua_pushusertype(L, (void*)&self->fullscreen_window, "Pointer"); + return 1; +} + +static int tolua_get_SDL_VideoDisplay_device(lua_State* L) +{ + SDL_VideoDisplay* self = (SDL_VideoDisplay*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDisplay"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'device'", NULL); + tolua_pushusertype(L, (void*)self->device, "SDL_VideoDevice"); + return 1; +} + +static int tolua_set_SDL_VideoDisplay_device(lua_State* L) +{ + SDL_VideoDisplay* self = (SDL_VideoDisplay*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDisplay"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'device'", NULL); + self->device = (SDL_VideoDevice*)tolua_tousertype_dynamic(L, 2, 0, "SDL_VideoDevice"); + return 0; +} + +static int tolua_get_SDL_VideoDisplay_reference_device(lua_State* L) +{ + SDL_VideoDisplay* self = (SDL_VideoDisplay*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDisplay"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'device'", NULL); + tolua_pushusertype(L, (void*)&self->device, "Pointer"); + return 1; +} + +static int tolua_get_SDL_VideoDisplay_driverdata(lua_State* L) +{ + SDL_VideoDisplay* self = (SDL_VideoDisplay*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDisplay"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'driverdata'", NULL); + tolua_pushusertype(L, (void*)self->driverdata, "UnmappedUserType"); + return 1; +} + +static int tolua_set_SDL_VideoDisplay_driverdata(lua_State* L) +{ + SDL_VideoDisplay* self = (SDL_VideoDisplay*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDisplay"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'driverdata'", NULL); + self->driverdata = (void*)tolua_tousertype_dynamic(L, 2, 0, "UnmappedUserType"); + return 0; +} + +static int tolua_get_SDL_VideoDisplay_reference_driverdata(lua_State* L) +{ + SDL_VideoDisplay* self = (SDL_VideoDisplay*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDisplay"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'driverdata'", NULL); + tolua_pushusertype(L, (void*)&self->driverdata, "VoidPointer"); + return 1; +} + static int tolua_get_SDL_ControllerDeviceEvent_type(lua_State* L) { SDL_ControllerDeviceEvent* self = (SDL_ControllerDeviceEvent*)tolua_tousertype_dynamic(L, 1, 0, "SDL_ControllerDeviceEvent"); @@ -11624,7 +12644,7 @@ static int tolua_function_SDL_BlitMap_blit(lua_State* L) { SDL_BlitMap* self = (SDL_BlitMap*)tolua_tousertype_dynamic(L, 1, 0, "SDL_BlitMap"); if (!self) tolua_error(L, "invalid 'self' in calling function 'blit'", NULL); - int returnVal = self->blit((SDL_Surface*)tolua_tousertype_dynamic(L, 2, 0, "SDL_Surface"), (SDL_Rect*)tolua_tousertype_dynamic(L, 3, 0, "SDL_Rect"), (SDL_Surface*)tolua_tousertype_dynamic(L, 4, 0, "SDL_Surface"), (SDL_Rect*)tolua_tousertype_dynamic(L, 5, 0, "SDL_Rect")); + int returnVal = (self->blit)((SDL_Surface*)tolua_tousertype_dynamic(L, 2, 0, "SDL_Surface"), (SDL_Rect*)tolua_tousertype_dynamic(L, 3, 0, "SDL_Rect"), (SDL_Surface*)tolua_tousertype_dynamic(L, 4, 0, "SDL_Surface"), (SDL_Rect*)tolua_tousertype_dynamic(L, 5, 0, "SDL_Rect")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -13577,7 +14597,7 @@ static int tolua_function_ISteamUserStats_virtual_RequestCurrentStats(lua_State* { ISteamUserStats* self = (ISteamUserStats*)tolua_tousertype_dynamic(L, 1, 0, "ISteamUserStats"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_RequestCurrentStats'", NULL); - bool returnVal = self->virtual_RequestCurrentStats(); + bool returnVal = (self->virtual_RequestCurrentStats)(); tolua_pushboolean(L, (bool)returnVal); return 1; } @@ -13586,7 +14606,7 @@ static int tolua_function_ISteamUserStats_virtual_GetStat(lua_State* L) { ISteamUserStats* self = (ISteamUserStats*)tolua_tousertype_dynamic(L, 1, 0, "ISteamUserStats"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_GetStat'", NULL); - bool returnVal = self->virtual_GetStat(*(const char**)tolua_tousertype_dynamic(L, 2, 0, "ConstCharString"), (float*)tolua_tousertype_dynamic(L, 3, 0, "Primitive")); + bool returnVal = (self->virtual_GetStat)(*(const char**)tolua_tousertype_dynamic(L, 2, 0, "ConstCharString"), (float*)tolua_tousertype_dynamic(L, 3, 0, "Primitive")); tolua_pushboolean(L, (bool)returnVal); return 1; } @@ -13595,7 +14615,7 @@ static int tolua_function_ISteamUserStats_virtual_GetStat_2(lua_State* L) { ISteamUserStats* self = (ISteamUserStats*)tolua_tousertype_dynamic(L, 1, 0, "ISteamUserStats"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_GetStat_2'", NULL); - bool returnVal = self->virtual_GetStat_2(*(const char**)tolua_tousertype_dynamic(L, 2, 0, "ConstCharString"), (int*)tolua_tousertype_dynamic(L, 3, 0, "Primitive")); + bool returnVal = (self->virtual_GetStat_2)(*(const char**)tolua_tousertype_dynamic(L, 2, 0, "ConstCharString"), (int*)tolua_tousertype_dynamic(L, 3, 0, "Primitive")); tolua_pushboolean(L, (bool)returnVal); return 1; } @@ -13604,7 +14624,7 @@ static int tolua_function_ISteamUserStats_virtual_SetStat(lua_State* L) { ISteamUserStats* self = (ISteamUserStats*)tolua_tousertype_dynamic(L, 1, 0, "ISteamUserStats"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_SetStat'", NULL); - bool returnVal = self->virtual_SetStat(*(const char**)tolua_tousertype_dynamic(L, 2, 0, "ConstCharString"), tolua_function_tonumber(L, 3, "virtual_SetStat")); + bool returnVal = (self->virtual_SetStat)(*(const char**)tolua_tousertype_dynamic(L, 2, 0, "ConstCharString"), tolua_function_tonumber(L, 3, "virtual_SetStat")); tolua_pushboolean(L, (bool)returnVal); return 1; } @@ -13613,7 +14633,7 @@ static int tolua_function_ISteamUserStats_virtual_SetStat_2(lua_State* L) { ISteamUserStats* self = (ISteamUserStats*)tolua_tousertype_dynamic(L, 1, 0, "ISteamUserStats"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_SetStat_2'", NULL); - bool returnVal = self->virtual_SetStat_2(*(const char**)tolua_tousertype_dynamic(L, 2, 0, "ConstCharString"), tolua_function_tointeger(L, 3, "virtual_SetStat_2")); + bool returnVal = (self->virtual_SetStat_2)(*(const char**)tolua_tousertype_dynamic(L, 2, 0, "ConstCharString"), tolua_function_tointeger(L, 3, "virtual_SetStat_2")); tolua_pushboolean(L, (bool)returnVal); return 1; } @@ -13622,7 +14642,7 @@ static int tolua_function_ISteamUserStats_virtual_UpdateAvgRateStat(lua_State* L { ISteamUserStats* self = (ISteamUserStats*)tolua_tousertype_dynamic(L, 1, 0, "ISteamUserStats"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_UpdateAvgRateStat'", NULL); - bool returnVal = self->virtual_UpdateAvgRateStat(*(const char**)tolua_tousertype_dynamic(L, 2, 0, "ConstCharString"), tolua_function_tonumber(L, 3, "virtual_UpdateAvgRateStat"), tolua_function_tonumber(L, 4, "virtual_UpdateAvgRateStat")); + bool returnVal = (self->virtual_UpdateAvgRateStat)(*(const char**)tolua_tousertype_dynamic(L, 2, 0, "ConstCharString"), tolua_function_tonumber(L, 3, "virtual_UpdateAvgRateStat"), tolua_function_tonumber(L, 4, "virtual_UpdateAvgRateStat")); tolua_pushboolean(L, (bool)returnVal); return 1; } @@ -13631,7 +14651,7 @@ static int tolua_function_ISteamUserStats_virtual_GetAchievement(lua_State* L) { ISteamUserStats* self = (ISteamUserStats*)tolua_tousertype_dynamic(L, 1, 0, "ISteamUserStats"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_GetAchievement'", NULL); - bool returnVal = self->virtual_GetAchievement(*(const char**)tolua_tousertype_dynamic(L, 2, 0, "ConstCharString"), (bool*)tolua_tousertype_dynamic(L, 3, 0, "Primitive")); + bool returnVal = (self->virtual_GetAchievement)(*(const char**)tolua_tousertype_dynamic(L, 2, 0, "ConstCharString"), (bool*)tolua_tousertype_dynamic(L, 3, 0, "Primitive")); tolua_pushboolean(L, (bool)returnVal); return 1; } @@ -13640,7 +14660,7 @@ static int tolua_function_ISteamUserStats_virtual_SetAchievement(lua_State* L) { ISteamUserStats* self = (ISteamUserStats*)tolua_tousertype_dynamic(L, 1, 0, "ISteamUserStats"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_SetAchievement'", NULL); - bool returnVal = self->virtual_SetAchievement(*(const char**)tolua_tousertype_dynamic(L, 2, 0, "ConstCharString")); + bool returnVal = (self->virtual_SetAchievement)(*(const char**)tolua_tousertype_dynamic(L, 2, 0, "ConstCharString")); tolua_pushboolean(L, (bool)returnVal); return 1; } @@ -13649,7 +14669,7 @@ static int tolua_function_ISteamUserStats_virtual_ClearAchievement(lua_State* L) { ISteamUserStats* self = (ISteamUserStats*)tolua_tousertype_dynamic(L, 1, 0, "ISteamUserStats"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_ClearAchievement'", NULL); - bool returnVal = self->virtual_ClearAchievement(*(const char**)tolua_tousertype_dynamic(L, 2, 0, "ConstCharString")); + bool returnVal = (self->virtual_ClearAchievement)(*(const char**)tolua_tousertype_dynamic(L, 2, 0, "ConstCharString")); tolua_pushboolean(L, (bool)returnVal); return 1; } @@ -13658,7 +14678,7 @@ static int tolua_function_ISteamUserStats_virtual_GetAchievementAndUnlockTime(lu { ISteamUserStats* self = (ISteamUserStats*)tolua_tousertype_dynamic(L, 1, 0, "ISteamUserStats"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_GetAchievementAndUnlockTime'", NULL); - bool returnVal = self->virtual_GetAchievementAndUnlockTime(*(const char**)tolua_tousertype_dynamic(L, 2, 0, "ConstCharString"), (bool*)tolua_tousertype_dynamic(L, 3, 0, "Primitive"), (unsigned int*)tolua_tousertype_dynamic(L, 4, 0, "Primitive")); + bool returnVal = (self->virtual_GetAchievementAndUnlockTime)(*(const char**)tolua_tousertype_dynamic(L, 2, 0, "ConstCharString"), (bool*)tolua_tousertype_dynamic(L, 3, 0, "Primitive"), (unsigned int*)tolua_tousertype_dynamic(L, 4, 0, "Primitive")); tolua_pushboolean(L, (bool)returnVal); return 1; } @@ -13667,7 +14687,7 @@ static int tolua_function_ISteamUserStats_virtual_StoreStats(lua_State* L) { ISteamUserStats* self = (ISteamUserStats*)tolua_tousertype_dynamic(L, 1, 0, "ISteamUserStats"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_StoreStats'", NULL); - bool returnVal = self->virtual_StoreStats(); + bool returnVal = (self->virtual_StoreStats)(); tolua_pushboolean(L, (bool)returnVal); return 1; } @@ -13676,7 +14696,7 @@ static int tolua_function_ISteamUserStats_virtual_GetAchievementIcon(lua_State* { ISteamUserStats* self = (ISteamUserStats*)tolua_tousertype_dynamic(L, 1, 0, "ISteamUserStats"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_GetAchievementIcon'", NULL); - int returnVal = self->virtual_GetAchievementIcon(*(const char**)tolua_tousertype_dynamic(L, 2, 0, "ConstCharString")); + int returnVal = (self->virtual_GetAchievementIcon)(*(const char**)tolua_tousertype_dynamic(L, 2, 0, "ConstCharString")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -13685,7 +14705,7 @@ static int tolua_function_ISteamUserStats_virtual_IndicateAchievementProgress(lu { ISteamUserStats* self = (ISteamUserStats*)tolua_tousertype_dynamic(L, 1, 0, "ISteamUserStats"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_IndicateAchievementProgress'", NULL); - bool returnVal = self->virtual_IndicateAchievementProgress(*(const char**)tolua_tousertype_dynamic(L, 2, 0, "ConstCharString"), tolua_function_tointeger(L, 3, "virtual_IndicateAchievementProgress"), tolua_function_tointeger(L, 4, "virtual_IndicateAchievementProgress")); + bool returnVal = (self->virtual_IndicateAchievementProgress)(*(const char**)tolua_tousertype_dynamic(L, 2, 0, "ConstCharString"), tolua_function_tointeger(L, 3, "virtual_IndicateAchievementProgress"), tolua_function_tointeger(L, 4, "virtual_IndicateAchievementProgress")); tolua_pushboolean(L, (bool)returnVal); return 1; } @@ -13694,7 +14714,7 @@ static int tolua_function_ISteamUserStats_virtual_GetNumAchievements(lua_State* { ISteamUserStats* self = (ISteamUserStats*)tolua_tousertype_dynamic(L, 1, 0, "ISteamUserStats"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_GetNumAchievements'", NULL); - unsigned int returnVal = self->virtual_GetNumAchievements(); + unsigned int returnVal = (self->virtual_GetNumAchievements)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -13703,7 +14723,7 @@ static int tolua_function_ISteamUserStats_virtual_RequestUserStats(lua_State* L) { ISteamUserStats* self = (ISteamUserStats*)tolua_tousertype_dynamic(L, 1, 0, "ISteamUserStats"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_RequestUserStats'", NULL); - unsigned __int64 returnVal = self->virtual_RequestUserStats(*(CSteamID*)tolua_tousertype_dynamic(L, 2, 0, "CSteamID")); + unsigned __int64 returnVal = (self->virtual_RequestUserStats)(*(CSteamID*)tolua_tousertype_dynamic(L, 2, 0, "CSteamID")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -13712,7 +14732,7 @@ static int tolua_function_ISteamUserStats_virtual_GetUserStat(lua_State* L) { ISteamUserStats* self = (ISteamUserStats*)tolua_tousertype_dynamic(L, 1, 0, "ISteamUserStats"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_GetUserStat'", NULL); - bool returnVal = self->virtual_GetUserStat(*(CSteamID*)tolua_tousertype_dynamic(L, 2, 0, "CSteamID"), *(const char**)tolua_tousertype_dynamic(L, 3, 0, "ConstCharString"), (float*)tolua_tousertype_dynamic(L, 4, 0, "Primitive")); + bool returnVal = (self->virtual_GetUserStat)(*(CSteamID*)tolua_tousertype_dynamic(L, 2, 0, "CSteamID"), *(const char**)tolua_tousertype_dynamic(L, 3, 0, "ConstCharString"), (float*)tolua_tousertype_dynamic(L, 4, 0, "Primitive")); tolua_pushboolean(L, (bool)returnVal); return 1; } @@ -13721,7 +14741,7 @@ static int tolua_function_ISteamUserStats_virtual_GetUserStat_2(lua_State* L) { ISteamUserStats* self = (ISteamUserStats*)tolua_tousertype_dynamic(L, 1, 0, "ISteamUserStats"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_GetUserStat_2'", NULL); - bool returnVal = self->virtual_GetUserStat_2(*(CSteamID*)tolua_tousertype_dynamic(L, 2, 0, "CSteamID"), *(const char**)tolua_tousertype_dynamic(L, 3, 0, "ConstCharString"), (int*)tolua_tousertype_dynamic(L, 4, 0, "Primitive")); + bool returnVal = (self->virtual_GetUserStat_2)(*(CSteamID*)tolua_tousertype_dynamic(L, 2, 0, "CSteamID"), *(const char**)tolua_tousertype_dynamic(L, 3, 0, "ConstCharString"), (int*)tolua_tousertype_dynamic(L, 4, 0, "Primitive")); tolua_pushboolean(L, (bool)returnVal); return 1; } @@ -13730,7 +14750,7 @@ static int tolua_function_ISteamUserStats_virtual_GetUserAchievement(lua_State* { ISteamUserStats* self = (ISteamUserStats*)tolua_tousertype_dynamic(L, 1, 0, "ISteamUserStats"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_GetUserAchievement'", NULL); - bool returnVal = self->virtual_GetUserAchievement(*(CSteamID*)tolua_tousertype_dynamic(L, 2, 0, "CSteamID"), *(const char**)tolua_tousertype_dynamic(L, 3, 0, "ConstCharString"), (bool*)tolua_tousertype_dynamic(L, 4, 0, "Primitive")); + bool returnVal = (self->virtual_GetUserAchievement)(*(CSteamID*)tolua_tousertype_dynamic(L, 2, 0, "CSteamID"), *(const char**)tolua_tousertype_dynamic(L, 3, 0, "ConstCharString"), (bool*)tolua_tousertype_dynamic(L, 4, 0, "Primitive")); tolua_pushboolean(L, (bool)returnVal); return 1; } @@ -13739,7 +14759,7 @@ static int tolua_function_ISteamUserStats_virtual_GetUserAchievementAndUnlockTim { ISteamUserStats* self = (ISteamUserStats*)tolua_tousertype_dynamic(L, 1, 0, "ISteamUserStats"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_GetUserAchievementAndUnlockTime'", NULL); - bool returnVal = self->virtual_GetUserAchievementAndUnlockTime(*(CSteamID*)tolua_tousertype_dynamic(L, 2, 0, "CSteamID"), *(const char**)tolua_tousertype_dynamic(L, 3, 0, "ConstCharString"), (bool*)tolua_tousertype_dynamic(L, 4, 0, "Primitive"), (unsigned int*)tolua_tousertype_dynamic(L, 5, 0, "Primitive")); + bool returnVal = (self->virtual_GetUserAchievementAndUnlockTime)(*(CSteamID*)tolua_tousertype_dynamic(L, 2, 0, "CSteamID"), *(const char**)tolua_tousertype_dynamic(L, 3, 0, "ConstCharString"), (bool*)tolua_tousertype_dynamic(L, 4, 0, "Primitive"), (unsigned int*)tolua_tousertype_dynamic(L, 5, 0, "Primitive")); tolua_pushboolean(L, (bool)returnVal); return 1; } @@ -13748,7 +14768,7 @@ static int tolua_function_ISteamUserStats_virtual_ResetAllStats(lua_State* L) { ISteamUserStats* self = (ISteamUserStats*)tolua_tousertype_dynamic(L, 1, 0, "ISteamUserStats"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_ResetAllStats'", NULL); - bool returnVal = self->virtual_ResetAllStats(tolua_function_toboolean(L, 2, "virtual_ResetAllStats")); + bool returnVal = (self->virtual_ResetAllStats)(tolua_function_toboolean(L, 2, "virtual_ResetAllStats")); tolua_pushboolean(L, (bool)returnVal); return 1; } @@ -13757,7 +14777,7 @@ static int tolua_function_ISteamUserStats_virtual_FindOrCreateLeaderboard(lua_St { ISteamUserStats* self = (ISteamUserStats*)tolua_tousertype_dynamic(L, 1, 0, "ISteamUserStats"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_FindOrCreateLeaderboard'", NULL); - unsigned __int64 returnVal = self->virtual_FindOrCreateLeaderboard(*(const char**)tolua_tousertype_dynamic(L, 2, 0, "ConstCharString"), (ELeaderboardSortMethod)tolua_function_tointeger<__int32>(L, 3, "virtual_FindOrCreateLeaderboard"), (ELeaderboardDisplayType)tolua_function_tointeger<__int32>(L, 4, "virtual_FindOrCreateLeaderboard")); + unsigned __int64 returnVal = (self->virtual_FindOrCreateLeaderboard)(*(const char**)tolua_tousertype_dynamic(L, 2, 0, "ConstCharString"), (ELeaderboardSortMethod)tolua_function_tointeger<__int32>(L, 3, "virtual_FindOrCreateLeaderboard"), (ELeaderboardDisplayType)tolua_function_tointeger<__int32>(L, 4, "virtual_FindOrCreateLeaderboard")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -13766,7 +14786,7 @@ static int tolua_function_ISteamUserStats_virtual_FindLeaderboard(lua_State* L) { ISteamUserStats* self = (ISteamUserStats*)tolua_tousertype_dynamic(L, 1, 0, "ISteamUserStats"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_FindLeaderboard'", NULL); - unsigned __int64 returnVal = self->virtual_FindLeaderboard(*(const char**)tolua_tousertype_dynamic(L, 2, 0, "ConstCharString")); + unsigned __int64 returnVal = (self->virtual_FindLeaderboard)(*(const char**)tolua_tousertype_dynamic(L, 2, 0, "ConstCharString")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -13775,7 +14795,7 @@ static int tolua_function_ISteamUserStats_virtual_GetLeaderboardEntryCount(lua_S { ISteamUserStats* self = (ISteamUserStats*)tolua_tousertype_dynamic(L, 1, 0, "ISteamUserStats"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_GetLeaderboardEntryCount'", NULL); - int returnVal = self->virtual_GetLeaderboardEntryCount(tolua_function_tointeger(L, 2, "virtual_GetLeaderboardEntryCount")); + int returnVal = (self->virtual_GetLeaderboardEntryCount)(tolua_function_tointeger(L, 2, "virtual_GetLeaderboardEntryCount")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -13784,7 +14804,7 @@ static int tolua_function_ISteamUserStats_virtual_GetLeaderboardSortMethod(lua_S { ISteamUserStats* self = (ISteamUserStats*)tolua_tousertype_dynamic(L, 1, 0, "ISteamUserStats"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_GetLeaderboardSortMethod'", NULL); - ELeaderboardSortMethod returnVal = self->virtual_GetLeaderboardSortMethod(tolua_function_tointeger(L, 2, "virtual_GetLeaderboardSortMethod")); + ELeaderboardSortMethod returnVal = (self->virtual_GetLeaderboardSortMethod)(tolua_function_tointeger(L, 2, "virtual_GetLeaderboardSortMethod")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -13793,7 +14813,7 @@ static int tolua_function_ISteamUserStats_virtual_GetLeaderboardDisplayType(lua_ { ISteamUserStats* self = (ISteamUserStats*)tolua_tousertype_dynamic(L, 1, 0, "ISteamUserStats"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_GetLeaderboardDisplayType'", NULL); - ELeaderboardDisplayType returnVal = self->virtual_GetLeaderboardDisplayType(tolua_function_tointeger(L, 2, "virtual_GetLeaderboardDisplayType")); + ELeaderboardDisplayType returnVal = (self->virtual_GetLeaderboardDisplayType)(tolua_function_tointeger(L, 2, "virtual_GetLeaderboardDisplayType")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -13802,7 +14822,7 @@ static int tolua_function_ISteamUserStats_virtual_DownloadLeaderboardEntries(lua { ISteamUserStats* self = (ISteamUserStats*)tolua_tousertype_dynamic(L, 1, 0, "ISteamUserStats"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_DownloadLeaderboardEntries'", NULL); - unsigned __int64 returnVal = self->virtual_DownloadLeaderboardEntries(tolua_function_tointeger(L, 2, "virtual_DownloadLeaderboardEntries"), (ELeaderboardDataRequest)tolua_function_tointeger<__int32>(L, 3, "virtual_DownloadLeaderboardEntries"), tolua_function_tointeger(L, 4, "virtual_DownloadLeaderboardEntries"), tolua_function_tointeger(L, 5, "virtual_DownloadLeaderboardEntries")); + unsigned __int64 returnVal = (self->virtual_DownloadLeaderboardEntries)(tolua_function_tointeger(L, 2, "virtual_DownloadLeaderboardEntries"), (ELeaderboardDataRequest)tolua_function_tointeger<__int32>(L, 3, "virtual_DownloadLeaderboardEntries"), tolua_function_tointeger(L, 4, "virtual_DownloadLeaderboardEntries"), tolua_function_tointeger(L, 5, "virtual_DownloadLeaderboardEntries")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -13811,7 +14831,7 @@ static int tolua_function_ISteamUserStats_virtual_DownloadLeaderboardEntriesForU { ISteamUserStats* self = (ISteamUserStats*)tolua_tousertype_dynamic(L, 1, 0, "ISteamUserStats"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_DownloadLeaderboardEntriesForUsers'", NULL); - unsigned __int64 returnVal = self->virtual_DownloadLeaderboardEntriesForUsers(tolua_function_tointeger(L, 2, "virtual_DownloadLeaderboardEntriesForUsers"), (CSteamID*)tolua_tousertype_dynamic(L, 3, 0, "CSteamID"), tolua_function_tointeger(L, 4, "virtual_DownloadLeaderboardEntriesForUsers")); + unsigned __int64 returnVal = (self->virtual_DownloadLeaderboardEntriesForUsers)(tolua_function_tointeger(L, 2, "virtual_DownloadLeaderboardEntriesForUsers"), (CSteamID*)tolua_tousertype_dynamic(L, 3, 0, "CSteamID"), tolua_function_tointeger(L, 4, "virtual_DownloadLeaderboardEntriesForUsers")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -13820,7 +14840,7 @@ static int tolua_function_ISteamUserStats_virtual_GetDownloadedLeaderboardEntry( { ISteamUserStats* self = (ISteamUserStats*)tolua_tousertype_dynamic(L, 1, 0, "ISteamUserStats"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_GetDownloadedLeaderboardEntry'", NULL); - bool returnVal = self->virtual_GetDownloadedLeaderboardEntry(tolua_function_tointeger(L, 2, "virtual_GetDownloadedLeaderboardEntry"), tolua_function_tointeger(L, 3, "virtual_GetDownloadedLeaderboardEntry"), (LeaderboardEntry_t*)tolua_tousertype_dynamic(L, 4, 0, "LeaderboardEntry_t"), (int*)tolua_tousertype_dynamic(L, 5, 0, "Primitive"), tolua_function_tointeger(L, 6, "virtual_GetDownloadedLeaderboardEntry")); + bool returnVal = (self->virtual_GetDownloadedLeaderboardEntry)(tolua_function_tointeger(L, 2, "virtual_GetDownloadedLeaderboardEntry"), tolua_function_tointeger(L, 3, "virtual_GetDownloadedLeaderboardEntry"), (LeaderboardEntry_t*)tolua_tousertype_dynamic(L, 4, 0, "LeaderboardEntry_t"), (int*)tolua_tousertype_dynamic(L, 5, 0, "Primitive"), tolua_function_tointeger(L, 6, "virtual_GetDownloadedLeaderboardEntry")); tolua_pushboolean(L, (bool)returnVal); return 1; } @@ -13829,7 +14849,7 @@ static int tolua_function_ISteamUserStats_virtual_UploadLeaderboardScore(lua_Sta { ISteamUserStats* self = (ISteamUserStats*)tolua_tousertype_dynamic(L, 1, 0, "ISteamUserStats"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_UploadLeaderboardScore'", NULL); - unsigned __int64 returnVal = self->virtual_UploadLeaderboardScore(tolua_function_tointeger(L, 2, "virtual_UploadLeaderboardScore"), (ELeaderboardUploadScoreMethod)tolua_function_tointeger<__int32>(L, 3, "virtual_UploadLeaderboardScore"), tolua_function_tointeger(L, 4, "virtual_UploadLeaderboardScore"), (const int*)tolua_tousertype_dynamic(L, 5, 0, "Primitive"), tolua_function_tointeger(L, 6, "virtual_UploadLeaderboardScore")); + unsigned __int64 returnVal = (self->virtual_UploadLeaderboardScore)(tolua_function_tointeger(L, 2, "virtual_UploadLeaderboardScore"), (ELeaderboardUploadScoreMethod)tolua_function_tointeger<__int32>(L, 3, "virtual_UploadLeaderboardScore"), tolua_function_tointeger(L, 4, "virtual_UploadLeaderboardScore"), (const int*)tolua_tousertype_dynamic(L, 5, 0, "Primitive"), tolua_function_tointeger(L, 6, "virtual_UploadLeaderboardScore")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -13838,7 +14858,7 @@ static int tolua_function_ISteamUserStats_virtual_AttachLeaderboardUGC(lua_State { ISteamUserStats* self = (ISteamUserStats*)tolua_tousertype_dynamic(L, 1, 0, "ISteamUserStats"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_AttachLeaderboardUGC'", NULL); - unsigned __int64 returnVal = self->virtual_AttachLeaderboardUGC(tolua_function_tointeger(L, 2, "virtual_AttachLeaderboardUGC"), tolua_function_tointeger(L, 3, "virtual_AttachLeaderboardUGC")); + unsigned __int64 returnVal = (self->virtual_AttachLeaderboardUGC)(tolua_function_tointeger(L, 2, "virtual_AttachLeaderboardUGC"), tolua_function_tointeger(L, 3, "virtual_AttachLeaderboardUGC")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -13847,7 +14867,7 @@ static int tolua_function_ISteamUserStats_virtual_GetNumberOfCurrentPlayers(lua_ { ISteamUserStats* self = (ISteamUserStats*)tolua_tousertype_dynamic(L, 1, 0, "ISteamUserStats"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_GetNumberOfCurrentPlayers'", NULL); - unsigned __int64 returnVal = self->virtual_GetNumberOfCurrentPlayers(); + unsigned __int64 returnVal = (self->virtual_GetNumberOfCurrentPlayers)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -13856,7 +14876,7 @@ static int tolua_function_ISteamUserStats_virtual_RequestGlobalAchievementPercen { ISteamUserStats* self = (ISteamUserStats*)tolua_tousertype_dynamic(L, 1, 0, "ISteamUserStats"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_RequestGlobalAchievementPercentages'", NULL); - unsigned __int64 returnVal = self->virtual_RequestGlobalAchievementPercentages(); + unsigned __int64 returnVal = (self->virtual_RequestGlobalAchievementPercentages)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -13865,7 +14885,7 @@ static int tolua_function_ISteamUserStats_virtual_GetMostAchievedAchievementInfo { ISteamUserStats* self = (ISteamUserStats*)tolua_tousertype_dynamic(L, 1, 0, "ISteamUserStats"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_GetMostAchievedAchievementInfo'", NULL); - int returnVal = self->virtual_GetMostAchievedAchievementInfo(*(char**)tolua_tousertype_dynamic(L, 2, 0, "CharString"), tolua_function_tointeger(L, 3, "virtual_GetMostAchievedAchievementInfo"), (float*)tolua_tousertype_dynamic(L, 4, 0, "Primitive"), (bool*)tolua_tousertype_dynamic(L, 5, 0, "Primitive")); + int returnVal = (self->virtual_GetMostAchievedAchievementInfo)(*(char**)tolua_tousertype_dynamic(L, 2, 0, "CharString"), tolua_function_tointeger(L, 3, "virtual_GetMostAchievedAchievementInfo"), (float*)tolua_tousertype_dynamic(L, 4, 0, "Primitive"), (bool*)tolua_tousertype_dynamic(L, 5, 0, "Primitive")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -13874,7 +14894,7 @@ static int tolua_function_ISteamUserStats_virtual_GetNextMostAchievedAchievement { ISteamUserStats* self = (ISteamUserStats*)tolua_tousertype_dynamic(L, 1, 0, "ISteamUserStats"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_GetNextMostAchievedAchievementInfo'", NULL); - int returnVal = self->virtual_GetNextMostAchievedAchievementInfo(tolua_function_tointeger(L, 2, "virtual_GetNextMostAchievedAchievementInfo"), *(char**)tolua_tousertype_dynamic(L, 3, 0, "CharString"), tolua_function_tointeger(L, 4, "virtual_GetNextMostAchievedAchievementInfo"), (float*)tolua_tousertype_dynamic(L, 5, 0, "Primitive"), (bool*)tolua_tousertype_dynamic(L, 6, 0, "Primitive")); + int returnVal = (self->virtual_GetNextMostAchievedAchievementInfo)(tolua_function_tointeger(L, 2, "virtual_GetNextMostAchievedAchievementInfo"), *(char**)tolua_tousertype_dynamic(L, 3, 0, "CharString"), tolua_function_tointeger(L, 4, "virtual_GetNextMostAchievedAchievementInfo"), (float*)tolua_tousertype_dynamic(L, 5, 0, "Primitive"), (bool*)tolua_tousertype_dynamic(L, 6, 0, "Primitive")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -13883,7 +14903,7 @@ static int tolua_function_ISteamUserStats_virtual_GetAchievementAchievedPercent( { ISteamUserStats* self = (ISteamUserStats*)tolua_tousertype_dynamic(L, 1, 0, "ISteamUserStats"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_GetAchievementAchievedPercent'", NULL); - bool returnVal = self->virtual_GetAchievementAchievedPercent(*(const char**)tolua_tousertype_dynamic(L, 2, 0, "ConstCharString"), (float*)tolua_tousertype_dynamic(L, 3, 0, "Primitive")); + bool returnVal = (self->virtual_GetAchievementAchievedPercent)(*(const char**)tolua_tousertype_dynamic(L, 2, 0, "ConstCharString"), (float*)tolua_tousertype_dynamic(L, 3, 0, "Primitive")); tolua_pushboolean(L, (bool)returnVal); return 1; } @@ -13892,7 +14912,7 @@ static int tolua_function_ISteamUserStats_virtual_RequestGlobalStats(lua_State* { ISteamUserStats* self = (ISteamUserStats*)tolua_tousertype_dynamic(L, 1, 0, "ISteamUserStats"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_RequestGlobalStats'", NULL); - unsigned __int64 returnVal = self->virtual_RequestGlobalStats(tolua_function_tointeger(L, 2, "virtual_RequestGlobalStats")); + unsigned __int64 returnVal = (self->virtual_RequestGlobalStats)(tolua_function_tointeger(L, 2, "virtual_RequestGlobalStats")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -13901,7 +14921,7 @@ static int tolua_function_ISteamUserStats_virtual_GetGlobalStat(lua_State* L) { ISteamUserStats* self = (ISteamUserStats*)tolua_tousertype_dynamic(L, 1, 0, "ISteamUserStats"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_GetGlobalStat'", NULL); - bool returnVal = self->virtual_GetGlobalStat(*(const char**)tolua_tousertype_dynamic(L, 2, 0, "ConstCharString"), (long double*)tolua_tousertype_dynamic(L, 3, 0, "Primitive")); + bool returnVal = (self->virtual_GetGlobalStat)(*(const char**)tolua_tousertype_dynamic(L, 2, 0, "ConstCharString"), (long double*)tolua_tousertype_dynamic(L, 3, 0, "Primitive")); tolua_pushboolean(L, (bool)returnVal); return 1; } @@ -13910,7 +14930,7 @@ static int tolua_function_ISteamUserStats_virtual_GetGlobalStat_2(lua_State* L) { ISteamUserStats* self = (ISteamUserStats*)tolua_tousertype_dynamic(L, 1, 0, "ISteamUserStats"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_GetGlobalStat_2'", NULL); - bool returnVal = self->virtual_GetGlobalStat_2(*(const char**)tolua_tousertype_dynamic(L, 2, 0, "ConstCharString"), (__int64*)tolua_tousertype_dynamic(L, 3, 0, "Primitive<__int64>")); + bool returnVal = (self->virtual_GetGlobalStat_2)(*(const char**)tolua_tousertype_dynamic(L, 2, 0, "ConstCharString"), (__int64*)tolua_tousertype_dynamic(L, 3, 0, "Primitive<__int64>")); tolua_pushboolean(L, (bool)returnVal); return 1; } @@ -13919,7 +14939,7 @@ static int tolua_function_ISteamUserStats_virtual_GetGlobalStatHistory(lua_State { ISteamUserStats* self = (ISteamUserStats*)tolua_tousertype_dynamic(L, 1, 0, "ISteamUserStats"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_GetGlobalStatHistory'", NULL); - int returnVal = self->virtual_GetGlobalStatHistory(*(const char**)tolua_tousertype_dynamic(L, 2, 0, "ConstCharString"), (long double*)tolua_tousertype_dynamic(L, 3, 0, "Primitive"), tolua_function_tointeger(L, 4, "virtual_GetGlobalStatHistory")); + int returnVal = (self->virtual_GetGlobalStatHistory)(*(const char**)tolua_tousertype_dynamic(L, 2, 0, "ConstCharString"), (long double*)tolua_tousertype_dynamic(L, 3, 0, "Primitive"), tolua_function_tointeger(L, 4, "virtual_GetGlobalStatHistory")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -13928,7 +14948,7 @@ static int tolua_function_ISteamUserStats_virtual_GetGlobalStatHistory_2(lua_Sta { ISteamUserStats* self = (ISteamUserStats*)tolua_tousertype_dynamic(L, 1, 0, "ISteamUserStats"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_GetGlobalStatHistory_2'", NULL); - int returnVal = self->virtual_GetGlobalStatHistory_2(*(const char**)tolua_tousertype_dynamic(L, 2, 0, "ConstCharString"), (__int64*)tolua_tousertype_dynamic(L, 3, 0, "Primitive<__int64>"), tolua_function_tointeger(L, 4, "virtual_GetGlobalStatHistory_2")); + int returnVal = (self->virtual_GetGlobalStatHistory_2)(*(const char**)tolua_tousertype_dynamic(L, 2, 0, "ConstCharString"), (__int64*)tolua_tousertype_dynamic(L, 3, 0, "Primitive<__int64>"), tolua_function_tointeger(L, 4, "virtual_GetGlobalStatHistory_2")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -13937,7 +14957,7 @@ static int tolua_function_ISteamUserStats_virtual_GetAchievementProgressLimits(l { ISteamUserStats* self = (ISteamUserStats*)tolua_tousertype_dynamic(L, 1, 0, "ISteamUserStats"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_GetAchievementProgressLimits'", NULL); - bool returnVal = self->virtual_GetAchievementProgressLimits(*(const char**)tolua_tousertype_dynamic(L, 2, 0, "ConstCharString"), (float*)tolua_tousertype_dynamic(L, 3, 0, "Primitive"), (float*)tolua_tousertype_dynamic(L, 4, 0, "Primitive")); + bool returnVal = (self->virtual_GetAchievementProgressLimits)(*(const char**)tolua_tousertype_dynamic(L, 2, 0, "ConstCharString"), (float*)tolua_tousertype_dynamic(L, 3, 0, "Primitive"), (float*)tolua_tousertype_dynamic(L, 4, 0, "Primitive")); tolua_pushboolean(L, (bool)returnVal); return 1; } @@ -13946,7 +14966,7 @@ static int tolua_function_ISteamUserStats_virtual_GetAchievementProgressLimits_2 { ISteamUserStats* self = (ISteamUserStats*)tolua_tousertype_dynamic(L, 1, 0, "ISteamUserStats"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_GetAchievementProgressLimits_2'", NULL); - bool returnVal = self->virtual_GetAchievementProgressLimits_2(*(const char**)tolua_tousertype_dynamic(L, 2, 0, "ConstCharString"), (int*)tolua_tousertype_dynamic(L, 3, 0, "Primitive"), (int*)tolua_tousertype_dynamic(L, 4, 0, "Primitive")); + bool returnVal = (self->virtual_GetAchievementProgressLimits_2)(*(const char**)tolua_tousertype_dynamic(L, 2, 0, "ConstCharString"), (int*)tolua_tousertype_dynamic(L, 3, 0, "Primitive"), (int*)tolua_tousertype_dynamic(L, 4, 0, "Primitive")); tolua_pushboolean(L, (bool)returnVal); return 1; } @@ -14785,6 +15805,54 @@ static int tolua_get_HWND___reference_unused(lua_State* L) return 1; } +static int tolua_get_HGLRC___unused(lua_State* L) +{ + HGLRC__* self = (HGLRC__*)tolua_tousertype_dynamic(L, 1, 0, "HGLRC__"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'unused'", NULL); + lua_pushinteger(L, (lua_Integer)self->unused); + return 1; +} + +static int tolua_set_HGLRC___unused(lua_State* L) +{ + HGLRC__* self = (HGLRC__*)tolua_tousertype_dynamic(L, 1, 0, "HGLRC__"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'unused'", NULL); + self->unused = tolua_setter_tointeger(L, "unused"); + return 0; +} + +static int tolua_get_HGLRC___reference_unused(lua_State* L) +{ + HGLRC__* self = (HGLRC__*)tolua_tousertype_dynamic(L, 1, 0, "HGLRC__"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'unused'", NULL); + tolua_pushusertype(L, (void*)&self->unused, "Primitive"); + return 1; +} + +static int tolua_get_HDC___unused(lua_State* L) +{ + HDC__* self = (HDC__*)tolua_tousertype_dynamic(L, 1, 0, "HDC__"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'unused'", NULL); + lua_pushinteger(L, (lua_Integer)self->unused); + return 1; +} + +static int tolua_set_HDC___unused(lua_State* L) +{ + HDC__* self = (HDC__*)tolua_tousertype_dynamic(L, 1, 0, "HDC__"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'unused'", NULL); + self->unused = tolua_setter_tointeger(L, "unused"); + return 0; +} + +static int tolua_get_HDC___reference_unused(lua_State* L) +{ + HDC__* self = (HDC__*)tolua_tousertype_dynamic(L, 1, 0, "HDC__"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'unused'", NULL); + tolua_pushusertype(L, (void*)&self->unused, "Primitive"); + return 1; +} + static int tolua_get_DP_Packet_flags(lua_State* L) { DP_Packet* self = (DP_Packet*)tolua_tousertype_dynamic(L, 1, 0, "DP_Packet"); @@ -15549,7 +16617,7 @@ static int tolua_function_CallInfo__u_t__c_t_k(lua_State* L) { CallInfo::u_t::c_t* self = (CallInfo::u_t::c_t*)tolua_tousertype_dynamic(L, 1, 0, "CallInfo::u_t::c_t"); if (!self) tolua_error(L, "invalid 'self' in calling function 'k'", NULL); - int returnVal = self->k((lua_State*)tolua_tousertype_dynamic(L, 2, 0, "lua_State")); + int returnVal = (self->k)((lua_State*)tolua_tousertype_dynamic(L, 2, 0, "lua_State")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -15798,7 +16866,7 @@ static int tolua_function_CVariableHash_FindKey(lua_State* L) { CVariableHash* self = (CVariableHash*)tolua_tousertype_dynamic(L, 1, 0, "CVariableHash"); if (!self) tolua_error(L, "invalid 'self' in calling function 'FindKey'", NULL); - CVariable* returnVal = self->FindKey((CString*)tolua_tousertype_dynamic(L, 2, 0, "CString")); + CVariable* returnVal = (self->FindKey)((CString*)tolua_tousertype_dynamic(L, 2, 0, "CString")); tolua_pushusertype(L, (void*)returnVal, "CVariable"); return 1; } @@ -15807,7 +16875,7 @@ static int tolua_function_CVariableHash_AddKey(lua_State* L) { CVariableHash* self = (CVariableHash*)tolua_tousertype_dynamic(L, 1, 0, "CVariableHash"); if (!self) tolua_error(L, "invalid 'self' in calling function 'AddKey'", NULL); - int returnVal = self->AddKey((CVariable*)tolua_tousertype_dynamic(L, 2, 0, "CVariable")); + int returnVal = (self->AddKey)((CVariable*)tolua_tousertype_dynamic(L, 2, 0, "CVariable")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -23725,7 +24793,7 @@ static int tolua_function_ConstArray_ushort_1765__get(lua_State* L) { ConstArray* self = (ConstArray*)tolua_tousertype_dynamic(L, 1, 0, "ConstArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); - ushort returnVal = self->get(tolua_function_tointeger(L, 2, "get")); + ushort returnVal = (self->get)(tolua_function_tointeger(L, 2, "get")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -23734,7 +24802,7 @@ static int tolua_function_ConstArray_ushort_1765__getReference(lua_State* L) { ConstArray* self = (ConstArray*)tolua_tousertype_dynamic(L, 1, 0, "ConstArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - const ushort* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + const ushort* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "Primitive"); return 1; } @@ -23743,7 +24811,7 @@ static int tolua_function_ConstArray_ushort_329__get(lua_State* L) { ConstArray* self = (ConstArray*)tolua_tousertype_dynamic(L, 1, 0, "ConstArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); - ushort returnVal = self->get(tolua_function_tointeger(L, 2, "get")); + ushort returnVal = (self->get)(tolua_function_tointeger(L, 2, "get")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -23752,7 +24820,7 @@ static int tolua_function_ConstArray_ushort_329__getReference(lua_State* L) { ConstArray* self = (ConstArray*)tolua_tousertype_dynamic(L, 1, 0, "ConstArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - const ushort* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + const ushort* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "Primitive"); return 1; } @@ -23761,7 +24829,7 @@ static int tolua_function_ConstArray_byte_1765__get(lua_State* L) { ConstArray* self = (ConstArray*)tolua_tousertype_dynamic(L, 1, 0, "ConstArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); - byte returnVal = self->get(tolua_function_tointeger(L, 2, "get")); + byte returnVal = (self->get)(tolua_function_tointeger(L, 2, "get")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -23770,7 +24838,7 @@ static int tolua_function_ConstArray_byte_1765__getReference(lua_State* L) { ConstArray* self = (ConstArray*)tolua_tousertype_dynamic(L, 1, 0, "ConstArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - const byte* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + const byte* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "Primitive"); return 1; } @@ -23779,7 +24847,7 @@ static int tolua_function_ConstArray_short_122__get(lua_State* L) { ConstArray* self = (ConstArray*)tolua_tousertype_dynamic(L, 1, 0, "ConstArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); - short returnVal = self->get(tolua_function_tointeger(L, 2, "get")); + short returnVal = (self->get)(tolua_function_tointeger(L, 2, "get")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -23788,7 +24856,7 @@ static int tolua_function_ConstArray_short_122__getReference(lua_State* L) { ConstArray* self = (ConstArray*)tolua_tousertype_dynamic(L, 1, 0, "ConstArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - const short* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + const short* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "Primitive"); return 1; } @@ -23797,7 +24865,7 @@ static int tolua_function_ConstArray_short_174__get(lua_State* L) { ConstArray* self = (ConstArray*)tolua_tousertype_dynamic(L, 1, 0, "ConstArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); - short returnVal = self->get(tolua_function_tointeger(L, 2, "get")); + short returnVal = (self->get)(tolua_function_tointeger(L, 2, "get")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -23806,7 +24874,7 @@ static int tolua_function_ConstArray_short_174__getReference(lua_State* L) { ConstArray* self = (ConstArray*)tolua_tousertype_dynamic(L, 1, 0, "ConstArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - const short* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + const short* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "Primitive"); return 1; } @@ -23815,7 +24883,7 @@ static int tolua_function_ConstArray__D98D369160A0DDA2B95F5D0F301081BB_157__getR { ConstArray<_D98D369160A0DDA2B95F5D0F301081BB,157>* self = (ConstArray<_D98D369160A0DDA2B95F5D0F301081BB,157>*)tolua_tousertype_dynamic(L, 1, 0, "ConstArray<_D98D369160A0DDA2B95F5D0F301081BB,157>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - const _D98D369160A0DDA2B95F5D0F301081BB* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + const _D98D369160A0DDA2B95F5D0F301081BB* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "_D98D369160A0DDA2B95F5D0F301081BB"); return 1; } @@ -26944,7 +28012,7 @@ static int tolua_function_lua_State_hook(lua_State* L) { lua_State* self = (lua_State*)tolua_tousertype_dynamic(L, 1, 0, "lua_State"); if (!self) tolua_error(L, "invalid 'self' in calling function 'hook'", NULL); - self->hook((lua_State*)tolua_tousertype_dynamic(L, 2, 0, "lua_State"), (lua_Debug*)tolua_tousertype_dynamic(L, 3, 0, "lua_Debug")); + (self->hook)((lua_State*)tolua_tousertype_dynamic(L, 2, 0, "lua_State"), (lua_Debug*)tolua_tousertype_dynamic(L, 3, 0, "lua_Debug")); return 0; } @@ -26952,7 +28020,7 @@ static int tolua_function_VariableArray_CString__getReference(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CString* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CString* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CString"); return 1; } @@ -26961,7 +28029,7 @@ static int tolua_function_VariableArray_CString__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CString*)tolua_tousertype_dynamic(L, 3, 0, "CString")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CString*)tolua_tousertype_dynamic(L, 3, 0, "CString")); return 0; } @@ -26969,7 +28037,7 @@ static int tolua_function_VariableArray_CAIId___get(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); - CAIId* returnVal = self->get(tolua_function_tointeger(L, 2, "get")); + CAIId* returnVal = (self->get)(tolua_function_tointeger(L, 2, "get")); tolua_pushusertype(L, (void*)returnVal, "CAIId"); return 1; } @@ -26978,7 +28046,7 @@ static int tolua_function_VariableArray_CAIId___getReference(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CAIId** returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CAIId** returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "Pointer"); return 1; } @@ -26987,7 +28055,7 @@ static int tolua_function_VariableArray_CAIId___set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), (CAIId*)tolua_tousertype_dynamic(L, 3, 0, "CAIId")); + (self->set)(tolua_function_tointeger(L, 2, "set"), (CAIId*)tolua_tousertype_dynamic(L, 3, 0, "CAIId")); return 0; } @@ -26995,7 +28063,7 @@ static int tolua_function_VariableArray_int__get(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); - int returnVal = self->get(tolua_function_tointeger(L, 2, "get")); + int returnVal = (self->get)(tolua_function_tointeger(L, 2, "get")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -27004,7 +28072,7 @@ static int tolua_function_VariableArray_int__getReference(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - int* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + int* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "Primitive"); return 1; } @@ -27013,7 +28081,7 @@ static int tolua_function_VariableArray_int__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), tolua_function_tointeger(L, 3, "set")); + (self->set)(tolua_function_tointeger(L, 2, "set"), tolua_function_tointeger(L, 3, "set")); return 0; } @@ -27021,7 +28089,7 @@ static int tolua_function_VariableArray_void___get(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); - void* returnVal = self->get(tolua_function_tointeger(L, 2, "get")); + void* returnVal = (self->get)(tolua_function_tointeger(L, 2, "get")); tolua_pushusertype(L, (void*)returnVal, "UnmappedUserType"); return 1; } @@ -27030,7 +28098,7 @@ static int tolua_function_VariableArray_void___getReference(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - void** returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + void** returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "VoidPointer"); return 1; } @@ -27039,7 +28107,7 @@ static int tolua_function_VariableArray_void___set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), (void*)tolua_tousertype_dynamic(L, 3, 0, "UnmappedUserType")); + (self->set)(tolua_function_tointeger(L, 2, "set"), (void*)tolua_tousertype_dynamic(L, 3, 0, "UnmappedUserType")); return 0; } @@ -27047,7 +28115,7 @@ static int tolua_function_VariableArray__D98D369160A0DDA2B95F5D0F301081BB__getRe { VariableArray<_D98D369160A0DDA2B95F5D0F301081BB>* self = (VariableArray<_D98D369160A0DDA2B95F5D0F301081BB>*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray<_D98D369160A0DDA2B95F5D0F301081BB>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - _D98D369160A0DDA2B95F5D0F301081BB* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + _D98D369160A0DDA2B95F5D0F301081BB* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "_D98D369160A0DDA2B95F5D0F301081BB"); return 1; } @@ -27056,7 +28124,7 @@ static int tolua_function_VariableArray__D98D369160A0DDA2B95F5D0F301081BB__set(l { VariableArray<_D98D369160A0DDA2B95F5D0F301081BB>* self = (VariableArray<_D98D369160A0DDA2B95F5D0F301081BB>*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray<_D98D369160A0DDA2B95F5D0F301081BB>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(_D98D369160A0DDA2B95F5D0F301081BB*)tolua_tousertype_dynamic(L, 3, 0, "_D98D369160A0DDA2B95F5D0F301081BB")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(_D98D369160A0DDA2B95F5D0F301081BB*)tolua_tousertype_dynamic(L, 3, 0, "_D98D369160A0DDA2B95F5D0F301081BB")); return 0; } @@ -27064,7 +28132,7 @@ static int tolua_function_VariableArray_short__get(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); - short returnVal = self->get(tolua_function_tointeger(L, 2, "get")); + short returnVal = (self->get)(tolua_function_tointeger(L, 2, "get")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -27073,7 +28141,7 @@ static int tolua_function_VariableArray_short__getReference(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - short* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + short* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "Primitive"); return 1; } @@ -27082,7 +28150,33 @@ static int tolua_function_VariableArray_short__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), tolua_function_tointeger(L, 3, "set")); + (self->set)(tolua_function_tointeger(L, 2, "set"), tolua_function_tointeger(L, 3, "set")); + return 0; +} + +static int tolua_function_VariableArray_ushort__get(lua_State* L) +{ + VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); + ushort returnVal = (self->get)(tolua_function_tointeger(L, 2, "get")); + lua_pushinteger(L, (lua_Integer)returnVal); + return 1; +} + +static int tolua_function_VariableArray_ushort__getReference(lua_State* L) +{ + VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); + ushort* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); + tolua_pushusertype(L, (void*)returnVal, "Primitive"); + return 1; +} + +static int tolua_function_VariableArray_ushort__set(lua_State* L) +{ + VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); + (self->set)(tolua_function_tointeger(L, 2, "set"), tolua_function_tointeger(L, 3, "set")); return 0; } @@ -27090,7 +28184,7 @@ static int tolua_function_VariableArray_char__get(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); - char returnVal = self->get(tolua_function_tointeger(L, 2, "get")); + char returnVal = (self->get)(tolua_function_tointeger(L, 2, "get")); lua_pushlstring(L, (const char*)&returnVal, 1); return 1; } @@ -27099,7 +28193,7 @@ static int tolua_function_VariableArray_char__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), tolua_function_tochar(L, 3, "set")); + (self->set)(tolua_function_tointeger(L, 2, "set"), tolua_function_tochar(L, 3, "set")); return 0; } @@ -27107,7 +28201,7 @@ static int tolua_function_VariableArray_byte__get(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); - byte returnVal = self->get(tolua_function_tointeger(L, 2, "get")); + byte returnVal = (self->get)(tolua_function_tointeger(L, 2, "get")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -27116,7 +28210,7 @@ static int tolua_function_VariableArray_byte__getReference(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - byte* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + byte* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "Primitive"); return 1; } @@ -27125,33 +28219,24 @@ static int tolua_function_VariableArray_byte__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), tolua_function_tointeger(L, 3, "set")); + (self->set)(tolua_function_tointeger(L, 2, "set"), tolua_function_tointeger(L, 3, "set")); return 0; } -static int tolua_function_VariableArray_ushort__get(lua_State* L) -{ - VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); - if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); - ushort returnVal = self->get(tolua_function_tointeger(L, 2, "get")); - lua_pushinteger(L, (lua_Integer)returnVal); - return 1; -} - -static int tolua_function_VariableArray_ushort__getReference(lua_State* L) +static int tolua_function_VariableArray_CRect__getReference(lua_State* L) { - VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); + VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - ushort* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); - tolua_pushusertype(L, (void*)returnVal, "Primitive"); + CRect* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); + tolua_pushusertype(L, (void*)returnVal, "CRect"); return 1; } -static int tolua_function_VariableArray_ushort__set(lua_State* L) +static int tolua_function_VariableArray_CRect__set(lua_State* L) { - VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); + VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), tolua_function_tointeger(L, 3, "set")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CRect*)tolua_tousertype_dynamic(L, 3, 0, "CRect")); return 0; } @@ -27159,7 +28244,7 @@ static int tolua_function_VariableArray_CRes___get(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); - CRes* returnVal = self->get(tolua_function_tointeger(L, 2, "get")); + CRes* returnVal = (self->get)(tolua_function_tointeger(L, 2, "get")); tolua_pushusertype(L, (void*)returnVal, "CRes"); return 1; } @@ -27168,7 +28253,7 @@ static int tolua_function_VariableArray_CRes___getReference(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CRes** returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CRes** returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "Pointer"); return 1; } @@ -27177,7 +28262,7 @@ static int tolua_function_VariableArray_CRes___set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), (CRes*)tolua_tousertype_dynamic(L, 3, 0, "CRes")); + (self->set)(tolua_function_tointeger(L, 2, "set"), (CRes*)tolua_tousertype_dynamic(L, 3, 0, "CRes")); return 0; } @@ -27185,7 +28270,7 @@ static int tolua_function_VariableArray_CGameDialogEntry___get(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); - CGameDialogEntry* returnVal = self->get(tolua_function_tointeger(L, 2, "get")); + CGameDialogEntry* returnVal = (self->get)(tolua_function_tointeger(L, 2, "get")); tolua_pushusertype(L, (void*)returnVal, "CGameDialogEntry"); return 1; } @@ -27194,7 +28279,7 @@ static int tolua_function_VariableArray_CGameDialogEntry___getReference(lua_Stat { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CGameDialogEntry** returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CGameDialogEntry** returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "Pointer"); return 1; } @@ -27203,7 +28288,7 @@ static int tolua_function_VariableArray_CGameDialogEntry___set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), (CGameDialogEntry*)tolua_tousertype_dynamic(L, 3, 0, "CGameDialogEntry")); + (self->set)(tolua_function_tointeger(L, 2, "set"), (CGameDialogEntry*)tolua_tousertype_dynamic(L, 3, 0, "CGameDialogEntry")); return 0; } @@ -27211,7 +28296,7 @@ static int tolua_function_VariableArray_CTypedPtrList_CPtrList_CGameJournalEntry { VariableArray*>* self = (VariableArray*>*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray*>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); - CTypedPtrList* returnVal = self->get(tolua_function_tointeger(L, 2, "get")); + CTypedPtrList* returnVal = (self->get)(tolua_function_tointeger(L, 2, "get")); tolua_pushusertype(L, (void*)returnVal, "CTypedPtrList"); return 1; } @@ -27220,7 +28305,7 @@ static int tolua_function_VariableArray_CTypedPtrList_CPtrList_CGameJournalEntry { VariableArray*>* self = (VariableArray*>*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray*>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CTypedPtrList** returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CTypedPtrList** returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "Pointer>"); return 1; } @@ -27229,7 +28314,7 @@ static int tolua_function_VariableArray_CTypedPtrList_CPtrList_CGameJournalEntry { VariableArray*>* self = (VariableArray*>*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray*>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), (CTypedPtrList*)tolua_tousertype_dynamic(L, 3, 0, "CTypedPtrList")); + (self->set)(tolua_function_tointeger(L, 2, "set"), (CTypedPtrList*)tolua_tousertype_dynamic(L, 3, 0, "CTypedPtrList")); return 0; } @@ -27237,7 +28322,7 @@ static int tolua_function_VariableArray_CSavedGamePartyCreature___get(lua_State* { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); - CSavedGamePartyCreature* returnVal = self->get(tolua_function_tointeger(L, 2, "get")); + CSavedGamePartyCreature* returnVal = (self->get)(tolua_function_tointeger(L, 2, "get")); tolua_pushusertype(L, (void*)returnVal, "CSavedGamePartyCreature"); return 1; } @@ -27246,7 +28331,7 @@ static int tolua_function_VariableArray_CSavedGamePartyCreature___getReference(l { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CSavedGamePartyCreature** returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CSavedGamePartyCreature** returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "Pointer"); return 1; } @@ -27255,7 +28340,7 @@ static int tolua_function_VariableArray_CSavedGamePartyCreature___set(lua_State* { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), (CSavedGamePartyCreature*)tolua_tousertype_dynamic(L, 3, 0, "CSavedGamePartyCreature")); + (self->set)(tolua_function_tointeger(L, 2, "set"), (CSavedGamePartyCreature*)tolua_tousertype_dynamic(L, 3, 0, "CSavedGamePartyCreature")); return 0; } @@ -27263,7 +28348,7 @@ static int tolua_function_VariableArray_unsigned_char___getReference(lua_State* { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - unsigned char** returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + unsigned char** returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CharString"); return 1; } @@ -27272,7 +28357,7 @@ static int tolua_function_VariableArray_unsigned_char___set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(unsigned char**)tolua_tousertype_dynamic(L, 3, 0, "CharString")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(unsigned char**)tolua_tousertype_dynamic(L, 3, 0, "CharString")); return 0; } @@ -27280,7 +28365,7 @@ static int tolua_function_VariableArray_CAbilityData___get(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); - CAbilityData* returnVal = self->get(tolua_function_tointeger(L, 2, "get")); + CAbilityData* returnVal = (self->get)(tolua_function_tointeger(L, 2, "get")); tolua_pushusertype(L, (void*)returnVal, "CAbilityData"); return 1; } @@ -27289,7 +28374,7 @@ static int tolua_function_VariableArray_CAbilityData___getReference(lua_State* L { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CAbilityData** returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CAbilityData** returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "Pointer"); return 1; } @@ -27298,7 +28383,7 @@ static int tolua_function_VariableArray_CAbilityData___set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), (CAbilityData*)tolua_tousertype_dynamic(L, 3, 0, "CAbilityData")); + (self->set)(tolua_function_tointeger(L, 2, "set"), (CAbilityData*)tolua_tousertype_dynamic(L, 3, 0, "CAbilityData")); return 0; } @@ -27306,7 +28391,7 @@ static int tolua_function_VariableArray_CSaveGameSlot___get(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); - CSaveGameSlot* returnVal = self->get(tolua_function_tointeger(L, 2, "get")); + CSaveGameSlot* returnVal = (self->get)(tolua_function_tointeger(L, 2, "get")); tolua_pushusertype(L, (void*)returnVal, "CSaveGameSlot"); return 1; } @@ -27315,7 +28400,7 @@ static int tolua_function_VariableArray_CSaveGameSlot___getReference(lua_State* { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CSaveGameSlot** returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CSaveGameSlot** returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "Pointer"); return 1; } @@ -27324,7 +28409,7 @@ static int tolua_function_VariableArray_CSaveGameSlot___set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), (CSaveGameSlot*)tolua_tousertype_dynamic(L, 3, 0, "CSaveGameSlot")); + (self->set)(tolua_function_tointeger(L, 2, "set"), (CSaveGameSlot*)tolua_tousertype_dynamic(L, 3, 0, "CSaveGameSlot")); return 0; } @@ -27332,7 +28417,7 @@ static int tolua_function_VariableArray_CSpawnPoint___get(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); - CSpawnPoint* returnVal = self->get(tolua_function_tointeger(L, 2, "get")); + CSpawnPoint* returnVal = (self->get)(tolua_function_tointeger(L, 2, "get")); tolua_pushusertype(L, (void*)returnVal, "CSpawnPoint"); return 1; } @@ -27341,7 +28426,7 @@ static int tolua_function_VariableArray_CSpawnPoint___getReference(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CSpawnPoint** returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CSpawnPoint** returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "Pointer"); return 1; } @@ -27350,7 +28435,7 @@ static int tolua_function_VariableArray_CSpawnPoint___set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), (CSpawnPoint*)tolua_tousertype_dynamic(L, 3, 0, "CSpawnPoint")); + (self->set)(tolua_function_tointeger(L, 2, "set"), (CSpawnPoint*)tolua_tousertype_dynamic(L, 3, 0, "CSpawnPoint")); return 0; } @@ -27358,7 +28443,7 @@ static int tolua_function_VariableArray_CGameDialogReply___get(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); - CGameDialogReply* returnVal = self->get(tolua_function_tointeger(L, 2, "get")); + CGameDialogReply* returnVal = (self->get)(tolua_function_tointeger(L, 2, "get")); tolua_pushusertype(L, (void*)returnVal, "CGameDialogReply"); return 1; } @@ -27367,7 +28452,7 @@ static int tolua_function_VariableArray_CGameDialogReply___getReference(lua_Stat { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CGameDialogReply** returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CGameDialogReply** returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "Pointer"); return 1; } @@ -27376,7 +28461,7 @@ static int tolua_function_VariableArray_CGameDialogReply___set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), (CGameDialogReply*)tolua_tousertype_dynamic(L, 3, 0, "CGameDialogReply")); + (self->set)(tolua_function_tointeger(L, 2, "set"), (CGameDialogReply*)tolua_tousertype_dynamic(L, 3, 0, "CGameDialogReply")); return 0; } @@ -27384,7 +28469,7 @@ static int tolua_function_VariableArray_long__get(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); - long returnVal = self->get(tolua_function_tointeger(L, 2, "get")); + long returnVal = (self->get)(tolua_function_tointeger(L, 2, "get")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -27393,7 +28478,7 @@ static int tolua_function_VariableArray_long__getReference(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - long* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + long* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "Primitive"); return 1; } @@ -27402,7 +28487,7 @@ static int tolua_function_VariableArray_long__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), tolua_function_tointeger(L, 3, "set")); + (self->set)(tolua_function_tointeger(L, 2, "set"), tolua_function_tointeger(L, 3, "set")); return 0; } @@ -27410,7 +28495,7 @@ static int tolua_function_VariableArray___int8__get(lua_State* L) { VariableArray<__int8>* self = (VariableArray<__int8>*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray<__int8>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); - __int8 returnVal = self->get(tolua_function_tointeger(L, 2, "get")); + __int8 returnVal = (self->get)(tolua_function_tointeger(L, 2, "get")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -27419,7 +28504,7 @@ static int tolua_function_VariableArray___int8__getReference(lua_State* L) { VariableArray<__int8>* self = (VariableArray<__int8>*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray<__int8>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - __int8* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + __int8* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "Primitive<__int8>"); return 1; } @@ -27428,7 +28513,7 @@ static int tolua_function_VariableArray___int8__set(lua_State* L) { VariableArray<__int8>* self = (VariableArray<__int8>*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray<__int8>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), tolua_function_tointeger<__int8>(L, 3, "set")); + (self->set)(tolua_function_tointeger(L, 2, "set"), tolua_function_tointeger<__int8>(L, 3, "set")); return 0; } @@ -27436,7 +28521,7 @@ static int tolua_function_VariableArray_CSoundChannel___get(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); - CSoundChannel* returnVal = self->get(tolua_function_tointeger(L, 2, "get")); + CSoundChannel* returnVal = (self->get)(tolua_function_tointeger(L, 2, "get")); tolua_pushusertype(L, (void*)returnVal, "CSoundChannel"); return 1; } @@ -27445,7 +28530,7 @@ static int tolua_function_VariableArray_CSoundChannel___getReference(lua_State* { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CSoundChannel** returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CSoundChannel** returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "Pointer"); return 1; } @@ -27454,24 +28539,7 @@ static int tolua_function_VariableArray_CSoundChannel___set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), (CSoundChannel*)tolua_tousertype_dynamic(L, 3, 0, "CSoundChannel")); - return 0; -} - -static int tolua_function_VariableArray_CRect__getReference(lua_State* L) -{ - VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); - if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CRect* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); - tolua_pushusertype(L, (void*)returnVal, "CRect"); - return 1; -} - -static int tolua_function_VariableArray_CRect__set(lua_State* L) -{ - VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); - if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CRect*)tolua_tousertype_dynamic(L, 3, 0, "CRect")); + (self->set)(tolua_function_tointeger(L, 2, "set"), (CSoundChannel*)tolua_tousertype_dynamic(L, 3, 0, "CSoundChannel")); return 0; } @@ -27479,7 +28547,7 @@ static int tolua_function_VariableArray_ALCcontext_struct__getReference(lua_Stat { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - ALCcontext_struct* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + ALCcontext_struct* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "ALCcontext_struct"); return 1; } @@ -27488,7 +28556,7 @@ static int tolua_function_VariableArray_ALCcontext_struct__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(ALCcontext_struct*)tolua_tousertype_dynamic(L, 3, 0, "ALCcontext_struct")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(ALCcontext_struct*)tolua_tousertype_dynamic(L, 3, 0, "ALCcontext_struct")); return 0; } @@ -27496,7 +28564,7 @@ static int tolua_function_VariableArray_ALCdevice_struct__getReference(lua_State { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - ALCdevice_struct* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + ALCdevice_struct* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "ALCdevice_struct"); return 1; } @@ -27505,7 +28573,7 @@ static int tolua_function_VariableArray_ALCdevice_struct__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(ALCdevice_struct*)tolua_tousertype_dynamic(L, 3, 0, "ALCdevice_struct")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(ALCdevice_struct*)tolua_tousertype_dynamic(L, 3, 0, "ALCdevice_struct")); return 0; } @@ -27513,7 +28581,7 @@ static int tolua_function_VariableArray_CUIControlTextDisplay__getReference(lua_ { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CUIControlTextDisplay* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CUIControlTextDisplay* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CUIControlTextDisplay"); return 1; } @@ -27522,7 +28590,7 @@ static int tolua_function_VariableArray_CUIControlTextDisplay__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CUIControlTextDisplay*)tolua_tousertype_dynamic(L, 3, 0, "CUIControlTextDisplay")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CUIControlTextDisplay*)tolua_tousertype_dynamic(L, 3, 0, "CUIControlTextDisplay")); return 0; } @@ -27530,7 +28598,7 @@ static int tolua_function_VariableArray_HRESULT__get(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); - HRESULT returnVal = self->get(tolua_function_tointeger(L, 2, "get")); + HRESULT returnVal = (self->get)(tolua_function_tointeger(L, 2, "get")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -27539,7 +28607,7 @@ static int tolua_function_VariableArray_HRESULT__getReference(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - HRESULT* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + HRESULT* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "Primitive"); return 1; } @@ -27548,7 +28616,7 @@ static int tolua_function_VariableArray_HRESULT__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), tolua_function_tointeger(L, 3, "set")); + (self->set)(tolua_function_tointeger(L, 2, "set"), tolua_function_tointeger(L, 3, "set")); return 0; } @@ -27556,7 +28624,7 @@ static int tolua_function_VariableArray_ID3DXBuffer___get(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); - ID3DXBuffer* returnVal = self->get(tolua_function_tointeger(L, 2, "get")); + ID3DXBuffer* returnVal = (self->get)(tolua_function_tointeger(L, 2, "get")); tolua_pushusertype(L, (void*)returnVal, "ID3DXBuffer"); return 1; } @@ -27565,7 +28633,7 @@ static int tolua_function_VariableArray_ID3DXBuffer___getReference(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - ID3DXBuffer** returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + ID3DXBuffer** returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "Pointer"); return 1; } @@ -27574,7 +28642,7 @@ static int tolua_function_VariableArray_ID3DXBuffer___set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), (ID3DXBuffer*)tolua_tousertype_dynamic(L, 3, 0, "ID3DXBuffer")); + (self->set)(tolua_function_tointeger(L, 2, "set"), (ID3DXBuffer*)tolua_tousertype_dynamic(L, 3, 0, "ID3DXBuffer")); return 0; } @@ -27582,7 +28650,7 @@ static int tolua_function_VariableArray_ID3DXEffect___get(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); - ID3DXEffect* returnVal = self->get(tolua_function_tointeger(L, 2, "get")); + ID3DXEffect* returnVal = (self->get)(tolua_function_tointeger(L, 2, "get")); tolua_pushusertype(L, (void*)returnVal, "ID3DXEffect"); return 1; } @@ -27591,7 +28659,7 @@ static int tolua_function_VariableArray_ID3DXEffect___getReference(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - ID3DXEffect** returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + ID3DXEffect** returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "Pointer"); return 1; } @@ -27600,7 +28668,7 @@ static int tolua_function_VariableArray_ID3DXEffect___set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), (ID3DXEffect*)tolua_tousertype_dynamic(L, 3, 0, "ID3DXEffect")); + (self->set)(tolua_function_tointeger(L, 2, "set"), (ID3DXEffect*)tolua_tousertype_dynamic(L, 3, 0, "ID3DXEffect")); return 0; } @@ -27608,7 +28676,7 @@ static int tolua_function_VariableArray_SAreaFileWrapper__getReference(lua_State { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - SAreaFileWrapper* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + SAreaFileWrapper* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "SAreaFileWrapper"); return 1; } @@ -27617,7 +28685,7 @@ static int tolua_function_VariableArray_SAreaFileWrapper__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(SAreaFileWrapper*)tolua_tousertype_dynamic(L, 3, 0, "SAreaFileWrapper")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(SAreaFileWrapper*)tolua_tousertype_dynamic(L, 3, 0, "SAreaFileWrapper")); return 0; } @@ -27625,7 +28693,7 @@ static int tolua_function_VariableArray_SDL_Cursor__getReference(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - SDL_Cursor* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + SDL_Cursor* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "SDL_Cursor"); return 1; } @@ -27634,7 +28702,24 @@ static int tolua_function_VariableArray_SDL_Cursor__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(SDL_Cursor*)tolua_tousertype_dynamic(L, 3, 0, "SDL_Cursor")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(SDL_Cursor*)tolua_tousertype_dynamic(L, 3, 0, "SDL_Cursor")); + return 0; +} + +static int tolua_function_VariableArray_SDL_PrivateGLESData__getReference(lua_State* L) +{ + VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); + SDL_PrivateGLESData* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); + tolua_pushusertype(L, (void*)returnVal, "SDL_PrivateGLESData"); + return 1; +} + +static int tolua_function_VariableArray_SDL_PrivateGLESData__set(lua_State* L) +{ + VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(SDL_PrivateGLESData*)tolua_tousertype_dynamic(L, 3, 0, "SDL_PrivateGLESData")); return 0; } @@ -27642,7 +28727,7 @@ static int tolua_function_VariableArray_SDL_WindowUserData__getReference(lua_Sta { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - SDL_WindowUserData* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + SDL_WindowUserData* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "SDL_WindowUserData"); return 1; } @@ -27651,7 +28736,7 @@ static int tolua_function_VariableArray_SDL_WindowUserData__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(SDL_WindowUserData*)tolua_tousertype_dynamic(L, 3, 0, "SDL_WindowUserData")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(SDL_WindowUserData*)tolua_tousertype_dynamic(L, 3, 0, "SDL_WindowUserData")); return 0; } @@ -27659,7 +28744,7 @@ static int tolua_function_VariableArray_SProjectileWrapper__getReference(lua_Sta { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - SProjectileWrapper* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + SProjectileWrapper* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "SProjectileWrapper"); return 1; } @@ -27668,7 +28753,7 @@ static int tolua_function_VariableArray_SProjectileWrapper__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(SProjectileWrapper*)tolua_tousertype_dynamic(L, 3, 0, "SProjectileWrapper")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(SProjectileWrapper*)tolua_tousertype_dynamic(L, 3, 0, "SProjectileWrapper")); return 0; } @@ -27676,7 +28761,7 @@ static int tolua_function_VariableArray_const__D3DXMACRO__getReference(lua_State { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - const _D3DXMACRO* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + const _D3DXMACRO* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "_D3DXMACRO"); return 1; } @@ -27685,7 +28770,7 @@ static int tolua_function_VariableArray___POSITION__getReference(lua_State* L) { VariableArray<__POSITION>* self = (VariableArray<__POSITION>*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray<__POSITION>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - __POSITION* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + __POSITION* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "__POSITION"); return 1; } @@ -27694,7 +28779,7 @@ static int tolua_function_VariableArray___POSITION__set(lua_State* L) { VariableArray<__POSITION>* self = (VariableArray<__POSITION>*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray<__POSITION>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(__POSITION*)tolua_tousertype_dynamic(L, 3, 0, "__POSITION")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(__POSITION*)tolua_tousertype_dynamic(L, 3, 0, "__POSITION")); return 0; } @@ -27702,7 +28787,7 @@ static int tolua_function_VariableArray_const_unsigned___int16__get(lua_State* L { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); - const unsigned __int16 returnVal = self->get(tolua_function_tointeger(L, 2, "get")); + const unsigned __int16 returnVal = (self->get)(tolua_function_tointeger(L, 2, "get")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -27711,7 +28796,7 @@ static int tolua_function_VariableArray_const_unsigned___int16__getReference(lua { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - const unsigned __int16* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + const unsigned __int16* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "Primitive<__int16>"); return 1; } @@ -27720,7 +28805,7 @@ static int tolua_function_VariableArray_WED_ScreenSectionList__getReference(lua_ { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - WED_ScreenSectionList* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + WED_ScreenSectionList* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "WED_ScreenSectionList"); return 1; } @@ -27729,7 +28814,7 @@ static int tolua_function_VariableArray_WED_ScreenSectionList__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(WED_ScreenSectionList*)tolua_tousertype_dynamic(L, 3, 0, "WED_ScreenSectionList")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(WED_ScreenSectionList*)tolua_tousertype_dynamic(L, 3, 0, "WED_ScreenSectionList")); return 0; } @@ -27737,7 +28822,7 @@ static int tolua_function_VariableArray_WED_PolyPoint_st__getReference(lua_State { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - WED_PolyPoint_st* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + WED_PolyPoint_st* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "WED_PolyPoint_st"); return 1; } @@ -27746,7 +28831,7 @@ static int tolua_function_VariableArray_WED_PolyPoint_st__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(WED_PolyPoint_st*)tolua_tousertype_dynamic(L, 3, 0, "WED_PolyPoint_st")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(WED_PolyPoint_st*)tolua_tousertype_dynamic(L, 3, 0, "WED_PolyPoint_st")); return 0; } @@ -27754,7 +28839,7 @@ static int tolua_function_VariableArray_CVIDPOLY_VERTEX__getReference(lua_State* { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CVIDPOLY_VERTEX* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CVIDPOLY_VERTEX* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CVIDPOLY_VERTEX"); return 1; } @@ -27763,7 +28848,7 @@ static int tolua_function_VariableArray_CVIDPOLY_VERTEX__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CVIDPOLY_VERTEX*)tolua_tousertype_dynamic(L, 3, 0, "CVIDPOLY_VERTEX")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CVIDPOLY_VERTEX*)tolua_tousertype_dynamic(L, 3, 0, "CVIDPOLY_VERTEX")); return 0; } @@ -27771,7 +28856,7 @@ static int tolua_function_VariableArray_CAreaPoint__getReference(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CAreaPoint* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CAreaPoint* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CAreaPoint"); return 1; } @@ -27780,7 +28865,7 @@ static int tolua_function_VariableArray_CAreaPoint__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CAreaPoint*)tolua_tousertype_dynamic(L, 3, 0, "CAreaPoint")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CAreaPoint*)tolua_tousertype_dynamic(L, 3, 0, "CAreaPoint")); return 0; } @@ -27788,7 +28873,7 @@ static int tolua_function_VariableArray_EItemPreviewType__get(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); - EItemPreviewType returnVal = self->get(tolua_function_tointeger(L, 2, "get")); + EItemPreviewType returnVal = (self->get)(tolua_function_tointeger(L, 2, "get")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -27797,7 +28882,7 @@ static int tolua_function_VariableArray_EItemPreviewType__getReference(lua_State { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - EItemPreviewType* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + EItemPreviewType* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "Primitive"); return 1; } @@ -27806,7 +28891,7 @@ static int tolua_function_VariableArray_EItemPreviewType__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), (EItemPreviewType)tolua_function_tointeger<__int32>(L, 3, "set")); + (self->set)(tolua_function_tointeger(L, 2, "set"), (EItemPreviewType)tolua_function_tointeger<__int32>(L, 3, "set")); return 0; } @@ -27814,7 +28899,7 @@ static int tolua_function_VariableArray___int64__get(lua_State* L) { VariableArray<__int64>* self = (VariableArray<__int64>*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray<__int64>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); - __int64 returnVal = self->get(tolua_function_tointeger(L, 2, "get")); + __int64 returnVal = (self->get)(tolua_function_tointeger(L, 2, "get")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -27823,7 +28908,7 @@ static int tolua_function_VariableArray___int64__getReference(lua_State* L) { VariableArray<__int64>* self = (VariableArray<__int64>*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray<__int64>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - __int64* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + __int64* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "Primitive<__int64>"); return 1; } @@ -27832,7 +28917,7 @@ static int tolua_function_VariableArray___int64__set(lua_State* L) { VariableArray<__int64>* self = (VariableArray<__int64>*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray<__int64>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), tolua_function_tointeger<__int64>(L, 3, "set")); + (self->set)(tolua_function_tointeger(L, 2, "set"), tolua_function_tointeger<__int64>(L, 3, "set")); return 0; } @@ -27840,7 +28925,7 @@ static int tolua_function_VariableArray_CSteamID__getReference(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CSteamID* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CSteamID* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CSteamID"); return 1; } @@ -27849,7 +28934,7 @@ static int tolua_function_VariableArray_CSteamID__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CSteamID*)tolua_tousertype_dynamic(L, 3, 0, "CSteamID")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CSteamID*)tolua_tousertype_dynamic(L, 3, 0, "CSteamID")); return 0; } @@ -27857,7 +28942,7 @@ static int tolua_function_VariableArray_const_unsigned___int8__get(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); - const unsigned __int8 returnVal = self->get(tolua_function_tointeger(L, 2, "get")); + const unsigned __int8 returnVal = (self->get)(tolua_function_tointeger(L, 2, "get")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -27866,7 +28951,7 @@ static int tolua_function_VariableArray_const_unsigned___int8__getReference(lua_ { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - const unsigned __int8* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + const unsigned __int8* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "Primitive<__int8>"); return 1; } @@ -27875,7 +28960,7 @@ static int tolua_function_VariableArray_unsigned___int8___get(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); - unsigned __int8* returnVal = self->get(tolua_function_tointeger(L, 2, "get")); + unsigned __int8* returnVal = (self->get)(tolua_function_tointeger(L, 2, "get")); tolua_pushusertype(L, (void*)returnVal, "Primitive<__int8>"); return 1; } @@ -27884,7 +28969,7 @@ static int tolua_function_VariableArray_unsigned___int8___getReference(lua_State { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - unsigned __int8** returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + unsigned __int8** returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "Pointer"); return 1; } @@ -27893,7 +28978,7 @@ static int tolua_function_VariableArray_unsigned___int8___set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), (unsigned __int8*)tolua_tousertype_dynamic(L, 3, 0, "Primitive<__int8>")); + (self->set)(tolua_function_tointeger(L, 2, "set"), (unsigned __int8*)tolua_tousertype_dynamic(L, 3, 0, "Primitive<__int8>")); return 0; } @@ -27901,7 +28986,7 @@ static int tolua_function_VariableArray_Upvaldesc__getReference(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - Upvaldesc* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + Upvaldesc* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "Upvaldesc"); return 1; } @@ -27910,7 +28995,7 @@ static int tolua_function_VariableArray_Upvaldesc__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(Upvaldesc*)tolua_tousertype_dynamic(L, 3, 0, "Upvaldesc")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(Upvaldesc*)tolua_tousertype_dynamic(L, 3, 0, "Upvaldesc")); return 0; } @@ -27918,7 +29003,7 @@ static int tolua_function_VariableArray_SDL_Color__getReference(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - SDL_Color* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + SDL_Color* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "SDL_Color"); return 1; } @@ -27927,7 +29012,24 @@ static int tolua_function_VariableArray_SDL_Color__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(SDL_Color*)tolua_tousertype_dynamic(L, 3, 0, "SDL_Color")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(SDL_Color*)tolua_tousertype_dynamic(L, 3, 0, "SDL_Color")); + return 0; +} + +static int tolua_function_VariableArray_SDL_WindowShapeMode__getReference(lua_State* L) +{ + VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); + SDL_WindowShapeMode* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); + tolua_pushusertype(L, (void*)returnVal, "SDL_WindowShapeMode"); + return 1; +} + +static int tolua_function_VariableArray_SDL_WindowShapeMode__set(lua_State* L) +{ + VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(SDL_WindowShapeMode*)tolua_tousertype_dynamic(L, 3, 0, "SDL_WindowShapeMode")); return 0; } @@ -27935,7 +29037,7 @@ static int tolua_function_VariableArray_CVisibilityMapEllipse__getReference(lua_ { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CVisibilityMapEllipse* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CVisibilityMapEllipse* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CVisibilityMapEllipse"); return 1; } @@ -27944,7 +29046,7 @@ static int tolua_function_VariableArray_CVisibilityMapEllipse__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CVisibilityMapEllipse*)tolua_tousertype_dynamic(L, 3, 0, "CVisibilityMapEllipse")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CVisibilityMapEllipse*)tolua_tousertype_dynamic(L, 3, 0, "CVisibilityMapEllipse")); return 0; } @@ -27952,7 +29054,7 @@ static int tolua_function_VariableArray_CColorRange__getReference(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CColorRange* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CColorRange* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CColorRange"); return 1; } @@ -27961,7 +29063,7 @@ static int tolua_function_VariableArray_CColorRange__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CColorRange*)tolua_tousertype_dynamic(L, 3, 0, "CColorRange")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CColorRange*)tolua_tousertype_dynamic(L, 3, 0, "CColorRange")); return 0; } @@ -27969,7 +29071,7 @@ static int tolua_function_VariableArray__iobuf__getReference(lua_State* L) { VariableArray<_iobuf>* self = (VariableArray<_iobuf>*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray<_iobuf>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - _iobuf* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + _iobuf* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "_iobuf"); return 1; } @@ -27978,7 +29080,7 @@ static int tolua_function_VariableArray__iobuf__set(lua_State* L) { VariableArray<_iobuf>* self = (VariableArray<_iobuf>*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray<_iobuf>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(_iobuf*)tolua_tousertype_dynamic(L, 3, 0, "_iobuf")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(_iobuf*)tolua_tousertype_dynamic(L, 3, 0, "_iobuf")); return 0; } @@ -27986,7 +29088,7 @@ static int tolua_function_VariableArray_bool__get(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); - bool returnVal = self->get(tolua_function_tointeger(L, 2, "get")); + bool returnVal = (self->get)(tolua_function_tointeger(L, 2, "get")); tolua_pushboolean(L, (bool)returnVal); return 1; } @@ -27995,7 +29097,7 @@ static int tolua_function_VariableArray_bool__getReference(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - bool* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + bool* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "Primitive"); return 1; } @@ -28004,15 +29106,33 @@ static int tolua_function_VariableArray_bool__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), tolua_function_toboolean(L, 3, "set")); + (self->set)(tolua_function_tointeger(L, 2, "set"), tolua_function_toboolean(L, 3, "set")); return 0; } +static int tolua_function_VariableArray_const_byte__get(lua_State* L) +{ + VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); + const byte returnVal = (self->get)(tolua_function_tointeger(L, 2, "get")); + lua_pushinteger(L, (lua_Integer)returnVal); + return 1; +} + +static int tolua_function_VariableArray_const_byte__getReference(lua_State* L) +{ + VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); + const byte* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); + tolua_pushusertype(L, (void*)returnVal, "Primitive"); + return 1; +} + static int tolua_function_VariableArray_const_char___getReference(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - const char** returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + const char** returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "ConstCharString"); return 1; } @@ -28021,7 +29141,7 @@ static int tolua_function_VariableArray_const_long_double__get(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); - const long double returnVal = self->get(tolua_function_tointeger(L, 2, "get")); + const long double returnVal = (self->get)(tolua_function_tointeger(L, 2, "get")); tolua_pushnumber(L, (lua_Number)returnVal); return 1; } @@ -28030,7 +29150,7 @@ static int tolua_function_VariableArray_const_long_double__getReference(lua_Stat { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - const long double* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + const long double* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "Primitive"); return 1; } @@ -28039,7 +29159,7 @@ static int tolua_function_VariableArray_long_double__get(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); - long double returnVal = self->get(tolua_function_tointeger(L, 2, "get")); + long double returnVal = (self->get)(tolua_function_tointeger(L, 2, "get")); tolua_pushnumber(L, (lua_Number)returnVal); return 1; } @@ -28048,7 +29168,7 @@ static int tolua_function_VariableArray_long_double__getReference(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - long double* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + long double* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "Primitive"); return 1; } @@ -28057,15 +29177,33 @@ static int tolua_function_VariableArray_long_double__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), tolua_function_tonumber(L, 3, "set")); + (self->set)(tolua_function_tointeger(L, 2, "set"), tolua_function_tonumber(L, 3, "set")); return 0; } +static int tolua_function_VariableArray_const_float__get(lua_State* L) +{ + VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); + const float returnVal = (self->get)(tolua_function_tointeger(L, 2, "get")); + tolua_pushnumber(L, (lua_Number)returnVal); + return 1; +} + +static int tolua_function_VariableArray_const_float__getReference(lua_State* L) +{ + VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); + const float* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); + tolua_pushusertype(L, (void*)returnVal, "Primitive"); + return 1; +} + static int tolua_function_VariableArray_const_unsigned_int__get(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); - const unsigned int returnVal = self->get(tolua_function_tointeger(L, 2, "get")); + const unsigned int returnVal = (self->get)(tolua_function_tointeger(L, 2, "get")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -28074,7 +29212,7 @@ static int tolua_function_VariableArray_const_unsigned_int__getReference(lua_Sta { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - const unsigned int* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + const unsigned int* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "Primitive"); return 1; } @@ -28083,7 +29221,7 @@ static int tolua_function_VariableArray_const_int__get(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); - const int returnVal = self->get(tolua_function_tointeger(L, 2, "get")); + const int returnVal = (self->get)(tolua_function_tointeger(L, 2, "get")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -28092,7 +29230,7 @@ static int tolua_function_VariableArray_const_int__getReference(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - const int* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + const int* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "Primitive"); return 1; } @@ -28101,7 +29239,7 @@ static int tolua_function_VariableArray_glyphAdvance_t__getReference(lua_State* { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - glyphAdvance_t* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + glyphAdvance_t* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "glyphAdvance_t"); return 1; } @@ -28110,7 +29248,7 @@ static int tolua_function_VariableArray_glyphAdvance_t__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(glyphAdvance_t*)tolua_tousertype_dynamic(L, 3, 0, "glyphAdvance_t")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(glyphAdvance_t*)tolua_tousertype_dynamic(L, 3, 0, "glyphAdvance_t")); return 0; } @@ -28118,7 +29256,7 @@ static int tolua_function_VariableArray_frameTableEntry_st__getReference(lua_Sta { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - frameTableEntry_st* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + frameTableEntry_st* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "frameTableEntry_st"); return 1; } @@ -28127,7 +29265,7 @@ static int tolua_function_VariableArray_frameTableEntry_st__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(frameTableEntry_st*)tolua_tousertype_dynamic(L, 3, 0, "frameTableEntry_st")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(frameTableEntry_st*)tolua_tousertype_dynamic(L, 3, 0, "frameTableEntry_st")); return 0; } @@ -28135,7 +29273,7 @@ static int tolua_function_VariableArray_d3dvertex_t__getReference(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - d3dvertex_t* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + d3dvertex_t* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "d3dvertex_t"); return 1; } @@ -28144,7 +29282,7 @@ static int tolua_function_VariableArray_d3dvertex_t__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(d3dvertex_t*)tolua_tousertype_dynamic(L, 3, 0, "d3dvertex_t")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(d3dvertex_t*)tolua_tousertype_dynamic(L, 3, 0, "d3dvertex_t")); return 0; } @@ -28152,7 +29290,7 @@ static int tolua_function_VariableArray_bamHeader_st__getReference(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - bamHeader_st* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + bamHeader_st* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "bamHeader_st"); return 1; } @@ -28161,7 +29299,7 @@ static int tolua_function_VariableArray_bamHeader_st__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(bamHeader_st*)tolua_tousertype_dynamic(L, 3, 0, "bamHeader_st")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(bamHeader_st*)tolua_tousertype_dynamic(L, 3, 0, "bamHeader_st")); return 0; } @@ -28169,7 +29307,7 @@ static int tolua_function_VariableArray_adjustmentData_t__getReference(lua_State { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - adjustmentData_t* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + adjustmentData_t* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "adjustmentData_t"); return 1; } @@ -28178,7 +29316,7 @@ static int tolua_function_VariableArray_adjustmentData_t__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(adjustmentData_t*)tolua_tousertype_dynamic(L, 3, 0, "adjustmentData_t")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(adjustmentData_t*)tolua_tousertype_dynamic(L, 3, 0, "adjustmentData_t")); return 0; } @@ -28186,7 +29324,7 @@ static int tolua_function_VariableArray__EdgeDescription__getReference(lua_State { VariableArray<_EdgeDescription>* self = (VariableArray<_EdgeDescription>*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray<_EdgeDescription>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - _EdgeDescription* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + _EdgeDescription* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "_EdgeDescription"); return 1; } @@ -28195,7 +29333,7 @@ static int tolua_function_VariableArray__EdgeDescription__set(lua_State* L) { VariableArray<_EdgeDescription>* self = (VariableArray<_EdgeDescription>*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray<_EdgeDescription>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(_EdgeDescription*)tolua_tousertype_dynamic(L, 3, 0, "_EdgeDescription")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(_EdgeDescription*)tolua_tousertype_dynamic(L, 3, 0, "_EdgeDescription")); return 0; } @@ -28203,7 +29341,7 @@ static int tolua_function_VariableArray_WED_WedHeader_st__getReference(lua_State { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - WED_WedHeader_st* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + WED_WedHeader_st* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "WED_WedHeader_st"); return 1; } @@ -28212,7 +29350,7 @@ static int tolua_function_VariableArray_WED_WedHeader_st__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(WED_WedHeader_st*)tolua_tousertype_dynamic(L, 3, 0, "WED_WedHeader_st")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(WED_WedHeader_st*)tolua_tousertype_dynamic(L, 3, 0, "WED_WedHeader_st")); return 0; } @@ -28220,7 +29358,7 @@ static int tolua_function_VariableArray_WED_PolyList_st__getReference(lua_State* { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - WED_PolyList_st* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + WED_PolyList_st* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "WED_PolyList_st"); return 1; } @@ -28229,7 +29367,7 @@ static int tolua_function_VariableArray_WED_PolyList_st__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(WED_PolyList_st*)tolua_tousertype_dynamic(L, 3, 0, "WED_PolyList_st")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(WED_PolyList_st*)tolua_tousertype_dynamic(L, 3, 0, "WED_PolyList_st")); return 0; } @@ -28237,7 +29375,7 @@ static int tolua_function_VariableArray_WED_PolyHeader_st__getReference(lua_Stat { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - WED_PolyHeader_st* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + WED_PolyHeader_st* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "WED_PolyHeader_st"); return 1; } @@ -28246,7 +29384,7 @@ static int tolua_function_VariableArray_WED_PolyHeader_st__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(WED_PolyHeader_st*)tolua_tousertype_dynamic(L, 3, 0, "WED_PolyHeader_st")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(WED_PolyHeader_st*)tolua_tousertype_dynamic(L, 3, 0, "WED_PolyHeader_st")); return 0; } @@ -28254,7 +29392,7 @@ static int tolua_function_VariableArray_WAV_Header__getReference(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - WAV_Header* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + WAV_Header* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "WAV_Header"); return 1; } @@ -28263,7 +29401,7 @@ static int tolua_function_VariableArray_WAV_Header__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(WAV_Header*)tolua_tousertype_dynamic(L, 3, 0, "WAV_Header")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(WAV_Header*)tolua_tousertype_dynamic(L, 3, 0, "WAV_Header")); return 0; } @@ -28271,7 +29409,7 @@ static int tolua_function_VariableArray_UI_Header_st__getReference(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - UI_Header_st* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + UI_Header_st* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "UI_Header_st"); return 1; } @@ -28280,7 +29418,7 @@ static int tolua_function_VariableArray_UI_Header_st__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(UI_Header_st*)tolua_tousertype_dynamic(L, 3, 0, "UI_Header_st")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(UI_Header_st*)tolua_tousertype_dynamic(L, 3, 0, "UI_Header_st")); return 0; } @@ -28288,7 +29426,7 @@ static int tolua_function_VariableArray_UI_ControlTableEntry_st__getReference(lu { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - UI_ControlTableEntry_st* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + UI_ControlTableEntry_st* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "UI_ControlTableEntry_st"); return 1; } @@ -28297,7 +29435,7 @@ static int tolua_function_VariableArray_UI_ControlTableEntry_st__set(lua_State* { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(UI_ControlTableEntry_st*)tolua_tousertype_dynamic(L, 3, 0, "UI_ControlTableEntry_st")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(UI_ControlTableEntry_st*)tolua_tousertype_dynamic(L, 3, 0, "UI_ControlTableEntry_st")); return 0; } @@ -28305,7 +29443,7 @@ static int tolua_function_VariableArray_SteamParamStringArray_t__getReference(lu { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - SteamParamStringArray_t* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + SteamParamStringArray_t* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "SteamParamStringArray_t"); return 1; } @@ -28314,7 +29452,7 @@ static int tolua_function_VariableArray_SteamParamStringArray_t__set(lua_State* { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(SteamParamStringArray_t*)tolua_tousertype_dynamic(L, 3, 0, "SteamParamStringArray_t")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(SteamParamStringArray_t*)tolua_tousertype_dynamic(L, 3, 0, "SteamParamStringArray_t")); return 0; } @@ -28322,7 +29460,7 @@ static int tolua_function_VariableArray_const_SteamParamStringArray_t__getRefere { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - const SteamParamStringArray_t* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + const SteamParamStringArray_t* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "SteamParamStringArray_t"); return 1; } @@ -28331,7 +29469,7 @@ static int tolua_function_VariableArray_SDL_WindowShaper__getReference(lua_State { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - SDL_WindowShaper* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + SDL_WindowShaper* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "SDL_WindowShaper"); return 1; } @@ -28340,7 +29478,7 @@ static int tolua_function_VariableArray_SDL_WindowShaper__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(SDL_WindowShaper*)tolua_tousertype_dynamic(L, 3, 0, "SDL_WindowShaper")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(SDL_WindowShaper*)tolua_tousertype_dynamic(L, 3, 0, "SDL_WindowShaper")); return 0; } @@ -28348,7 +29486,7 @@ static int tolua_function_VariableArray_SDL_SysWMmsg__getReference(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - SDL_SysWMmsg* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + SDL_SysWMmsg* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "SDL_SysWMmsg"); return 1; } @@ -28357,7 +29495,24 @@ static int tolua_function_VariableArray_SDL_SysWMmsg__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(SDL_SysWMmsg*)tolua_tousertype_dynamic(L, 3, 0, "SDL_SysWMmsg")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(SDL_SysWMmsg*)tolua_tousertype_dynamic(L, 3, 0, "SDL_SysWMmsg")); + return 0; +} + +static int tolua_function_VariableArray_SDL_SysWMinfo__getReference(lua_State* L) +{ + VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); + SDL_SysWMinfo* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); + tolua_pushusertype(L, (void*)returnVal, "SDL_SysWMinfo"); + return 1; +} + +static int tolua_function_VariableArray_SDL_SysWMinfo__set(lua_State* L) +{ + VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(SDL_SysWMinfo*)tolua_tousertype_dynamic(L, 3, 0, "SDL_SysWMinfo")); return 0; } @@ -28365,7 +29520,7 @@ static int tolua_function_VariableArray_SDL_Palette__getReference(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - SDL_Palette* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + SDL_Palette* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "SDL_Palette"); return 1; } @@ -28374,7 +29529,93 @@ static int tolua_function_VariableArray_SDL_Palette__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(SDL_Palette*)tolua_tousertype_dynamic(L, 3, 0, "SDL_Palette")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(SDL_Palette*)tolua_tousertype_dynamic(L, 3, 0, "SDL_Palette")); + return 0; +} + +static int tolua_function_VariableArray_const_SDL_MessageBoxData__getReference(lua_State* L) +{ + VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); + const SDL_MessageBoxData* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); + tolua_pushusertype(L, (void*)returnVal, "SDL_MessageBoxData"); + return 1; +} + +static int tolua_function_VariableArray_const_SDL_MessageBoxButtonData__getReference(lua_State* L) +{ + VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); + const SDL_MessageBoxButtonData* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); + tolua_pushusertype(L, (void*)returnVal, "SDL_MessageBoxButtonData"); + return 1; +} + +static int tolua_function_VariableArray_SDL_GLDriverData__getReference(lua_State* L) +{ + VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); + SDL_GLDriverData* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); + tolua_pushusertype(L, (void*)returnVal, "SDL_GLDriverData"); + return 1; +} + +static int tolua_function_VariableArray_SDL_GLDriverData__set(lua_State* L) +{ + VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(SDL_GLDriverData*)tolua_tousertype_dynamic(L, 3, 0, "SDL_GLDriverData")); + return 0; +} + +static int tolua_function_VariableArray_SDL_EGL_VideoData__getReference(lua_State* L) +{ + VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); + SDL_EGL_VideoData* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); + tolua_pushusertype(L, (void*)returnVal, "SDL_EGL_VideoData"); + return 1; +} + +static int tolua_function_VariableArray_SDL_EGL_VideoData__set(lua_State* L) +{ + VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(SDL_EGL_VideoData*)tolua_tousertype_dynamic(L, 3, 0, "SDL_EGL_VideoData")); + return 0; +} + +static int tolua_function_VariableArray_SDL_DisplayMode__getReference(lua_State* L) +{ + VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); + SDL_DisplayMode* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); + tolua_pushusertype(L, (void*)returnVal, "SDL_DisplayMode"); + return 1; +} + +static int tolua_function_VariableArray_SDL_DisplayMode__set(lua_State* L) +{ + VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(SDL_DisplayMode*)tolua_tousertype_dynamic(L, 3, 0, "SDL_DisplayMode")); + return 0; +} + +static int tolua_function_VariableArray_SDL_VideoDisplay__getReference(lua_State* L) +{ + VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); + SDL_VideoDisplay* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); + tolua_pushusertype(L, (void*)returnVal, "SDL_VideoDisplay"); + return 1; +} + +static int tolua_function_VariableArray_SDL_VideoDisplay__set(lua_State* L) +{ + VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(SDL_VideoDisplay*)tolua_tousertype_dynamic(L, 3, 0, "SDL_VideoDisplay")); return 0; } @@ -28382,7 +29623,7 @@ static int tolua_function_VariableArray_SDL_BlitMap__getReference(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - SDL_BlitMap* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + SDL_BlitMap* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "SDL_BlitMap"); return 1; } @@ -28391,7 +29632,7 @@ static int tolua_function_VariableArray_SDL_BlitMap__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(SDL_BlitMap*)tolua_tousertype_dynamic(L, 3, 0, "SDL_BlitMap")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(SDL_BlitMap*)tolua_tousertype_dynamic(L, 3, 0, "SDL_BlitMap")); return 0; } @@ -28399,7 +29640,7 @@ static int tolua_function_VariableArray_ResFixedHeader_st__getReference(lua_Stat { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - ResFixedHeader_st* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + ResFixedHeader_st* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "ResFixedHeader_st"); return 1; } @@ -28408,7 +29649,7 @@ static int tolua_function_VariableArray_ResFixedHeader_st__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(ResFixedHeader_st*)tolua_tousertype_dynamic(L, 3, 0, "ResFixedHeader_st")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(ResFixedHeader_st*)tolua_tousertype_dynamic(L, 3, 0, "ResFixedHeader_st")); return 0; } @@ -28416,7 +29657,7 @@ static int tolua_function_VariableArray_Proto___get(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); - Proto* returnVal = self->get(tolua_function_tointeger(L, 2, "get")); + Proto* returnVal = (self->get)(tolua_function_tointeger(L, 2, "get")); tolua_pushusertype(L, (void*)returnVal, "Proto"); return 1; } @@ -28425,7 +29666,7 @@ static int tolua_function_VariableArray_Proto___getReference(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - Proto** returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + Proto** returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "Pointer"); return 1; } @@ -28434,7 +29675,7 @@ static int tolua_function_VariableArray_Proto___set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), (Proto*)tolua_tousertype_dynamic(L, 3, 0, "Proto")); + (self->set)(tolua_function_tointeger(L, 2, "set"), (Proto*)tolua_tousertype_dynamic(L, 3, 0, "Proto")); return 0; } @@ -28442,7 +29683,7 @@ static int tolua_function_VariableArray_PLTHeader_st__getReference(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - PLTHeader_st* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + PLTHeader_st* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "PLTHeader_st"); return 1; } @@ -28451,7 +29692,7 @@ static int tolua_function_VariableArray_PLTHeader_st__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(PLTHeader_st*)tolua_tousertype_dynamic(L, 3, 0, "PLTHeader_st")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(PLTHeader_st*)tolua_tousertype_dynamic(L, 3, 0, "PLTHeader_st")); return 0; } @@ -28459,7 +29700,7 @@ static int tolua_function_VariableArray_MOSAICQUAD__getReference(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - MOSAICQUAD* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + MOSAICQUAD* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "MOSAICQUAD"); return 1; } @@ -28468,7 +29709,7 @@ static int tolua_function_VariableArray_MOSAICQUAD__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(MOSAICQUAD*)tolua_tousertype_dynamic(L, 3, 0, "MOSAICQUAD")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(MOSAICQUAD*)tolua_tousertype_dynamic(L, 3, 0, "MOSAICQUAD")); return 0; } @@ -28476,7 +29717,7 @@ static int tolua_function_VariableArray_MOSAICHEADERV2__getReference(lua_State* { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - MOSAICHEADERV2* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + MOSAICHEADERV2* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "MOSAICHEADERV2"); return 1; } @@ -28485,7 +29726,7 @@ static int tolua_function_VariableArray_MOSAICHEADERV2__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(MOSAICHEADERV2*)tolua_tousertype_dynamic(L, 3, 0, "MOSAICHEADERV2")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(MOSAICHEADERV2*)tolua_tousertype_dynamic(L, 3, 0, "MOSAICHEADERV2")); return 0; } @@ -28493,7 +29734,7 @@ static int tolua_function_VariableArray_LocVar__getReference(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - LocVar* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + LocVar* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "LocVar"); return 1; } @@ -28502,7 +29743,7 @@ static int tolua_function_VariableArray_LocVar__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(LocVar*)tolua_tousertype_dynamic(L, 3, 0, "LocVar")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(LocVar*)tolua_tousertype_dynamic(L, 3, 0, "LocVar")); return 0; } @@ -28510,7 +29751,7 @@ static int tolua_function_VariableArray_LeaderboardEntry_t__getReference(lua_Sta { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - LeaderboardEntry_t* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + LeaderboardEntry_t* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "LeaderboardEntry_t"); return 1; } @@ -28519,7 +29760,7 @@ static int tolua_function_VariableArray_LeaderboardEntry_t__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(LeaderboardEntry_t*)tolua_tousertype_dynamic(L, 3, 0, "LeaderboardEntry_t")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(LeaderboardEntry_t*)tolua_tousertype_dynamic(L, 3, 0, "LeaderboardEntry_t")); return 0; } @@ -28527,7 +29768,7 @@ static int tolua_function_VariableArray_ISteamUserStats__getReference(lua_State* { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - ISteamUserStats* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + ISteamUserStats* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "ISteamUserStats"); return 1; } @@ -28536,7 +29777,7 @@ static int tolua_function_VariableArray_ISteamUserStats__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(ISteamUserStats*)tolua_tousertype_dynamic(L, 3, 0, "ISteamUserStats")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(ISteamUserStats*)tolua_tousertype_dynamic(L, 3, 0, "ISteamUserStats")); return 0; } @@ -28544,7 +29785,7 @@ static int tolua_function_VariableArray_HWND____getReference(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - HWND__* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + HWND__* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "HWND__"); return 1; } @@ -28553,7 +29794,41 @@ static int tolua_function_VariableArray_HWND____set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(HWND__*)tolua_tousertype_dynamic(L, 3, 0, "HWND__")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(HWND__*)tolua_tousertype_dynamic(L, 3, 0, "HWND__")); + return 0; +} + +static int tolua_function_VariableArray_HGLRC____getReference(lua_State* L) +{ + VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); + HGLRC__* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); + tolua_pushusertype(L, (void*)returnVal, "HGLRC__"); + return 1; +} + +static int tolua_function_VariableArray_HGLRC____set(lua_State* L) +{ + VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(HGLRC__*)tolua_tousertype_dynamic(L, 3, 0, "HGLRC__")); + return 0; +} + +static int tolua_function_VariableArray_HDC____getReference(lua_State* L) +{ + VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); + HDC__* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); + tolua_pushusertype(L, (void*)returnVal, "HDC__"); + return 1; +} + +static int tolua_function_VariableArray_HDC____set(lua_State* L) +{ + VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(HDC__*)tolua_tousertype_dynamic(L, 3, 0, "HDC__")); return 0; } @@ -28561,7 +29836,7 @@ static int tolua_function_VariableArray_DP_Packet__getReference(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - DP_Packet* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + DP_Packet* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "DP_Packet"); return 1; } @@ -28570,7 +29845,7 @@ static int tolua_function_VariableArray_DP_Packet__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(DP_Packet*)tolua_tousertype_dynamic(L, 3, 0, "DP_Packet")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(DP_Packet*)tolua_tousertype_dynamic(L, 3, 0, "DP_Packet")); return 0; } @@ -28578,7 +29853,7 @@ static int tolua_function_VariableArray_DP_Event__getReference(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - DP_Event* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + DP_Event* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "DP_Event"); return 1; } @@ -28587,7 +29862,7 @@ static int tolua_function_VariableArray_DP_Event__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(DP_Event*)tolua_tousertype_dynamic(L, 3, 0, "DP_Event")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(DP_Event*)tolua_tousertype_dynamic(L, 3, 0, "DP_Event")); return 0; } @@ -28595,7 +29870,7 @@ static int tolua_function_VariableArray_CallInfo__getReference(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CallInfo* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CallInfo* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CallInfo"); return 1; } @@ -28604,7 +29879,7 @@ static int tolua_function_VariableArray_CallInfo__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CallInfo*)tolua_tousertype_dynamic(L, 3, 0, "CallInfo")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CallInfo*)tolua_tousertype_dynamic(L, 3, 0, "CallInfo")); return 0; } @@ -28612,7 +29887,7 @@ static int tolua_function_VariableArray_CWeaponIdentification__getReference(lua_ { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CWeaponIdentification* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CWeaponIdentification* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CWeaponIdentification"); return 1; } @@ -28621,7 +29896,7 @@ static int tolua_function_VariableArray_CWeaponIdentification__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CWeaponIdentification*)tolua_tousertype_dynamic(L, 3, 0, "CWeaponIdentification")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CWeaponIdentification*)tolua_tousertype_dynamic(L, 3, 0, "CWeaponIdentification")); return 0; } @@ -28629,7 +29904,7 @@ static int tolua_function_VariableArray_CVariableHash__getReference(lua_State* L { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CVariableHash* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CVariableHash* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CVariableHash"); return 1; } @@ -28638,7 +29913,7 @@ static int tolua_function_VariableArray_CVariableHash__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CVariableHash*)tolua_tousertype_dynamic(L, 3, 0, "CVariableHash")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CVariableHash*)tolua_tousertype_dynamic(L, 3, 0, "CVariableHash")); return 0; } @@ -28646,7 +29921,7 @@ static int tolua_function_VariableArray_CVRamPool__getReference(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CVRamPool* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CVRamPool* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CVRamPool"); return 1; } @@ -28655,7 +29930,7 @@ static int tolua_function_VariableArray_CVRamPool__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CVRamPool*)tolua_tousertype_dynamic(L, 3, 0, "CVRamPool")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CVRamPool*)tolua_tousertype_dynamic(L, 3, 0, "CVRamPool")); return 0; } @@ -28663,7 +29938,7 @@ static int tolua_function_VariableArray_CVIDPALETTE_COLOR__getReference(lua_Stat { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CVIDPALETTE_COLOR* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CVIDPALETTE_COLOR* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CVIDPALETTE_COLOR"); return 1; } @@ -28672,7 +29947,7 @@ static int tolua_function_VariableArray_CVIDPALETTE_COLOR__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CVIDPALETTE_COLOR*)tolua_tousertype_dynamic(L, 3, 0, "CVIDPALETTE_COLOR")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CVIDPALETTE_COLOR*)tolua_tousertype_dynamic(L, 3, 0, "CVIDPALETTE_COLOR")); return 0; } @@ -28680,7 +29955,7 @@ static int tolua_function_VariableArray_CSchoolAndSecondaryDecrementing__getRefe { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CSchoolAndSecondaryDecrementing* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CSchoolAndSecondaryDecrementing* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CSchoolAndSecondaryDecrementing"); return 1; } @@ -28689,7 +29964,7 @@ static int tolua_function_VariableArray_CSchoolAndSecondaryDecrementing__set(lua { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CSchoolAndSecondaryDecrementing*)tolua_tousertype_dynamic(L, 3, 0, "CSchoolAndSecondaryDecrementing")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CSchoolAndSecondaryDecrementing*)tolua_tousertype_dynamic(L, 3, 0, "CSchoolAndSecondaryDecrementing")); return 0; } @@ -28697,7 +29972,7 @@ static int tolua_function_VariableArray_CResTile__getReference(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CResTile* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CResTile* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CResTile"); return 1; } @@ -28706,7 +29981,7 @@ static int tolua_function_VariableArray_CResTile__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CResTile*)tolua_tousertype_dynamic(L, 3, 0, "CResTile")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CResTile*)tolua_tousertype_dynamic(L, 3, 0, "CResTile")); return 0; } @@ -28714,7 +29989,7 @@ static int tolua_function_VariableArray_CResInfTile___get(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); - CResInfTile* returnVal = self->get(tolua_function_tointeger(L, 2, "get")); + CResInfTile* returnVal = (self->get)(tolua_function_tointeger(L, 2, "get")); tolua_pushusertype(L, (void*)returnVal, "CResInfTile"); return 1; } @@ -28723,7 +29998,7 @@ static int tolua_function_VariableArray_CResInfTile___getReference(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CResInfTile** returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CResInfTile** returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "Pointer"); return 1; } @@ -28732,7 +30007,7 @@ static int tolua_function_VariableArray_CResInfTile___set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), (CResInfTile*)tolua_tousertype_dynamic(L, 3, 0, "CResInfTile")); + (self->set)(tolua_function_tointeger(L, 2, "set"), (CResInfTile*)tolua_tousertype_dynamic(L, 3, 0, "CResInfTile")); return 0; } @@ -28740,7 +30015,7 @@ static int tolua_function_VariableArray_CPathSearch__getReference(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CPathSearch* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CPathSearch* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CPathSearch"); return 1; } @@ -28749,7 +30024,7 @@ static int tolua_function_VariableArray_CPathSearch__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CPathSearch*)tolua_tousertype_dynamic(L, 3, 0, "CPathSearch")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CPathSearch*)tolua_tousertype_dynamic(L, 3, 0, "CPathSearch")); return 0; } @@ -28757,7 +30032,7 @@ static int tolua_function_VariableArray_CPathNode__getReference(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CPathNode* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CPathNode* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CPathNode"); return 1; } @@ -28766,7 +30041,7 @@ static int tolua_function_VariableArray_CPathNode__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CPathNode*)tolua_tousertype_dynamic(L, 3, 0, "CPathNode")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CPathNode*)tolua_tousertype_dynamic(L, 3, 0, "CPathNode")); return 0; } @@ -28774,7 +30049,7 @@ static int tolua_function_VariableArray_CPathNode___get(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); - CPathNode* returnVal = self->get(tolua_function_tointeger(L, 2, "get")); + CPathNode* returnVal = (self->get)(tolua_function_tointeger(L, 2, "get")); tolua_pushusertype(L, (void*)returnVal, "CPathNode"); return 1; } @@ -28783,7 +30058,7 @@ static int tolua_function_VariableArray_CPathNode___getReference(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CPathNode** returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CPathNode** returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "Pointer"); return 1; } @@ -28792,7 +30067,7 @@ static int tolua_function_VariableArray_CPathNode___set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), (CPathNode*)tolua_tousertype_dynamic(L, 3, 0, "CPathNode")); + (self->set)(tolua_function_tointeger(L, 2, "set"), (CPathNode*)tolua_tousertype_dynamic(L, 3, 0, "CPathNode")); return 0; } @@ -28800,7 +30075,7 @@ static int tolua_function_VariableArray_CParticle__getReference(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CParticle* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CParticle* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CParticle"); return 1; } @@ -28809,7 +30084,7 @@ static int tolua_function_VariableArray_CParticle__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CParticle*)tolua_tousertype_dynamic(L, 3, 0, "CParticle")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CParticle*)tolua_tousertype_dynamic(L, 3, 0, "CParticle")); return 0; } @@ -28817,7 +30092,7 @@ static int tolua_function_VariableArray_CSnowFlake__getReference(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CSnowFlake* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CSnowFlake* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CSnowFlake"); return 1; } @@ -28826,7 +30101,7 @@ static int tolua_function_VariableArray_CSnowFlake__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CSnowFlake*)tolua_tousertype_dynamic(L, 3, 0, "CSnowFlake")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CSnowFlake*)tolua_tousertype_dynamic(L, 3, 0, "CSnowFlake")); return 0; } @@ -28834,7 +30109,7 @@ static int tolua_function_VariableArray_CRainDrop__getReference(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CRainDrop* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CRainDrop* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CRainDrop"); return 1; } @@ -28843,7 +30118,7 @@ static int tolua_function_VariableArray_CRainDrop__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CRainDrop*)tolua_tousertype_dynamic(L, 3, 0, "CRainDrop")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CRainDrop*)tolua_tousertype_dynamic(L, 3, 0, "CRainDrop")); return 0; } @@ -28851,7 +30126,7 @@ static int tolua_function_VariableArray_CMusicPosition__getReference(lua_State* { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CMusicPosition* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CMusicPosition* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CMusicPosition"); return 1; } @@ -28860,7 +30135,7 @@ static int tolua_function_VariableArray_CMusicPosition__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CMusicPosition*)tolua_tousertype_dynamic(L, 3, 0, "CMusicPosition")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CMusicPosition*)tolua_tousertype_dynamic(L, 3, 0, "CMusicPosition")); return 0; } @@ -28868,7 +30143,7 @@ static int tolua_function_VariableArray_CImmunitiesItemTypeEquip__getReference(l { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CImmunitiesItemTypeEquip* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CImmunitiesItemTypeEquip* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CImmunitiesItemTypeEquip"); return 1; } @@ -28877,7 +30152,7 @@ static int tolua_function_VariableArray_CImmunitiesItemTypeEquip__set(lua_State* { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CImmunitiesItemTypeEquip*)tolua_tousertype_dynamic(L, 3, 0, "CImmunitiesItemTypeEquip")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CImmunitiesItemTypeEquip*)tolua_tousertype_dynamic(L, 3, 0, "CImmunitiesItemTypeEquip")); return 0; } @@ -28885,7 +30160,7 @@ static int tolua_function_VariableArray_CGameTimer__getReference(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CGameTimer* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CGameTimer* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CGameTimer"); return 1; } @@ -28894,7 +30169,7 @@ static int tolua_function_VariableArray_CGameTimer__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CGameTimer*)tolua_tousertype_dynamic(L, 3, 0, "CGameTimer")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CGameTimer*)tolua_tousertype_dynamic(L, 3, 0, "CGameTimer")); return 0; } @@ -28902,7 +30177,7 @@ static int tolua_function_VariableArray_CGameRemoteObjectListEntry___get(lua_Sta { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); - CGameRemoteObjectListEntry* returnVal = self->get(tolua_function_tointeger(L, 2, "get")); + CGameRemoteObjectListEntry* returnVal = (self->get)(tolua_function_tointeger(L, 2, "get")); tolua_pushusertype(L, (void*)returnVal, "CGameRemoteObjectListEntry"); return 1; } @@ -28911,7 +30186,7 @@ static int tolua_function_VariableArray_CGameRemoteObjectListEntry___getReferenc { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CGameRemoteObjectListEntry** returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CGameRemoteObjectListEntry** returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "Pointer"); return 1; } @@ -28920,7 +30195,7 @@ static int tolua_function_VariableArray_CGameRemoteObjectListEntry___set(lua_Sta { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), (CGameRemoteObjectListEntry*)tolua_tousertype_dynamic(L, 3, 0, "CGameRemoteObjectListEntry")); + (self->set)(tolua_function_tointeger(L, 2, "set"), (CGameRemoteObjectListEntry*)tolua_tousertype_dynamic(L, 3, 0, "CGameRemoteObjectListEntry")); return 0; } @@ -28928,7 +30203,7 @@ static int tolua_function_VariableArray_CGameRemoteObjectDeletion__getReference( { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CGameRemoteObjectDeletion* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CGameRemoteObjectDeletion* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CGameRemoteObjectDeletion"); return 1; } @@ -28937,7 +30212,7 @@ static int tolua_function_VariableArray_CGameRemoteObjectDeletion__set(lua_State { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CGameRemoteObjectDeletion*)tolua_tousertype_dynamic(L, 3, 0, "CGameRemoteObjectDeletion")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CGameRemoteObjectDeletion*)tolua_tousertype_dynamic(L, 3, 0, "CGameRemoteObjectDeletion")); return 0; } @@ -28945,7 +30220,7 @@ static int tolua_function_VariableArray_CGameRemoteObjectControlChange__getRefer { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CGameRemoteObjectControlChange* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CGameRemoteObjectControlChange* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CGameRemoteObjectControlChange"); return 1; } @@ -28954,7 +30229,7 @@ static int tolua_function_VariableArray_CGameRemoteObjectControlChange__set(lua_ { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CGameRemoteObjectControlChange*)tolua_tousertype_dynamic(L, 3, 0, "CGameRemoteObjectControlChange")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CGameRemoteObjectControlChange*)tolua_tousertype_dynamic(L, 3, 0, "CGameRemoteObjectControlChange")); return 0; } @@ -28962,7 +30237,7 @@ static int tolua_function_VariableArray_CGameOptions__getReference(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CGameOptions* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CGameOptions* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "EEex_CGameOptions"); return 1; } @@ -28971,7 +30246,7 @@ static int tolua_function_VariableArray_CGameOptions__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CGameOptions*)tolua_tousertype_dynamic(L, 3, 0, "EEex_CGameOptions")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CGameOptions*)tolua_tousertype_dynamic(L, 3, 0, "EEex_CGameOptions")); return 0; } @@ -28979,7 +30254,7 @@ static int tolua_function_VariableArray_CGameJournalEntry__getReference(lua_Stat { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CGameJournalEntry* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CGameJournalEntry* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CGameJournalEntry"); return 1; } @@ -28988,7 +30263,7 @@ static int tolua_function_VariableArray_CGameJournalEntry__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CGameJournalEntry*)tolua_tousertype_dynamic(L, 3, 0, "CGameJournalEntry")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CGameJournalEntry*)tolua_tousertype_dynamic(L, 3, 0, "CGameJournalEntry")); return 0; } @@ -28996,7 +30271,7 @@ static int tolua_function_VariableArray_CDeathSound__getReference(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CDeathSound* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CDeathSound* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CDeathSound"); return 1; } @@ -29005,7 +30280,7 @@ static int tolua_function_VariableArray_CDeathSound__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CDeathSound*)tolua_tousertype_dynamic(L, 3, 0, "CDeathSound")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CDeathSound*)tolua_tousertype_dynamic(L, 3, 0, "CDeathSound")); return 0; } @@ -29013,7 +30288,7 @@ static int tolua_function_VariableArray_CColorEffect__getReference(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CColorEffect* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CColorEffect* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CColorEffect"); return 1; } @@ -29022,7 +30297,7 @@ static int tolua_function_VariableArray_CColorEffect__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CColorEffect*)tolua_tousertype_dynamic(L, 3, 0, "CColorEffect")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CColorEffect*)tolua_tousertype_dynamic(L, 3, 0, "CColorEffect")); return 0; } @@ -29030,7 +30305,7 @@ static int tolua_function_VariableArray_CBounceEntry__getReference(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CBounceEntry* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CBounceEntry* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CBounceEntry"); return 1; } @@ -29039,7 +30314,7 @@ static int tolua_function_VariableArray_CBounceEntry__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CBounceEntry*)tolua_tousertype_dynamic(L, 3, 0, "CBounceEntry")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CBounceEntry*)tolua_tousertype_dynamic(L, 3, 0, "CBounceEntry")); return 0; } @@ -29047,7 +30322,7 @@ static int tolua_function_VariableArray_BAMHEADERV2__getReference(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - BAMHEADERV2* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + BAMHEADERV2* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "BAMHEADERV2"); return 1; } @@ -29056,7 +30331,7 @@ static int tolua_function_VariableArray_BAMHEADERV2__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(BAMHEADERV2*)tolua_tousertype_dynamic(L, 3, 0, "BAMHEADERV2")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(BAMHEADERV2*)tolua_tousertype_dynamic(L, 3, 0, "BAMHEADERV2")); return 0; } @@ -29064,7 +30339,7 @@ static int tolua_function_VariableArray_const_letter_t__getReference(lua_State* { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - const letter_t* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + const letter_t* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "letter_t"); return 1; } @@ -29073,7 +30348,7 @@ static int tolua_function_VariableArray_line_metric__getReference(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - line_metric* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + line_metric* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "line_metric"); return 1; } @@ -29082,7 +30357,7 @@ static int tolua_function_VariableArray_line_metric__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(line_metric*)tolua_tousertype_dynamic(L, 3, 0, "line_metric")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(line_metric*)tolua_tousertype_dynamic(L, 3, 0, "line_metric")); return 0; } @@ -29090,7 +30365,7 @@ static int tolua_function_VariableArray_unsigned_long__get(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); - unsigned long returnVal = self->get(tolua_function_tointeger(L, 2, "get")); + unsigned long returnVal = (self->get)(tolua_function_tointeger(L, 2, "get")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -29099,7 +30374,7 @@ static int tolua_function_VariableArray_unsigned_long__getReference(lua_State* L { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - unsigned long* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + unsigned long* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "Primitive"); return 1; } @@ -29108,7 +30383,7 @@ static int tolua_function_VariableArray_unsigned_long__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), tolua_function_tointeger(L, 3, "set")); + (self->set)(tolua_function_tointeger(L, 2, "set"), tolua_function_tointeger(L, 3, "set")); return 0; } @@ -29116,7 +30391,7 @@ static int tolua_function_VariableArray_Node__getReference(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - Node* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + Node* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "Node"); return 1; } @@ -29125,7 +30400,7 @@ static int tolua_function_VariableArray_Node__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(Node*)tolua_tousertype_dynamic(L, 3, 0, "Node")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(Node*)tolua_tousertype_dynamic(L, 3, 0, "Node")); return 0; } @@ -29133,7 +30408,7 @@ static int tolua_function_VariableArray_mosHeader_st__getReference(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - mosHeader_st* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + mosHeader_st* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "mosHeader_st"); return 1; } @@ -29142,7 +30417,7 @@ static int tolua_function_VariableArray_mosHeader_st__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(mosHeader_st*)tolua_tousertype_dynamic(L, 3, 0, "mosHeader_st")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(mosHeader_st*)tolua_tousertype_dynamic(L, 3, 0, "mosHeader_st")); return 0; } @@ -29150,7 +30425,7 @@ static int tolua_function_VariableArray_sequenceTableEntry_st__getReference(lua_ { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - sequenceTableEntry_st* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + sequenceTableEntry_st* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "sequenceTableEntry_st"); return 1; } @@ -29159,7 +30434,7 @@ static int tolua_function_VariableArray_sequenceTableEntry_st__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(sequenceTableEntry_st*)tolua_tousertype_dynamic(L, 3, 0, "sequenceTableEntry_st")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(sequenceTableEntry_st*)tolua_tousertype_dynamic(L, 3, 0, "sequenceTableEntry_st")); return 0; } @@ -29167,7 +30442,7 @@ static int tolua_function_VariableArray_sheet__getReference(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - sheet* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + sheet* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "sheet"); return 1; } @@ -29176,7 +30451,7 @@ static int tolua_function_VariableArray_sheet__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(sheet*)tolua_tousertype_dynamic(L, 3, 0, "sheet")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(sheet*)tolua_tousertype_dynamic(L, 3, 0, "sheet")); return 0; } @@ -29184,7 +30459,7 @@ static int tolua_function_VariableArray_st_tiledef__getReference(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - st_tiledef* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + st_tiledef* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "st_tiledef"); return 1; } @@ -29193,7 +30468,7 @@ static int tolua_function_VariableArray_st_tiledef__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(st_tiledef*)tolua_tousertype_dynamic(L, 3, 0, "st_tiledef")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(st_tiledef*)tolua_tousertype_dynamic(L, 3, 0, "st_tiledef")); return 0; } @@ -29201,7 +30476,7 @@ static int tolua_function_VariableArray_glyphmap_t__getReference(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - glyphmap_t* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + glyphmap_t* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "glyphmap_t"); return 1; } @@ -29210,7 +30485,7 @@ static int tolua_function_VariableArray_glyphmap_t__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(glyphmap_t*)tolua_tousertype_dynamic(L, 3, 0, "glyphmap_t")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(glyphmap_t*)tolua_tousertype_dynamic(L, 3, 0, "glyphmap_t")); return 0; } @@ -29218,7 +30493,7 @@ static int tolua_function_VariableArray_tagBITMAPFILEHEADER__getReference(lua_St { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - tagBITMAPFILEHEADER* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + tagBITMAPFILEHEADER* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "tagBITMAPFILEHEADER"); return 1; } @@ -29227,7 +30502,7 @@ static int tolua_function_VariableArray_tagBITMAPFILEHEADER__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(tagBITMAPFILEHEADER*)tolua_tousertype_dynamic(L, 3, 0, "tagBITMAPFILEHEADER")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(tagBITMAPFILEHEADER*)tolua_tousertype_dynamic(L, 3, 0, "tagBITMAPFILEHEADER")); return 0; } @@ -29235,7 +30510,7 @@ static int tolua_function_VariableArray_tagBITMAPINFOHEADER__getReference(lua_St { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - tagBITMAPINFOHEADER* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + tagBITMAPINFOHEADER* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "tagBITMAPINFOHEADER"); return 1; } @@ -29244,7 +30519,7 @@ static int tolua_function_VariableArray_tagBITMAPINFOHEADER__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(tagBITMAPINFOHEADER*)tolua_tousertype_dynamic(L, 3, 0, "tagBITMAPINFOHEADER")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(tagBITMAPINFOHEADER*)tolua_tousertype_dynamic(L, 3, 0, "tagBITMAPINFOHEADER")); return 0; } @@ -29252,7 +30527,7 @@ static int tolua_function_VariableArray_tagPOINT__getReference(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - tagPOINT* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + tagPOINT* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "tagPOINT"); return 1; } @@ -29261,7 +30536,7 @@ static int tolua_function_VariableArray_tagPOINT__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(tagPOINT*)tolua_tousertype_dynamic(L, 3, 0, "tagPOINT")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(tagPOINT*)tolua_tousertype_dynamic(L, 3, 0, "tagPOINT")); return 0; } @@ -29269,7 +30544,7 @@ static int tolua_function_VariableArray_uiColumn__getReference(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - uiColumn* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + uiColumn* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "uiColumn"); return 1; } @@ -29278,7 +30553,7 @@ static int tolua_function_VariableArray_uiColumn__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(uiColumn*)tolua_tousertype_dynamic(L, 3, 0, "uiColumn")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(uiColumn*)tolua_tousertype_dynamic(L, 3, 0, "uiColumn")); return 0; } @@ -29286,7 +30561,7 @@ static int tolua_function_VariableArray_uiVariant__getReference(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - uiVariant* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + uiVariant* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "uiVariant"); return 1; } @@ -29295,7 +30570,7 @@ static int tolua_function_VariableArray_uiVariant__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(uiVariant*)tolua_tousertype_dynamic(L, 3, 0, "uiVariant")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(uiVariant*)tolua_tousertype_dynamic(L, 3, 0, "uiVariant")); return 0; } @@ -29303,7 +30578,7 @@ static int tolua_function_VariableArray_lua_State__getReference(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - lua_State* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + lua_State* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "lua_State"); return 1; } @@ -29312,7 +30587,7 @@ static int tolua_function_VariableArray_lua_State__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(lua_State*)tolua_tousertype_dynamic(L, 3, 0, "lua_State")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(lua_State*)tolua_tousertype_dynamic(L, 3, 0, "lua_State")); return 0; } @@ -29320,7 +30595,7 @@ static int tolua_function_VariableArray_const_SDL_Rect__getReference(lua_State* { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - const SDL_Rect* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + const SDL_Rect* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "SDL_Rect"); return 1; } @@ -29329,7 +30604,7 @@ static int tolua_function_VariableArray_SDL_Rect__getReference(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - SDL_Rect* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + SDL_Rect* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "SDL_Rect"); return 1; } @@ -29338,7 +30613,7 @@ static int tolua_function_VariableArray_SDL_Rect__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(SDL_Rect*)tolua_tousertype_dynamic(L, 3, 0, "SDL_Rect")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(SDL_Rect*)tolua_tousertype_dynamic(L, 3, 0, "SDL_Rect")); return 0; } @@ -29346,7 +30621,7 @@ static int tolua_function_VariableArray_SDL_Window__getReference(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - SDL_Window* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + SDL_Window* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "SDL_Window"); return 1; } @@ -29355,7 +30630,7 @@ static int tolua_function_VariableArray_SDL_Window__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(SDL_Window*)tolua_tousertype_dynamic(L, 3, 0, "SDL_Window")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(SDL_Window*)tolua_tousertype_dynamic(L, 3, 0, "SDL_Window")); return 0; } @@ -29363,7 +30638,7 @@ static int tolua_function_VariableArray_SDL_Surface__getReference(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - SDL_Surface* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + SDL_Surface* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "SDL_Surface"); return 1; } @@ -29372,7 +30647,7 @@ static int tolua_function_VariableArray_SDL_Surface__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(SDL_Surface*)tolua_tousertype_dynamic(L, 3, 0, "SDL_Surface")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(SDL_Surface*)tolua_tousertype_dynamic(L, 3, 0, "SDL_Surface")); return 0; } @@ -29380,7 +30655,7 @@ static int tolua_function_VariableArray_const_SDL_Point__getReference(lua_State* { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - const SDL_Point* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + const SDL_Point* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "SDL_Point"); return 1; } @@ -29389,7 +30664,7 @@ static int tolua_function_VariableArray_ISteamUGC__getReference(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - ISteamUGC* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + ISteamUGC* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "ISteamUGC"); return 1; } @@ -29398,7 +30673,7 @@ static int tolua_function_VariableArray_ISteamUGC__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(ISteamUGC*)tolua_tousertype_dynamic(L, 3, 0, "ISteamUGC")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(ISteamUGC*)tolua_tousertype_dynamic(L, 3, 0, "ISteamUGC")); return 0; } @@ -29406,7 +30681,7 @@ static int tolua_function_VariableArray_ISteamRemoteStorage__getReference(lua_St { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - ISteamRemoteStorage* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + ISteamRemoteStorage* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "ISteamRemoteStorage"); return 1; } @@ -29415,7 +30690,7 @@ static int tolua_function_VariableArray_ISteamRemoteStorage__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(ISteamRemoteStorage*)tolua_tousertype_dynamic(L, 3, 0, "ISteamRemoteStorage")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(ISteamRemoteStorage*)tolua_tousertype_dynamic(L, 3, 0, "ISteamRemoteStorage")); return 0; } @@ -29423,7 +30698,7 @@ static int tolua_function_VariableArray_IDPProvider__getReference(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - IDPProvider* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + IDPProvider* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "IDPProvider"); return 1; } @@ -29432,7 +30707,7 @@ static int tolua_function_VariableArray_IDPProvider__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(IDPProvider*)tolua_tousertype_dynamic(L, 3, 0, "IDPProvider")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(IDPProvider*)tolua_tousertype_dynamic(L, 3, 0, "IDPProvider")); return 0; } @@ -29440,7 +30715,7 @@ static int tolua_function_VariableArray_IDPPeer__getReference(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - IDPPeer* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + IDPPeer* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "IDPPeer"); return 1; } @@ -29449,7 +30724,7 @@ static int tolua_function_VariableArray_IDPPeer__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(IDPPeer*)tolua_tousertype_dynamic(L, 3, 0, "IDPPeer")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(IDPPeer*)tolua_tousertype_dynamic(L, 3, 0, "IDPPeer")); return 0; } @@ -29457,7 +30732,7 @@ static int tolua_function_VariableArray_CVidPoly__getReference(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CVidPoly* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CVidPoly* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CVidPoly"); return 1; } @@ -29466,7 +30741,7 @@ static int tolua_function_VariableArray_CVidPoly__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CVidPoly*)tolua_tousertype_dynamic(L, 3, 0, "CVidPoly")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CVidPoly*)tolua_tousertype_dynamic(L, 3, 0, "CVidPoly")); return 0; } @@ -29474,7 +30749,7 @@ static int tolua_function_VariableArray_const_CString__getReference(lua_State* L { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - const CString* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + const CString* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CString"); return 1; } @@ -29483,7 +30758,7 @@ static int tolua_function_VariableArray_CFeedbackEntry__getReference(lua_State* { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CFeedbackEntry* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CFeedbackEntry* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CFeedbackEntry"); return 1; } @@ -29492,7 +30767,7 @@ static int tolua_function_VariableArray_CFeedbackEntry__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CFeedbackEntry*)tolua_tousertype_dynamic(L, 3, 0, "CFeedbackEntry")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CFeedbackEntry*)tolua_tousertype_dynamic(L, 3, 0, "CFeedbackEntry")); return 0; } @@ -29500,7 +30775,7 @@ static int tolua_function_VariableArray_CSpawnVar__getReference(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CSpawnVar* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CSpawnVar* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CSpawnVar"); return 1; } @@ -29509,7 +30784,7 @@ static int tolua_function_VariableArray_CSpawnVar__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CSpawnVar*)tolua_tousertype_dynamic(L, 3, 0, "CSpawnVar")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CSpawnVar*)tolua_tousertype_dynamic(L, 3, 0, "CSpawnVar")); return 0; } @@ -29517,7 +30792,7 @@ static int tolua_function_VariableArray_CSpawnPointVar__getReference(lua_State* { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CSpawnPointVar* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CSpawnPointVar* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CSpawnPointVar"); return 1; } @@ -29526,7 +30801,7 @@ static int tolua_function_VariableArray_CSpawnPointVar__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CSpawnPointVar*)tolua_tousertype_dynamic(L, 3, 0, "CSpawnPointVar")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CSpawnPointVar*)tolua_tousertype_dynamic(L, 3, 0, "CSpawnPointVar")); return 0; } @@ -29534,7 +30809,7 @@ static int tolua_function_VariableArray_CSoundMixer__getReference(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CSoundMixer* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CSoundMixer* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "EEex_CSoundMixer"); return 1; } @@ -29543,7 +30818,7 @@ static int tolua_function_VariableArray_CSoundMixer__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CSoundMixer*)tolua_tousertype_dynamic(L, 3, 0, "EEex_CSoundMixer")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CSoundMixer*)tolua_tousertype_dynamic(L, 3, 0, "EEex_CSoundMixer")); return 0; } @@ -29551,7 +30826,7 @@ static int tolua_function_VariableArray_const_CRes__getReference(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - const CRes* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + const CRes* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CRes"); return 1; } @@ -29560,7 +30835,7 @@ static int tolua_function_VariableArray_CResWED__getReference(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CResWED* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CResWED* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CResWED"); return 1; } @@ -29569,24 +30844,7 @@ static int tolua_function_VariableArray_CResWED__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CResWED*)tolua_tousertype_dynamic(L, 3, 0, "CResWED")); - return 0; -} - -static int tolua_function_VariableArray_CResText__getReference(lua_State* L) -{ - VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); - if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CResText* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); - tolua_pushusertype(L, (void*)returnVal, "CResText"); - return 1; -} - -static int tolua_function_VariableArray_CResText__set(lua_State* L) -{ - VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); - if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CResText*)tolua_tousertype_dynamic(L, 3, 0, "CResText")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CResWED*)tolua_tousertype_dynamic(L, 3, 0, "CResWED")); return 0; } @@ -29594,7 +30852,7 @@ static int tolua_function_VariableArray_CResPVR__getReference(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CResPVR* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CResPVR* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CResPVR"); return 1; } @@ -29603,7 +30861,7 @@ static int tolua_function_VariableArray_CResPVR__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CResPVR*)tolua_tousertype_dynamic(L, 3, 0, "CResPVR")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CResPVR*)tolua_tousertype_dynamic(L, 3, 0, "CResPVR")); return 0; } @@ -29611,7 +30869,7 @@ static int tolua_function_VariableArray_const_CRect__getReference(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - const CRect* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + const CRect* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CRect"); return 1; } @@ -29620,7 +30878,7 @@ static int tolua_function_VariableArray_CResWebm__getReference(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CResWebm* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CResWebm* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CResWebm"); return 1; } @@ -29629,7 +30887,7 @@ static int tolua_function_VariableArray_CResWebm__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CResWebm*)tolua_tousertype_dynamic(L, 3, 0, "CResWebm")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CResWebm*)tolua_tousertype_dynamic(L, 3, 0, "CResWebm")); return 0; } @@ -29637,7 +30895,7 @@ static int tolua_function_VariableArray_const_CPoint__getReference(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - const CPoint* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + const CPoint* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CPoint"); return 1; } @@ -29646,7 +30904,7 @@ static int tolua_function_VariableArray_CAOEEntry__getReference(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CAOEEntry* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CAOEEntry* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CAOEEntry"); return 1; } @@ -29655,7 +30913,7 @@ static int tolua_function_VariableArray_CAOEEntry__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CAOEEntry*)tolua_tousertype_dynamic(L, 3, 0, "CAOEEntry")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CAOEEntry*)tolua_tousertype_dynamic(L, 3, 0, "CAOEEntry")); return 0; } @@ -29663,7 +30921,7 @@ static int tolua_function_VariableArray_CPersistantEffect__getReference(lua_Stat { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CPersistantEffect* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CPersistantEffect* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CPersistantEffect"); return 1; } @@ -29672,7 +30930,7 @@ static int tolua_function_VariableArray_CPersistantEffect__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CPersistantEffect*)tolua_tousertype_dynamic(L, 3, 0, "CPersistantEffect")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CPersistantEffect*)tolua_tousertype_dynamic(L, 3, 0, "CPersistantEffect")); return 0; } @@ -29680,7 +30938,7 @@ static int tolua_function_VariableArray_CObject__getReference(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CObject* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CObject* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CObject"); return 1; } @@ -29689,7 +30947,7 @@ static int tolua_function_VariableArray_CObject__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CObject*)tolua_tousertype_dynamic(L, 3, 0, "CObject")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CObject*)tolua_tousertype_dynamic(L, 3, 0, "CObject")); return 0; } @@ -29697,7 +30955,7 @@ static int tolua_function_VariableArray_CException__getReference(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CException* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CException* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CException"); return 1; } @@ -29706,7 +30964,7 @@ static int tolua_function_VariableArray_CException__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CException*)tolua_tousertype_dynamic(L, 3, 0, "CException")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CException*)tolua_tousertype_dynamic(L, 3, 0, "CException")); return 0; } @@ -29714,7 +30972,7 @@ static int tolua_function_VariableArray_CFileException__getReference(lua_State* { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CFileException* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CFileException* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CFileException"); return 1; } @@ -29723,7 +30981,7 @@ static int tolua_function_VariableArray_CFileException__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CFileException*)tolua_tousertype_dynamic(L, 3, 0, "CFileException")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CFileException*)tolua_tousertype_dynamic(L, 3, 0, "CFileException")); return 0; } @@ -29731,7 +30989,7 @@ static int tolua_function_VariableArray_CList_unsigned_long_unsigned_long____get { VariableArray>* self = (VariableArray>*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CList* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CList* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CList"); return 1; } @@ -29740,7 +30998,7 @@ static int tolua_function_VariableArray_CList_unsigned_long_unsigned_long____set { VariableArray>* self = (VariableArray>*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CList*)tolua_tousertype_dynamic(L, 3, 0, "CList")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CList*)tolua_tousertype_dynamic(L, 3, 0, "CList")); return 0; } @@ -29748,7 +31006,7 @@ static int tolua_function_VariableArray_CMapStringToString__CAssoc___get(lua_Sta { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); - CMapStringToString::CAssoc* returnVal = self->get(tolua_function_tointeger(L, 2, "get")); + CMapStringToString::CAssoc* returnVal = (self->get)(tolua_function_tointeger(L, 2, "get")); tolua_pushusertype(L, (void*)returnVal, "CMapStringToString::CAssoc"); return 1; } @@ -29757,7 +31015,7 @@ static int tolua_function_VariableArray_CMapStringToString__CAssoc___getReferenc { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CMapStringToString::CAssoc** returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CMapStringToString::CAssoc** returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "Pointer"); return 1; } @@ -29766,7 +31024,7 @@ static int tolua_function_VariableArray_CMapStringToString__CAssoc___set(lua_Sta { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), (CMapStringToString::CAssoc*)tolua_tousertype_dynamic(L, 3, 0, "CMapStringToString::CAssoc")); + (self->set)(tolua_function_tointeger(L, 2, "set"), (CMapStringToString::CAssoc*)tolua_tousertype_dynamic(L, 3, 0, "CMapStringToString::CAssoc")); return 0; } @@ -29774,7 +31032,7 @@ static int tolua_function_VariableArray_CVoice__getReference(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CVoice* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CVoice* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CVoice"); return 1; } @@ -29783,7 +31041,7 @@ static int tolua_function_VariableArray_CVoice__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CVoice*)tolua_tousertype_dynamic(L, 3, 0, "CVoice")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CVoice*)tolua_tousertype_dynamic(L, 3, 0, "CVoice")); return 0; } @@ -29791,7 +31049,7 @@ static int tolua_function_VariableArray_CTypedPtrList_CPtrList_long___getReferen { VariableArray>* self = (VariableArray>*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CTypedPtrList* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CTypedPtrList* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CTypedPtrList"); return 1; } @@ -29800,7 +31058,7 @@ static int tolua_function_VariableArray_CTypedPtrList_CPtrList_long___set(lua_St { VariableArray>* self = (VariableArray>*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CTypedPtrList*)tolua_tousertype_dynamic(L, 3, 0, "CTypedPtrList")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CTypedPtrList*)tolua_tousertype_dynamic(L, 3, 0, "CTypedPtrList")); return 0; } @@ -29808,7 +31066,7 @@ static int tolua_function_VariableArray_CTypedPtrList_CPtrList_CAITrigger____get { VariableArray>* self = (VariableArray>*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CTypedPtrList* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CTypedPtrList* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CTypedPtrList"); return 1; } @@ -29817,7 +31075,7 @@ static int tolua_function_VariableArray_CTypedPtrList_CPtrList_CAITrigger____set { VariableArray>* self = (VariableArray>*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CTypedPtrList*)tolua_tousertype_dynamic(L, 3, 0, "CTypedPtrList")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CTypedPtrList*)tolua_tousertype_dynamic(L, 3, 0, "CTypedPtrList")); return 0; } @@ -29825,7 +31083,7 @@ static int tolua_function_VariableArray_CTypedPtrList_CPtrList_long___CNode__get { VariableArray::CNode>* self = (VariableArray::CNode>*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray::CNode>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CTypedPtrList::CNode* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CTypedPtrList::CNode* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CTypedPtrList::CNode"); return 1; } @@ -29834,7 +31092,7 @@ static int tolua_function_VariableArray_CTypedPtrList_CPtrList_long___CNode__set { VariableArray::CNode>* self = (VariableArray::CNode>*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray::CNode>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 3, 0, "CTypedPtrList::CNode")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 3, 0, "CTypedPtrList::CNode")); return 0; } @@ -29842,7 +31100,7 @@ static int tolua_function_VariableArray_CTimer__getReference(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CTimer* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CTimer* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CTimer"); return 1; } @@ -29851,7 +31109,7 @@ static int tolua_function_VariableArray_CTimer__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CTimer*)tolua_tousertype_dynamic(L, 3, 0, "CTimer")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CTimer*)tolua_tousertype_dynamic(L, 3, 0, "CTimer")); return 0; } @@ -29859,7 +31117,7 @@ static int tolua_function_VariableArray_CStringList__getReference(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CStringList* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CStringList* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CStringList"); return 1; } @@ -29868,7 +31126,7 @@ static int tolua_function_VariableArray_CStringList__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CStringList*)tolua_tousertype_dynamic(L, 3, 0, "CStringList")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CStringList*)tolua_tousertype_dynamic(L, 3, 0, "CStringList")); return 0; } @@ -29876,7 +31134,7 @@ static int tolua_function_VariableArray_CStringList__CNode__getReference(lua_Sta { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CStringList::CNode* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CStringList::CNode* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CStringList::CNode"); return 1; } @@ -29885,7 +31143,7 @@ static int tolua_function_VariableArray_CStringList__CNode__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CStringList::CNode*)tolua_tousertype_dynamic(L, 3, 0, "CStringList::CNode")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CStringList::CNode*)tolua_tousertype_dynamic(L, 3, 0, "CStringList::CNode")); return 0; } @@ -29893,7 +31151,7 @@ static int tolua_function_VariableArray_CAICondition__getReference(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CAICondition* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CAICondition* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CAICondition"); return 1; } @@ -29902,7 +31160,7 @@ static int tolua_function_VariableArray_CAICondition__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CAICondition*)tolua_tousertype_dynamic(L, 3, 0, "CAICondition")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CAICondition*)tolua_tousertype_dynamic(L, 3, 0, "CAICondition")); return 0; } @@ -29910,7 +31168,7 @@ static int tolua_function_VariableArray_CAIResponseSet__getReference(lua_State* { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CAIResponseSet* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CAIResponseSet* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CAIResponseSet"); return 1; } @@ -29919,7 +31177,7 @@ static int tolua_function_VariableArray_CAIResponseSet__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CAIResponseSet*)tolua_tousertype_dynamic(L, 3, 0, "CAIResponseSet")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CAIResponseSet*)tolua_tousertype_dynamic(L, 3, 0, "CAIResponseSet")); return 0; } @@ -29927,7 +31185,7 @@ static int tolua_function_VariableArray_CAIConditionResponse__getReference(lua_S { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CAIConditionResponse* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CAIConditionResponse* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CAIConditionResponse"); return 1; } @@ -29936,7 +31194,7 @@ static int tolua_function_VariableArray_CAIConditionResponse__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CAIConditionResponse*)tolua_tousertype_dynamic(L, 3, 0, "CAIConditionResponse")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CAIConditionResponse*)tolua_tousertype_dynamic(L, 3, 0, "CAIConditionResponse")); return 0; } @@ -29944,7 +31202,7 @@ static int tolua_function_VariableArray_CGameButtonList__getReference(lua_State* { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CGameButtonList* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CGameButtonList* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CGameButtonList"); return 1; } @@ -29953,7 +31211,7 @@ static int tolua_function_VariableArray_CGameButtonList__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CGameButtonList*)tolua_tousertype_dynamic(L, 3, 0, "CGameButtonList")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CGameButtonList*)tolua_tousertype_dynamic(L, 3, 0, "CGameButtonList")); return 0; } @@ -29961,7 +31219,7 @@ static int tolua_function_VariableArray_CAIResponse__getReference(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CAIResponse* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CAIResponse* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CAIResponse"); return 1; } @@ -29970,7 +31228,7 @@ static int tolua_function_VariableArray_CAIResponse__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CAIResponse*)tolua_tousertype_dynamic(L, 3, 0, "CAIResponse")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CAIResponse*)tolua_tousertype_dynamic(L, 3, 0, "CAIResponse")); return 0; } @@ -29978,7 +31236,7 @@ static int tolua_function_VariableArray_CWarp__getReference(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CWarp* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CWarp* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "EEex_CWarp"); return 1; } @@ -29987,7 +31245,7 @@ static int tolua_function_VariableArray_CWarp__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CWarp*)tolua_tousertype_dynamic(L, 3, 0, "EEex_CWarp")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CWarp*)tolua_tousertype_dynamic(L, 3, 0, "EEex_CWarp")); return 0; } @@ -29995,7 +31253,7 @@ static int tolua_function_VariableArray_CMemINISection__getReference(lua_State* { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CMemINISection* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CMemINISection* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CMemINISection"); return 1; } @@ -30004,7 +31262,7 @@ static int tolua_function_VariableArray_CMemINISection__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CMemINISection*)tolua_tousertype_dynamic(L, 3, 0, "CMemINISection")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CMemINISection*)tolua_tousertype_dynamic(L, 3, 0, "CMemINISection")); return 0; } @@ -30012,7 +31270,7 @@ static int tolua_function_VariableArray_CSpawnList__getReference(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CSpawnList* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CSpawnList* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CSpawnList"); return 1; } @@ -30021,7 +31279,7 @@ static int tolua_function_VariableArray_CSpawnList__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CSpawnList*)tolua_tousertype_dynamic(L, 3, 0, "CSpawnList")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CSpawnList*)tolua_tousertype_dynamic(L, 3, 0, "CSpawnList")); return 0; } @@ -30029,7 +31287,7 @@ static int tolua_function_VariableArray_CSpawnFile__getReference(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CSpawnFile* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CSpawnFile* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CSpawnFile"); return 1; } @@ -30038,7 +31296,7 @@ static int tolua_function_VariableArray_CSpawnFile__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CSpawnFile*)tolua_tousertype_dynamic(L, 3, 0, "CSpawnFile")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CSpawnFile*)tolua_tousertype_dynamic(L, 3, 0, "CSpawnFile")); return 0; } @@ -30046,7 +31304,7 @@ static int tolua_function_VariableArray_CPtrList__CNode__getReference(lua_State* { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CPtrList::CNode* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CPtrList::CNode* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CPtrList::CNode"); return 1; } @@ -30055,7 +31313,7 @@ static int tolua_function_VariableArray_CPtrList__CNode__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CPtrList::CNode*)tolua_tousertype_dynamic(L, 3, 0, "CPtrList::CNode")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CPtrList::CNode*)tolua_tousertype_dynamic(L, 3, 0, "CPtrList::CNode")); return 0; } @@ -30063,7 +31321,7 @@ static int tolua_function_VariableArray_CGameAbilityList__getReference(lua_State { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CGameAbilityList* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CGameAbilityList* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CGameAbilityList"); return 1; } @@ -30072,7 +31330,7 @@ static int tolua_function_VariableArray_CGameAbilityList__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CGameAbilityList*)tolua_tousertype_dynamic(L, 3, 0, "CGameAbilityList")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CGameAbilityList*)tolua_tousertype_dynamic(L, 3, 0, "CGameAbilityList")); return 0; } @@ -30080,7 +31338,7 @@ static int tolua_function_VariableArray_CObList__CNode__getReference(lua_State* { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CObList::CNode* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CObList::CNode* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CObList::CNode"); return 1; } @@ -30089,7 +31347,7 @@ static int tolua_function_VariableArray_CObList__CNode__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CObList::CNode*)tolua_tousertype_dynamic(L, 3, 0, "CObList::CNode")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CObList::CNode*)tolua_tousertype_dynamic(L, 3, 0, "CObList::CNode")); return 0; } @@ -30097,7 +31355,7 @@ static int tolua_function_VariableArray_CMessage__getReference(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CMessage* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CMessage* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CMessage"); return 1; } @@ -30106,7 +31364,7 @@ static int tolua_function_VariableArray_CMessage__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CMessage*)tolua_tousertype_dynamic(L, 3, 0, "CMessage")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CMessage*)tolua_tousertype_dynamic(L, 3, 0, "CMessage")); return 0; } @@ -30114,7 +31372,7 @@ static int tolua_function_VariableArray_CMemINIValue__getReference(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CMemINIValue* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CMemINIValue* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CMemINIValue"); return 1; } @@ -30123,7 +31381,7 @@ static int tolua_function_VariableArray_CMemINIValue__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CMemINIValue*)tolua_tousertype_dynamic(L, 3, 0, "CMemINIValue")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CMemINIValue*)tolua_tousertype_dynamic(L, 3, 0, "CMemINIValue")); return 0; } @@ -30131,7 +31389,7 @@ static int tolua_function_VariableArray_CGameAreaClairvoyanceEntry__getReference { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CGameAreaClairvoyanceEntry* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CGameAreaClairvoyanceEntry* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CGameAreaClairvoyanceEntry"); return 1; } @@ -30140,7 +31398,7 @@ static int tolua_function_VariableArray_CGameAreaClairvoyanceEntry__set(lua_Stat { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CGameAreaClairvoyanceEntry*)tolua_tousertype_dynamic(L, 3, 0, "CGameAreaClairvoyanceEntry")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CGameAreaClairvoyanceEntry*)tolua_tousertype_dynamic(L, 3, 0, "CGameAreaClairvoyanceEntry")); return 0; } @@ -30148,7 +31406,7 @@ static int tolua_function_VariableArray_CFile__getReference(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CFile* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CFile* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CFile"); return 1; } @@ -30157,7 +31415,7 @@ static int tolua_function_VariableArray_CFile__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CFile*)tolua_tousertype_dynamic(L, 3, 0, "CFile")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CFile*)tolua_tousertype_dynamic(L, 3, 0, "CFile")); return 0; } @@ -30165,7 +31423,7 @@ static int tolua_function_VariableArray_CCallbackBase__getReference(lua_State* L { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CCallbackBase* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CCallbackBase* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CCallbackBase"); return 1; } @@ -30174,7 +31432,7 @@ static int tolua_function_VariableArray_CCallbackBase__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CCallbackBase*)tolua_tousertype_dynamic(L, 3, 0, "CCallbackBase")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CCallbackBase*)tolua_tousertype_dynamic(L, 3, 0, "CCallbackBase")); return 0; } @@ -30182,7 +31440,7 @@ static int tolua_function_VariableArray_CBaldurEngine__getReference(lua_State* L { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CBaldurEngine* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CBaldurEngine* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "EEex_CBaldurEngine"); return 1; } @@ -30191,7 +31449,7 @@ static int tolua_function_VariableArray_CBaldurEngine__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CBaldurEngine*)tolua_tousertype_dynamic(L, 3, 0, "EEex_CBaldurEngine")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CBaldurEngine*)tolua_tousertype_dynamic(L, 3, 0, "EEex_CBaldurEngine")); return 0; } @@ -30199,7 +31457,7 @@ static int tolua_function_VariableArray_CScreenMap__vtbl__getReference(lua_State { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CScreenMap::vtbl* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CScreenMap::vtbl* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CScreenMap::vtbl"); return 1; } @@ -30208,7 +31466,7 @@ static int tolua_function_VariableArray_CScreenMap__vtbl__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CScreenMap::vtbl*)tolua_tousertype_dynamic(L, 3, 0, "CScreenMap::vtbl")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CScreenMap::vtbl*)tolua_tousertype_dynamic(L, 3, 0, "CScreenMap::vtbl")); return 0; } @@ -30216,7 +31474,7 @@ static int tolua_function_VariableArray_CDungeonMaster__getReference(lua_State* { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CDungeonMaster* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CDungeonMaster* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CDungeonMaster"); return 1; } @@ -30225,7 +31483,7 @@ static int tolua_function_VariableArray_CDungeonMaster__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CDungeonMaster*)tolua_tousertype_dynamic(L, 3, 0, "CDungeonMaster")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CDungeonMaster*)tolua_tousertype_dynamic(L, 3, 0, "CDungeonMaster")); return 0; } @@ -30233,7 +31491,7 @@ static int tolua_function_VariableArray_uiItem__getReference(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - uiItem* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + uiItem* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "uiItem"); return 1; } @@ -30242,7 +31500,7 @@ static int tolua_function_VariableArray_uiItem__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(uiItem*)tolua_tousertype_dynamic(L, 3, 0, "uiItem")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(uiItem*)tolua_tousertype_dynamic(L, 3, 0, "uiItem")); return 0; } @@ -30250,7 +31508,7 @@ static int tolua_function_VariableArray_stbrp_context__getReference(lua_State* L { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - stbrp_context* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + stbrp_context* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "stbrp_context"); return 1; } @@ -30259,7 +31517,7 @@ static int tolua_function_VariableArray_stbrp_context__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(stbrp_context*)tolua_tousertype_dynamic(L, 3, 0, "stbrp_context")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(stbrp_context*)tolua_tousertype_dynamic(L, 3, 0, "stbrp_context")); return 0; } @@ -30267,7 +31525,7 @@ static int tolua_function_VariableArray_lua_Debug__getReference(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - lua_Debug* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + lua_Debug* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "lua_Debug"); return 1; } @@ -30276,7 +31534,7 @@ static int tolua_function_VariableArray_lua_Debug__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(lua_Debug*)tolua_tousertype_dynamic(L, 3, 0, "lua_Debug")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(lua_Debug*)tolua_tousertype_dynamic(L, 3, 0, "lua_Debug")); return 0; } @@ -30284,7 +31542,7 @@ static int tolua_function_VariableArray_global_State__getReference(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - global_State* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + global_State* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "global_State"); return 1; } @@ -30293,7 +31551,7 @@ static int tolua_function_VariableArray_global_State__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(global_State*)tolua_tousertype_dynamic(L, 3, 0, "global_State")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(global_State*)tolua_tousertype_dynamic(L, 3, 0, "global_State")); return 0; } @@ -30301,7 +31559,7 @@ static int tolua_function_VariableArray_font_t__getReference(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - font_t* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + font_t* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "font_t"); return 1; } @@ -30310,7 +31568,7 @@ static int tolua_function_VariableArray_font_t__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(font_t*)tolua_tousertype_dynamic(L, 3, 0, "font_t")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(font_t*)tolua_tousertype_dynamic(L, 3, 0, "font_t")); return 0; } @@ -30318,7 +31576,7 @@ static int tolua_function_VariableArray_lua_longjmp__getReference(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - lua_longjmp* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + lua_longjmp* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "lua_longjmp"); return 1; } @@ -30327,7 +31585,24 @@ static int tolua_function_VariableArray_lua_longjmp__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(lua_longjmp*)tolua_tousertype_dynamic(L, 3, 0, "lua_longjmp")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(lua_longjmp*)tolua_tousertype_dynamic(L, 3, 0, "lua_longjmp")); + return 0; +} + +static int tolua_function_VariableArray_SDL_VideoDevice__getReference(lua_State* L) +{ + VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); + SDL_VideoDevice* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); + tolua_pushusertype(L, (void*)returnVal, "SDL_VideoDevice"); + return 1; +} + +static int tolua_function_VariableArray_SDL_VideoDevice__set(lua_State* L) +{ + VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(SDL_VideoDevice*)tolua_tousertype_dynamic(L, 3, 0, "SDL_VideoDevice")); return 0; } @@ -30335,7 +31610,7 @@ static int tolua_function_VariableArray_SDL_PixelFormat__getReference(lua_State* { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - SDL_PixelFormat* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + SDL_PixelFormat* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "SDL_PixelFormat"); return 1; } @@ -30344,15 +31619,24 @@ static int tolua_function_VariableArray_SDL_PixelFormat__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(SDL_PixelFormat*)tolua_tousertype_dynamic(L, 3, 0, "SDL_PixelFormat")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(SDL_PixelFormat*)tolua_tousertype_dynamic(L, 3, 0, "SDL_PixelFormat")); return 0; } +static int tolua_function_VariableArray_const_SDL_MessageBoxColorScheme__getReference(lua_State* L) +{ + VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); + const SDL_MessageBoxColorScheme* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); + tolua_pushusertype(L, (void*)returnVal, "SDL_MessageBoxColorScheme"); + return 1; +} + static int tolua_function_VariableArray_CVariable__getReference(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CVariable* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CVariable* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CVariable"); return 1; } @@ -30361,7 +31645,7 @@ static int tolua_function_VariableArray_CVariable__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CVariable*)tolua_tousertype_dynamic(L, 3, 0, "CVariable")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CVariable*)tolua_tousertype_dynamic(L, 3, 0, "CVariable")); return 0; } @@ -30369,7 +31653,7 @@ static int tolua_function_VariableArray_DP_Player__getReference(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - DP_Player* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + DP_Player* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "DP_Player"); return 1; } @@ -30378,7 +31662,7 @@ static int tolua_function_VariableArray_DP_Player__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(DP_Player*)tolua_tousertype_dynamic(L, 3, 0, "DP_Player")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(DP_Player*)tolua_tousertype_dynamic(L, 3, 0, "DP_Player")); return 0; } @@ -30386,7 +31670,7 @@ static int tolua_function_VariableArray_SteamUGCDetails_t__getReference(lua_Stat { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - SteamUGCDetails_t* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + SteamUGCDetails_t* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "SteamUGCDetails_t"); return 1; } @@ -30395,7 +31679,7 @@ static int tolua_function_VariableArray_SteamUGCDetails_t__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(SteamUGCDetails_t*)tolua_tousertype_dynamic(L, 3, 0, "SteamUGCDetails_t")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(SteamUGCDetails_t*)tolua_tousertype_dynamic(L, 3, 0, "SteamUGCDetails_t")); return 0; } @@ -30403,7 +31687,7 @@ static int tolua_function_VariableArray_SDL_Event__getReference(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - SDL_Event* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + SDL_Event* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "SDL_Event"); return 1; } @@ -30412,7 +31696,7 @@ static int tolua_function_VariableArray_SDL_Event__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(SDL_Event*)tolua_tousertype_dynamic(L, 3, 0, "SDL_Event")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(SDL_Event*)tolua_tousertype_dynamic(L, 3, 0, "SDL_Event")); return 0; } @@ -30420,7 +31704,7 @@ static int tolua_function_VariableArray_CVisibilityMapTreeNode___get(lua_State* { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); - CVisibilityMapTreeNode* returnVal = self->get(tolua_function_tointeger(L, 2, "get")); + CVisibilityMapTreeNode* returnVal = (self->get)(tolua_function_tointeger(L, 2, "get")); tolua_pushusertype(L, (void*)returnVal, "CVisibilityMapTreeNode"); return 1; } @@ -30429,7 +31713,7 @@ static int tolua_function_VariableArray_CVisibilityMapTreeNode___getReference(lu { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CVisibilityMapTreeNode** returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CVisibilityMapTreeNode** returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "Pointer"); return 1; } @@ -30438,7 +31722,7 @@ static int tolua_function_VariableArray_CVisibilityMapTreeNode___set(lua_State* { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), (CVisibilityMapTreeNode*)tolua_tousertype_dynamic(L, 3, 0, "CVisibilityMapTreeNode")); + (self->set)(tolua_function_tointeger(L, 2, "set"), (CVisibilityMapTreeNode*)tolua_tousertype_dynamic(L, 3, 0, "CVisibilityMapTreeNode")); return 0; } @@ -30446,7 +31730,7 @@ static int tolua_function_VariableArray_CVidPalette__getReference(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CVidPalette* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CVidPalette* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CVidPalette"); return 1; } @@ -30455,7 +31739,7 @@ static int tolua_function_VariableArray_CVidPalette__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CVidPalette*)tolua_tousertype_dynamic(L, 3, 0, "CVidPalette")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CVidPalette*)tolua_tousertype_dynamic(L, 3, 0, "CVidPalette")); return 0; } @@ -30463,7 +31747,7 @@ static int tolua_function_VariableArray_CVIDIMG_PALETTEAFFECT__getReference(lua_ { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CVIDIMG_PALETTEAFFECT* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CVIDIMG_PALETTEAFFECT* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CVIDIMG_PALETTEAFFECT"); return 1; } @@ -30472,7 +31756,7 @@ static int tolua_function_VariableArray_CVIDIMG_PALETTEAFFECT__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CVIDIMG_PALETTEAFFECT*)tolua_tousertype_dynamic(L, 3, 0, "CVIDIMG_PALETTEAFFECT")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CVIDIMG_PALETTEAFFECT*)tolua_tousertype_dynamic(L, 3, 0, "CVIDIMG_PALETTEAFFECT")); return 0; } @@ -30480,7 +31764,7 @@ static int tolua_function_VariableArray_CSoundMixerImp__getReference(lua_State* { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CSoundMixerImp* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CSoundMixerImp* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CSoundMixerImp"); return 1; } @@ -30489,7 +31773,7 @@ static int tolua_function_VariableArray_CSoundMixerImp__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CSoundMixerImp*)tolua_tousertype_dynamic(L, 3, 0, "CSoundMixerImp")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CSoundMixerImp*)tolua_tousertype_dynamic(L, 3, 0, "CSoundMixerImp")); return 0; } @@ -30497,7 +31781,7 @@ static int tolua_function_VariableArray_CSearchRequest__getReference(lua_State* { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CSearchRequest* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CSearchRequest* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CSearchRequest"); return 1; } @@ -30506,7 +31790,7 @@ static int tolua_function_VariableArray_CSearchRequest__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CSearchRequest*)tolua_tousertype_dynamic(L, 3, 0, "CSearchRequest")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CSearchRequest*)tolua_tousertype_dynamic(L, 3, 0, "CSearchRequest")); return 0; } @@ -30514,7 +31798,7 @@ static int tolua_function_VariableArray_CScreenMovies__getReference(lua_State* L { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CScreenMovies* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CScreenMovies* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "EEex_CScreenMovies"); return 1; } @@ -30523,7 +31807,7 @@ static int tolua_function_VariableArray_CScreenMovies__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CScreenMovies*)tolua_tousertype_dynamic(L, 3, 0, "EEex_CScreenMovies")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CScreenMovies*)tolua_tousertype_dynamic(L, 3, 0, "EEex_CScreenMovies")); return 0; } @@ -30531,7 +31815,7 @@ static int tolua_function_VariableArray_CScreenConnection__getReference(lua_Stat { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CScreenConnection* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CScreenConnection* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "EEex_CScreenConnection"); return 1; } @@ -30540,7 +31824,7 @@ static int tolua_function_VariableArray_CScreenConnection__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CScreenConnection*)tolua_tousertype_dynamic(L, 3, 0, "EEex_CScreenConnection")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CScreenConnection*)tolua_tousertype_dynamic(L, 3, 0, "EEex_CScreenConnection")); return 0; } @@ -30548,7 +31832,7 @@ static int tolua_function_VariableArray_const_CResRef__getReference(lua_State* L { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - const CResRef* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + const CResRef* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CResRef"); return 1; } @@ -30557,7 +31841,7 @@ static int tolua_function_VariableArray_CAIScript___get(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); - CAIScript* returnVal = self->get(tolua_function_tointeger(L, 2, "get")); + CAIScript* returnVal = (self->get)(tolua_function_tointeger(L, 2, "get")); tolua_pushusertype(L, (void*)returnVal, "CAIScript"); return 1; } @@ -30566,7 +31850,7 @@ static int tolua_function_VariableArray_CAIScript___getReference(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CAIScript** returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CAIScript** returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "Pointer"); return 1; } @@ -30575,7 +31859,7 @@ static int tolua_function_VariableArray_CAIScript___set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), (CAIScript*)tolua_tousertype_dynamic(L, 3, 0, "CAIScript")); + (self->set)(tolua_function_tointeger(L, 2, "set"), (CAIScript*)tolua_tousertype_dynamic(L, 3, 0, "CAIScript")); return 0; } @@ -30583,7 +31867,7 @@ static int tolua_function_VariableArray_CAbilityId__getReference(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CAbilityId* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CAbilityId* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CAbilityId"); return 1; } @@ -30592,7 +31876,7 @@ static int tolua_function_VariableArray_CAbilityId__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CAbilityId*)tolua_tousertype_dynamic(L, 3, 0, "CAbilityId")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CAbilityId*)tolua_tousertype_dynamic(L, 3, 0, "CAbilityId")); return 0; } @@ -30600,7 +31884,7 @@ static int tolua_function_VariableArray_CGameDialogSprite__getReference(lua_Stat { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CGameDialogSprite* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CGameDialogSprite* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CGameDialogSprite"); return 1; } @@ -30609,7 +31893,7 @@ static int tolua_function_VariableArray_CGameDialogSprite__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CGameDialogSprite*)tolua_tousertype_dynamic(L, 3, 0, "CGameDialogSprite")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CGameDialogSprite*)tolua_tousertype_dynamic(L, 3, 0, "CGameDialogSprite")); return 0; } @@ -30617,7 +31901,7 @@ static int tolua_function_VariableArray_CAIIdList__getReference(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CAIIdList* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CAIIdList* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CAIIdList"); return 1; } @@ -30626,7 +31910,7 @@ static int tolua_function_VariableArray_CAIIdList__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CAIIdList*)tolua_tousertype_dynamic(L, 3, 0, "CAIIdList")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CAIIdList*)tolua_tousertype_dynamic(L, 3, 0, "CAIIdList")); return 0; } @@ -30634,7 +31918,7 @@ static int tolua_function_VariableArray_CAIScriptFile__getReference(lua_State* L { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CAIScriptFile* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CAIScriptFile* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CAIScriptFile"); return 1; } @@ -30643,7 +31927,7 @@ static int tolua_function_VariableArray_CAIScriptFile__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CAIScriptFile*)tolua_tousertype_dynamic(L, 3, 0, "CAIScriptFile")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CAIScriptFile*)tolua_tousertype_dynamic(L, 3, 0, "CAIScriptFile")); return 0; } @@ -30651,7 +31935,7 @@ static int tolua_function_VariableArray_STR_RES__getReference(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - STR_RES* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + STR_RES* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "STR_RES"); return 1; } @@ -30660,7 +31944,7 @@ static int tolua_function_VariableArray_STR_RES__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(STR_RES*)tolua_tousertype_dynamic(L, 3, 0, "STR_RES")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(STR_RES*)tolua_tousertype_dynamic(L, 3, 0, "STR_RES")); return 0; } @@ -30668,7 +31952,7 @@ static int tolua_function_VariableArray_CSoundImp__getReference(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CSoundImp* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CSoundImp* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CSoundImp"); return 1; } @@ -30677,7 +31961,7 @@ static int tolua_function_VariableArray_CSoundImp__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CSoundImp*)tolua_tousertype_dynamic(L, 3, 0, "CSoundImp")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CSoundImp*)tolua_tousertype_dynamic(L, 3, 0, "CSoundImp")); return 0; } @@ -30685,7 +31969,7 @@ static int tolua_function_VariableArray_CScreenAI__getReference(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CScreenAI* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CScreenAI* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CScreenAI"); return 1; } @@ -30694,7 +31978,7 @@ static int tolua_function_VariableArray_CScreenAI__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CScreenAI*)tolua_tousertype_dynamic(L, 3, 0, "CScreenAI")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CScreenAI*)tolua_tousertype_dynamic(L, 3, 0, "CScreenAI")); return 0; } @@ -30702,7 +31986,7 @@ static int tolua_function_VariableArray_CSearchBitmap__getReference(lua_State* L { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CSearchBitmap* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CSearchBitmap* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CSearchBitmap"); return 1; } @@ -30711,7 +31995,7 @@ static int tolua_function_VariableArray_CSearchBitmap__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CSearchBitmap*)tolua_tousertype_dynamic(L, 3, 0, "CSearchBitmap")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CSearchBitmap*)tolua_tousertype_dynamic(L, 3, 0, "CSearchBitmap")); return 0; } @@ -30719,7 +32003,7 @@ static int tolua_function_VariableArray_CVidMode__getReference(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CVidMode* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CVidMode* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CVidMode"); return 1; } @@ -30728,7 +32012,7 @@ static int tolua_function_VariableArray_CVidMode__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CVidMode*)tolua_tousertype_dynamic(L, 3, 0, "CVidMode")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CVidMode*)tolua_tousertype_dynamic(L, 3, 0, "CVidMode")); return 0; } @@ -30736,7 +32020,7 @@ static int tolua_function_VariableArray_CVidCellFont__getReference(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CVidCellFont* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CVidCellFont* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CVidCellFont"); return 1; } @@ -30745,7 +32029,7 @@ static int tolua_function_VariableArray_CVidCellFont__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CVidCellFont*)tolua_tousertype_dynamic(L, 3, 0, "CVidCellFont")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CVidCellFont*)tolua_tousertype_dynamic(L, 3, 0, "CVidCellFont")); return 0; } @@ -30753,7 +32037,7 @@ static int tolua_function_VariableArray_CPortraitIcon__getReference(lua_State* L { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CPortraitIcon* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CPortraitIcon* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CPortraitIcon"); return 1; } @@ -30762,7 +32046,7 @@ static int tolua_function_VariableArray_CPortraitIcon__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CPortraitIcon*)tolua_tousertype_dynamic(L, 3, 0, "CPortraitIcon")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CPortraitIcon*)tolua_tousertype_dynamic(L, 3, 0, "CPortraitIcon")); return 0; } @@ -30770,7 +32054,7 @@ static int tolua_function_VariableArray_CScreenCreateChar__getReference(lua_Stat { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CScreenCreateChar* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CScreenCreateChar* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "EEex_CScreenCreateChar"); return 1; } @@ -30779,7 +32063,7 @@ static int tolua_function_VariableArray_CScreenCreateChar__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CScreenCreateChar*)tolua_tousertype_dynamic(L, 3, 0, "EEex_CScreenCreateChar")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CScreenCreateChar*)tolua_tousertype_dynamic(L, 3, 0, "EEex_CScreenCreateChar")); return 0; } @@ -30787,7 +32071,7 @@ static int tolua_function_VariableArray_CScreenCreateParty__getReference(lua_Sta { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CScreenCreateParty* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CScreenCreateParty* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "EEex_CScreenCreateParty"); return 1; } @@ -30796,7 +32080,7 @@ static int tolua_function_VariableArray_CScreenCreateParty__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CScreenCreateParty*)tolua_tousertype_dynamic(L, 3, 0, "EEex_CScreenCreateParty")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CScreenCreateParty*)tolua_tousertype_dynamic(L, 3, 0, "EEex_CScreenCreateParty")); return 0; } @@ -30804,7 +32088,7 @@ static int tolua_function_VariableArray_CScreenDLC__getReference(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CScreenDLC* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CScreenDLC* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "EEex_CScreenDLC"); return 1; } @@ -30813,7 +32097,7 @@ static int tolua_function_VariableArray_CScreenDLC__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CScreenDLC*)tolua_tousertype_dynamic(L, 3, 0, "EEex_CScreenDLC")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CScreenDLC*)tolua_tousertype_dynamic(L, 3, 0, "EEex_CScreenDLC")); return 0; } @@ -30821,7 +32105,7 @@ static int tolua_function_VariableArray_CScreenLoad__getReference(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CScreenLoad* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CScreenLoad* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "EEex_CScreenLoad"); return 1; } @@ -30830,7 +32114,7 @@ static int tolua_function_VariableArray_CScreenLoad__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CScreenLoad*)tolua_tousertype_dynamic(L, 3, 0, "EEex_CScreenLoad")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CScreenLoad*)tolua_tousertype_dynamic(L, 3, 0, "EEex_CScreenLoad")); return 0; } @@ -30838,7 +32122,7 @@ static int tolua_function_VariableArray_CScreenMap__getReference(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CScreenMap* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CScreenMap* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "EEex_CScreenMap"); return 1; } @@ -30847,7 +32131,7 @@ static int tolua_function_VariableArray_CScreenMap__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CScreenMap*)tolua_tousertype_dynamic(L, 3, 0, "EEex_CScreenMap")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CScreenMap*)tolua_tousertype_dynamic(L, 3, 0, "EEex_CScreenMap")); return 0; } @@ -30855,7 +32139,7 @@ static int tolua_function_VariableArray_CScreenMultiPlayer__getReference(lua_Sta { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CScreenMultiPlayer* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CScreenMultiPlayer* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "EEex_CScreenMultiPlayer"); return 1; } @@ -30864,7 +32148,7 @@ static int tolua_function_VariableArray_CScreenMultiPlayer__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CScreenMultiPlayer*)tolua_tousertype_dynamic(L, 3, 0, "EEex_CScreenMultiPlayer")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CScreenMultiPlayer*)tolua_tousertype_dynamic(L, 3, 0, "EEex_CScreenMultiPlayer")); return 0; } @@ -30872,7 +32156,7 @@ static int tolua_function_VariableArray_CScreenOptions__getReference(lua_State* { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CScreenOptions* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CScreenOptions* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "EEex_CScreenOptions"); return 1; } @@ -30881,7 +32165,7 @@ static int tolua_function_VariableArray_CScreenOptions__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CScreenOptions*)tolua_tousertype_dynamic(L, 3, 0, "EEex_CScreenOptions")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CScreenOptions*)tolua_tousertype_dynamic(L, 3, 0, "EEex_CScreenOptions")); return 0; } @@ -30889,7 +32173,7 @@ static int tolua_function_VariableArray_CScreenSave__getReference(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CScreenSave* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CScreenSave* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "EEex_CScreenSave"); return 1; } @@ -30898,7 +32182,7 @@ static int tolua_function_VariableArray_CScreenSave__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CScreenSave*)tolua_tousertype_dynamic(L, 3, 0, "EEex_CScreenSave")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CScreenSave*)tolua_tousertype_dynamic(L, 3, 0, "EEex_CScreenSave")); return 0; } @@ -30906,7 +32190,7 @@ static int tolua_function_VariableArray_CScreenStart__getReference(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CScreenStart* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CScreenStart* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "EEex_CScreenStart"); return 1; } @@ -30915,7 +32199,7 @@ static int tolua_function_VariableArray_CScreenStart__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CScreenStart*)tolua_tousertype_dynamic(L, 3, 0, "EEex_CScreenStart")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CScreenStart*)tolua_tousertype_dynamic(L, 3, 0, "EEex_CScreenStart")); return 0; } @@ -30923,7 +32207,7 @@ static int tolua_function_VariableArray_CInfCursor__getReference(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CInfCursor* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CInfCursor* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CInfCursor"); return 1; } @@ -30932,7 +32216,7 @@ static int tolua_function_VariableArray_CInfCursor__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CInfCursor*)tolua_tousertype_dynamic(L, 3, 0, "CInfCursor")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CInfCursor*)tolua_tousertype_dynamic(L, 3, 0, "CInfCursor")); return 0; } @@ -30940,7 +32224,7 @@ static int tolua_function_VariableArray_CGameFile__getReference(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CGameFile* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CGameFile* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CGameFile"); return 1; } @@ -30949,7 +32233,7 @@ static int tolua_function_VariableArray_CGameFile__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CGameFile*)tolua_tousertype_dynamic(L, 3, 0, "CGameFile")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CGameFile*)tolua_tousertype_dynamic(L, 3, 0, "CGameFile")); return 0; } @@ -30957,7 +32241,7 @@ static int tolua_function_VariableArray_CAreaFileProjectileObject__getReference( { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CAreaFileProjectileObject* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CAreaFileProjectileObject* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CAreaFileProjectileObject"); return 1; } @@ -30966,7 +32250,7 @@ static int tolua_function_VariableArray_CAreaFileProjectileObject__set(lua_State { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CAreaFileProjectileObject*)tolua_tousertype_dynamic(L, 3, 0, "CAreaFileProjectileObject")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CAreaFileProjectileObject*)tolua_tousertype_dynamic(L, 3, 0, "CAreaFileProjectileObject")); return 0; } @@ -30974,7 +32258,7 @@ static int tolua_function_VariableArray_CCriticalEntry__getReference(lua_State* { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CCriticalEntry* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CCriticalEntry* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CCriticalEntry"); return 1; } @@ -30983,7 +32267,7 @@ static int tolua_function_VariableArray_CCriticalEntry__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CCriticalEntry*)tolua_tousertype_dynamic(L, 3, 0, "CCriticalEntry")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CCriticalEntry*)tolua_tousertype_dynamic(L, 3, 0, "CCriticalEntry")); return 0; } @@ -30991,7 +32275,7 @@ static int tolua_function_VariableArray_CGameSprite__GroundItem__getReference(lu { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CGameSprite::GroundItem* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CGameSprite::GroundItem* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CGameSprite::GroundItem"); return 1; } @@ -31000,7 +32284,7 @@ static int tolua_function_VariableArray_CGameSprite__GroundItem__set(lua_State* { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CGameSprite::GroundItem*)tolua_tousertype_dynamic(L, 3, 0, "CGameSprite::GroundItem")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CGameSprite::GroundItem*)tolua_tousertype_dynamic(L, 3, 0, "CGameSprite::GroundItem")); return 0; } @@ -31008,7 +32292,7 @@ static int tolua_function_VariableArray_CImmunitiesItemEquip__getReference(lua_S { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CImmunitiesItemEquip* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CImmunitiesItemEquip* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CImmunitiesItemEquip"); return 1; } @@ -31017,7 +32301,7 @@ static int tolua_function_VariableArray_CImmunitiesItemEquip__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CImmunitiesItemEquip*)tolua_tousertype_dynamic(L, 3, 0, "CImmunitiesItemEquip")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CImmunitiesItemEquip*)tolua_tousertype_dynamic(L, 3, 0, "CImmunitiesItemEquip")); return 0; } @@ -31025,7 +32309,7 @@ static int tolua_function_VariableArray_CImmunitySpell__getReference(lua_State* { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CImmunitySpell* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CImmunitySpell* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CImmunitySpell"); return 1; } @@ -31034,7 +32318,7 @@ static int tolua_function_VariableArray_CImmunitySpell__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CImmunitySpell*)tolua_tousertype_dynamic(L, 3, 0, "CImmunitySpell")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CImmunitySpell*)tolua_tousertype_dynamic(L, 3, 0, "CImmunitySpell")); return 0; } @@ -31042,7 +32326,7 @@ static int tolua_function_VariableArray_CMoveListEntry__getReference(lua_State* { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CMoveListEntry* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CMoveListEntry* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CMoveListEntry"); return 1; } @@ -31051,7 +32335,7 @@ static int tolua_function_VariableArray_CMoveListEntry__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CMoveListEntry*)tolua_tousertype_dynamic(L, 3, 0, "CMoveListEntry")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CMoveListEntry*)tolua_tousertype_dynamic(L, 3, 0, "CMoveListEntry")); return 0; } @@ -31059,7 +32343,7 @@ static int tolua_function_VariableArray_CCreatureFileKnownSpell__getReference(lu { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CCreatureFileKnownSpell* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CCreatureFileKnownSpell* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CCreatureFileKnownSpell"); return 1; } @@ -31068,7 +32352,7 @@ static int tolua_function_VariableArray_CCreatureFileKnownSpell__set(lua_State* { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CCreatureFileKnownSpell*)tolua_tousertype_dynamic(L, 3, 0, "CCreatureFileKnownSpell")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CCreatureFileKnownSpell*)tolua_tousertype_dynamic(L, 3, 0, "CCreatureFileKnownSpell")); return 0; } @@ -31076,7 +32360,7 @@ static int tolua_function_VariableArray_WED_LayerHeader_st__getReference(lua_Sta { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - WED_LayerHeader_st* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + WED_LayerHeader_st* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "WED_LayerHeader_st"); return 1; } @@ -31085,7 +32369,7 @@ static int tolua_function_VariableArray_WED_LayerHeader_st__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(WED_LayerHeader_st*)tolua_tousertype_dynamic(L, 3, 0, "WED_LayerHeader_st")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(WED_LayerHeader_st*)tolua_tousertype_dynamic(L, 3, 0, "WED_LayerHeader_st")); return 0; } @@ -31093,7 +32377,7 @@ static int tolua_function_VariableArray_UI_PanelHeader_st__getReference(lua_Stat { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - UI_PanelHeader_st* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + UI_PanelHeader_st* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "UI_PanelHeader_st"); return 1; } @@ -31102,7 +32386,7 @@ static int tolua_function_VariableArray_UI_PanelHeader_st__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(UI_PanelHeader_st*)tolua_tousertype_dynamic(L, 3, 0, "UI_PanelHeader_st")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(UI_PanelHeader_st*)tolua_tousertype_dynamic(L, 3, 0, "UI_PanelHeader_st")); return 0; } @@ -31110,7 +32394,7 @@ static int tolua_function_VariableArray_Spell_ability_st__getReference(lua_State { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - Spell_ability_st* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + Spell_ability_st* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "Spell_ability_st"); return 1; } @@ -31119,7 +32403,7 @@ static int tolua_function_VariableArray_Spell_ability_st__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(Spell_ability_st*)tolua_tousertype_dynamic(L, 3, 0, "Spell_ability_st")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(Spell_ability_st*)tolua_tousertype_dynamic(L, 3, 0, "Spell_ability_st")); return 0; } @@ -31127,7 +32411,7 @@ static int tolua_function_VariableArray_Spell_Header_st__getReference(lua_State* { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - Spell_Header_st* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + Spell_Header_st* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "Spell_Header_st"); return 1; } @@ -31136,7 +32420,7 @@ static int tolua_function_VariableArray_Spell_Header_st__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(Spell_Header_st*)tolua_tousertype_dynamic(L, 3, 0, "Spell_Header_st")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(Spell_Header_st*)tolua_tousertype_dynamic(L, 3, 0, "Spell_Header_st")); return 0; } @@ -31144,7 +32428,7 @@ static int tolua_function_VariableArray_Item_effect_st__getReference(lua_State* { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - Item_effect_st* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + Item_effect_st* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "Item_effect_st"); return 1; } @@ -31153,7 +32437,7 @@ static int tolua_function_VariableArray_Item_effect_st__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(Item_effect_st*)tolua_tousertype_dynamic(L, 3, 0, "Item_effect_st")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(Item_effect_st*)tolua_tousertype_dynamic(L, 3, 0, "Item_effect_st")); return 0; } @@ -31161,7 +32445,7 @@ static int tolua_function_VariableArray_Item_ability_st__getReference(lua_State* { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - Item_ability_st* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + Item_ability_st* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "Item_ability_st"); return 1; } @@ -31170,7 +32454,7 @@ static int tolua_function_VariableArray_Item_ability_st__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(Item_ability_st*)tolua_tousertype_dynamic(L, 3, 0, "Item_ability_st")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(Item_ability_st*)tolua_tousertype_dynamic(L, 3, 0, "Item_ability_st")); return 0; } @@ -31178,7 +32462,7 @@ static int tolua_function_VariableArray_Item_Header_st__getReference(lua_State* { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - Item_Header_st* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + Item_Header_st* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "Item_Header_st"); return 1; } @@ -31187,7 +32471,7 @@ static int tolua_function_VariableArray_Item_Header_st__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(Item_Header_st*)tolua_tousertype_dynamic(L, 3, 0, "Item_Header_st")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(Item_Header_st*)tolua_tousertype_dynamic(L, 3, 0, "Item_Header_st")); return 0; } @@ -31195,7 +32479,7 @@ static int tolua_function_VariableArray_CWorldMapLinks___get(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); - CWorldMapLinks* returnVal = self->get(tolua_function_tointeger(L, 2, "get")); + CWorldMapLinks* returnVal = (self->get)(tolua_function_tointeger(L, 2, "get")); tolua_pushusertype(L, (void*)returnVal, "CWorldMapLinks"); return 1; } @@ -31204,7 +32488,7 @@ static int tolua_function_VariableArray_CWorldMapLinks___getReference(lua_State* { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CWorldMapLinks** returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CWorldMapLinks** returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "Pointer"); return 1; } @@ -31213,7 +32497,7 @@ static int tolua_function_VariableArray_CWorldMapLinks___set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), (CWorldMapLinks*)tolua_tousertype_dynamic(L, 3, 0, "CWorldMapLinks")); + (self->set)(tolua_function_tointeger(L, 2, "set"), (CWorldMapLinks*)tolua_tousertype_dynamic(L, 3, 0, "CWorldMapLinks")); return 0; } @@ -31221,7 +32505,7 @@ static int tolua_function_VariableArray_CWorldMapData__getReference(lua_State* L { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CWorldMapData* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CWorldMapData* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CWorldMapData"); return 1; } @@ -31230,7 +32514,7 @@ static int tolua_function_VariableArray_CWorldMapData__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CWorldMapData*)tolua_tousertype_dynamic(L, 3, 0, "CWorldMapData")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CWorldMapData*)tolua_tousertype_dynamic(L, 3, 0, "CWorldMapData")); return 0; } @@ -31238,7 +32522,7 @@ static int tolua_function_VariableArray_CWorldMapArea___get(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); - CWorldMapArea* returnVal = self->get(tolua_function_tointeger(L, 2, "get")); + CWorldMapArea* returnVal = (self->get)(tolua_function_tointeger(L, 2, "get")); tolua_pushusertype(L, (void*)returnVal, "CWorldMapArea"); return 1; } @@ -31247,7 +32531,7 @@ static int tolua_function_VariableArray_CWorldMapArea___getReference(lua_State* { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CWorldMapArea** returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CWorldMapArea** returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "Pointer"); return 1; } @@ -31256,7 +32540,7 @@ static int tolua_function_VariableArray_CWorldMapArea___set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), (CWorldMapArea*)tolua_tousertype_dynamic(L, 3, 0, "CWorldMapArea")); + (self->set)(tolua_function_tointeger(L, 2, "set"), (CWorldMapArea*)tolua_tousertype_dynamic(L, 3, 0, "CWorldMapArea")); return 0; } @@ -31264,7 +32548,7 @@ static int tolua_function_VariableArray_CVVCHashEntry__getReference(lua_State* L { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CVVCHashEntry* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CVVCHashEntry* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CVVCHashEntry"); return 1; } @@ -31273,7 +32557,7 @@ static int tolua_function_VariableArray_CVVCHashEntry__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CVVCHashEntry*)tolua_tousertype_dynamic(L, 3, 0, "CVVCHashEntry")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CVVCHashEntry*)tolua_tousertype_dynamic(L, 3, 0, "CVVCHashEntry")); return 0; } @@ -31281,7 +32565,7 @@ static int tolua_function_VariableArray_CVEFEvent__getReference(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CVEFEvent* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CVEFEvent* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CVEFEvent"); return 1; } @@ -31290,7 +32574,7 @@ static int tolua_function_VariableArray_CVEFEvent__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CVEFEvent*)tolua_tousertype_dynamic(L, 3, 0, "CVEFEvent")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CVEFEvent*)tolua_tousertype_dynamic(L, 3, 0, "CVEFEvent")); return 0; } @@ -31298,7 +32582,7 @@ static int tolua_function_VariableArray_CTiledObject__getReference(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CTiledObject* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CTiledObject* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CTiledObject"); return 1; } @@ -31307,7 +32591,7 @@ static int tolua_function_VariableArray_CTiledObject__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CTiledObject*)tolua_tousertype_dynamic(L, 3, 0, "CTiledObject")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CTiledObject*)tolua_tousertype_dynamic(L, 3, 0, "CTiledObject")); return 0; } @@ -31315,7 +32599,7 @@ static int tolua_function_VariableArray_CStoreFileSpell__getReference(lua_State* { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CStoreFileSpell* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CStoreFileSpell* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CStoreFileSpell"); return 1; } @@ -31324,7 +32608,7 @@ static int tolua_function_VariableArray_CStoreFileSpell__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CStoreFileSpell*)tolua_tousertype_dynamic(L, 3, 0, "CStoreFileSpell")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CStoreFileSpell*)tolua_tousertype_dynamic(L, 3, 0, "CStoreFileSpell")); return 0; } @@ -31332,7 +32616,7 @@ static int tolua_function_VariableArray_CStoreFileItem__getReference(lua_State* { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CStoreFileItem* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CStoreFileItem* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CStoreFileItem"); return 1; } @@ -31341,7 +32625,7 @@ static int tolua_function_VariableArray_CStoreFileItem__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CStoreFileItem*)tolua_tousertype_dynamic(L, 3, 0, "CStoreFileItem")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CStoreFileItem*)tolua_tousertype_dynamic(L, 3, 0, "CStoreFileItem")); return 0; } @@ -31349,7 +32633,7 @@ static int tolua_function_VariableArray_CStoreFileDrinks__getReference(lua_State { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CStoreFileDrinks* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CStoreFileDrinks* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CStoreFileDrinks"); return 1; } @@ -31358,7 +32642,7 @@ static int tolua_function_VariableArray_CStoreFileDrinks__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CStoreFileDrinks*)tolua_tousertype_dynamic(L, 3, 0, "CStoreFileDrinks")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CStoreFileDrinks*)tolua_tousertype_dynamic(L, 3, 0, "CStoreFileDrinks")); return 0; } @@ -31366,7 +32650,7 @@ static int tolua_function_VariableArray_CSpell__getReference(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CSpell* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CSpell* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CSpell"); return 1; } @@ -31375,7 +32659,7 @@ static int tolua_function_VariableArray_CSpell__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CSpell*)tolua_tousertype_dynamic(L, 3, 0, "CSpell")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CSpell*)tolua_tousertype_dynamic(L, 3, 0, "CSpell")); return 0; } @@ -31383,7 +32667,7 @@ static int tolua_function_VariableArray_CSequenceSound__getReference(lua_State* { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CSequenceSound* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CSequenceSound* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CSequenceSound"); return 1; } @@ -31392,7 +32676,7 @@ static int tolua_function_VariableArray_CSequenceSound__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CSequenceSound*)tolua_tousertype_dynamic(L, 3, 0, "CSequenceSound")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CSequenceSound*)tolua_tousertype_dynamic(L, 3, 0, "CSequenceSound")); return 0; } @@ -31400,7 +32684,7 @@ static int tolua_function_VariableArray_CScreenWorldMap__getReference(lua_State* { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CScreenWorldMap* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CScreenWorldMap* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "EEex_CScreenWorldMap"); return 1; } @@ -31409,7 +32693,7 @@ static int tolua_function_VariableArray_CScreenWorldMap__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CScreenWorldMap*)tolua_tousertype_dynamic(L, 3, 0, "EEex_CScreenWorldMap")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CScreenWorldMap*)tolua_tousertype_dynamic(L, 3, 0, "EEex_CScreenWorldMap")); return 0; } @@ -31417,7 +32701,7 @@ static int tolua_function_VariableArray_CScreenWorld__getReference(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CScreenWorld* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CScreenWorld* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "EEex_CScreenWorld"); return 1; } @@ -31426,7 +32710,7 @@ static int tolua_function_VariableArray_CScreenWorld__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CScreenWorld*)tolua_tousertype_dynamic(L, 3, 0, "EEex_CScreenWorld")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CScreenWorld*)tolua_tousertype_dynamic(L, 3, 0, "EEex_CScreenWorld")); return 0; } @@ -31434,7 +32718,7 @@ static int tolua_function_VariableArray_CScreenWizSpell__getReference(lua_State* { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CScreenWizSpell* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CScreenWizSpell* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "EEex_CScreenWizSpell"); return 1; } @@ -31443,7 +32727,7 @@ static int tolua_function_VariableArray_CScreenWizSpell__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CScreenWizSpell*)tolua_tousertype_dynamic(L, 3, 0, "EEex_CScreenWizSpell")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CScreenWizSpell*)tolua_tousertype_dynamic(L, 3, 0, "EEex_CScreenWizSpell")); return 0; } @@ -31451,7 +32735,7 @@ static int tolua_function_VariableArray_CScreenStoreItem__getReference(lua_State { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CScreenStoreItem* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CScreenStoreItem* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CScreenStoreItem"); return 1; } @@ -31460,7 +32744,7 @@ static int tolua_function_VariableArray_CScreenStoreItem__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CScreenStoreItem*)tolua_tousertype_dynamic(L, 3, 0, "CScreenStoreItem")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CScreenStoreItem*)tolua_tousertype_dynamic(L, 3, 0, "CScreenStoreItem")); return 0; } @@ -31468,7 +32752,7 @@ static int tolua_function_VariableArray_CScreenPriestSpell__getReference(lua_Sta { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CScreenPriestSpell* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CScreenPriestSpell* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "EEex_CScreenPriestSpell"); return 1; } @@ -31477,7 +32761,7 @@ static int tolua_function_VariableArray_CScreenPriestSpell__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CScreenPriestSpell*)tolua_tousertype_dynamic(L, 3, 0, "EEex_CScreenPriestSpell")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CScreenPriestSpell*)tolua_tousertype_dynamic(L, 3, 0, "EEex_CScreenPriestSpell")); return 0; } @@ -31485,7 +32769,7 @@ static int tolua_function_VariableArray_CScreenJournal__getReference(lua_State* { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CScreenJournal* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CScreenJournal* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "EEex_CScreenJournal"); return 1; } @@ -31494,7 +32778,7 @@ static int tolua_function_VariableArray_CScreenJournal__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CScreenJournal*)tolua_tousertype_dynamic(L, 3, 0, "EEex_CScreenJournal")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CScreenJournal*)tolua_tousertype_dynamic(L, 3, 0, "EEex_CScreenJournal")); return 0; } @@ -31502,7 +32786,7 @@ static int tolua_function_VariableArray_CScreenInventory__getReference(lua_State { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CScreenInventory* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CScreenInventory* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "EEex_CScreenInventory"); return 1; } @@ -31511,7 +32795,7 @@ static int tolua_function_VariableArray_CScreenInventory__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CScreenInventory*)tolua_tousertype_dynamic(L, 3, 0, "EEex_CScreenInventory")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CScreenInventory*)tolua_tousertype_dynamic(L, 3, 0, "EEex_CScreenInventory")); return 0; } @@ -31519,7 +32803,7 @@ static int tolua_function_VariableArray_CScreenCharacter__getReference(lua_State { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CScreenCharacter* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CScreenCharacter* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "EEex_CScreenCharacter"); return 1; } @@ -31528,7 +32812,7 @@ static int tolua_function_VariableArray_CScreenCharacter__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CScreenCharacter*)tolua_tousertype_dynamic(L, 3, 0, "EEex_CScreenCharacter")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CScreenCharacter*)tolua_tousertype_dynamic(L, 3, 0, "EEex_CScreenCharacter")); return 0; } @@ -31536,7 +32820,7 @@ static int tolua_function_VariableArray_CScreenChapter__getReference(lua_State* { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CScreenChapter* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CScreenChapter* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "EEex_CScreenChapter"); return 1; } @@ -31545,7 +32829,7 @@ static int tolua_function_VariableArray_CScreenChapter__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CScreenChapter*)tolua_tousertype_dynamic(L, 3, 0, "EEex_CScreenChapter")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CScreenChapter*)tolua_tousertype_dynamic(L, 3, 0, "EEex_CScreenChapter")); return 0; } @@ -31553,7 +32837,7 @@ static int tolua_function_VariableArray_CSavedGameStoredLocation__getReference(l { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CSavedGameStoredLocation* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CSavedGameStoredLocation* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CSavedGameStoredLocation"); return 1; } @@ -31562,7 +32846,7 @@ static int tolua_function_VariableArray_CSavedGameStoredLocation__set(lua_State* { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CSavedGameStoredLocation*)tolua_tousertype_dynamic(L, 3, 0, "CSavedGameStoredLocation")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CSavedGameStoredLocation*)tolua_tousertype_dynamic(L, 3, 0, "CSavedGameStoredLocation")); return 0; } @@ -31570,7 +32854,7 @@ static int tolua_function_VariableArray_CPlex__getReference(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CPlex* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CPlex* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CPlex"); return 1; } @@ -31579,7 +32863,7 @@ static int tolua_function_VariableArray_CPlex__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CPlex*)tolua_tousertype_dynamic(L, 3, 0, "CPlex")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CPlex*)tolua_tousertype_dynamic(L, 3, 0, "CPlex")); return 0; } @@ -31587,7 +32871,7 @@ static int tolua_function_VariableArray_CChitin__getReference(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CChitin* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CChitin* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "EEex_CChitin"); return 1; } @@ -31596,7 +32880,7 @@ static int tolua_function_VariableArray_CChitin__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CChitin*)tolua_tousertype_dynamic(L, 3, 0, "EEex_CChitin")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CChitin*)tolua_tousertype_dynamic(L, 3, 0, "EEex_CChitin")); return 0; } @@ -31604,7 +32888,7 @@ static int tolua_function_VariableArray_CInfinity__getReference(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CInfinity* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CInfinity* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CInfinity"); return 1; } @@ -31613,7 +32897,7 @@ static int tolua_function_VariableArray_CInfinity__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CInfinity*)tolua_tousertype_dynamic(L, 3, 0, "CInfinity")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CInfinity*)tolua_tousertype_dynamic(L, 3, 0, "CInfinity")); return 0; } @@ -31621,7 +32905,7 @@ static int tolua_function_VariableArray_CInfGame__getReference(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CInfGame* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CInfGame* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "EEex_CInfGame"); return 1; } @@ -31630,7 +32914,7 @@ static int tolua_function_VariableArray_CInfGame__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CInfGame*)tolua_tousertype_dynamic(L, 3, 0, "EEex_CInfGame")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CInfGame*)tolua_tousertype_dynamic(L, 3, 0, "EEex_CInfGame")); return 0; } @@ -31638,7 +32922,7 @@ static int tolua_function_VariableArray_CGameEffectBase__getReference(lua_State* { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CGameEffectBase* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CGameEffectBase* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CGameEffectBase"); return 1; } @@ -31647,7 +32931,7 @@ static int tolua_function_VariableArray_CGameEffectBase__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CGameEffectBase*)tolua_tousertype_dynamic(L, 3, 0, "CGameEffectBase")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CGameEffectBase*)tolua_tousertype_dynamic(L, 3, 0, "CGameEffectBase")); return 0; } @@ -31655,7 +32939,7 @@ static int tolua_function_VariableArray_CGameEffect__getReference(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CGameEffect* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CGameEffect* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CGameEffect"); return 1; } @@ -31664,7 +32948,7 @@ static int tolua_function_VariableArray_CGameEffect__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CGameEffect*)tolua_tousertype_dynamic(L, 3, 0, "CGameEffect")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CGameEffect*)tolua_tousertype_dynamic(L, 3, 0, "CGameEffect")); return 0; } @@ -31672,7 +32956,7 @@ static int tolua_function_VariableArray_CGameEffectDamage__getReference(lua_Stat { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CGameEffectDamage* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CGameEffectDamage* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CGameEffectDamage"); return 1; } @@ -31681,7 +32965,7 @@ static int tolua_function_VariableArray_CGameEffectDamage__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CGameEffectDamage*)tolua_tousertype_dynamic(L, 3, 0, "CGameEffectDamage")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CGameEffectDamage*)tolua_tousertype_dynamic(L, 3, 0, "CGameEffectDamage")); return 0; } @@ -31689,7 +32973,7 @@ static int tolua_function_VariableArray_CGameEffectUsability__getReference(lua_S { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CGameEffectUsability* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CGameEffectUsability* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CGameEffectUsability"); return 1; } @@ -31698,7 +32982,7 @@ static int tolua_function_VariableArray_CGameEffectUsability__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CGameEffectUsability*)tolua_tousertype_dynamic(L, 3, 0, "CGameEffectUsability")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CGameEffectUsability*)tolua_tousertype_dynamic(L, 3, 0, "CGameEffectUsability")); return 0; } @@ -31706,7 +32990,7 @@ static int tolua_function_VariableArray_CGameAnimationType__getReference(lua_Sta { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CGameAnimationType* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CGameAnimationType* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CGameAnimationType"); return 1; } @@ -31715,7 +32999,7 @@ static int tolua_function_VariableArray_CGameAnimationType__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CGameAnimationType*)tolua_tousertype_dynamic(L, 3, 0, "CGameAnimationType")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CGameAnimationType*)tolua_tousertype_dynamic(L, 3, 0, "CGameAnimationType")); return 0; } @@ -31723,7 +33007,7 @@ static int tolua_function_VariableArray_CDerivedStats__getReference(lua_State* L { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CDerivedStats* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CDerivedStats* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CDerivedStats"); return 1; } @@ -31732,7 +33016,7 @@ static int tolua_function_VariableArray_CDerivedStats__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CDerivedStats*)tolua_tousertype_dynamic(L, 3, 0, "CDerivedStats")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CDerivedStats*)tolua_tousertype_dynamic(L, 3, 0, "CDerivedStats")); return 0; } @@ -31740,7 +33024,7 @@ static int tolua_function_VariableArray_CCreatureFileMemorizedSpell__getReferenc { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CCreatureFileMemorizedSpell* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CCreatureFileMemorizedSpell* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CCreatureFileMemorizedSpell"); return 1; } @@ -31749,7 +33033,7 @@ static int tolua_function_VariableArray_CCreatureFileMemorizedSpell__set(lua_Sta { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CCreatureFileMemorizedSpell*)tolua_tousertype_dynamic(L, 3, 0, "CCreatureFileMemorizedSpell")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CCreatureFileMemorizedSpell*)tolua_tousertype_dynamic(L, 3, 0, "CCreatureFileMemorizedSpell")); return 0; } @@ -31757,7 +33041,7 @@ static int tolua_function_VariableArray_CCreatureFileItem__getReference(lua_Stat { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CCreatureFileItem* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CCreatureFileItem* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CCreatureFileItem"); return 1; } @@ -31766,7 +33050,7 @@ static int tolua_function_VariableArray_CCreatureFileItem__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CCreatureFileItem*)tolua_tousertype_dynamic(L, 3, 0, "CCreatureFileItem")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CCreatureFileItem*)tolua_tousertype_dynamic(L, 3, 0, "CCreatureFileItem")); return 0; } @@ -31774,7 +33058,7 @@ static int tolua_function_VariableArray_CCreatureFileHeader__getReference(lua_St { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CCreatureFileHeader* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CCreatureFileHeader* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CCreatureFileHeader"); return 1; } @@ -31783,7 +33067,7 @@ static int tolua_function_VariableArray_CCreatureFileHeader__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CCreatureFileHeader*)tolua_tousertype_dynamic(L, 3, 0, "CCreatureFileHeader")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CCreatureFileHeader*)tolua_tousertype_dynamic(L, 3, 0, "CCreatureFileHeader")); return 0; } @@ -31791,7 +33075,7 @@ static int tolua_function_VariableArray_Closure__getReference(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - Closure* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + Closure* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "Closure"); return 1; } @@ -31800,7 +33084,7 @@ static int tolua_function_VariableArray_Closure__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(Closure*)tolua_tousertype_dynamic(L, 3, 0, "Closure")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(Closure*)tolua_tousertype_dynamic(L, 3, 0, "Closure")); return 0; } @@ -31808,7 +33092,7 @@ static int tolua_function_VariableArray_GCObject___get(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); - GCObject* returnVal = self->get(tolua_function_tointeger(L, 2, "get")); + GCObject* returnVal = (self->get)(tolua_function_tointeger(L, 2, "get")); tolua_pushusertype(L, (void*)returnVal, "GCObject"); return 1; } @@ -31817,7 +33101,7 @@ static int tolua_function_VariableArray_GCObject___getReference(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - GCObject** returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + GCObject** returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "Pointer"); return 1; } @@ -31826,7 +33110,7 @@ static int tolua_function_VariableArray_GCObject___set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), (GCObject*)tolua_tousertype_dynamic(L, 3, 0, "GCObject")); + (self->set)(tolua_function_tointeger(L, 2, "set"), (GCObject*)tolua_tousertype_dynamic(L, 3, 0, "GCObject")); return 0; } @@ -31834,7 +33118,7 @@ static int tolua_function_VariableArray_CBlood__getReference(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CBlood* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CBlood* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CBlood"); return 1; } @@ -31843,7 +33127,7 @@ static int tolua_function_VariableArray_CBlood__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CBlood*)tolua_tousertype_dynamic(L, 3, 0, "CBlood")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CBlood*)tolua_tousertype_dynamic(L, 3, 0, "CBlood")); return 0; } @@ -31851,7 +33135,7 @@ static int tolua_function_VariableArray_CBaldurProjector__getReference(lua_State { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CBaldurProjector* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CBaldurProjector* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "EEex_CBaldurProjector"); return 1; } @@ -31860,7 +33144,7 @@ static int tolua_function_VariableArray_CBaldurProjector__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CBaldurProjector*)tolua_tousertype_dynamic(L, 3, 0, "EEex_CBaldurProjector")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CBaldurProjector*)tolua_tousertype_dynamic(L, 3, 0, "EEex_CBaldurProjector")); return 0; } @@ -31868,7 +33152,7 @@ static int tolua_function_VariableArray_CBaldurChitin__getReference(lua_State* L { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CBaldurChitin* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CBaldurChitin* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "EEex_CBaldurChitin"); return 1; } @@ -31877,7 +33161,7 @@ static int tolua_function_VariableArray_CBaldurChitin__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CBaldurChitin*)tolua_tousertype_dynamic(L, 3, 0, "EEex_CBaldurChitin")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CBaldurChitin*)tolua_tousertype_dynamic(L, 3, 0, "EEex_CBaldurChitin")); return 0; } @@ -31885,7 +33169,7 @@ static int tolua_function_VariableArray_CAreaUserNote__getReference(lua_State* L { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CAreaUserNote* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CAreaUserNote* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CAreaUserNote"); return 1; } @@ -31894,7 +33178,7 @@ static int tolua_function_VariableArray_CAreaUserNote__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CAreaUserNote*)tolua_tousertype_dynamic(L, 3, 0, "CAreaUserNote")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CAreaUserNote*)tolua_tousertype_dynamic(L, 3, 0, "CAreaUserNote")); return 0; } @@ -31902,7 +33186,7 @@ static int tolua_function_VariableArray_CAreaFileContainer__getReference(lua_Sta { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CAreaFileContainer* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CAreaFileContainer* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CAreaFileContainer"); return 1; } @@ -31911,7 +33195,7 @@ static int tolua_function_VariableArray_CAreaFileContainer__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CAreaFileContainer*)tolua_tousertype_dynamic(L, 3, 0, "CAreaFileContainer")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CAreaFileContainer*)tolua_tousertype_dynamic(L, 3, 0, "CAreaFileContainer")); return 0; } @@ -31919,7 +33203,7 @@ static int tolua_function_VariableArray_CAreaFileCharacterEntryPoint__getReferen { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CAreaFileCharacterEntryPoint* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CAreaFileCharacterEntryPoint* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CAreaFileCharacterEntryPoint"); return 1; } @@ -31928,7 +33212,7 @@ static int tolua_function_VariableArray_CAreaFileCharacterEntryPoint__set(lua_St { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CAreaFileCharacterEntryPoint*)tolua_tousertype_dynamic(L, 3, 0, "CAreaFileCharacterEntryPoint")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CAreaFileCharacterEntryPoint*)tolua_tousertype_dynamic(L, 3, 0, "CAreaFileCharacterEntryPoint")); return 0; } @@ -31936,7 +33220,7 @@ static int tolua_function_VariableArray_CAIObjectType__getReference(lua_State* L { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CAIObjectType* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CAIObjectType* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CAIObjectType"); return 1; } @@ -31945,7 +33229,7 @@ static int tolua_function_VariableArray_CAIObjectType__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CAIObjectType*)tolua_tousertype_dynamic(L, 3, 0, "CAIObjectType")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CAIObjectType*)tolua_tousertype_dynamic(L, 3, 0, "CAIObjectType")); return 0; } @@ -31953,7 +33237,7 @@ static int tolua_function_VariableArray_const_CAIObjectType__getReference(lua_St { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - const CAIObjectType* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + const CAIObjectType* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CAIObjectType"); return 1; } @@ -31962,7 +33246,7 @@ static int tolua_function_VariableArray_CAIAction__getReference(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CAIAction* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CAIAction* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CAIAction"); return 1; } @@ -31971,7 +33255,7 @@ static int tolua_function_VariableArray_CAIAction__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CAIAction*)tolua_tousertype_dynamic(L, 3, 0, "CAIAction")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CAIAction*)tolua_tousertype_dynamic(L, 3, 0, "CAIAction")); return 0; } @@ -31979,7 +33263,7 @@ static int tolua_function_VariableArray_const_CAIAction__getReference(lua_State* { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - const CAIAction* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + const CAIAction* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CAIAction"); return 1; } @@ -31988,7 +33272,7 @@ static int tolua_function_VariableArray_CSpawn__getReference(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CSpawn* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CSpawn* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CSpawn"); return 1; } @@ -31997,7 +33281,7 @@ static int tolua_function_VariableArray_CSpawn__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CSpawn*)tolua_tousertype_dynamic(L, 3, 0, "CSpawn")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CSpawn*)tolua_tousertype_dynamic(L, 3, 0, "CSpawn")); return 0; } @@ -32005,7 +33289,7 @@ static int tolua_function_VariableArray_CSelectiveWeaponType__getReference(lua_S { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CSelectiveWeaponType* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CSelectiveWeaponType* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CSelectiveWeaponType"); return 1; } @@ -32014,7 +33298,7 @@ static int tolua_function_VariableArray_CSelectiveWeaponType__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CSelectiveWeaponType*)tolua_tousertype_dynamic(L, 3, 0, "CSelectiveWeaponType")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CSelectiveWeaponType*)tolua_tousertype_dynamic(L, 3, 0, "CSelectiveWeaponType")); return 0; } @@ -32022,7 +33306,7 @@ static int tolua_function_VariableArray_CSelectiveBonus__getReference(lua_State* { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CSelectiveBonus* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CSelectiveBonus* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CSelectiveBonus"); return 1; } @@ -32031,7 +33315,7 @@ static int tolua_function_VariableArray_CSelectiveBonus__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CSelectiveBonus*)tolua_tousertype_dynamic(L, 3, 0, "CSelectiveBonus")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CSelectiveBonus*)tolua_tousertype_dynamic(L, 3, 0, "CSelectiveBonus")); return 0; } @@ -32039,7 +33323,7 @@ static int tolua_function_VariableArray_CScreenStore__getReference(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CScreenStore* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CScreenStore* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "EEex_CScreenStore"); return 1; } @@ -32048,7 +33332,7 @@ static int tolua_function_VariableArray_CScreenStore__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CScreenStore*)tolua_tousertype_dynamic(L, 3, 0, "EEex_CScreenStore")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CScreenStore*)tolua_tousertype_dynamic(L, 3, 0, "EEex_CScreenStore")); return 0; } @@ -32056,7 +33340,7 @@ static int tolua_function_VariableArray_CGameObject___get(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); - CGameObject* returnVal = self->get(tolua_function_tointeger(L, 2, "get")); + CGameObject* returnVal = (self->get)(tolua_function_tointeger(L, 2, "get")); tolua_pushusertype(L, (void*)returnVal, "CGameObject"); return 1; } @@ -32065,7 +33349,7 @@ static int tolua_function_VariableArray_CGameObject___getReference(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CGameObject** returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CGameObject** returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "Pointer"); return 1; } @@ -32074,7 +33358,7 @@ static int tolua_function_VariableArray_CGameObject___set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), (CGameObject*)tolua_tousertype_dynamic(L, 3, 0, "CGameObject")); + (self->set)(tolua_function_tointeger(L, 2, "set"), (CGameObject*)tolua_tousertype_dynamic(L, 3, 0, "CGameObject")); return 0; } @@ -32082,7 +33366,7 @@ static int tolua_function_VariableArray_CProjectile__getReference(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CProjectile* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CProjectile* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CProjectile"); return 1; } @@ -32091,7 +33375,7 @@ static int tolua_function_VariableArray_CProjectile__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CProjectile*)tolua_tousertype_dynamic(L, 3, 0, "CProjectile")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CProjectile*)tolua_tousertype_dynamic(L, 3, 0, "CProjectile")); return 0; } @@ -32099,7 +33383,7 @@ static int tolua_function_VariableArray_CProjectileBAM__getReference(lua_State* { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CProjectileBAM* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CProjectileBAM* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CProjectileBAM"); return 1; } @@ -32108,7 +33392,7 @@ static int tolua_function_VariableArray_CProjectileBAM__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CProjectileBAM*)tolua_tousertype_dynamic(L, 3, 0, "CProjectileBAM")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CProjectileBAM*)tolua_tousertype_dynamic(L, 3, 0, "CProjectileBAM")); return 0; } @@ -32116,7 +33400,7 @@ static int tolua_function_VariableArray_CProjectileSegment__getReference(lua_Sta { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CProjectileSegment* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CProjectileSegment* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CProjectileSegment"); return 1; } @@ -32125,7 +33409,7 @@ static int tolua_function_VariableArray_CProjectileSegment__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CProjectileSegment*)tolua_tousertype_dynamic(L, 3, 0, "CProjectileSegment")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CProjectileSegment*)tolua_tousertype_dynamic(L, 3, 0, "CProjectileSegment")); return 0; } @@ -32133,7 +33417,7 @@ static int tolua_function_VariableArray_CProjectileNewScorcher__getReference(lua { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CProjectileNewScorcher* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CProjectileNewScorcher* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CProjectileNewScorcher"); return 1; } @@ -32142,7 +33426,7 @@ static int tolua_function_VariableArray_CProjectileNewScorcher__set(lua_State* L { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CProjectileNewScorcher*)tolua_tousertype_dynamic(L, 3, 0, "CProjectileNewScorcher")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CProjectileNewScorcher*)tolua_tousertype_dynamic(L, 3, 0, "CProjectileNewScorcher")); return 0; } @@ -32150,7 +33434,7 @@ static int tolua_function_VariableArray_CProjectileMushroom__getReference(lua_St { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CProjectileMushroom* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CProjectileMushroom* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CProjectileMushroom"); return 1; } @@ -32159,7 +33443,7 @@ static int tolua_function_VariableArray_CProjectileMushroom__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CProjectileMushroom*)tolua_tousertype_dynamic(L, 3, 0, "CProjectileMushroom")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CProjectileMushroom*)tolua_tousertype_dynamic(L, 3, 0, "CProjectileMushroom")); return 0; } @@ -32167,7 +33451,7 @@ static int tolua_function_VariableArray_CObjectMarker__getReference(lua_State* L { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CObjectMarker* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CObjectMarker* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CObjectMarker"); return 1; } @@ -32176,7 +33460,7 @@ static int tolua_function_VariableArray_CObjectMarker__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CObjectMarker*)tolua_tousertype_dynamic(L, 3, 0, "CObjectMarker")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CObjectMarker*)tolua_tousertype_dynamic(L, 3, 0, "CObjectMarker")); return 0; } @@ -32184,7 +33468,7 @@ static int tolua_function_VariableArray_CAITrigger__getReference(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CAITrigger* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CAITrigger* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CAITrigger"); return 1; } @@ -32193,7 +33477,7 @@ static int tolua_function_VariableArray_CAITrigger__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CAITrigger*)tolua_tousertype_dynamic(L, 3, 0, "CAITrigger")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CAITrigger*)tolua_tousertype_dynamic(L, 3, 0, "CAITrigger")); return 0; } @@ -32201,7 +33485,7 @@ static int tolua_function_VariableArray_const_CAITrigger__getReference(lua_State { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - const CAITrigger* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + const CAITrigger* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CAITrigger"); return 1; } @@ -32210,7 +33494,7 @@ static int tolua_function_VariableArray_CGameAIBase__getReference(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CGameAIBase* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CGameAIBase* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CGameAIBase"); return 1; } @@ -32219,7 +33503,7 @@ static int tolua_function_VariableArray_CGameAIBase__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CGameAIBase*)tolua_tousertype_dynamic(L, 3, 0, "CGameAIBase")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CGameAIBase*)tolua_tousertype_dynamic(L, 3, 0, "CGameAIBase")); return 0; } @@ -32227,7 +33511,7 @@ static int tolua_function_VariableArray_CGameTrigger__getReference(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CGameTrigger* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CGameTrigger* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CGameTrigger"); return 1; } @@ -32236,7 +33520,7 @@ static int tolua_function_VariableArray_CGameTrigger__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CGameTrigger*)tolua_tousertype_dynamic(L, 3, 0, "CGameTrigger")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CGameTrigger*)tolua_tousertype_dynamic(L, 3, 0, "CGameTrigger")); return 0; } @@ -32244,7 +33528,7 @@ static int tolua_function_VariableArray_CGameSprite___get(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); - CGameSprite* returnVal = self->get(tolua_function_tointeger(L, 2, "get")); + CGameSprite* returnVal = (self->get)(tolua_function_tointeger(L, 2, "get")); tolua_pushusertype(L, (void*)returnVal, "CGameSprite"); return 1; } @@ -32253,7 +33537,7 @@ static int tolua_function_VariableArray_CGameSprite___getReference(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CGameSprite** returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CGameSprite** returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "Pointer"); return 1; } @@ -32262,7 +33546,7 @@ static int tolua_function_VariableArray_CGameSprite___set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), (CGameSprite*)tolua_tousertype_dynamic(L, 3, 0, "CGameSprite")); + (self->set)(tolua_function_tointeger(L, 2, "set"), (CGameSprite*)tolua_tousertype_dynamic(L, 3, 0, "CGameSprite")); return 0; } @@ -32270,7 +33554,7 @@ static int tolua_function_VariableArray_CGameContainer__getReference(lua_State* { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CGameContainer* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CGameContainer* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CGameContainer"); return 1; } @@ -32279,7 +33563,7 @@ static int tolua_function_VariableArray_CGameContainer__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CGameContainer*)tolua_tousertype_dynamic(L, 3, 0, "CGameContainer")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CGameContainer*)tolua_tousertype_dynamic(L, 3, 0, "CGameContainer")); return 0; } @@ -32287,7 +33571,7 @@ static int tolua_function_VariableArray_CContingency__getReference(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CContingency* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CContingency* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CContingency"); return 1; } @@ -32296,7 +33580,7 @@ static int tolua_function_VariableArray_CContingency__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CContingency*)tolua_tousertype_dynamic(L, 3, 0, "CContingency")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CContingency*)tolua_tousertype_dynamic(L, 3, 0, "CContingency")); return 0; } @@ -32304,7 +33588,7 @@ static int tolua_function_VariableArray_wchar_t__get(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); - wchar_t returnVal = self->get(tolua_function_tointeger(L, 2, "get")); + wchar_t returnVal = (self->get)(tolua_function_tointeger(L, 2, "get")); tolua_pushusertype(L, (void*)returnVal, "Primitive"); return 1; } @@ -32313,7 +33597,7 @@ static int tolua_function_VariableArray_wchar_t__getReference(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - wchar_t* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + wchar_t* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "Primitive"); return 1; } @@ -32322,7 +33606,7 @@ static int tolua_function_VariableArray_wchar_t__set(lua_State* L) { VariableArray* self = (VariableArray*)tolua_tousertype_dynamic(L, 1, 0, "VariableArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(wchar_t*)tolua_tousertype_dynamic(L, 3, 0, "Primitive")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(wchar_t*)tolua_tousertype_dynamic(L, 3, 0, "Primitive")); return 0; } @@ -33074,7 +34358,7 @@ static int tolua_function_SDL_Window_hit_test(lua_State* L) { SDL_Window* self = (SDL_Window*)tolua_tousertype_dynamic(L, 1, 0, "SDL_Window"); if (!self) tolua_error(L, "invalid 'self' in calling function 'hit_test'", NULL); - SDL_HitTestResult returnVal = self->hit_test((SDL_Window*)tolua_tousertype_dynamic(L, 2, 0, "SDL_Window"), (const SDL_Point*)tolua_tousertype_dynamic(L, 3, 0, "SDL_Point"), (void*)tolua_tousertype_dynamic(L, 4, 0, "UnmappedUserType")); + SDL_HitTestResult returnVal = (self->hit_test)((SDL_Window*)tolua_tousertype_dynamic(L, 2, 0, "SDL_Window"), (const SDL_Point*)tolua_tousertype_dynamic(L, 3, 0, "SDL_Point"), (void*)tolua_tousertype_dynamic(L, 4, 0, "UnmappedUserType")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -33887,6 +35171,110 @@ static int tolua_get_slicedRect_reference_flags(lua_State* L) return 1; } +static int tolua_get__820A8B7015E7E0FD9144A7C186FBF075_pt(lua_State* L) +{ + _820A8B7015E7E0FD9144A7C186FBF075* self = (_820A8B7015E7E0FD9144A7C186FBF075*)tolua_tousertype_dynamic(L, 1, 0, "_820A8B7015E7E0FD9144A7C186FBF075"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'pt'", NULL); + tolua_pushusertype(L, (void*)&self->pt, "SDL_Point"); + return 1; +} + +static int tolua_get__820A8B7015E7E0FD9144A7C186FBF075_on(lua_State* L) +{ + _820A8B7015E7E0FD9144A7C186FBF075* self = (_820A8B7015E7E0FD9144A7C186FBF075*)tolua_tousertype_dynamic(L, 1, 0, "_820A8B7015E7E0FD9144A7C186FBF075"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'on'", NULL); + tolua_pushboolean(L, (bool)self->on); + return 1; +} + +static int tolua_set__820A8B7015E7E0FD9144A7C186FBF075_on(lua_State* L) +{ + _820A8B7015E7E0FD9144A7C186FBF075* self = (_820A8B7015E7E0FD9144A7C186FBF075*)tolua_tousertype_dynamic(L, 1, 0, "_820A8B7015E7E0FD9144A7C186FBF075"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'on'", NULL); + self->on = tolua_setter_toboolean(L, "on"); + return 0; +} + +static int tolua_get__820A8B7015E7E0FD9144A7C186FBF075_reference_on(lua_State* L) +{ + _820A8B7015E7E0FD9144A7C186FBF075* self = (_820A8B7015E7E0FD9144A7C186FBF075*)tolua_tousertype_dynamic(L, 1, 0, "_820A8B7015E7E0FD9144A7C186FBF075"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'on'", NULL); + tolua_pushusertype(L, (void*)&self->on, "Primitive"); + return 1; +} + +static int tolua_get__820A8B7015E7E0FD9144A7C186FBF075_text(lua_State* L) +{ + _820A8B7015E7E0FD9144A7C186FBF075* self = (_820A8B7015E7E0FD9144A7C186FBF075*)tolua_tousertype_dynamic(L, 1, 0, "_820A8B7015E7E0FD9144A7C186FBF075"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'text'", NULL); + tolua_pushusertype(L, (void*)&self->text, "ConstCharString"); + return 1; +} + +static int tolua_get__820A8B7015E7E0FD9144A7C186FBF075_r(lua_State* L) +{ + _820A8B7015E7E0FD9144A7C186FBF075* self = (_820A8B7015E7E0FD9144A7C186FBF075*)tolua_tousertype_dynamic(L, 1, 0, "_820A8B7015E7E0FD9144A7C186FBF075"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'r'", NULL); + tolua_pushusertype(L, (void*)&self->r, "SDL_Rect"); + return 1; +} + +static int tolua_get__820A8B7015E7E0FD9144A7C186FBF075_count(lua_State* L) +{ + _820A8B7015E7E0FD9144A7C186FBF075* self = (_820A8B7015E7E0FD9144A7C186FBF075*)tolua_tousertype_dynamic(L, 1, 0, "_820A8B7015E7E0FD9144A7C186FBF075"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'count'", NULL); + lua_pushinteger(L, (lua_Integer)self->count); + return 1; +} + +static int tolua_set__820A8B7015E7E0FD9144A7C186FBF075_count(lua_State* L) +{ + _820A8B7015E7E0FD9144A7C186FBF075* self = (_820A8B7015E7E0FD9144A7C186FBF075*)tolua_tousertype_dynamic(L, 1, 0, "_820A8B7015E7E0FD9144A7C186FBF075"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'count'", NULL); + self->count = tolua_setter_tointeger(L, "count"); + return 0; +} + +static int tolua_get__820A8B7015E7E0FD9144A7C186FBF075_reference_count(lua_State* L) +{ + _820A8B7015E7E0FD9144A7C186FBF075* self = (_820A8B7015E7E0FD9144A7C186FBF075*)tolua_tousertype_dynamic(L, 1, 0, "_820A8B7015E7E0FD9144A7C186FBF075"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'count'", NULL); + tolua_pushusertype(L, (void*)&self->count, "Primitive"); + return 1; +} + +static int tolua_get__820A8B7015E7E0FD9144A7C186FBF075_lastText(lua_State* L) +{ + _820A8B7015E7E0FD9144A7C186FBF075* self = (_820A8B7015E7E0FD9144A7C186FBF075*)tolua_tousertype_dynamic(L, 1, 0, "_820A8B7015E7E0FD9144A7C186FBF075"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'lastText'", NULL); + tolua_pushusertype(L, (void*)&self->lastText, "ConstCharString"); + return 1; +} + +static int tolua_get__820A8B7015E7E0FD9144A7C186FBF075_playedSound(lua_State* L) +{ + _820A8B7015E7E0FD9144A7C186FBF075* self = (_820A8B7015E7E0FD9144A7C186FBF075*)tolua_tousertype_dynamic(L, 1, 0, "_820A8B7015E7E0FD9144A7C186FBF075"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'playedSound'", NULL); + tolua_pushboolean(L, (bool)self->playedSound); + return 1; +} + +static int tolua_set__820A8B7015E7E0FD9144A7C186FBF075_playedSound(lua_State* L) +{ + _820A8B7015E7E0FD9144A7C186FBF075* self = (_820A8B7015E7E0FD9144A7C186FBF075*)tolua_tousertype_dynamic(L, 1, 0, "_820A8B7015E7E0FD9144A7C186FBF075"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'playedSound'", NULL); + self->playedSound = tolua_setter_toboolean(L, "playedSound"); + return 0; +} + +static int tolua_get__820A8B7015E7E0FD9144A7C186FBF075_reference_playedSound(lua_State* L) +{ + _820A8B7015E7E0FD9144A7C186FBF075* self = (_820A8B7015E7E0FD9144A7C186FBF075*)tolua_tousertype_dynamic(L, 1, 0, "_820A8B7015E7E0FD9144A7C186FBF075"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'playedSound'", NULL); + tolua_pushusertype(L, (void*)&self->playedSound, "Primitive"); + return 1; +} + static int tolua_get__9B9540D9920A90D57A3D80DDD1A70514_start(lua_State* L) { _9B9540D9920A90D57A3D80DDD1A70514* self = (_9B9540D9920A90D57A3D80DDD1A70514*)tolua_tousertype_dynamic(L, 1, 0, "_9B9540D9920A90D57A3D80DDD1A70514"); @@ -33955,7 +35343,7 @@ static int tolua_function__9B9540D9920A90D57A3D80DDD1A70514_f(lua_State* L) { _9B9540D9920A90D57A3D80DDD1A70514* self = (_9B9540D9920A90D57A3D80DDD1A70514*)tolua_tousertype_dynamic(L, 1, 0, "_9B9540D9920A90D57A3D80DDD1A70514"); if (!self) tolua_error(L, "invalid 'self' in calling function 'f'", NULL); - bool returnVal = self->f((uiMenu*)tolua_tousertype_dynamic(L, 2, 0, "uiMenu"), (const SDL_Rect*)tolua_tousertype_dynamic(L, 3, 0, "SDL_Rect"), (SDL_Event*)tolua_tousertype_dynamic(L, 4, 0, "SDL_Event")); + bool returnVal = (self->f)((uiMenu*)tolua_tousertype_dynamic(L, 2, 0, "uiMenu"), (const SDL_Rect*)tolua_tousertype_dynamic(L, 3, 0, "SDL_Rect"), (SDL_Event*)tolua_tousertype_dynamic(L, 4, 0, "SDL_Event")); tolua_pushboolean(L, (bool)returnVal); return 1; } @@ -33980,7 +35368,7 @@ static int tolua_function_Pointer_void___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - void* returnVal = self->getValue(); + void* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "UnmappedUserType"); return 1; } @@ -33989,7 +35377,7 @@ static int tolua_function_Pointer_void___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((void*)tolua_tousertype_dynamic(L, 2, 0, "UnmappedUserType")); + (self->setValue)((void*)tolua_tousertype_dynamic(L, 2, 0, "UnmappedUserType")); return 0; } @@ -34029,7 +35417,7 @@ static int tolua_function_Pointer_CRes__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CRes*)tolua_tousertype_dynamic(L, 2, 0, "CRes")); + (self->setValue)(*(CRes*)tolua_tousertype_dynamic(L, 2, 0, "CRes")); return 0; } @@ -34069,7 +35457,31 @@ static int tolua_function_Pointer_uiMenu__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(uiMenu*)tolua_tousertype_dynamic(L, 2, 0, "uiMenu")); + (self->setValue)(*(uiMenu*)tolua_tousertype_dynamic(L, 2, 0, "uiMenu")); + return 0; +} + +static int tolua_get_Pointer_SDL_VideoDisplay__reference(lua_State* L) +{ + Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'reference'", NULL); + tolua_pushusertype(L, (void*)self->reference, "SDL_VideoDisplay"); + return 1; +} + +static int tolua_set_Pointer_SDL_VideoDisplay__reference(lua_State* L) +{ + Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'reference'", NULL); + self->reference = (SDL_VideoDisplay*)tolua_tousertype_dynamic(L, 2, 0, "SDL_VideoDisplay"); + return 0; +} + +static int tolua_function_Pointer_SDL_VideoDisplay__setValue(lua_State* L) +{ + Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); + (self->setValue)(*(SDL_VideoDisplay*)tolua_tousertype_dynamic(L, 2, 0, "SDL_VideoDisplay")); return 0; } @@ -34093,7 +35505,7 @@ static int tolua_function_Pointer_SDL_Window__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(SDL_Window*)tolua_tousertype_dynamic(L, 2, 0, "SDL_Window")); + (self->setValue)(*(SDL_Window*)tolua_tousertype_dynamic(L, 2, 0, "SDL_Window")); return 0; } @@ -34117,7 +35529,7 @@ static int tolua_function_Pointer_CString__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CString*)tolua_tousertype_dynamic(L, 2, 0, "CString")); + (self->setValue)(*(CString*)tolua_tousertype_dynamic(L, 2, 0, "CString")); return 0; } @@ -34141,7 +35553,7 @@ static int tolua_function_Pointer_CResText__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CResText*)tolua_tousertype_dynamic(L, 2, 0, "CResText")); + (self->setValue)(*(CResText*)tolua_tousertype_dynamic(L, 2, 0, "CResText")); return 0; } @@ -34165,7 +35577,7 @@ static int tolua_function_Pointer_lua_State__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(lua_State*)tolua_tousertype_dynamic(L, 2, 0, "lua_State")); + (self->setValue)(*(lua_State*)tolua_tousertype_dynamic(L, 2, 0, "lua_State")); return 0; } @@ -34221,7 +35633,7 @@ static int tolua_function_Pointer_font_t__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(font_t*)tolua_tousertype_dynamic(L, 2, 0, "font_t")); + (self->setValue)(*(font_t*)tolua_tousertype_dynamic(L, 2, 0, "font_t")); return 0; } @@ -34261,7 +35673,7 @@ static int tolua_function_Pointer_SDL_Rect__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(SDL_Rect*)tolua_tousertype_dynamic(L, 2, 0, "SDL_Rect")); + (self->setValue)(*(SDL_Rect*)tolua_tousertype_dynamic(L, 2, 0, "SDL_Rect")); return 0; } @@ -34285,7 +35697,7 @@ static int tolua_function_Pointer_SDL_Event__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(SDL_Event*)tolua_tousertype_dynamic(L, 2, 0, "SDL_Event")); + (self->setValue)(*(SDL_Event*)tolua_tousertype_dynamic(L, 2, 0, "SDL_Event")); return 0; } @@ -34309,7 +35721,7 @@ static int tolua_function_Pointer_FILE__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(FILE*)tolua_tousertype_dynamic(L, 2, 0, "FILE")); + (self->setValue)(*(FILE*)tolua_tousertype_dynamic(L, 2, 0, "FILE")); return 0; } @@ -34333,7 +35745,7 @@ static int tolua_function_Pointer__iobuf__setValue(lua_State* L) { Pointer<_iobuf>* self = (Pointer<_iobuf>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer<_iobuf>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(_iobuf*)tolua_tousertype_dynamic(L, 2, 0, "_iobuf")); + (self->setValue)(*(_iobuf*)tolua_tousertype_dynamic(L, 2, 0, "_iobuf")); return 0; } @@ -34357,7 +35769,7 @@ static int tolua_function_Pointer_uiVariant__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(uiVariant*)tolua_tousertype_dynamic(L, 2, 0, "uiVariant")); + (self->setValue)(*(uiVariant*)tolua_tousertype_dynamic(L, 2, 0, "uiVariant")); return 0; } @@ -34381,7 +35793,7 @@ static int tolua_function_Pointer_letter_t__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(letter_t*)tolua_tousertype_dynamic(L, 2, 0, "letter_t")); + (self->setValue)(*(letter_t*)tolua_tousertype_dynamic(L, 2, 0, "letter_t")); return 0; } @@ -34405,7 +35817,7 @@ static int tolua_function_Pointer_int__getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - int returnVal = self->getValue(); + int returnVal = (self->getValue)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -34414,7 +35826,7 @@ static int tolua_function_Pointer_int__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(tolua_function_tointeger(L, 2, "setValue")); + (self->setValue)(tolua_function_tointeger(L, 2, "setValue")); return 0; } @@ -34438,7 +35850,7 @@ static int tolua_function_Pointer_adjustmentData_t__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(adjustmentData_t*)tolua_tousertype_dynamic(L, 2, 0, "adjustmentData_t")); + (self->setValue)(*(adjustmentData_t*)tolua_tousertype_dynamic(L, 2, 0, "adjustmentData_t")); return 0; } @@ -34462,7 +35874,7 @@ static int tolua_function_Pointer_CBaldurChitin__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CBaldurChitin*)tolua_tousertype_dynamic(L, 2, 0, "EEex_CBaldurChitin")); + (self->setValue)(*(CBaldurChitin*)tolua_tousertype_dynamic(L, 2, 0, "EEex_CBaldurChitin")); return 0; } @@ -34502,7 +35914,7 @@ static int tolua_function_Pointer_CPlex__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CPlex*)tolua_tousertype_dynamic(L, 2, 0, "CPlex")); + (self->setValue)(*(CPlex*)tolua_tousertype_dynamic(L, 2, 0, "CPlex")); return 0; } @@ -34526,7 +35938,7 @@ static int tolua_function_Pointer_CResRef__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CResRef*)tolua_tousertype_dynamic(L, 2, 0, "CResRef")); + (self->setValue)(*(CResRef*)tolua_tousertype_dynamic(L, 2, 0, "CResRef")); return 0; } @@ -34582,7 +35994,7 @@ static int tolua_function_Pointer_CAIId__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CAIId*)tolua_tousertype_dynamic(L, 2, 0, "CAIId")); + (self->setValue)(*(CAIId*)tolua_tousertype_dynamic(L, 2, 0, "CAIId")); return 0; } @@ -34606,7 +36018,7 @@ static int tolua_function_Pointer_CGameAIBase__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CGameAIBase*)tolua_tousertype_dynamic(L, 2, 0, "CGameAIBase")); + (self->setValue)(*(CGameAIBase*)tolua_tousertype_dynamic(L, 2, 0, "CGameAIBase")); return 0; } @@ -34630,7 +36042,7 @@ static int tolua_function_Pointer_CGameObject__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CGameObject*)tolua_tousertype_dynamic(L, 2, 0, "CGameObject")); + (self->setValue)(*(CGameObject*)tolua_tousertype_dynamic(L, 2, 0, "CGameObject")); return 0; } @@ -34670,7 +36082,7 @@ static int tolua_function_Pointer_CAreaUserNote__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CAreaUserNote*)tolua_tousertype_dynamic(L, 2, 0, "CAreaUserNote")); + (self->setValue)(*(CAreaUserNote*)tolua_tousertype_dynamic(L, 2, 0, "CAreaUserNote")); return 0; } @@ -34694,7 +36106,7 @@ static int tolua_function_Pointer_CGameDialogEntry__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CGameDialogEntry*)tolua_tousertype_dynamic(L, 2, 0, "CGameDialogEntry")); + (self->setValue)(*(CGameDialogEntry*)tolua_tousertype_dynamic(L, 2, 0, "CGameDialogEntry")); return 0; } @@ -34718,7 +36130,7 @@ static int tolua_function_Pointer_CGameEffect__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CGameEffect*)tolua_tousertype_dynamic(L, 2, 0, "CGameEffect")); + (self->setValue)(*(CGameEffect*)tolua_tousertype_dynamic(L, 2, 0, "CGameEffect")); return 0; } @@ -34742,7 +36154,7 @@ static int tolua_function_Pointer_Item_effect_st__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(Item_effect_st*)tolua_tousertype_dynamic(L, 2, 0, "Item_effect_st")); + (self->setValue)(*(Item_effect_st*)tolua_tousertype_dynamic(L, 2, 0, "Item_effect_st")); return 0; } @@ -34782,7 +36194,7 @@ static int tolua_function_Pointer_CGameEffectBase__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CGameEffectBase*)tolua_tousertype_dynamic(L, 2, 0, "CGameEffectBase")); + (self->setValue)(*(CGameEffectBase*)tolua_tousertype_dynamic(L, 2, 0, "CGameEffectBase")); return 0; } @@ -34806,7 +36218,7 @@ static int tolua_function_Pointer_CObject__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CObject*)tolua_tousertype_dynamic(L, 2, 0, "CObject")); + (self->setValue)(*(CObject*)tolua_tousertype_dynamic(L, 2, 0, "CObject")); return 0; } @@ -34830,7 +36242,7 @@ static int tolua_function_Pointer_CObList__CNode__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CObList::CNode*)tolua_tousertype_dynamic(L, 2, 0, "CObList::CNode")); + (self->setValue)(*(CObList::CNode*)tolua_tousertype_dynamic(L, 2, 0, "CObList::CNode")); return 0; } @@ -34854,7 +36266,7 @@ static int tolua_function_Pointer_CGameObject___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CGameObject* returnVal = self->getValue(); + CGameObject* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CGameObject"); return 1; } @@ -34863,7 +36275,7 @@ static int tolua_function_Pointer_CGameObject___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CGameObject*)tolua_tousertype_dynamic(L, 2, 0, "CGameObject")); + (self->setValue)((CGameObject*)tolua_tousertype_dynamic(L, 2, 0, "CGameObject")); return 0; } @@ -34887,7 +36299,7 @@ static int tolua_function_Pointer_CGameSprite__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CGameSprite*)tolua_tousertype_dynamic(L, 2, 0, "CGameSprite")); + (self->setValue)(*(CGameSprite*)tolua_tousertype_dynamic(L, 2, 0, "CGameSprite")); return 0; } @@ -34911,7 +36323,7 @@ static int tolua_function_Pointer_CAIObjectType__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CAIObjectType*)tolua_tousertype_dynamic(L, 2, 0, "CAIObjectType")); + (self->setValue)(*(CAIObjectType*)tolua_tousertype_dynamic(L, 2, 0, "CAIObjectType")); return 0; } @@ -34935,7 +36347,7 @@ static int tolua_function_Pointer_CAIScript__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CAIScript*)tolua_tousertype_dynamic(L, 2, 0, "CAIScript")); + (self->setValue)(*(CAIScript*)tolua_tousertype_dynamic(L, 2, 0, "CAIScript")); return 0; } @@ -34959,7 +36371,7 @@ static int tolua_function_Pointer_CAIAction__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CAIAction*)tolua_tousertype_dynamic(L, 2, 0, "CAIAction")); + (self->setValue)(*(CAIAction*)tolua_tousertype_dynamic(L, 2, 0, "CAIAction")); return 0; } @@ -34983,7 +36395,7 @@ static int tolua_function_Pointer_CAITrigger__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CAITrigger*)tolua_tousertype_dynamic(L, 2, 0, "CAITrigger")); + (self->setValue)(*(CAITrigger*)tolua_tousertype_dynamic(L, 2, 0, "CAITrigger")); return 0; } @@ -35007,7 +36419,7 @@ static int tolua_function_Pointer_CGameTimer__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CGameTimer*)tolua_tousertype_dynamic(L, 2, 0, "CGameTimer")); + (self->setValue)(*(CGameTimer*)tolua_tousertype_dynamic(L, 2, 0, "CGameTimer")); return 0; } @@ -35031,7 +36443,7 @@ static int tolua_function_Pointer_byte__getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - byte returnVal = self->getValue(); + byte returnVal = (self->getValue)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -35040,7 +36452,7 @@ static int tolua_function_Pointer_byte__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(tolua_function_tointeger(L, 2, "setValue")); + (self->setValue)(tolua_function_tointeger(L, 2, "setValue")); return 0; } @@ -35064,7 +36476,7 @@ static int tolua_function_Pointer_CAbilityId__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CAbilityId*)tolua_tousertype_dynamic(L, 2, 0, "CAbilityId")); + (self->setValue)(*(CAbilityId*)tolua_tousertype_dynamic(L, 2, 0, "CAbilityId")); return 0; } @@ -35088,7 +36500,7 @@ static int tolua_function_Pointer_CGameEffectDamage__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CGameEffectDamage*)tolua_tousertype_dynamic(L, 2, 0, "CGameEffectDamage")); + (self->setValue)(*(CGameEffectDamage*)tolua_tousertype_dynamic(L, 2, 0, "CGameEffectDamage")); return 0; } @@ -35112,7 +36524,7 @@ static int tolua_function_Pointer_CItem__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CItem*)tolua_tousertype_dynamic(L, 2, 0, "CItem")); + (self->setValue)(*(CItem*)tolua_tousertype_dynamic(L, 2, 0, "CItem")); return 0; } @@ -35136,7 +36548,7 @@ static int tolua_function_Pointer_CDerivedStats__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CDerivedStats*)tolua_tousertype_dynamic(L, 2, 0, "CDerivedStats")); + (self->setValue)(*(CDerivedStats*)tolua_tousertype_dynamic(L, 2, 0, "CDerivedStats")); return 0; } @@ -35160,7 +36572,7 @@ static int tolua_function_Pointer_CSpell__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CSpell*)tolua_tousertype_dynamic(L, 2, 0, "CSpell")); + (self->setValue)(*(CSpell*)tolua_tousertype_dynamic(L, 2, 0, "CSpell")); return 0; } @@ -35184,7 +36596,7 @@ static int tolua_function_Pointer_CGameButtonList__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CGameButtonList*)tolua_tousertype_dynamic(L, 2, 0, "CGameButtonList")); + (self->setValue)(*(CGameButtonList*)tolua_tousertype_dynamic(L, 2, 0, "CGameButtonList")); return 0; } @@ -35208,7 +36620,7 @@ static int tolua_function_Pointer_CCreatureFileKnownSpell__setValue(lua_State* L { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CCreatureFileKnownSpell*)tolua_tousertype_dynamic(L, 2, 0, "CCreatureFileKnownSpell")); + (self->setValue)(*(CCreatureFileKnownSpell*)tolua_tousertype_dynamic(L, 2, 0, "CCreatureFileKnownSpell")); return 0; } @@ -35232,7 +36644,7 @@ static int tolua_function_Pointer_Item_ability_st__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(Item_ability_st*)tolua_tousertype_dynamic(L, 2, 0, "Item_ability_st")); + (self->setValue)(*(Item_ability_st*)tolua_tousertype_dynamic(L, 2, 0, "Item_ability_st")); return 0; } @@ -35256,7 +36668,7 @@ static int tolua_function_Pointer_short__getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - short returnVal = self->getValue(); + short returnVal = (self->getValue)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -35265,7 +36677,7 @@ static int tolua_function_Pointer_short__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(tolua_function_tointeger(L, 2, "setValue")); + (self->setValue)(tolua_function_tointeger(L, 2, "setValue")); return 0; } @@ -35289,7 +36701,7 @@ static int tolua_function_Pointer_CButtonData__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CButtonData*)tolua_tousertype_dynamic(L, 2, 0, "CButtonData")); + (self->setValue)(*(CButtonData*)tolua_tousertype_dynamic(L, 2, 0, "CButtonData")); return 0; } @@ -35313,7 +36725,7 @@ static int tolua_function_Pointer_CCreatureFileMemorizedSpellLevel__setValue(lua { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CCreatureFileMemorizedSpellLevel*)tolua_tousertype_dynamic(L, 2, 0, "CCreatureFileMemorizedSpellLevel")); + (self->setValue)(*(CCreatureFileMemorizedSpellLevel*)tolua_tousertype_dynamic(L, 2, 0, "CCreatureFileMemorizedSpellLevel")); return 0; } @@ -35337,7 +36749,7 @@ static int tolua_function_Pointer_CCreatureFileMemorizedSpell__setValue(lua_Stat { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CCreatureFileMemorizedSpell*)tolua_tousertype_dynamic(L, 2, 0, "CCreatureFileMemorizedSpell")); + (self->setValue)(*(CCreatureFileMemorizedSpell*)tolua_tousertype_dynamic(L, 2, 0, "CCreatureFileMemorizedSpell")); return 0; } @@ -35361,7 +36773,7 @@ static int tolua_function_Pointer_unsigned___int8__getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - unsigned __int8 returnVal = self->getValue(); + unsigned __int8 returnVal = (self->getValue)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -35370,7 +36782,7 @@ static int tolua_function_Pointer_unsigned___int8__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(tolua_function_tointeger(L, 2, "setValue")); + (self->setValue)(tolua_function_tointeger(L, 2, "setValue")); return 0; } @@ -35394,7 +36806,7 @@ static int tolua_function_Pointer_unsigned___int16__getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - unsigned __int16 returnVal = self->getValue(); + unsigned __int16 returnVal = (self->getValue)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -35403,7 +36815,7 @@ static int tolua_function_Pointer_unsigned___int16__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(tolua_function_tointeger(L, 2, "setValue")); + (self->setValue)(tolua_function_tointeger(L, 2, "setValue")); return 0; } @@ -35427,7 +36839,7 @@ static int tolua_function_Pointer_tagPOINT__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(tagPOINT*)tolua_tousertype_dynamic(L, 2, 0, "tagPOINT")); + (self->setValue)(*(tagPOINT*)tolua_tousertype_dynamic(L, 2, 0, "tagPOINT")); return 0; } @@ -35451,7 +36863,7 @@ static int tolua_function_Pointer_long__getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - long returnVal = self->getValue(); + long returnVal = (self->getValue)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -35460,7 +36872,7 @@ static int tolua_function_Pointer_long__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(tolua_function_tointeger(L, 2, "setValue")); + (self->setValue)(tolua_function_tointeger(L, 2, "setValue")); return 0; } @@ -35484,7 +36896,7 @@ static int tolua_function_Pointer_CSearchRequest__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CSearchRequest*)tolua_tousertype_dynamic(L, 2, 0, "CSearchRequest")); + (self->setValue)(*(CSearchRequest*)tolua_tousertype_dynamic(L, 2, 0, "CSearchRequest")); return 0; } @@ -35508,7 +36920,7 @@ static int tolua_function_Pointer_CBlood__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CBlood*)tolua_tousertype_dynamic(L, 2, 0, "CBlood")); + (self->setValue)(*(CBlood*)tolua_tousertype_dynamic(L, 2, 0, "CBlood")); return 0; } @@ -35532,7 +36944,7 @@ static int tolua_function_Pointer___POSITION__setValue(lua_State* L) { Pointer<__POSITION>* self = (Pointer<__POSITION>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer<__POSITION>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(__POSITION*)tolua_tousertype_dynamic(L, 2, 0, "__POSITION")); + (self->setValue)(*(__POSITION*)tolua_tousertype_dynamic(L, 2, 0, "__POSITION")); return 0; } @@ -35556,7 +36968,7 @@ static int tolua_function_Pointer_CProjectile__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CProjectile*)tolua_tousertype_dynamic(L, 2, 0, "CProjectile")); + (self->setValue)(*(CProjectile*)tolua_tousertype_dynamic(L, 2, 0, "CProjectile")); return 0; } @@ -35580,7 +36992,7 @@ static int tolua_function_Pointer_STR_RES__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(STR_RES*)tolua_tousertype_dynamic(L, 2, 0, "STR_RES")); + (self->setValue)(*(STR_RES*)tolua_tousertype_dynamic(L, 2, 0, "STR_RES")); return 0; } @@ -35604,7 +37016,7 @@ static int tolua_function_Pointer_CPortraitIcon__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CPortraitIcon*)tolua_tousertype_dynamic(L, 2, 0, "CPortraitIcon")); + (self->setValue)(*(CPortraitIcon*)tolua_tousertype_dynamic(L, 2, 0, "CPortraitIcon")); return 0; } @@ -35628,7 +37040,7 @@ static int tolua_function_Pointer_CVariableHash__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CVariableHash*)tolua_tousertype_dynamic(L, 2, 0, "CVariableHash")); + (self->setValue)(*(CVariableHash*)tolua_tousertype_dynamic(L, 2, 0, "CVariableHash")); return 0; } @@ -35652,7 +37064,7 @@ static int tolua_function_Pointer_CPoint__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CPoint*)tolua_tousertype_dynamic(L, 2, 0, "CPoint")); + (self->setValue)(*(CPoint*)tolua_tousertype_dynamic(L, 2, 0, "CPoint")); return 0; } @@ -35676,7 +37088,7 @@ static int tolua_function_Pointer_CFeedbackEntry__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CFeedbackEntry*)tolua_tousertype_dynamic(L, 2, 0, "CFeedbackEntry")); + (self->setValue)(*(CFeedbackEntry*)tolua_tousertype_dynamic(L, 2, 0, "CFeedbackEntry")); return 0; } @@ -35700,7 +37112,7 @@ static int tolua_function_Pointer_CGameSprite__GroundItem__setValue(lua_State* L { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CGameSprite::GroundItem*)tolua_tousertype_dynamic(L, 2, 0, "CGameSprite::GroundItem")); + (self->setValue)(*(CGameSprite::GroundItem*)tolua_tousertype_dynamic(L, 2, 0, "CGameSprite::GroundItem")); return 0; } @@ -35724,7 +37136,7 @@ static int tolua_function_Pointer_CGameArea__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CGameArea*)tolua_tousertype_dynamic(L, 2, 0, "CGameArea")); + (self->setValue)(*(CGameArea*)tolua_tousertype_dynamic(L, 2, 0, "CGameArea")); return 0; } @@ -35748,7 +37160,7 @@ static int tolua_function_Pointer_CPathSearch__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CPathSearch*)tolua_tousertype_dynamic(L, 2, 0, "CPathSearch")); + (self->setValue)(*(CPathSearch*)tolua_tousertype_dynamic(L, 2, 0, "CPathSearch")); return 0; } @@ -35772,7 +37184,7 @@ static int tolua_function_Pointer_CPathNode___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CPathNode* returnVal = self->getValue(); + CPathNode* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CPathNode"); return 1; } @@ -35781,7 +37193,7 @@ static int tolua_function_Pointer_CPathNode___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CPathNode*)tolua_tousertype_dynamic(L, 2, 0, "CPathNode")); + (self->setValue)((CPathNode*)tolua_tousertype_dynamic(L, 2, 0, "CPathNode")); return 0; } @@ -35805,7 +37217,7 @@ static int tolua_function_Pointer_SAreaFileWrapper__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(SAreaFileWrapper*)tolua_tousertype_dynamic(L, 2, 0, "SAreaFileWrapper")); + (self->setValue)(*(SAreaFileWrapper*)tolua_tousertype_dynamic(L, 2, 0, "SAreaFileWrapper")); return 0; } @@ -35829,7 +37241,7 @@ static int tolua_function_Pointer_CAIScriptFile__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CAIScriptFile*)tolua_tousertype_dynamic(L, 2, 0, "CAIScriptFile")); + (self->setValue)(*(CAIScriptFile*)tolua_tousertype_dynamic(L, 2, 0, "CAIScriptFile")); return 0; } @@ -35853,7 +37265,7 @@ static int tolua_function_Pointer_CStore__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CStore*)tolua_tousertype_dynamic(L, 2, 0, "CStore")); + (self->setValue)(*(CStore*)tolua_tousertype_dynamic(L, 2, 0, "CStore")); return 0; } @@ -35877,7 +37289,7 @@ static int tolua_function_Pointer_CSavedGameStoredLocation__setValue(lua_State* { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CSavedGameStoredLocation*)tolua_tousertype_dynamic(L, 2, 0, "CSavedGameStoredLocation")); + (self->setValue)(*(CSavedGameStoredLocation*)tolua_tousertype_dynamic(L, 2, 0, "CSavedGameStoredLocation")); return 0; } @@ -35901,7 +37313,7 @@ static int tolua_function_Pointer_CInfTileSet__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CInfTileSet*)tolua_tousertype_dynamic(L, 2, 0, "CInfTileSet")); + (self->setValue)(*(CInfTileSet*)tolua_tousertype_dynamic(L, 2, 0, "CInfTileSet")); return 0; } @@ -35925,7 +37337,7 @@ static int tolua_function_Pointer_CResWED__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CResWED*)tolua_tousertype_dynamic(L, 2, 0, "CResWED")); + (self->setValue)(*(CResWED*)tolua_tousertype_dynamic(L, 2, 0, "CResWED")); return 0; } @@ -35949,7 +37361,7 @@ static int tolua_function_Pointer_CVRamPool__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CVRamPool*)tolua_tousertype_dynamic(L, 2, 0, "CVRamPool")); + (self->setValue)(*(CVRamPool*)tolua_tousertype_dynamic(L, 2, 0, "CVRamPool")); return 0; } @@ -35973,7 +37385,7 @@ static int tolua_function_Pointer_CVidMode__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CVidMode*)tolua_tousertype_dynamic(L, 2, 0, "CVidMode")); + (self->setValue)(*(CVidMode*)tolua_tousertype_dynamic(L, 2, 0, "CVidMode")); return 0; } @@ -35997,7 +37409,7 @@ static int tolua_function_Pointer_CAOEEntry__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CAOEEntry*)tolua_tousertype_dynamic(L, 2, 0, "CAOEEntry")); + (self->setValue)(*(CAOEEntry*)tolua_tousertype_dynamic(L, 2, 0, "CAOEEntry")); return 0; } @@ -36021,7 +37433,7 @@ static int tolua_function_Pointer_ushort__getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - ushort returnVal = self->getValue(); + ushort returnVal = (self->getValue)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -36030,7 +37442,7 @@ static int tolua_function_Pointer_ushort__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(tolua_function_tointeger(L, 2, "setValue")); + (self->setValue)(tolua_function_tointeger(L, 2, "setValue")); return 0; } @@ -36054,7 +37466,7 @@ static int tolua_function_Pointer_const_unsigned___int8__getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - const unsigned __int8 returnVal = self->getValue(); + const unsigned __int8 returnVal = (self->getValue)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -36079,7 +37491,7 @@ static int tolua_function_Pointer_const_byte__getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - const byte returnVal = self->getValue(); + const byte returnVal = (self->getValue)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -36104,7 +37516,7 @@ static int tolua_function_Pointer_CTypedPtrList_CPtrList_long___setValue(lua_Sta { Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CTypedPtrList*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList")); + (self->setValue)(*(CTypedPtrList*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList")); return 0; } @@ -36128,7 +37540,7 @@ static int tolua_function_Pointer_CGameAreaClairvoyanceEntry__setValue(lua_State { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CGameAreaClairvoyanceEntry*)tolua_tousertype_dynamic(L, 2, 0, "CGameAreaClairvoyanceEntry")); + (self->setValue)(*(CGameAreaClairvoyanceEntry*)tolua_tousertype_dynamic(L, 2, 0, "CGameAreaClairvoyanceEntry")); return 0; } @@ -36152,7 +37564,7 @@ static int tolua_function_Pointer_CAreaFileCharacterEntryPoint__setValue(lua_Sta { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CAreaFileCharacterEntryPoint*)tolua_tousertype_dynamic(L, 2, 0, "CAreaFileCharacterEntryPoint")); + (self->setValue)(*(CAreaFileCharacterEntryPoint*)tolua_tousertype_dynamic(L, 2, 0, "CAreaFileCharacterEntryPoint")); return 0; } @@ -36176,7 +37588,7 @@ static int tolua_function_Pointer_CInfGame__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CInfGame*)tolua_tousertype_dynamic(L, 2, 0, "EEex_CInfGame")); + (self->setValue)(*(CInfGame*)tolua_tousertype_dynamic(L, 2, 0, "EEex_CInfGame")); return 0; } @@ -36200,7 +37612,7 @@ static int tolua_function_Pointer_CVidBitmap__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CVidBitmap*)tolua_tousertype_dynamic(L, 2, 0, "CVidBitmap")); + (self->setValue)(*(CVidBitmap*)tolua_tousertype_dynamic(L, 2, 0, "CVidBitmap")); return 0; } @@ -36224,7 +37636,7 @@ static int tolua_function_Pointer_CObjectMarker__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CObjectMarker*)tolua_tousertype_dynamic(L, 2, 0, "CObjectMarker")); + (self->setValue)(*(CObjectMarker*)tolua_tousertype_dynamic(L, 2, 0, "CObjectMarker")); return 0; } @@ -36248,7 +37660,7 @@ static int tolua_function_Pointer_CTiledObject__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CTiledObject*)tolua_tousertype_dynamic(L, 2, 0, "CTiledObject")); + (self->setValue)(*(CTiledObject*)tolua_tousertype_dynamic(L, 2, 0, "CTiledObject")); return 0; } @@ -36272,7 +37684,7 @@ static int tolua_function_Pointer_CSpawnFile__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CSpawnFile*)tolua_tousertype_dynamic(L, 2, 0, "CSpawnFile")); + (self->setValue)(*(CSpawnFile*)tolua_tousertype_dynamic(L, 2, 0, "CSpawnFile")); return 0; } @@ -36296,7 +37708,7 @@ static int tolua_function_Pointer_CSearchBitmap__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CSearchBitmap*)tolua_tousertype_dynamic(L, 2, 0, "CSearchBitmap")); + (self->setValue)(*(CSearchBitmap*)tolua_tousertype_dynamic(L, 2, 0, "CSearchBitmap")); return 0; } @@ -36336,7 +37748,7 @@ static int tolua_function_Pointer_CTypedPtrList_CPtrList_CAITrigger____setValue( { Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CTypedPtrList*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList")); + (self->setValue)(*(CTypedPtrList*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList")); return 0; } @@ -36360,7 +37772,7 @@ static int tolua_function_Pointer_CVidCell__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CVidCell*)tolua_tousertype_dynamic(L, 2, 0, "CVidCell")); + (self->setValue)(*(CVidCell*)tolua_tousertype_dynamic(L, 2, 0, "CVidCell")); return 0; } @@ -36384,7 +37796,7 @@ static int tolua_function_Pointer_SDL_Cursor__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(SDL_Cursor*)tolua_tousertype_dynamic(L, 2, 0, "SDL_Cursor")); + (self->setValue)(*(SDL_Cursor*)tolua_tousertype_dynamic(L, 2, 0, "SDL_Cursor")); return 0; } @@ -36408,7 +37820,7 @@ static int tolua_function_Pointer_SDL_Surface__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(SDL_Surface*)tolua_tousertype_dynamic(L, 2, 0, "SDL_Surface")); + (self->setValue)(*(SDL_Surface*)tolua_tousertype_dynamic(L, 2, 0, "SDL_Surface")); return 0; } @@ -36432,7 +37844,7 @@ static int tolua_function_Pointer_CVIDPALETTE_COLOR__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CVIDPALETTE_COLOR*)tolua_tousertype_dynamic(L, 2, 0, "CVIDPALETTE_COLOR")); + (self->setValue)(*(CVIDPALETTE_COLOR*)tolua_tousertype_dynamic(L, 2, 0, "CVIDPALETTE_COLOR")); return 0; } @@ -36456,7 +37868,7 @@ static int tolua_function_Pointer_CVIDIMG_PALETTEAFFECT__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CVIDIMG_PALETTEAFFECT*)tolua_tousertype_dynamic(L, 2, 0, "CVIDIMG_PALETTEAFFECT")); + (self->setValue)(*(CVIDIMG_PALETTEAFFECT*)tolua_tousertype_dynamic(L, 2, 0, "CVIDIMG_PALETTEAFFECT")); return 0; } @@ -36480,7 +37892,7 @@ static int tolua_function_Pointer_tagRGBQUAD__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(tagRGBQUAD*)tolua_tousertype_dynamic(L, 2, 0, "tagRGBQUAD")); + (self->setValue)(*(tagRGBQUAD*)tolua_tousertype_dynamic(L, 2, 0, "tagRGBQUAD")); return 0; } @@ -36504,7 +37916,7 @@ static int tolua_function_Pointer_CVEFEvent__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CVEFEvent*)tolua_tousertype_dynamic(L, 2, 0, "CVEFEvent")); + (self->setValue)(*(CVEFEvent*)tolua_tousertype_dynamic(L, 2, 0, "CVEFEvent")); return 0; } @@ -36528,7 +37940,7 @@ static int tolua_function_Pointer_CStringList__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CStringList*)tolua_tousertype_dynamic(L, 2, 0, "CStringList")); + (self->setValue)(*(CStringList*)tolua_tousertype_dynamic(L, 2, 0, "CStringList")); return 0; } @@ -36552,7 +37964,7 @@ static int tolua_function_Pointer_CVisibilityMapTreeNode___getValue(lua_State* L { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CVisibilityMapTreeNode* returnVal = self->getValue(); + CVisibilityMapTreeNode* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CVisibilityMapTreeNode"); return 1; } @@ -36561,7 +37973,7 @@ static int tolua_function_Pointer_CVisibilityMapTreeNode___setValue(lua_State* L { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CVisibilityMapTreeNode*)tolua_tousertype_dynamic(L, 2, 0, "CVisibilityMapTreeNode")); + (self->setValue)((CVisibilityMapTreeNode*)tolua_tousertype_dynamic(L, 2, 0, "CVisibilityMapTreeNode")); return 0; } @@ -36585,7 +37997,7 @@ static int tolua_function_Pointer_CVisibilityMapEllipse__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CVisibilityMapEllipse*)tolua_tousertype_dynamic(L, 2, 0, "CVisibilityMapEllipse")); + (self->setValue)(*(CVisibilityMapEllipse*)tolua_tousertype_dynamic(L, 2, 0, "CVisibilityMapEllipse")); return 0; } @@ -36609,7 +38021,7 @@ static int tolua_function_Pointer_CWarp__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CWarp*)tolua_tousertype_dynamic(L, 2, 0, "EEex_CWarp")); + (self->setValue)(*(CWarp*)tolua_tousertype_dynamic(L, 2, 0, "EEex_CWarp")); return 0; } @@ -36633,7 +38045,7 @@ static int tolua_function_Pointer_CSoundMixer__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CSoundMixer*)tolua_tousertype_dynamic(L, 2, 0, "EEex_CSoundMixer")); + (self->setValue)(*(CSoundMixer*)tolua_tousertype_dynamic(L, 2, 0, "EEex_CSoundMixer")); return 0; } @@ -36657,7 +38069,7 @@ static int tolua_function_Pointer_CVariable__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CVariable*)tolua_tousertype_dynamic(L, 2, 0, "CVariable")); + (self->setValue)(*(CVariable*)tolua_tousertype_dynamic(L, 2, 0, "CVariable")); return 0; } @@ -36681,7 +38093,7 @@ static int tolua_function_Pointer_CAIResponseSet__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CAIResponseSet*)tolua_tousertype_dynamic(L, 2, 0, "CAIResponseSet")); + (self->setValue)(*(CAIResponseSet*)tolua_tousertype_dynamic(L, 2, 0, "CAIResponseSet")); return 0; } @@ -36705,7 +38117,7 @@ static int tolua_function_Pointer_CAICondition__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CAICondition*)tolua_tousertype_dynamic(L, 2, 0, "CAICondition")); + (self->setValue)(*(CAICondition*)tolua_tousertype_dynamic(L, 2, 0, "CAICondition")); return 0; } @@ -36729,7 +38141,7 @@ static int tolua_function_Pointer_CAIResponse__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CAIResponse*)tolua_tousertype_dynamic(L, 2, 0, "CAIResponse")); + (self->setValue)(*(CAIResponse*)tolua_tousertype_dynamic(L, 2, 0, "CAIResponse")); return 0; } @@ -36753,7 +38165,7 @@ static int tolua_function_Pointer_CAIConditionResponse__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CAIConditionResponse*)tolua_tousertype_dynamic(L, 2, 0, "CAIConditionResponse")); + (self->setValue)(*(CAIConditionResponse*)tolua_tousertype_dynamic(L, 2, 0, "CAIConditionResponse")); return 0; } @@ -36793,7 +38205,7 @@ static int tolua_function_Pointer_CMessage__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMessage*)tolua_tousertype_dynamic(L, 2, 0, "CMessage")); + (self->setValue)(*(CMessage*)tolua_tousertype_dynamic(L, 2, 0, "CMessage")); return 0; } @@ -36817,7 +38229,7 @@ static int tolua_function_Pointer_C2DArray__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(C2DArray*)tolua_tousertype_dynamic(L, 2, 0, "C2DArray")); + (self->setValue)(*(C2DArray*)tolua_tousertype_dynamic(L, 2, 0, "C2DArray")); return 0; } @@ -36841,7 +38253,7 @@ static int tolua_function_Pointer_CSoundImp__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CSoundImp*)tolua_tousertype_dynamic(L, 2, 0, "CSoundImp")); + (self->setValue)(*(CSoundImp*)tolua_tousertype_dynamic(L, 2, 0, "CSoundImp")); return 0; } @@ -36865,7 +38277,7 @@ static int tolua_function_Pointer_CSoundMixerImp__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CSoundMixerImp*)tolua_tousertype_dynamic(L, 2, 0, "CSoundMixerImp")); + (self->setValue)(*(CSoundMixerImp*)tolua_tousertype_dynamic(L, 2, 0, "CSoundMixerImp")); return 0; } @@ -36889,7 +38301,7 @@ static int tolua_function_Pointer_CGameDialogSprite__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CGameDialogSprite*)tolua_tousertype_dynamic(L, 2, 0, "CGameDialogSprite")); + (self->setValue)(*(CGameDialogSprite*)tolua_tousertype_dynamic(L, 2, 0, "CGameDialogSprite")); return 0; } @@ -36913,7 +38325,7 @@ static int tolua_function_Pointer_CDeathSound__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CDeathSound*)tolua_tousertype_dynamic(L, 2, 0, "CDeathSound")); + (self->setValue)(*(CDeathSound*)tolua_tousertype_dynamic(L, 2, 0, "CDeathSound")); return 0; } @@ -36937,7 +38349,7 @@ static int tolua_function_Pointer_CFileView__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CFileView*)tolua_tousertype_dynamic(L, 2, 0, "CFileView")); + (self->setValue)(*(CFileView*)tolua_tousertype_dynamic(L, 2, 0, "CFileView")); return 0; } @@ -36961,7 +38373,7 @@ static int tolua_function_Pointer_unsigned_int__getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - unsigned int returnVal = self->getValue(); + unsigned int returnVal = (self->getValue)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -36970,7 +38382,7 @@ static int tolua_function_Pointer_unsigned_int__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(tolua_function_tointeger(L, 2, "setValue")); + (self->setValue)(tolua_function_tointeger(L, 2, "setValue")); return 0; } @@ -36994,7 +38406,7 @@ static int tolua_function_Pointer_CContingency__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CContingency*)tolua_tousertype_dynamic(L, 2, 0, "CContingency")); + (self->setValue)(*(CContingency*)tolua_tousertype_dynamic(L, 2, 0, "CContingency")); return 0; } @@ -37018,7 +38430,7 @@ static int tolua_function_Pointer_CScreenMap__vtbl__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CScreenMap::vtbl*)tolua_tousertype_dynamic(L, 2, 0, "CScreenMap::vtbl")); + (self->setValue)(*(CScreenMap::vtbl*)tolua_tousertype_dynamic(L, 2, 0, "CScreenMap::vtbl")); return 0; } @@ -37042,7 +38454,7 @@ static int tolua_function_Pointer_CRect__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CRect*)tolua_tousertype_dynamic(L, 2, 0, "CRect")); + (self->setValue)(*(CRect*)tolua_tousertype_dynamic(L, 2, 0, "CRect")); return 0; } @@ -37066,7 +38478,7 @@ static int tolua_function_Pointer_CVidCellFont__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CVidCellFont*)tolua_tousertype_dynamic(L, 2, 0, "CVidCellFont")); + (self->setValue)(*(CVidCellFont*)tolua_tousertype_dynamic(L, 2, 0, "CVidCellFont")); return 0; } @@ -37090,7 +38502,55 @@ static int tolua_function_Pointer_uiItem__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(uiItem*)tolua_tousertype_dynamic(L, 2, 0, "uiItem")); + (self->setValue)(*(uiItem*)tolua_tousertype_dynamic(L, 2, 0, "uiItem")); + return 0; +} + +static int tolua_get_Pointer_SDL_DisplayMode__reference(lua_State* L) +{ + Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'reference'", NULL); + tolua_pushusertype(L, (void*)self->reference, "SDL_DisplayMode"); + return 1; +} + +static int tolua_set_Pointer_SDL_DisplayMode__reference(lua_State* L) +{ + Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'reference'", NULL); + self->reference = (SDL_DisplayMode*)tolua_tousertype_dynamic(L, 2, 0, "SDL_DisplayMode"); + return 0; +} + +static int tolua_function_Pointer_SDL_DisplayMode__setValue(lua_State* L) +{ + Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); + (self->setValue)(*(SDL_DisplayMode*)tolua_tousertype_dynamic(L, 2, 0, "SDL_DisplayMode")); + return 0; +} + +static int tolua_get_Pointer_SDL_VideoDevice__reference(lua_State* L) +{ + Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'reference'", NULL); + tolua_pushusertype(L, (void*)self->reference, "SDL_VideoDevice"); + return 1; +} + +static int tolua_set_Pointer_SDL_VideoDevice__reference(lua_State* L) +{ + Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'reference'", NULL); + self->reference = (SDL_VideoDevice*)tolua_tousertype_dynamic(L, 2, 0, "SDL_VideoDevice"); + return 0; +} + +static int tolua_function_Pointer_SDL_VideoDevice__setValue(lua_State* L) +{ + Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); + (self->setValue)(*(SDL_VideoDevice*)tolua_tousertype_dynamic(L, 2, 0, "SDL_VideoDevice")); return 0; } @@ -37114,7 +38574,7 @@ static int tolua_function_Pointer_wchar_t__getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - wchar_t returnVal = self->getValue(); + wchar_t returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "Primitive"); return 1; } @@ -37123,7 +38583,7 @@ static int tolua_function_Pointer_wchar_t__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(wchar_t*)tolua_tousertype_dynamic(L, 2, 0, "Primitive")); + (self->setValue)(*(wchar_t*)tolua_tousertype_dynamic(L, 2, 0, "Primitive")); return 0; } @@ -37147,7 +38607,7 @@ static int tolua_function_Pointer_SDL_WindowShaper__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(SDL_WindowShaper*)tolua_tousertype_dynamic(L, 2, 0, "SDL_WindowShaper")); + (self->setValue)(*(SDL_WindowShaper*)tolua_tousertype_dynamic(L, 2, 0, "SDL_WindowShaper")); return 0; } @@ -37187,7 +38647,7 @@ static int tolua_function_Pointer_SDL_WindowUserData__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(SDL_WindowUserData*)tolua_tousertype_dynamic(L, 2, 0, "SDL_WindowUserData")); + (self->setValue)(*(SDL_WindowUserData*)tolua_tousertype_dynamic(L, 2, 0, "SDL_WindowUserData")); return 0; } @@ -37211,7 +38671,7 @@ static int tolua_function_Pointer_GCObject__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(GCObject*)tolua_tousertype_dynamic(L, 2, 0, "GCObject")); + (self->setValue)(*(GCObject*)tolua_tousertype_dynamic(L, 2, 0, "GCObject")); return 0; } @@ -37235,7 +38695,7 @@ static int tolua_function_Pointer_lua_TValue__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(lua_TValue*)tolua_tousertype_dynamic(L, 2, 0, "lua_TValue")); + (self->setValue)(*(lua_TValue*)tolua_tousertype_dynamic(L, 2, 0, "lua_TValue")); return 0; } @@ -37259,7 +38719,7 @@ static int tolua_function_Pointer_global_State__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(global_State*)tolua_tousertype_dynamic(L, 2, 0, "global_State")); + (self->setValue)(*(global_State*)tolua_tousertype_dynamic(L, 2, 0, "global_State")); return 0; } @@ -37283,7 +38743,7 @@ static int tolua_function_Pointer_CallInfo__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CallInfo*)tolua_tousertype_dynamic(L, 2, 0, "CallInfo")); + (self->setValue)(*(CallInfo*)tolua_tousertype_dynamic(L, 2, 0, "CallInfo")); return 0; } @@ -37307,7 +38767,7 @@ static int tolua_function_Pointer_const_unsigned_int__getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - const unsigned int returnVal = self->getValue(); + const unsigned int returnVal = (self->getValue)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -37332,7 +38792,7 @@ static int tolua_function_Pointer_lua_Debug__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(lua_Debug*)tolua_tousertype_dynamic(L, 2, 0, "lua_Debug")); + (self->setValue)(*(lua_Debug*)tolua_tousertype_dynamic(L, 2, 0, "lua_Debug")); return 0; } @@ -37356,7 +38816,7 @@ static int tolua_function_Pointer_lua_longjmp__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(lua_longjmp*)tolua_tousertype_dynamic(L, 2, 0, "lua_longjmp")); + (self->setValue)(*(lua_longjmp*)tolua_tousertype_dynamic(L, 2, 0, "lua_longjmp")); return 0; } @@ -37380,7 +38840,7 @@ static int tolua_function_Pointer_sheet__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(sheet*)tolua_tousertype_dynamic(L, 2, 0, "sheet")); + (self->setValue)(*(sheet*)tolua_tousertype_dynamic(L, 2, 0, "sheet")); return 0; } @@ -37404,7 +38864,7 @@ static int tolua_function_Pointer_stbrp_context__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(stbrp_context*)tolua_tousertype_dynamic(L, 2, 0, "stbrp_context")); + (self->setValue)(*(stbrp_context*)tolua_tousertype_dynamic(L, 2, 0, "stbrp_context")); return 0; } @@ -37428,7 +38888,7 @@ static int tolua_function_Pointer_stbrp_node__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(stbrp_node*)tolua_tousertype_dynamic(L, 2, 0, "stbrp_node")); + (self->setValue)(*(stbrp_node*)tolua_tousertype_dynamic(L, 2, 0, "stbrp_node")); return 0; } @@ -37452,7 +38912,7 @@ static int tolua_function_Pointer_glyphmap_t__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(glyphmap_t*)tolua_tousertype_dynamic(L, 2, 0, "glyphmap_t")); + (self->setValue)(*(glyphmap_t*)tolua_tousertype_dynamic(L, 2, 0, "glyphmap_t")); return 0; } @@ -37476,7 +38936,7 @@ static int tolua_function_Pointer_line_metric__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(line_metric*)tolua_tousertype_dynamic(L, 2, 0, "line_metric")); + (self->setValue)(*(line_metric*)tolua_tousertype_dynamic(L, 2, 0, "line_metric")); return 0; } @@ -37500,7 +38960,7 @@ static int tolua_function_Pointer_glyphAdvance_t__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(glyphAdvance_t*)tolua_tousertype_dynamic(L, 2, 0, "glyphAdvance_t")); + (self->setValue)(*(glyphAdvance_t*)tolua_tousertype_dynamic(L, 2, 0, "glyphAdvance_t")); return 0; } @@ -37524,7 +38984,7 @@ static int tolua_function_Pointer_CInfCursor__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CInfCursor*)tolua_tousertype_dynamic(L, 2, 0, "CInfCursor")); + (self->setValue)(*(CInfCursor*)tolua_tousertype_dynamic(L, 2, 0, "CInfCursor")); return 0; } @@ -37548,7 +39008,7 @@ static int tolua_function_Pointer_CDungeonMaster__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CDungeonMaster*)tolua_tousertype_dynamic(L, 2, 0, "CDungeonMaster")); + (self->setValue)(*(CDungeonMaster*)tolua_tousertype_dynamic(L, 2, 0, "CDungeonMaster")); return 0; } @@ -37572,7 +39032,7 @@ static int tolua_function_Pointer_CBaldurProjector__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CBaldurProjector*)tolua_tousertype_dynamic(L, 2, 0, "EEex_CBaldurProjector")); + (self->setValue)(*(CBaldurProjector*)tolua_tousertype_dynamic(L, 2, 0, "EEex_CBaldurProjector")); return 0; } @@ -37596,7 +39056,7 @@ static int tolua_function_Pointer_CScreenAI__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CScreenAI*)tolua_tousertype_dynamic(L, 2, 0, "CScreenAI")); + (self->setValue)(*(CScreenAI*)tolua_tousertype_dynamic(L, 2, 0, "CScreenAI")); return 0; } @@ -37620,7 +39080,7 @@ static int tolua_function_Pointer_CScreenCharacter__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CScreenCharacter*)tolua_tousertype_dynamic(L, 2, 0, "EEex_CScreenCharacter")); + (self->setValue)(*(CScreenCharacter*)tolua_tousertype_dynamic(L, 2, 0, "EEex_CScreenCharacter")); return 0; } @@ -37644,7 +39104,7 @@ static int tolua_function_Pointer_CScreenCreateChar__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CScreenCreateChar*)tolua_tousertype_dynamic(L, 2, 0, "EEex_CScreenCreateChar")); + (self->setValue)(*(CScreenCreateChar*)tolua_tousertype_dynamic(L, 2, 0, "EEex_CScreenCreateChar")); return 0; } @@ -37668,7 +39128,7 @@ static int tolua_function_Pointer_CScreenCreateParty__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CScreenCreateParty*)tolua_tousertype_dynamic(L, 2, 0, "EEex_CScreenCreateParty")); + (self->setValue)(*(CScreenCreateParty*)tolua_tousertype_dynamic(L, 2, 0, "EEex_CScreenCreateParty")); return 0; } @@ -37692,7 +39152,7 @@ static int tolua_function_Pointer_CScreenInventory__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CScreenInventory*)tolua_tousertype_dynamic(L, 2, 0, "EEex_CScreenInventory")); + (self->setValue)(*(CScreenInventory*)tolua_tousertype_dynamic(L, 2, 0, "EEex_CScreenInventory")); return 0; } @@ -37716,7 +39176,7 @@ static int tolua_function_Pointer_CScreenJournal__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CScreenJournal*)tolua_tousertype_dynamic(L, 2, 0, "EEex_CScreenJournal")); + (self->setValue)(*(CScreenJournal*)tolua_tousertype_dynamic(L, 2, 0, "EEex_CScreenJournal")); return 0; } @@ -37740,7 +39200,7 @@ static int tolua_function_Pointer_CScreenLoad__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CScreenLoad*)tolua_tousertype_dynamic(L, 2, 0, "EEex_CScreenLoad")); + (self->setValue)(*(CScreenLoad*)tolua_tousertype_dynamic(L, 2, 0, "EEex_CScreenLoad")); return 0; } @@ -37764,7 +39224,7 @@ static int tolua_function_Pointer_CScreenMap__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CScreenMap*)tolua_tousertype_dynamic(L, 2, 0, "EEex_CScreenMap")); + (self->setValue)(*(CScreenMap*)tolua_tousertype_dynamic(L, 2, 0, "EEex_CScreenMap")); return 0; } @@ -37788,7 +39248,7 @@ static int tolua_function_Pointer_CScreenOptions__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CScreenOptions*)tolua_tousertype_dynamic(L, 2, 0, "EEex_CScreenOptions")); + (self->setValue)(*(CScreenOptions*)tolua_tousertype_dynamic(L, 2, 0, "EEex_CScreenOptions")); return 0; } @@ -37812,7 +39272,7 @@ static int tolua_function_Pointer_CScreenPriestSpell__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CScreenPriestSpell*)tolua_tousertype_dynamic(L, 2, 0, "EEex_CScreenPriestSpell")); + (self->setValue)(*(CScreenPriestSpell*)tolua_tousertype_dynamic(L, 2, 0, "EEex_CScreenPriestSpell")); return 0; } @@ -37836,7 +39296,7 @@ static int tolua_function_Pointer_CScreenSave__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CScreenSave*)tolua_tousertype_dynamic(L, 2, 0, "EEex_CScreenSave")); + (self->setValue)(*(CScreenSave*)tolua_tousertype_dynamic(L, 2, 0, "EEex_CScreenSave")); return 0; } @@ -37860,7 +39320,7 @@ static int tolua_function_Pointer_CScreenStart__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CScreenStart*)tolua_tousertype_dynamic(L, 2, 0, "EEex_CScreenStart")); + (self->setValue)(*(CScreenStart*)tolua_tousertype_dynamic(L, 2, 0, "EEex_CScreenStart")); return 0; } @@ -37884,7 +39344,7 @@ static int tolua_function_Pointer_CScreenWizSpell__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CScreenWizSpell*)tolua_tousertype_dynamic(L, 2, 0, "EEex_CScreenWizSpell")); + (self->setValue)(*(CScreenWizSpell*)tolua_tousertype_dynamic(L, 2, 0, "EEex_CScreenWizSpell")); return 0; } @@ -37908,7 +39368,7 @@ static int tolua_function_Pointer_CScreenWorld__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CScreenWorld*)tolua_tousertype_dynamic(L, 2, 0, "EEex_CScreenWorld")); + (self->setValue)(*(CScreenWorld*)tolua_tousertype_dynamic(L, 2, 0, "EEex_CScreenWorld")); return 0; } @@ -37932,7 +39392,7 @@ static int tolua_function_Pointer_CScreenStore__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CScreenStore*)tolua_tousertype_dynamic(L, 2, 0, "EEex_CScreenStore")); + (self->setValue)(*(CScreenStore*)tolua_tousertype_dynamic(L, 2, 0, "EEex_CScreenStore")); return 0; } @@ -37956,7 +39416,7 @@ static int tolua_function_Pointer_CScreenMultiPlayer__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CScreenMultiPlayer*)tolua_tousertype_dynamic(L, 2, 0, "EEex_CScreenMultiPlayer")); + (self->setValue)(*(CScreenMultiPlayer*)tolua_tousertype_dynamic(L, 2, 0, "EEex_CScreenMultiPlayer")); return 0; } @@ -37980,7 +39440,7 @@ static int tolua_function_Pointer_CScreenConnection__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CScreenConnection*)tolua_tousertype_dynamic(L, 2, 0, "EEex_CScreenConnection")); + (self->setValue)(*(CScreenConnection*)tolua_tousertype_dynamic(L, 2, 0, "EEex_CScreenConnection")); return 0; } @@ -38004,7 +39464,7 @@ static int tolua_function_Pointer_CScreenWorldMap__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CScreenWorldMap*)tolua_tousertype_dynamic(L, 2, 0, "EEex_CScreenWorldMap")); + (self->setValue)(*(CScreenWorldMap*)tolua_tousertype_dynamic(L, 2, 0, "EEex_CScreenWorldMap")); return 0; } @@ -38028,7 +39488,7 @@ static int tolua_function_Pointer_CScreenChapter__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CScreenChapter*)tolua_tousertype_dynamic(L, 2, 0, "EEex_CScreenChapter")); + (self->setValue)(*(CScreenChapter*)tolua_tousertype_dynamic(L, 2, 0, "EEex_CScreenChapter")); return 0; } @@ -38052,7 +39512,7 @@ static int tolua_function_Pointer_CScreenMovies__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CScreenMovies*)tolua_tousertype_dynamic(L, 2, 0, "EEex_CScreenMovies")); + (self->setValue)(*(CScreenMovies*)tolua_tousertype_dynamic(L, 2, 0, "EEex_CScreenMovies")); return 0; } @@ -38076,7 +39536,7 @@ static int tolua_function_Pointer_CScreenDLC__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CScreenDLC*)tolua_tousertype_dynamic(L, 2, 0, "EEex_CScreenDLC")); + (self->setValue)(*(CScreenDLC*)tolua_tousertype_dynamic(L, 2, 0, "EEex_CScreenDLC")); return 0; } @@ -38116,7 +39576,7 @@ static int tolua_function_Pointer_HRESULT__getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - HRESULT returnVal = self->getValue(); + HRESULT returnVal = (self->getValue)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -38125,7 +39585,7 @@ static int tolua_function_Pointer_HRESULT__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(tolua_function_tointeger(L, 2, "setValue")); + (self->setValue)(tolua_function_tointeger(L, 2, "setValue")); return 0; } @@ -38213,7 +39673,7 @@ static int tolua_function_Pointer_ID3DXEffect___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - ID3DXEffect* returnVal = self->getValue(); + ID3DXEffect* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "ID3DXEffect"); return 1; } @@ -38222,7 +39682,7 @@ static int tolua_function_Pointer_ID3DXEffect___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((ID3DXEffect*)tolua_tousertype_dynamic(L, 2, 0, "ID3DXEffect")); + (self->setValue)((ID3DXEffect*)tolua_tousertype_dynamic(L, 2, 0, "ID3DXEffect")); return 0; } @@ -38246,7 +39706,7 @@ static int tolua_function_Pointer_ID3DXBuffer___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - ID3DXBuffer* returnVal = self->getValue(); + ID3DXBuffer* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "ID3DXBuffer"); return 1; } @@ -38255,7 +39715,7 @@ static int tolua_function_Pointer_ID3DXBuffer___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((ID3DXBuffer*)tolua_tousertype_dynamic(L, 2, 0, "ID3DXBuffer")); + (self->setValue)((ID3DXBuffer*)tolua_tousertype_dynamic(L, 2, 0, "ID3DXBuffer")); return 0; } @@ -38279,7 +39739,7 @@ static int tolua_function_Pointer_d3dvertex_t__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(d3dvertex_t*)tolua_tousertype_dynamic(L, 2, 0, "d3dvertex_t")); + (self->setValue)(*(d3dvertex_t*)tolua_tousertype_dynamic(L, 2, 0, "d3dvertex_t")); return 0; } @@ -38335,7 +39795,7 @@ static int tolua_function_Pointer_Table__setValue(lua_State* L) { Pointer* self = (Pointer
*)tolua_tousertype_dynamic(L, 1, 0, "Pointer
"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(Table*)tolua_tousertype_dynamic(L, 2, 0, "Table")); + (self->setValue)(*(Table*)tolua_tousertype_dynamic(L, 2, 0, "Table")); return 0; } @@ -38359,7 +39819,7 @@ static int tolua_function_Pointer_Proto__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(Proto*)tolua_tousertype_dynamic(L, 2, 0, "Proto")); + (self->setValue)(*(Proto*)tolua_tousertype_dynamic(L, 2, 0, "Proto")); return 0; } @@ -38383,7 +39843,7 @@ static int tolua_function_Pointer_UpVal__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(UpVal*)tolua_tousertype_dynamic(L, 2, 0, "UpVal")); + (self->setValue)(*(UpVal*)tolua_tousertype_dynamic(L, 2, 0, "UpVal")); return 0; } @@ -38407,7 +39867,7 @@ static int tolua_function_Pointer_Node__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(Node*)tolua_tousertype_dynamic(L, 2, 0, "Node")); + (self->setValue)(*(Node*)tolua_tousertype_dynamic(L, 2, 0, "Node")); return 0; } @@ -38431,7 +39891,7 @@ static int tolua_function_Pointer_Proto___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - Proto* returnVal = self->getValue(); + Proto* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "Proto"); return 1; } @@ -38440,7 +39900,7 @@ static int tolua_function_Pointer_Proto___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((Proto*)tolua_tousertype_dynamic(L, 2, 0, "Proto")); + (self->setValue)((Proto*)tolua_tousertype_dynamic(L, 2, 0, "Proto")); return 0; } @@ -38464,7 +39924,7 @@ static int tolua_function_Pointer_LocVar__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(LocVar*)tolua_tousertype_dynamic(L, 2, 0, "LocVar")); + (self->setValue)(*(LocVar*)tolua_tousertype_dynamic(L, 2, 0, "LocVar")); return 0; } @@ -38488,7 +39948,7 @@ static int tolua_function_Pointer_Upvaldesc__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(Upvaldesc*)tolua_tousertype_dynamic(L, 2, 0, "Upvaldesc")); + (self->setValue)(*(Upvaldesc*)tolua_tousertype_dynamic(L, 2, 0, "Upvaldesc")); return 0; } @@ -38512,7 +39972,7 @@ static int tolua_function_Pointer_Closure__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(Closure*)tolua_tousertype_dynamic(L, 2, 0, "Closure")); + (self->setValue)(*(Closure*)tolua_tousertype_dynamic(L, 2, 0, "Closure")); return 0; } @@ -38536,7 +39996,7 @@ static int tolua_function_Pointer_TString__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(TString*)tolua_tousertype_dynamic(L, 2, 0, "TString")); + (self->setValue)(*(TString*)tolua_tousertype_dynamic(L, 2, 0, "TString")); return 0; } @@ -38560,7 +40020,7 @@ static int tolua_function_Pointer_GCObject___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - GCObject* returnVal = self->getValue(); + GCObject* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "GCObject"); return 1; } @@ -38569,7 +40029,7 @@ static int tolua_function_Pointer_GCObject___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((GCObject*)tolua_tousertype_dynamic(L, 2, 0, "GCObject")); + (self->setValue)((GCObject*)tolua_tousertype_dynamic(L, 2, 0, "GCObject")); return 0; } @@ -38593,7 +40053,7 @@ static int tolua_function_Pointer_const_long_double__getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - const long double returnVal = self->getValue(); + const long double returnVal = (self->getValue)(); tolua_pushnumber(L, (lua_Number)returnVal); return 1; } @@ -38618,7 +40078,7 @@ static int tolua_function_Pointer_CPtrList__CNode__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CPtrList::CNode*)tolua_tousertype_dynamic(L, 2, 0, "CPtrList::CNode")); + (self->setValue)(*(CPtrList::CNode*)tolua_tousertype_dynamic(L, 2, 0, "CPtrList::CNode")); return 0; } @@ -38642,7 +40102,7 @@ static int tolua_function_Pointer_DP_Player__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(DP_Player*)tolua_tousertype_dynamic(L, 2, 0, "DP_Player")); + (self->setValue)(*(DP_Player*)tolua_tousertype_dynamic(L, 2, 0, "DP_Player")); return 0; } @@ -38666,7 +40126,7 @@ static int tolua_function_Pointer_DP_Packet__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(DP_Packet*)tolua_tousertype_dynamic(L, 2, 0, "DP_Packet")); + (self->setValue)(*(DP_Packet*)tolua_tousertype_dynamic(L, 2, 0, "DP_Packet")); return 0; } @@ -38690,7 +40150,7 @@ static int tolua_function_Pointer_IDPProvider__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(IDPProvider*)tolua_tousertype_dynamic(L, 2, 0, "IDPProvider")); + (self->setValue)(*(IDPProvider*)tolua_tousertype_dynamic(L, 2, 0, "IDPProvider")); return 0; } @@ -38714,7 +40174,7 @@ static int tolua_function_Pointer_IDPPeer__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(IDPPeer*)tolua_tousertype_dynamic(L, 2, 0, "IDPPeer")); + (self->setValue)(*(IDPPeer*)tolua_tousertype_dynamic(L, 2, 0, "IDPPeer")); return 0; } @@ -38738,7 +40198,7 @@ static int tolua_function_Pointer_cnetworkwindow_queueentry_st__setValue(lua_Sta { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(cnetworkwindow_queueentry_st*)tolua_tousertype_dynamic(L, 2, 0, "cnetworkwindow_queueentry_st")); + (self->setValue)(*(cnetworkwindow_queueentry_st*)tolua_tousertype_dynamic(L, 2, 0, "cnetworkwindow_queueentry_st")); return 0; } @@ -38762,7 +40222,7 @@ static int tolua_function_Pointer_ISteamRemoteStorage__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(ISteamRemoteStorage*)tolua_tousertype_dynamic(L, 2, 0, "ISteamRemoteStorage")); + (self->setValue)(*(ISteamRemoteStorage*)tolua_tousertype_dynamic(L, 2, 0, "ISteamRemoteStorage")); return 0; } @@ -38786,7 +40246,7 @@ static int tolua_function_Pointer_ISteamUGC__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(ISteamUGC*)tolua_tousertype_dynamic(L, 2, 0, "ISteamUGC")); + (self->setValue)(*(ISteamUGC*)tolua_tousertype_dynamic(L, 2, 0, "ISteamUGC")); return 0; } @@ -38810,7 +40270,7 @@ static int tolua_function_Pointer_ISteamUserStats__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(ISteamUserStats*)tolua_tousertype_dynamic(L, 2, 0, "ISteamUserStats")); + (self->setValue)(*(ISteamUserStats*)tolua_tousertype_dynamic(L, 2, 0, "ISteamUserStats")); return 0; } @@ -38834,7 +40294,7 @@ static int tolua_function_Pointer_CChitin__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CChitin*)tolua_tousertype_dynamic(L, 2, 0, "EEex_CChitin")); + (self->setValue)(*(CChitin*)tolua_tousertype_dynamic(L, 2, 0, "EEex_CChitin")); return 0; } @@ -38858,7 +40318,7 @@ static int tolua_function_Pointer_unsigned___int8___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - unsigned __int8* returnVal = self->getValue(); + unsigned __int8* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "Primitive<__int8>"); return 1; } @@ -38867,7 +40327,7 @@ static int tolua_function_Pointer_unsigned___int8___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((unsigned __int8*)tolua_tousertype_dynamic(L, 2, 0, "Primitive<__int8>")); + (self->setValue)((unsigned __int8*)tolua_tousertype_dynamic(L, 2, 0, "Primitive<__int8>")); return 0; } @@ -38891,7 +40351,7 @@ static int tolua_function_Pointer_float__getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - float returnVal = self->getValue(); + float returnVal = (self->getValue)(); tolua_pushnumber(L, (lua_Number)returnVal); return 1; } @@ -38900,7 +40360,7 @@ static int tolua_function_Pointer_float__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(tolua_function_tonumber(L, 2, "setValue")); + (self->setValue)(tolua_function_tonumber(L, 2, "setValue")); return 0; } @@ -38924,7 +40384,7 @@ static int tolua_function_Pointer_CCallbackBase__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CCallbackBase*)tolua_tousertype_dynamic(L, 2, 0, "CCallbackBase")); + (self->setValue)(*(CCallbackBase*)tolua_tousertype_dynamic(L, 2, 0, "CCallbackBase")); return 0; } @@ -38948,7 +40408,7 @@ static int tolua_function_Pointer_ALCcontext_struct__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(ALCcontext_struct*)tolua_tousertype_dynamic(L, 2, 0, "ALCcontext_struct")); + (self->setValue)(*(ALCcontext_struct*)tolua_tousertype_dynamic(L, 2, 0, "ALCcontext_struct")); return 0; } @@ -38972,7 +40432,7 @@ static int tolua_function_Pointer_ALCdevice_struct__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(ALCdevice_struct*)tolua_tousertype_dynamic(L, 2, 0, "ALCdevice_struct")); + (self->setValue)(*(ALCdevice_struct*)tolua_tousertype_dynamic(L, 2, 0, "ALCdevice_struct")); return 0; } @@ -38996,7 +40456,7 @@ static int tolua_function_Pointer_CMusicPosition__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMusicPosition*)tolua_tousertype_dynamic(L, 2, 0, "CMusicPosition")); + (self->setValue)(*(CMusicPosition*)tolua_tousertype_dynamic(L, 2, 0, "CMusicPosition")); return 0; } @@ -39020,7 +40480,7 @@ static int tolua_function_Pointer_tagBITMAPFILEHEADER__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(tagBITMAPFILEHEADER*)tolua_tousertype_dynamic(L, 2, 0, "tagBITMAPFILEHEADER")); + (self->setValue)(*(tagBITMAPFILEHEADER*)tolua_tousertype_dynamic(L, 2, 0, "tagBITMAPFILEHEADER")); return 0; } @@ -39044,7 +40504,7 @@ static int tolua_function_Pointer_tagBITMAPINFOHEADER__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(tagBITMAPINFOHEADER*)tolua_tousertype_dynamic(L, 2, 0, "tagBITMAPINFOHEADER")); + (self->setValue)(*(tagBITMAPINFOHEADER*)tolua_tousertype_dynamic(L, 2, 0, "tagBITMAPINFOHEADER")); return 0; } @@ -39068,7 +40528,7 @@ static int tolua_function_Pointer_frameTableEntry_st__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(frameTableEntry_st*)tolua_tousertype_dynamic(L, 2, 0, "frameTableEntry_st")); + (self->setValue)(*(frameTableEntry_st*)tolua_tousertype_dynamic(L, 2, 0, "frameTableEntry_st")); return 0; } @@ -39092,7 +40552,7 @@ static int tolua_function_Pointer_SDL_PixelFormat__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(SDL_PixelFormat*)tolua_tousertype_dynamic(L, 2, 0, "SDL_PixelFormat")); + (self->setValue)(*(SDL_PixelFormat*)tolua_tousertype_dynamic(L, 2, 0, "SDL_PixelFormat")); return 0; } @@ -39116,7 +40576,7 @@ static int tolua_function_Pointer_SDL_BlitMap__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(SDL_BlitMap*)tolua_tousertype_dynamic(L, 2, 0, "SDL_BlitMap")); + (self->setValue)(*(SDL_BlitMap*)tolua_tousertype_dynamic(L, 2, 0, "SDL_BlitMap")); return 0; } @@ -39140,7 +40600,7 @@ static int tolua_function_Pointer_DP_Event__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(DP_Event*)tolua_tousertype_dynamic(L, 2, 0, "DP_Event")); + (self->setValue)(*(DP_Event*)tolua_tousertype_dynamic(L, 2, 0, "DP_Event")); return 0; } @@ -39164,7 +40624,7 @@ static int tolua_function_Pointer_unsigned___int64__getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - unsigned __int64 returnVal = self->getValue(); + unsigned __int64 returnVal = (self->getValue)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -39173,7 +40633,7 @@ static int tolua_function_Pointer_unsigned___int64__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(tolua_function_tointeger(L, 2, "setValue")); + (self->setValue)(tolua_function_tointeger(L, 2, "setValue")); return 0; } @@ -39197,7 +40657,7 @@ static int tolua_function_Pointer_CSteamID__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CSteamID*)tolua_tousertype_dynamic(L, 2, 0, "CSteamID")); + (self->setValue)(*(CSteamID*)tolua_tousertype_dynamic(L, 2, 0, "CSteamID")); return 0; } @@ -39221,7 +40681,7 @@ static int tolua_function_Pointer_SteamParamStringArray_t__setValue(lua_State* L { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(SteamParamStringArray_t*)tolua_tousertype_dynamic(L, 2, 0, "SteamParamStringArray_t")); + (self->setValue)(*(SteamParamStringArray_t*)tolua_tousertype_dynamic(L, 2, 0, "SteamParamStringArray_t")); return 0; } @@ -39245,7 +40705,7 @@ static int tolua_function_Pointer_SteamUGCDetails_t__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(SteamUGCDetails_t*)tolua_tousertype_dynamic(L, 2, 0, "SteamUGCDetails_t")); + (self->setValue)(*(SteamUGCDetails_t*)tolua_tousertype_dynamic(L, 2, 0, "SteamUGCDetails_t")); return 0; } @@ -39269,7 +40729,7 @@ static int tolua_function_Pointer_EItemPreviewType__getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - EItemPreviewType returnVal = self->getValue(); + EItemPreviewType returnVal = (self->getValue)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -39278,7 +40738,7 @@ static int tolua_function_Pointer_EItemPreviewType__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((EItemPreviewType)tolua_function_tointeger<__int32>(L, 2, "setValue")); + (self->setValue)((EItemPreviewType)tolua_function_tointeger<__int32>(L, 2, "setValue")); return 0; } @@ -39318,7 +40778,7 @@ static int tolua_function_Pointer_bool__getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - bool returnVal = self->getValue(); + bool returnVal = (self->getValue)(); tolua_pushboolean(L, (bool)returnVal); return 1; } @@ -39327,7 +40787,7 @@ static int tolua_function_Pointer_bool__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(tolua_function_toboolean(L, 2, "setValue")); + (self->setValue)(tolua_function_toboolean(L, 2, "setValue")); return 0; } @@ -39351,7 +40811,7 @@ static int tolua_function_Pointer_LeaderboardEntry_t__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(LeaderboardEntry_t*)tolua_tousertype_dynamic(L, 2, 0, "LeaderboardEntry_t")); + (self->setValue)(*(LeaderboardEntry_t*)tolua_tousertype_dynamic(L, 2, 0, "LeaderboardEntry_t")); return 0; } @@ -39375,7 +40835,7 @@ static int tolua_function_Pointer_const_int__getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - const int returnVal = self->getValue(); + const int returnVal = (self->getValue)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -39400,7 +40860,7 @@ static int tolua_function_Pointer_long_double__getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - long double returnVal = self->getValue(); + long double returnVal = (self->getValue)(); tolua_pushnumber(L, (lua_Number)returnVal); return 1; } @@ -39409,7 +40869,7 @@ static int tolua_function_Pointer_long_double__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(tolua_function_tonumber(L, 2, "setValue")); + (self->setValue)(tolua_function_tonumber(L, 2, "setValue")); return 0; } @@ -39433,7 +40893,7 @@ static int tolua_function_Pointer___int64__getValue(lua_State* L) { Pointer<__int64>* self = (Pointer<__int64>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer<__int64>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - __int64 returnVal = self->getValue(); + __int64 returnVal = (self->getValue)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -39442,7 +40902,7 @@ static int tolua_function_Pointer___int64__setValue(lua_State* L) { Pointer<__int64>* self = (Pointer<__int64>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer<__int64>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(tolua_function_tointeger<__int64>(L, 2, "setValue")); + (self->setValue)(tolua_function_tointeger<__int64>(L, 2, "setValue")); return 0; } @@ -39466,7 +40926,7 @@ static int tolua_function_Pointer_CVidPoly__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CVidPoly*)tolua_tousertype_dynamic(L, 2, 0, "CVidPoly")); + (self->setValue)(*(CVidPoly*)tolua_tousertype_dynamic(L, 2, 0, "CVidPoly")); return 0; } @@ -39490,7 +40950,7 @@ static int tolua_function_Pointer_bamHeader_st__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(bamHeader_st*)tolua_tousertype_dynamic(L, 2, 0, "bamHeader_st")); + (self->setValue)(*(bamHeader_st*)tolua_tousertype_dynamic(L, 2, 0, "bamHeader_st")); return 0; } @@ -39514,7 +40974,7 @@ static int tolua_function_Pointer_BAMHEADERV2__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(BAMHEADERV2*)tolua_tousertype_dynamic(L, 2, 0, "BAMHEADERV2")); + (self->setValue)(*(BAMHEADERV2*)tolua_tousertype_dynamic(L, 2, 0, "BAMHEADERV2")); return 0; } @@ -39538,7 +40998,7 @@ static int tolua_function_Pointer_MOSAICQUAD__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(MOSAICQUAD*)tolua_tousertype_dynamic(L, 2, 0, "MOSAICQUAD")); + (self->setValue)(*(MOSAICQUAD*)tolua_tousertype_dynamic(L, 2, 0, "MOSAICQUAD")); return 0; } @@ -39562,7 +41022,7 @@ static int tolua_function_Pointer_sequenceTableEntry_st__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(sequenceTableEntry_st*)tolua_tousertype_dynamic(L, 2, 0, "sequenceTableEntry_st")); + (self->setValue)(*(sequenceTableEntry_st*)tolua_tousertype_dynamic(L, 2, 0, "sequenceTableEntry_st")); return 0; } @@ -39586,7 +41046,7 @@ static int tolua_function_Pointer_SDL_Palette__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(SDL_Palette*)tolua_tousertype_dynamic(L, 2, 0, "SDL_Palette")); + (self->setValue)(*(SDL_Palette*)tolua_tousertype_dynamic(L, 2, 0, "SDL_Palette")); return 0; } @@ -39610,7 +41070,7 @@ static int tolua_function_Pointer_CVIDPOLY_VERTEX__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CVIDPOLY_VERTEX*)tolua_tousertype_dynamic(L, 2, 0, "CVIDPOLY_VERTEX")); + (self->setValue)(*(CVIDPOLY_VERTEX*)tolua_tousertype_dynamic(L, 2, 0, "CVIDPOLY_VERTEX")); return 0; } @@ -39634,7 +41094,7 @@ static int tolua_function_Pointer__EdgeDescription__setValue(lua_State* L) { Pointer<_EdgeDescription>* self = (Pointer<_EdgeDescription>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer<_EdgeDescription>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(_EdgeDescription*)tolua_tousertype_dynamic(L, 2, 0, "_EdgeDescription")); + (self->setValue)(*(_EdgeDescription*)tolua_tousertype_dynamic(L, 2, 0, "_EdgeDescription")); return 0; } @@ -39658,7 +41118,7 @@ static int tolua_function_Pointer_SDL_Color__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(SDL_Color*)tolua_tousertype_dynamic(L, 2, 0, "SDL_Color")); + (self->setValue)(*(SDL_Color*)tolua_tousertype_dynamic(L, 2, 0, "SDL_Color")); return 0; } @@ -39682,7 +41142,7 @@ static int tolua_function_Pointer_HWND____setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(HWND__*)tolua_tousertype_dynamic(L, 2, 0, "HWND__")); + (self->setValue)(*(HWND__*)tolua_tousertype_dynamic(L, 2, 0, "HWND__")); return 0; } @@ -39706,7 +41166,7 @@ static int tolua_function_Pointer_SDL_SysWMmsg__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(SDL_SysWMmsg*)tolua_tousertype_dynamic(L, 2, 0, "SDL_SysWMmsg")); + (self->setValue)(*(SDL_SysWMmsg*)tolua_tousertype_dynamic(L, 2, 0, "SDL_SysWMmsg")); return 0; } @@ -39730,7 +41190,7 @@ static int tolua_function_Pointer_CKeyInfo__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CKeyInfo*)tolua_tousertype_dynamic(L, 2, 0, "CKeyInfo")); + (self->setValue)(*(CKeyInfo*)tolua_tousertype_dynamic(L, 2, 0, "CKeyInfo")); return 0; } @@ -39754,7 +41214,7 @@ static int tolua_function_Pointer_WAV_Header__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(WAV_Header*)tolua_tousertype_dynamic(L, 2, 0, "WAV_Header")); + (self->setValue)(*(WAV_Header*)tolua_tousertype_dynamic(L, 2, 0, "WAV_Header")); return 0; } @@ -39778,7 +41238,7 @@ static int tolua_function_Pointer_CSound__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CSound*)tolua_tousertype_dynamic(L, 2, 0, "CSound")); + (self->setValue)(*(CSound*)tolua_tousertype_dynamic(L, 2, 0, "CSound")); return 0; } @@ -39802,7 +41262,7 @@ static int tolua_function_Pointer_CAIIdList__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CAIIdList*)tolua_tousertype_dynamic(L, 2, 0, "CAIIdList")); + (self->setValue)(*(CAIIdList*)tolua_tousertype_dynamic(L, 2, 0, "CAIIdList")); return 0; } @@ -39826,7 +41286,7 @@ static int tolua_function_Pointer_ResFixedHeader_st__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(ResFixedHeader_st*)tolua_tousertype_dynamic(L, 2, 0, "ResFixedHeader_st")); + (self->setValue)(*(ResFixedHeader_st*)tolua_tousertype_dynamic(L, 2, 0, "ResFixedHeader_st")); return 0; } @@ -39850,7 +41310,7 @@ static int tolua_function_Pointer_CResTileSet__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CResTileSet*)tolua_tousertype_dynamic(L, 2, 0, "CResTileSet")); + (self->setValue)(*(CResTileSet*)tolua_tousertype_dynamic(L, 2, 0, "CResTileSet")); return 0; } @@ -39874,7 +41334,7 @@ static int tolua_function_Pointer_CResPVR__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CResPVR*)tolua_tousertype_dynamic(L, 2, 0, "CResPVR")); + (self->setValue)(*(CResPVR*)tolua_tousertype_dynamic(L, 2, 0, "CResPVR")); return 0; } @@ -39898,7 +41358,7 @@ static int tolua_function_Pointer_CResTile__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CResTile*)tolua_tousertype_dynamic(L, 2, 0, "CResTile")); + (self->setValue)(*(CResTile*)tolua_tousertype_dynamic(L, 2, 0, "CResTile")); return 0; } @@ -39922,7 +41382,7 @@ static int tolua_function_Pointer_st_tiledef__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(st_tiledef*)tolua_tousertype_dynamic(L, 2, 0, "st_tiledef")); + (self->setValue)(*(st_tiledef*)tolua_tousertype_dynamic(L, 2, 0, "st_tiledef")); return 0; } @@ -39946,7 +41406,7 @@ static int tolua_function_Pointer_CResInfTile___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CResInfTile* returnVal = self->getValue(); + CResInfTile* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CResInfTile"); return 1; } @@ -39955,7 +41415,7 @@ static int tolua_function_Pointer_CResInfTile___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CResInfTile*)tolua_tousertype_dynamic(L, 2, 0, "CResInfTile")); + (self->setValue)((CResInfTile*)tolua_tousertype_dynamic(L, 2, 0, "CResInfTile")); return 0; } @@ -39979,7 +41439,7 @@ static int tolua_function_Pointer_CGameRemoteObjectListEntry__setValue(lua_State { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CGameRemoteObjectListEntry*)tolua_tousertype_dynamic(L, 2, 0, "CGameRemoteObjectListEntry")); + (self->setValue)(*(CGameRemoteObjectListEntry*)tolua_tousertype_dynamic(L, 2, 0, "CGameRemoteObjectListEntry")); return 0; } @@ -40003,7 +41463,7 @@ static int tolua_function_Pointer_CGameRemoteObjectControlChange__setValue(lua_S { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CGameRemoteObjectControlChange*)tolua_tousertype_dynamic(L, 2, 0, "CGameRemoteObjectControlChange")); + (self->setValue)(*(CGameRemoteObjectControlChange*)tolua_tousertype_dynamic(L, 2, 0, "CGameRemoteObjectControlChange")); return 0; } @@ -40027,7 +41487,7 @@ static int tolua_function_Pointer_CGameRemoteObjectDeletion__setValue(lua_State* { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CGameRemoteObjectDeletion*)tolua_tousertype_dynamic(L, 2, 0, "CGameRemoteObjectDeletion")); + (self->setValue)(*(CGameRemoteObjectDeletion*)tolua_tousertype_dynamic(L, 2, 0, "CGameRemoteObjectDeletion")); return 0; } @@ -40051,7 +41511,7 @@ static int tolua_function_Pointer_CGameRemoteObjectListEntry___getValue(lua_Stat { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CGameRemoteObjectListEntry* returnVal = self->getValue(); + CGameRemoteObjectListEntry* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CGameRemoteObjectListEntry"); return 1; } @@ -40060,7 +41520,7 @@ static int tolua_function_Pointer_CGameRemoteObjectListEntry___setValue(lua_Stat { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CGameRemoteObjectListEntry*)tolua_tousertype_dynamic(L, 2, 0, "CGameRemoteObjectListEntry")); + (self->setValue)((CGameRemoteObjectListEntry*)tolua_tousertype_dynamic(L, 2, 0, "CGameRemoteObjectListEntry")); return 0; } @@ -40084,7 +41544,7 @@ static int tolua_function_Pointer_WED_WedHeader_st__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(WED_WedHeader_st*)tolua_tousertype_dynamic(L, 2, 0, "WED_WedHeader_st")); + (self->setValue)(*(WED_WedHeader_st*)tolua_tousertype_dynamic(L, 2, 0, "WED_WedHeader_st")); return 0; } @@ -40108,7 +41568,7 @@ static int tolua_function_Pointer_WED_LayerHeader_st__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(WED_LayerHeader_st*)tolua_tousertype_dynamic(L, 2, 0, "WED_LayerHeader_st")); + (self->setValue)(*(WED_LayerHeader_st*)tolua_tousertype_dynamic(L, 2, 0, "WED_LayerHeader_st")); return 0; } @@ -40132,7 +41592,7 @@ static int tolua_function_Pointer_WED_PolyHeader_st__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(WED_PolyHeader_st*)tolua_tousertype_dynamic(L, 2, 0, "WED_PolyHeader_st")); + (self->setValue)(*(WED_PolyHeader_st*)tolua_tousertype_dynamic(L, 2, 0, "WED_PolyHeader_st")); return 0; } @@ -40156,7 +41616,7 @@ static int tolua_function_Pointer_WED_ScreenSectionList__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(WED_ScreenSectionList*)tolua_tousertype_dynamic(L, 2, 0, "WED_ScreenSectionList")); + (self->setValue)(*(WED_ScreenSectionList*)tolua_tousertype_dynamic(L, 2, 0, "WED_ScreenSectionList")); return 0; } @@ -40180,7 +41640,7 @@ static int tolua_function_Pointer_WED_PolyList_st__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(WED_PolyList_st*)tolua_tousertype_dynamic(L, 2, 0, "WED_PolyList_st")); + (self->setValue)(*(WED_PolyList_st*)tolua_tousertype_dynamic(L, 2, 0, "WED_PolyList_st")); return 0; } @@ -40204,7 +41664,7 @@ static int tolua_function_Pointer_WED_PolyPoint_st__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(WED_PolyPoint_st*)tolua_tousertype_dynamic(L, 2, 0, "WED_PolyPoint_st")); + (self->setValue)(*(WED_PolyPoint_st*)tolua_tousertype_dynamic(L, 2, 0, "WED_PolyPoint_st")); return 0; } @@ -40228,7 +41688,7 @@ static int tolua_function_Pointer_CGameJournalEntry__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CGameJournalEntry*)tolua_tousertype_dynamic(L, 2, 0, "CGameJournalEntry")); + (self->setValue)(*(CGameJournalEntry*)tolua_tousertype_dynamic(L, 2, 0, "CGameJournalEntry")); return 0; } @@ -40252,7 +41712,7 @@ static int tolua_function_Pointer_CTypedPtrList_CPtrList_CGameJournalEntry____se { Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CTypedPtrList*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList")); + (self->setValue)(*(CTypedPtrList*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList")); return 0; } @@ -40276,7 +41736,7 @@ static int tolua_function_Pointer_CWorldMapData__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CWorldMapData*)tolua_tousertype_dynamic(L, 2, 0, "CWorldMapData")); + (self->setValue)(*(CWorldMapData*)tolua_tousertype_dynamic(L, 2, 0, "CWorldMapData")); return 0; } @@ -40300,7 +41760,7 @@ static int tolua_function_Pointer_CWorldMapArea___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CWorldMapArea* returnVal = self->getValue(); + CWorldMapArea* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CWorldMapArea"); return 1; } @@ -40309,7 +41769,7 @@ static int tolua_function_Pointer_CWorldMapArea___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CWorldMapArea*)tolua_tousertype_dynamic(L, 2, 0, "CWorldMapArea")); + (self->setValue)((CWorldMapArea*)tolua_tousertype_dynamic(L, 2, 0, "CWorldMapArea")); return 0; } @@ -40333,7 +41793,7 @@ static int tolua_function_Pointer_CWorldMapLinks___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CWorldMapLinks* returnVal = self->getValue(); + CWorldMapLinks* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CWorldMapLinks"); return 1; } @@ -40342,7 +41802,7 @@ static int tolua_function_Pointer_CWorldMapLinks___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CWorldMapLinks*)tolua_tousertype_dynamic(L, 2, 0, "CWorldMapLinks")); + (self->setValue)((CWorldMapLinks*)tolua_tousertype_dynamic(L, 2, 0, "CWorldMapLinks")); return 0; } @@ -40366,7 +41826,7 @@ static int tolua_function_Pointer_CMoveListEntry__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMoveListEntry*)tolua_tousertype_dynamic(L, 2, 0, "CMoveListEntry")); + (self->setValue)(*(CMoveListEntry*)tolua_tousertype_dynamic(L, 2, 0, "CMoveListEntry")); return 0; } @@ -40390,7 +41850,7 @@ static int tolua_function_Pointer_CVVCHashEntry__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CVVCHashEntry*)tolua_tousertype_dynamic(L, 2, 0, "CVVCHashEntry")); + (self->setValue)(*(CVVCHashEntry*)tolua_tousertype_dynamic(L, 2, 0, "CVVCHashEntry")); return 0; } @@ -40414,7 +41874,7 @@ static int tolua_function_Pointer_CMemINISection__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMemINISection*)tolua_tousertype_dynamic(L, 2, 0, "CMemINISection")); + (self->setValue)(*(CMemINISection*)tolua_tousertype_dynamic(L, 2, 0, "CMemINISection")); return 0; } @@ -40438,7 +41898,7 @@ static int tolua_function_Pointer_CPathNode__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CPathNode*)tolua_tousertype_dynamic(L, 2, 0, "CPathNode")); + (self->setValue)(*(CPathNode*)tolua_tousertype_dynamic(L, 2, 0, "CPathNode")); return 0; } @@ -40462,7 +41922,7 @@ static int tolua_function_Pointer_CGameEffectUsability__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CGameEffectUsability*)tolua_tousertype_dynamic(L, 2, 0, "CGameEffectUsability")); + (self->setValue)(*(CGameEffectUsability*)tolua_tousertype_dynamic(L, 2, 0, "CGameEffectUsability")); return 0; } @@ -40486,7 +41946,7 @@ static int tolua_function_Pointer_CStoreFileItem__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CStoreFileItem*)tolua_tousertype_dynamic(L, 2, 0, "CStoreFileItem")); + (self->setValue)(*(CStoreFileItem*)tolua_tousertype_dynamic(L, 2, 0, "CStoreFileItem")); return 0; } @@ -40510,7 +41970,7 @@ static int tolua_function_Pointer_CStoreFileDrinks__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CStoreFileDrinks*)tolua_tousertype_dynamic(L, 2, 0, "CStoreFileDrinks")); + (self->setValue)(*(CStoreFileDrinks*)tolua_tousertype_dynamic(L, 2, 0, "CStoreFileDrinks")); return 0; } @@ -40534,7 +41994,7 @@ static int tolua_function_Pointer_CStoreFileSpell__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CStoreFileSpell*)tolua_tousertype_dynamic(L, 2, 0, "CStoreFileSpell")); + (self->setValue)(*(CStoreFileSpell*)tolua_tousertype_dynamic(L, 2, 0, "CStoreFileSpell")); return 0; } @@ -40558,7 +42018,7 @@ static int tolua_function_Pointer_CMemINIValue__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMemINIValue*)tolua_tousertype_dynamic(L, 2, 0, "CMemINIValue")); + (self->setValue)(*(CMemINIValue*)tolua_tousertype_dynamic(L, 2, 0, "CMemINIValue")); return 0; } @@ -40582,7 +42042,7 @@ static int tolua_function_Pointer_CSpawnList__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CSpawnList*)tolua_tousertype_dynamic(L, 2, 0, "CSpawnList")); + (self->setValue)(*(CSpawnList*)tolua_tousertype_dynamic(L, 2, 0, "CSpawnList")); return 0; } @@ -40606,7 +42066,7 @@ static int tolua_function_Pointer_Item_Header_st__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(Item_Header_st*)tolua_tousertype_dynamic(L, 2, 0, "Item_Header_st")); + (self->setValue)(*(Item_Header_st*)tolua_tousertype_dynamic(L, 2, 0, "Item_Header_st")); return 0; } @@ -40630,7 +42090,7 @@ static int tolua_function_Pointer_CSpawn__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CSpawn*)tolua_tousertype_dynamic(L, 2, 0, "CSpawn")); + (self->setValue)(*(CSpawn*)tolua_tousertype_dynamic(L, 2, 0, "CSpawn")); return 0; } @@ -40654,7 +42114,7 @@ static int tolua_function_Pointer_CSpawnVar__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CSpawnVar*)tolua_tousertype_dynamic(L, 2, 0, "CSpawnVar")); + (self->setValue)(*(CSpawnVar*)tolua_tousertype_dynamic(L, 2, 0, "CSpawnVar")); return 0; } @@ -40678,7 +42138,7 @@ static int tolua_function_Pointer_CException__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CException*)tolua_tousertype_dynamic(L, 2, 0, "CException")); + (self->setValue)(*(CException*)tolua_tousertype_dynamic(L, 2, 0, "CException")); return 0; } @@ -40702,7 +42162,7 @@ static int tolua_function_Pointer_CFile__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CFile*)tolua_tousertype_dynamic(L, 2, 0, "CFile")); + (self->setValue)(*(CFile*)tolua_tousertype_dynamic(L, 2, 0, "CFile")); return 0; } @@ -40726,7 +42186,7 @@ static int tolua_function_Pointer_CFileException__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CFileException*)tolua_tousertype_dynamic(L, 2, 0, "CFileException")); + (self->setValue)(*(CFileException*)tolua_tousertype_dynamic(L, 2, 0, "CFileException")); return 0; } @@ -40750,7 +42210,7 @@ static int tolua_function_Pointer_CBaldurEngine__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CBaldurEngine*)tolua_tousertype_dynamic(L, 2, 0, "EEex_CBaldurEngine")); + (self->setValue)(*(CBaldurEngine*)tolua_tousertype_dynamic(L, 2, 0, "EEex_CBaldurEngine")); return 0; } @@ -40774,7 +42234,7 @@ static int tolua_function_Pointer_CResWebm__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CResWebm*)tolua_tousertype_dynamic(L, 2, 0, "CResWebm")); + (self->setValue)(*(CResWebm*)tolua_tousertype_dynamic(L, 2, 0, "CResWebm")); return 0; } @@ -40798,7 +42258,7 @@ static int tolua_function_Pointer_CStringList__CNode__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CStringList::CNode*)tolua_tousertype_dynamic(L, 2, 0, "CStringList::CNode")); + (self->setValue)(*(CStringList::CNode*)tolua_tousertype_dynamic(L, 2, 0, "CStringList::CNode")); return 0; } @@ -40822,7 +42282,7 @@ static int tolua_function_Pointer_CWeaponIdentification__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CWeaponIdentification*)tolua_tousertype_dynamic(L, 2, 0, "CWeaponIdentification")); + (self->setValue)(*(CWeaponIdentification*)tolua_tousertype_dynamic(L, 2, 0, "CWeaponIdentification")); return 0; } @@ -40846,7 +42306,7 @@ static int tolua_function_Pointer_CSelectiveBonus__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CSelectiveBonus*)tolua_tousertype_dynamic(L, 2, 0, "CSelectiveBonus")); + (self->setValue)(*(CSelectiveBonus*)tolua_tousertype_dynamic(L, 2, 0, "CSelectiveBonus")); return 0; } @@ -40870,7 +42330,7 @@ static int tolua_function_Pointer_CImmunitiesItemEquip__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CImmunitiesItemEquip*)tolua_tousertype_dynamic(L, 2, 0, "CImmunitiesItemEquip")); + (self->setValue)(*(CImmunitiesItemEquip*)tolua_tousertype_dynamic(L, 2, 0, "CImmunitiesItemEquip")); return 0; } @@ -40894,7 +42354,7 @@ static int tolua_function_Pointer_CImmunitiesItemTypeEquip__setValue(lua_State* { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CImmunitiesItemTypeEquip*)tolua_tousertype_dynamic(L, 2, 0, "CImmunitiesItemTypeEquip")); + (self->setValue)(*(CImmunitiesItemTypeEquip*)tolua_tousertype_dynamic(L, 2, 0, "CImmunitiesItemTypeEquip")); return 0; } @@ -40918,7 +42378,7 @@ static int tolua_function_Pointer_CImmunitySpell__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CImmunitySpell*)tolua_tousertype_dynamic(L, 2, 0, "CImmunitySpell")); + (self->setValue)(*(CImmunitySpell*)tolua_tousertype_dynamic(L, 2, 0, "CImmunitySpell")); return 0; } @@ -40942,7 +42402,7 @@ static int tolua_function_Pointer_CSchoolAndSecondaryDecrementing__setValue(lua_ { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CSchoolAndSecondaryDecrementing*)tolua_tousertype_dynamic(L, 2, 0, "CSchoolAndSecondaryDecrementing")); + (self->setValue)(*(CSchoolAndSecondaryDecrementing*)tolua_tousertype_dynamic(L, 2, 0, "CSchoolAndSecondaryDecrementing")); return 0; } @@ -40966,7 +42426,7 @@ static int tolua_function_Pointer_CPersistantEffect__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CPersistantEffect*)tolua_tousertype_dynamic(L, 2, 0, "CPersistantEffect")); + (self->setValue)(*(CPersistantEffect*)tolua_tousertype_dynamic(L, 2, 0, "CPersistantEffect")); return 0; } @@ -40990,7 +42450,7 @@ static int tolua_function_Pointer_CColorRange__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CColorRange*)tolua_tousertype_dynamic(L, 2, 0, "CColorRange")); + (self->setValue)(*(CColorRange*)tolua_tousertype_dynamic(L, 2, 0, "CColorRange")); return 0; } @@ -41014,7 +42474,7 @@ static int tolua_function_Pointer_CColorEffect__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CColorEffect*)tolua_tousertype_dynamic(L, 2, 0, "CColorEffect")); + (self->setValue)(*(CColorEffect*)tolua_tousertype_dynamic(L, 2, 0, "CColorEffect")); return 0; } @@ -41038,7 +42498,7 @@ static int tolua_function_Pointer_CSelectiveWeaponType__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CSelectiveWeaponType*)tolua_tousertype_dynamic(L, 2, 0, "CSelectiveWeaponType")); + (self->setValue)(*(CSelectiveWeaponType*)tolua_tousertype_dynamic(L, 2, 0, "CSelectiveWeaponType")); return 0; } @@ -41062,7 +42522,7 @@ static int tolua_function_Pointer_CCriticalEntry__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CCriticalEntry*)tolua_tousertype_dynamic(L, 2, 0, "CCriticalEntry")); + (self->setValue)(*(CCriticalEntry*)tolua_tousertype_dynamic(L, 2, 0, "CCriticalEntry")); return 0; } @@ -41086,7 +42546,7 @@ static int tolua_function_Pointer_CCreatureFileHeader__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CCreatureFileHeader*)tolua_tousertype_dynamic(L, 2, 0, "CCreatureFileHeader")); + (self->setValue)(*(CCreatureFileHeader*)tolua_tousertype_dynamic(L, 2, 0, "CCreatureFileHeader")); return 0; } @@ -41110,7 +42570,7 @@ static int tolua_function_Pointer_CGameFile__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CGameFile*)tolua_tousertype_dynamic(L, 2, 0, "CGameFile")); + (self->setValue)(*(CGameFile*)tolua_tousertype_dynamic(L, 2, 0, "CGameFile")); return 0; } @@ -41134,7 +42594,7 @@ static int tolua_function_Pointer_CSavedGamePartyCreature__setValue(lua_State* L { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CSavedGamePartyCreature*)tolua_tousertype_dynamic(L, 2, 0, "CSavedGamePartyCreature")); + (self->setValue)(*(CSavedGamePartyCreature*)tolua_tousertype_dynamic(L, 2, 0, "CSavedGamePartyCreature")); return 0; } @@ -41158,7 +42618,7 @@ static int tolua_function_Pointer_CAbilityData__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CAbilityData*)tolua_tousertype_dynamic(L, 2, 0, "CAbilityData")); + (self->setValue)(*(CAbilityData*)tolua_tousertype_dynamic(L, 2, 0, "CAbilityData")); return 0; } @@ -41182,7 +42642,7 @@ static int tolua_function_Pointer_CGameAbilityList__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CGameAbilityList*)tolua_tousertype_dynamic(L, 2, 0, "CGameAbilityList")); + (self->setValue)(*(CGameAbilityList*)tolua_tousertype_dynamic(L, 2, 0, "CGameAbilityList")); return 0; } @@ -41206,7 +42666,7 @@ static int tolua_function_Pointer_CSaveGameSlot__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CSaveGameSlot*)tolua_tousertype_dynamic(L, 2, 0, "CSaveGameSlot")); + (self->setValue)(*(CSaveGameSlot*)tolua_tousertype_dynamic(L, 2, 0, "CSaveGameSlot")); return 0; } @@ -41230,7 +42690,7 @@ static int tolua_function_Pointer_MOSAICHEADERV2__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(MOSAICHEADERV2*)tolua_tousertype_dynamic(L, 2, 0, "MOSAICHEADERV2")); + (self->setValue)(*(MOSAICHEADERV2*)tolua_tousertype_dynamic(L, 2, 0, "MOSAICHEADERV2")); return 0; } @@ -41254,7 +42714,7 @@ static int tolua_function_Pointer_mosHeader_st__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(mosHeader_st*)tolua_tousertype_dynamic(L, 2, 0, "mosHeader_st")); + (self->setValue)(*(mosHeader_st*)tolua_tousertype_dynamic(L, 2, 0, "mosHeader_st")); return 0; } @@ -41278,7 +42738,7 @@ static int tolua_function_Pointer_CGameOptions__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CGameOptions*)tolua_tousertype_dynamic(L, 2, 0, "EEex_CGameOptions")); + (self->setValue)(*(CGameOptions*)tolua_tousertype_dynamic(L, 2, 0, "EEex_CGameOptions")); return 0; } @@ -41302,7 +42762,7 @@ static int tolua_function_Pointer_CSnowFlake__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CSnowFlake*)tolua_tousertype_dynamic(L, 2, 0, "CSnowFlake")); + (self->setValue)(*(CSnowFlake*)tolua_tousertype_dynamic(L, 2, 0, "CSnowFlake")); return 0; } @@ -41326,7 +42786,7 @@ static int tolua_function_Pointer_CRainDrop__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CRainDrop*)tolua_tousertype_dynamic(L, 2, 0, "CRainDrop")); + (self->setValue)(*(CRainDrop*)tolua_tousertype_dynamic(L, 2, 0, "CRainDrop")); return 0; } @@ -41350,7 +42810,7 @@ static int tolua_function_Pointer_unsigned_long__getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - unsigned long returnVal = self->getValue(); + unsigned long returnVal = (self->getValue)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -41359,7 +42819,7 @@ static int tolua_function_Pointer_unsigned_long__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(tolua_function_tointeger(L, 2, "setValue")); + (self->setValue)(tolua_function_tointeger(L, 2, "setValue")); return 0; } @@ -41383,7 +42843,7 @@ static int tolua_function_Pointer_CList_unsigned_long_unsigned_long____setValue( { Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CList*)tolua_tousertype_dynamic(L, 2, 0, "CList")); + (self->setValue)(*(CList*)tolua_tousertype_dynamic(L, 2, 0, "CList")); return 0; } @@ -41407,7 +42867,7 @@ static int tolua_function_Pointer_CUIControlTextDisplay__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CUIControlTextDisplay*)tolua_tousertype_dynamic(L, 2, 0, "CUIControlTextDisplay")); + (self->setValue)(*(CUIControlTextDisplay*)tolua_tousertype_dynamic(L, 2, 0, "CUIControlTextDisplay")); return 0; } @@ -41431,7 +42891,7 @@ static int tolua_function_Pointer_CMapStringToString__CAssoc__setValue(lua_State { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMapStringToString::CAssoc*)tolua_tousertype_dynamic(L, 2, 0, "CMapStringToString::CAssoc")); + (self->setValue)(*(CMapStringToString::CAssoc*)tolua_tousertype_dynamic(L, 2, 0, "CMapStringToString::CAssoc")); return 0; } @@ -41455,7 +42915,7 @@ static int tolua_function_Pointer_CMapStringToString__CAssoc___getValue(lua_Stat { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CMapStringToString::CAssoc* returnVal = self->getValue(); + CMapStringToString::CAssoc* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CMapStringToString::CAssoc"); return 1; } @@ -41464,7 +42924,7 @@ static int tolua_function_Pointer_CMapStringToString__CAssoc___setValue(lua_Stat { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CMapStringToString::CAssoc*)tolua_tousertype_dynamic(L, 2, 0, "CMapStringToString::CAssoc")); + (self->setValue)((CMapStringToString::CAssoc*)tolua_tousertype_dynamic(L, 2, 0, "CMapStringToString::CAssoc")); return 0; } @@ -41488,7 +42948,7 @@ static int tolua_function_Pointer_CAIScript___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CAIScript* returnVal = self->getValue(); + CAIScript* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CAIScript"); return 1; } @@ -41497,7 +42957,7 @@ static int tolua_function_Pointer_CAIScript___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CAIScript*)tolua_tousertype_dynamic(L, 2, 0, "CAIScript")); + (self->setValue)((CAIScript*)tolua_tousertype_dynamic(L, 2, 0, "CAIScript")); return 0; } @@ -41521,7 +42981,7 @@ static int tolua_function_Pointer_CSpawnPoint__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CSpawnPoint*)tolua_tousertype_dynamic(L, 2, 0, "CSpawnPoint")); + (self->setValue)(*(CSpawnPoint*)tolua_tousertype_dynamic(L, 2, 0, "CSpawnPoint")); return 0; } @@ -41545,7 +43005,7 @@ static int tolua_function_Pointer_CSpawnPointVar__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CSpawnPointVar*)tolua_tousertype_dynamic(L, 2, 0, "CSpawnPointVar")); + (self->setValue)(*(CSpawnPointVar*)tolua_tousertype_dynamic(L, 2, 0, "CSpawnPointVar")); return 0; } @@ -41569,7 +43029,7 @@ static int tolua_function_Pointer_CGameAnimationType__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CGameAnimationType*)tolua_tousertype_dynamic(L, 2, 0, "CGameAnimationType")); + (self->setValue)(*(CGameAnimationType*)tolua_tousertype_dynamic(L, 2, 0, "CGameAnimationType")); return 0; } @@ -41593,7 +43053,7 @@ static int tolua_function_Pointer_CBounceEntry__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CBounceEntry*)tolua_tousertype_dynamic(L, 2, 0, "CBounceEntry")); + (self->setValue)(*(CBounceEntry*)tolua_tousertype_dynamic(L, 2, 0, "CBounceEntry")); return 0; } @@ -41617,7 +43077,7 @@ static int tolua_function_Pointer_CSequenceSound__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CSequenceSound*)tolua_tousertype_dynamic(L, 2, 0, "CSequenceSound")); + (self->setValue)(*(CSequenceSound*)tolua_tousertype_dynamic(L, 2, 0, "CSequenceSound")); return 0; } @@ -41641,7 +43101,7 @@ static int tolua_function_Pointer_const_unsigned___int16__getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - const unsigned __int16 returnVal = self->getValue(); + const unsigned __int16 returnVal = (self->getValue)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -41666,7 +43126,7 @@ static int tolua_function_Pointer_CVidPalette__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CVidPalette*)tolua_tousertype_dynamic(L, 2, 0, "CVidPalette")); + (self->setValue)(*(CVidPalette*)tolua_tousertype_dynamic(L, 2, 0, "CVidPalette")); return 0; } @@ -41690,7 +43150,7 @@ static int tolua_function_Pointer_CInfinity__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CInfinity*)tolua_tousertype_dynamic(L, 2, 0, "CInfinity")); + (self->setValue)(*(CInfinity*)tolua_tousertype_dynamic(L, 2, 0, "CInfinity")); return 0; } @@ -41714,7 +43174,7 @@ static int tolua_function_Pointer___int16__getValue(lua_State* L) { Pointer<__int16>* self = (Pointer<__int16>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer<__int16>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - __int16 returnVal = self->getValue(); + __int16 returnVal = (self->getValue)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -41723,7 +43183,7 @@ static int tolua_function_Pointer___int16__setValue(lua_State* L) { Pointer<__int16>* self = (Pointer<__int16>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer<__int16>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(tolua_function_tointeger<__int16>(L, 2, "setValue")); + (self->setValue)(tolua_function_tointeger<__int16>(L, 2, "setValue")); return 0; } @@ -41747,7 +43207,7 @@ static int tolua_function_Pointer_Spell_ability_st__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(Spell_ability_st*)tolua_tousertype_dynamic(L, 2, 0, "Spell_ability_st")); + (self->setValue)(*(Spell_ability_st*)tolua_tousertype_dynamic(L, 2, 0, "Spell_ability_st")); return 0; } @@ -41771,7 +43231,7 @@ static int tolua_function_Pointer_Spell_Header_st__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(Spell_Header_st*)tolua_tousertype_dynamic(L, 2, 0, "Spell_Header_st")); + (self->setValue)(*(Spell_Header_st*)tolua_tousertype_dynamic(L, 2, 0, "Spell_Header_st")); return 0; } @@ -41795,7 +43255,7 @@ static int tolua_function_Pointer_CGameSprite___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CGameSprite* returnVal = self->getValue(); + CGameSprite* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CGameSprite"); return 1; } @@ -41804,7 +43264,7 @@ static int tolua_function_Pointer_CGameSprite___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CGameSprite*)tolua_tousertype_dynamic(L, 2, 0, "CGameSprite")); + (self->setValue)((CGameSprite*)tolua_tousertype_dynamic(L, 2, 0, "CGameSprite")); return 0; } @@ -41828,7 +43288,7 @@ static int tolua_function_Pointer_CAreaFileProjectileObject__setValue(lua_State* { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CAreaFileProjectileObject*)tolua_tousertype_dynamic(L, 2, 0, "CAreaFileProjectileObject")); + (self->setValue)(*(CAreaFileProjectileObject*)tolua_tousertype_dynamic(L, 2, 0, "CAreaFileProjectileObject")); return 0; } @@ -41852,7 +43312,7 @@ static int tolua_function_Pointer_SProjectileWrapper__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(SProjectileWrapper*)tolua_tousertype_dynamic(L, 2, 0, "SProjectileWrapper")); + (self->setValue)(*(SProjectileWrapper*)tolua_tousertype_dynamic(L, 2, 0, "SProjectileWrapper")); return 0; } @@ -41876,7 +43336,7 @@ static int tolua_function_Pointer_CItem___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CItem* returnVal = self->getValue(); + CItem* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CItem"); return 1; } @@ -41885,7 +43345,7 @@ static int tolua_function_Pointer_CItem___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CItem*)tolua_tousertype_dynamic(L, 2, 0, "CItem")); + (self->setValue)((CItem*)tolua_tousertype_dynamic(L, 2, 0, "CItem")); return 0; } @@ -41909,7 +43369,7 @@ static int tolua_function_Pointer_CGameContainer__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CGameContainer*)tolua_tousertype_dynamic(L, 2, 0, "CGameContainer")); + (self->setValue)(*(CGameContainer*)tolua_tousertype_dynamic(L, 2, 0, "CGameContainer")); return 0; } @@ -41933,7 +43393,7 @@ static int tolua_function_Pointer_CParticle__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CParticle*)tolua_tousertype_dynamic(L, 2, 0, "CParticle")); + (self->setValue)(*(CParticle*)tolua_tousertype_dynamic(L, 2, 0, "CParticle")); return 0; } @@ -41957,7 +43417,7 @@ static int tolua_function_Pointer_CProjectileBAM__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CProjectileBAM*)tolua_tousertype_dynamic(L, 2, 0, "CProjectileBAM")); + (self->setValue)(*(CProjectileBAM*)tolua_tousertype_dynamic(L, 2, 0, "CProjectileBAM")); return 0; } @@ -41981,7 +43441,7 @@ static int tolua_function_Pointer_CGameDialogReply__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CGameDialogReply*)tolua_tousertype_dynamic(L, 2, 0, "CGameDialogReply")); + (self->setValue)(*(CGameDialogReply*)tolua_tousertype_dynamic(L, 2, 0, "CGameDialogReply")); return 0; } @@ -42005,7 +43465,7 @@ static int tolua_function_Pointer_CGameTrigger__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CGameTrigger*)tolua_tousertype_dynamic(L, 2, 0, "CGameTrigger")); + (self->setValue)(*(CGameTrigger*)tolua_tousertype_dynamic(L, 2, 0, "CGameTrigger")); return 0; } @@ -42029,7 +43489,7 @@ static int tolua_function_Pointer_CAreaFileContainer__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CAreaFileContainer*)tolua_tousertype_dynamic(L, 2, 0, "CAreaFileContainer")); + (self->setValue)(*(CAreaFileContainer*)tolua_tousertype_dynamic(L, 2, 0, "CAreaFileContainer")); return 0; } @@ -42053,7 +43513,7 @@ static int tolua_function_Pointer_CCreatureFileItem__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CCreatureFileItem*)tolua_tousertype_dynamic(L, 2, 0, "CCreatureFileItem")); + (self->setValue)(*(CCreatureFileItem*)tolua_tousertype_dynamic(L, 2, 0, "CCreatureFileItem")); return 0; } @@ -42077,7 +43537,7 @@ static int tolua_function_Pointer_CAreaPoint__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CAreaPoint*)tolua_tousertype_dynamic(L, 2, 0, "CAreaPoint")); + (self->setValue)(*(CAreaPoint*)tolua_tousertype_dynamic(L, 2, 0, "CAreaPoint")); return 0; } @@ -42101,7 +43561,7 @@ static int tolua_function_Pointer_uiColumn__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(uiColumn*)tolua_tousertype_dynamic(L, 2, 0, "uiColumn")); + (self->setValue)(*(uiColumn*)tolua_tousertype_dynamic(L, 2, 0, "uiColumn")); return 0; } @@ -42125,7 +43585,7 @@ static int tolua_function_Pointer_CProjectileSegment__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CProjectileSegment*)tolua_tousertype_dynamic(L, 2, 0, "CProjectileSegment")); + (self->setValue)(*(CProjectileSegment*)tolua_tousertype_dynamic(L, 2, 0, "CProjectileSegment")); return 0; } @@ -42149,7 +43609,7 @@ static int tolua_function_Pointer_CProjectileNewScorcher__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CProjectileNewScorcher*)tolua_tousertype_dynamic(L, 2, 0, "CProjectileNewScorcher")); + (self->setValue)(*(CProjectileNewScorcher*)tolua_tousertype_dynamic(L, 2, 0, "CProjectileNewScorcher")); return 0; } @@ -42173,7 +43633,7 @@ static int tolua_function_Pointer_UI_Header_st__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(UI_Header_st*)tolua_tousertype_dynamic(L, 2, 0, "UI_Header_st")); + (self->setValue)(*(UI_Header_st*)tolua_tousertype_dynamic(L, 2, 0, "UI_Header_st")); return 0; } @@ -42197,7 +43657,7 @@ static int tolua_function_Pointer_UI_PanelHeader_st__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(UI_PanelHeader_st*)tolua_tousertype_dynamic(L, 2, 0, "UI_PanelHeader_st")); + (self->setValue)(*(UI_PanelHeader_st*)tolua_tousertype_dynamic(L, 2, 0, "UI_PanelHeader_st")); return 0; } @@ -42221,7 +43681,7 @@ static int tolua_function_Pointer_UI_ControlTableEntry_st__setValue(lua_State* L { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(UI_ControlTableEntry_st*)tolua_tousertype_dynamic(L, 2, 0, "UI_ControlTableEntry_st")); + (self->setValue)(*(UI_ControlTableEntry_st*)tolua_tousertype_dynamic(L, 2, 0, "UI_ControlTableEntry_st")); return 0; } @@ -42245,7 +43705,39 @@ static int tolua_function_Pointer_PLTHeader_st__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(PLTHeader_st*)tolua_tousertype_dynamic(L, 2, 0, "PLTHeader_st")); + (self->setValue)(*(PLTHeader_st*)tolua_tousertype_dynamic(L, 2, 0, "PLTHeader_st")); + return 0; +} + +static int tolua_get_Pointer_const_SDL_MessageBoxButtonData__reference(lua_State* L) +{ + Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'reference'", NULL); + tolua_pushusertype(L, (void*)self->reference, "SDL_MessageBoxButtonData"); + return 1; +} + +static int tolua_set_Pointer_const_SDL_MessageBoxButtonData__reference(lua_State* L) +{ + Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'reference'", NULL); + self->reference = (const SDL_MessageBoxButtonData*)tolua_tousertype_dynamic(L, 2, 0, "SDL_MessageBoxButtonData"); + return 0; +} + +static int tolua_get_Pointer_const_SDL_MessageBoxColorScheme__reference(lua_State* L) +{ + Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'reference'", NULL); + tolua_pushusertype(L, (void*)self->reference, "SDL_MessageBoxColorScheme"); + return 1; +} + +static int tolua_set_Pointer_const_SDL_MessageBoxColorScheme__reference(lua_State* L) +{ + Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'reference'", NULL); + self->reference = (const SDL_MessageBoxColorScheme*)tolua_tousertype_dynamic(L, 2, 0, "SDL_MessageBoxColorScheme"); return 0; } @@ -42269,7 +43761,7 @@ static int tolua_function_Pointer_CTimer__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CTimer*)tolua_tousertype_dynamic(L, 2, 0, "CTimer")); + (self->setValue)(*(CTimer*)tolua_tousertype_dynamic(L, 2, 0, "CTimer")); return 0; } @@ -42293,10 +43785,219 @@ static int tolua_function_Pointer_CProjectileMushroom__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CProjectileMushroom*)tolua_tousertype_dynamic(L, 2, 0, "CProjectileMushroom")); + (self->setValue)(*(CProjectileMushroom*)tolua_tousertype_dynamic(L, 2, 0, "CProjectileMushroom")); return 0; } +static int tolua_get_Pointer_HDC____reference(lua_State* L) +{ + Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'reference'", NULL); + tolua_pushusertype(L, (void*)self->reference, "HDC__"); + return 1; +} + +static int tolua_set_Pointer_HDC____reference(lua_State* L) +{ + Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'reference'", NULL); + self->reference = (HDC__*)tolua_tousertype_dynamic(L, 2, 0, "HDC__"); + return 0; +} + +static int tolua_function_Pointer_HDC____setValue(lua_State* L) +{ + Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); + (self->setValue)(*(HDC__*)tolua_tousertype_dynamic(L, 2, 0, "HDC__")); + return 0; +} + +static int tolua_get_Pointer_SDL_WindowShapeMode__reference(lua_State* L) +{ + Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'reference'", NULL); + tolua_pushusertype(L, (void*)self->reference, "SDL_WindowShapeMode"); + return 1; +} + +static int tolua_set_Pointer_SDL_WindowShapeMode__reference(lua_State* L) +{ + Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'reference'", NULL); + self->reference = (SDL_WindowShapeMode*)tolua_tousertype_dynamic(L, 2, 0, "SDL_WindowShapeMode"); + return 0; +} + +static int tolua_function_Pointer_SDL_WindowShapeMode__setValue(lua_State* L) +{ + Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); + (self->setValue)(*(SDL_WindowShapeMode*)tolua_tousertype_dynamic(L, 2, 0, "SDL_WindowShapeMode")); + return 0; +} + +static int tolua_get_Pointer_SDL_SysWMinfo__reference(lua_State* L) +{ + Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'reference'", NULL); + tolua_pushusertype(L, (void*)self->reference, "SDL_SysWMinfo"); + return 1; +} + +static int tolua_set_Pointer_SDL_SysWMinfo__reference(lua_State* L) +{ + Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'reference'", NULL); + self->reference = (SDL_SysWMinfo*)tolua_tousertype_dynamic(L, 2, 0, "SDL_SysWMinfo"); + return 0; +} + +static int tolua_function_Pointer_SDL_SysWMinfo__setValue(lua_State* L) +{ + Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); + (self->setValue)(*(SDL_SysWMinfo*)tolua_tousertype_dynamic(L, 2, 0, "SDL_SysWMinfo")); + return 0; +} + +static int tolua_get_Pointer_const_SDL_MessageBoxData__reference(lua_State* L) +{ + Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'reference'", NULL); + tolua_pushusertype(L, (void*)self->reference, "SDL_MessageBoxData"); + return 1; +} + +static int tolua_set_Pointer_const_SDL_MessageBoxData__reference(lua_State* L) +{ + Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'reference'", NULL); + self->reference = (const SDL_MessageBoxData*)tolua_tousertype_dynamic(L, 2, 0, "SDL_MessageBoxData"); + return 0; +} + +static int tolua_get_Pointer_SDL_GLDriverData__reference(lua_State* L) +{ + Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'reference'", NULL); + tolua_pushusertype(L, (void*)self->reference, "SDL_GLDriverData"); + return 1; +} + +static int tolua_set_Pointer_SDL_GLDriverData__reference(lua_State* L) +{ + Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'reference'", NULL); + self->reference = (SDL_GLDriverData*)tolua_tousertype_dynamic(L, 2, 0, "SDL_GLDriverData"); + return 0; +} + +static int tolua_function_Pointer_SDL_GLDriverData__setValue(lua_State* L) +{ + Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); + (self->setValue)(*(SDL_GLDriverData*)tolua_tousertype_dynamic(L, 2, 0, "SDL_GLDriverData")); + return 0; +} + +static int tolua_get_Pointer_SDL_EGL_VideoData__reference(lua_State* L) +{ + Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'reference'", NULL); + tolua_pushusertype(L, (void*)self->reference, "SDL_EGL_VideoData"); + return 1; +} + +static int tolua_set_Pointer_SDL_EGL_VideoData__reference(lua_State* L) +{ + Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'reference'", NULL); + self->reference = (SDL_EGL_VideoData*)tolua_tousertype_dynamic(L, 2, 0, "SDL_EGL_VideoData"); + return 0; +} + +static int tolua_function_Pointer_SDL_EGL_VideoData__setValue(lua_State* L) +{ + Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); + (self->setValue)(*(SDL_EGL_VideoData*)tolua_tousertype_dynamic(L, 2, 0, "SDL_EGL_VideoData")); + return 0; +} + +static int tolua_get_Pointer_SDL_PrivateGLESData__reference(lua_State* L) +{ + Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'reference'", NULL); + tolua_pushusertype(L, (void*)self->reference, "SDL_PrivateGLESData"); + return 1; +} + +static int tolua_set_Pointer_SDL_PrivateGLESData__reference(lua_State* L) +{ + Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'reference'", NULL); + self->reference = (SDL_PrivateGLESData*)tolua_tousertype_dynamic(L, 2, 0, "SDL_PrivateGLESData"); + return 0; +} + +static int tolua_function_Pointer_SDL_PrivateGLESData__setValue(lua_State* L) +{ + Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); + (self->setValue)(*(SDL_PrivateGLESData*)tolua_tousertype_dynamic(L, 2, 0, "SDL_PrivateGLESData")); + return 0; +} + +static int tolua_get_Pointer_HGLRC____reference(lua_State* L) +{ + Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'reference'", NULL); + tolua_pushusertype(L, (void*)self->reference, "HGLRC__"); + return 1; +} + +static int tolua_set_Pointer_HGLRC____reference(lua_State* L) +{ + Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'reference'", NULL); + self->reference = (HGLRC__*)tolua_tousertype_dynamic(L, 2, 0, "HGLRC__"); + return 0; +} + +static int tolua_function_Pointer_HGLRC____setValue(lua_State* L) +{ + Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); + (self->setValue)(*(HGLRC__*)tolua_tousertype_dynamic(L, 2, 0, "HGLRC__")); + return 0; +} + +static int tolua_get_Pointer_const_float__reference(lua_State* L) +{ + Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'reference'", NULL); + tolua_pushusertype(L, (void*)self->reference, "Primitive"); + return 1; +} + +static int tolua_set_Pointer_const_float__reference(lua_State* L) +{ + Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'reference'", NULL); + self->reference = (const float*)tolua_tousertype_dynamic(L, 2, 0, "Primitive"); + return 0; +} + +static int tolua_function_Pointer_const_float__getValue(lua_State* L) +{ + Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); + const float returnVal = (self->getValue)(); + tolua_pushnumber(L, (lua_Number)returnVal); + return 1; +} + static int tolua_get_Pointer_VariableArray_CString___reference(lua_State* L) { Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); @@ -42317,7 +44018,7 @@ static int tolua_function_Pointer_VariableArray_CString___setValue(lua_State* L) { Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(VariableArray*)tolua_tousertype_dynamic(L, 2, 0, "VariableArray")); + (self->setValue)(*(VariableArray*)tolua_tousertype_dynamic(L, 2, 0, "VariableArray")); return 0; } @@ -42341,7 +44042,7 @@ static int tolua_function_Pointer_VariableArray_CAIId____setValue(lua_State* L) { Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(VariableArray*)tolua_tousertype_dynamic(L, 2, 0, "VariableArray")); + (self->setValue)(*(VariableArray*)tolua_tousertype_dynamic(L, 2, 0, "VariableArray")); return 0; } @@ -42365,7 +44066,7 @@ static int tolua_function_Pointer_VariableArray_int___setValue(lua_State* L) { Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(VariableArray*)tolua_tousertype_dynamic(L, 2, 0, "VariableArray")); + (self->setValue)(*(VariableArray*)tolua_tousertype_dynamic(L, 2, 0, "VariableArray")); return 0; } @@ -42389,7 +44090,7 @@ static int tolua_function_Pointer_CTypedPtrList_CPtrList_long___CNode__setValue( { Pointer::CNode>* self = (Pointer::CNode>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer::CNode>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::CNode")); + (self->setValue)(*(CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::CNode")); return 0; } @@ -42413,7 +44114,7 @@ static int tolua_function_Pointer_VariableArray_void____setValue(lua_State* L) { Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(VariableArray*)tolua_tousertype_dynamic(L, 2, 0, "VariableArray")); + (self->setValue)(*(VariableArray*)tolua_tousertype_dynamic(L, 2, 0, "VariableArray")); return 0; } @@ -42437,7 +44138,7 @@ static int tolua_function_Pointer_CScreenStoreItem__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CScreenStoreItem*)tolua_tousertype_dynamic(L, 2, 0, "CScreenStoreItem")); + (self->setValue)(*(CScreenStoreItem*)tolua_tousertype_dynamic(L, 2, 0, "CScreenStoreItem")); return 0; } @@ -42461,7 +44162,7 @@ static int tolua_function_Pointer_CSoundChannel__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CSoundChannel*)tolua_tousertype_dynamic(L, 2, 0, "CSoundChannel")); + (self->setValue)(*(CSoundChannel*)tolua_tousertype_dynamic(L, 2, 0, "CSoundChannel")); return 0; } @@ -42485,7 +44186,7 @@ static int tolua_function_Pointer_CVoice__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CVoice*)tolua_tousertype_dynamic(L, 2, 0, "CVoice")); + (self->setValue)(*(CVoice*)tolua_tousertype_dynamic(L, 2, 0, "CVoice")); return 0; } @@ -42509,7 +44210,7 @@ static int tolua_function_Pointer_void____getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - void** returnVal = self->getValue(); + void** returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "VoidPointer"); return 1; } @@ -42518,7 +44219,7 @@ static int tolua_function_Pointer_void____setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((void**)tolua_tousertype_dynamic(L, 2, 0, "VoidPointer")); + (self->setValue)((void**)tolua_tousertype_dynamic(L, 2, 0, "VoidPointer")); return 0; } @@ -42542,7 +44243,7 @@ static int tolua_function_Pointer_const_CRes___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - const CRes* returnVal = self->getValue(); + const CRes* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CRes"); return 1; } @@ -42567,7 +44268,7 @@ static int tolua_function_Pointer_CRes___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CRes* returnVal = self->getValue(); + CRes* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CRes"); return 1; } @@ -42576,7 +44277,7 @@ static int tolua_function_Pointer_CRes___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CRes*)tolua_tousertype_dynamic(L, 2, 0, "CRes")); + (self->setValue)((CRes*)tolua_tousertype_dynamic(L, 2, 0, "CRes")); return 0; } @@ -42600,7 +44301,7 @@ static int tolua_function_Pointer_const_CResRef___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - const CResRef* returnVal = self->getValue(); + const CResRef* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CResRef"); return 1; } @@ -42625,7 +44326,7 @@ static int tolua_function_Pointer_uiMenu___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - uiMenu* returnVal = self->getValue(); + uiMenu* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "uiMenu"); return 1; } @@ -42634,7 +44335,40 @@ static int tolua_function_Pointer_uiMenu___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((uiMenu*)tolua_tousertype_dynamic(L, 2, 0, "uiMenu")); + (self->setValue)((uiMenu*)tolua_tousertype_dynamic(L, 2, 0, "uiMenu")); + return 0; +} + +static int tolua_get_Pointer_SDL_VideoDisplay___reference(lua_State* L) +{ + Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'reference'", NULL); + tolua_pushusertype(L, (void*)self->reference, "Pointer"); + return 1; +} + +static int tolua_set_Pointer_SDL_VideoDisplay___reference(lua_State* L) +{ + Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'reference'", NULL); + self->reference = (SDL_VideoDisplay**)tolua_tousertype_dynamic(L, 2, 0, "Pointer"); + return 0; +} + +static int tolua_function_Pointer_SDL_VideoDisplay___getValue(lua_State* L) +{ + Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); + SDL_VideoDisplay* returnVal = (self->getValue)(); + tolua_pushusertype(L, (void*)returnVal, "SDL_VideoDisplay"); + return 1; +} + +static int tolua_function_Pointer_SDL_VideoDisplay___setValue(lua_State* L) +{ + Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); + (self->setValue)((SDL_VideoDisplay*)tolua_tousertype_dynamic(L, 2, 0, "SDL_VideoDisplay")); return 0; } @@ -42658,7 +44392,7 @@ static int tolua_function_Pointer_SDL_Window___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - SDL_Window* returnVal = self->getValue(); + SDL_Window* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "SDL_Window"); return 1; } @@ -42667,7 +44401,7 @@ static int tolua_function_Pointer_SDL_Window___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((SDL_Window*)tolua_tousertype_dynamic(L, 2, 0, "SDL_Window")); + (self->setValue)((SDL_Window*)tolua_tousertype_dynamic(L, 2, 0, "SDL_Window")); return 0; } @@ -42691,7 +44425,7 @@ static int tolua_function_Pointer_CString___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CString* returnVal = self->getValue(); + CString* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CString"); return 1; } @@ -42700,7 +44434,7 @@ static int tolua_function_Pointer_CString___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CString*)tolua_tousertype_dynamic(L, 2, 0, "CString")); + (self->setValue)((CString*)tolua_tousertype_dynamic(L, 2, 0, "CString")); return 0; } @@ -42724,7 +44458,7 @@ static int tolua_function_Pointer_CResText___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CResText* returnVal = self->getValue(); + CResText* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CResText"); return 1; } @@ -42733,7 +44467,7 @@ static int tolua_function_Pointer_CResText___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CResText*)tolua_tousertype_dynamic(L, 2, 0, "CResText")); + (self->setValue)((CResText*)tolua_tousertype_dynamic(L, 2, 0, "CResText")); return 0; } @@ -42757,7 +44491,7 @@ static int tolua_function_Pointer_lua_State___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - lua_State* returnVal = self->getValue(); + lua_State* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "lua_State"); return 1; } @@ -42766,7 +44500,7 @@ static int tolua_function_Pointer_lua_State___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((lua_State*)tolua_tousertype_dynamic(L, 2, 0, "lua_State")); + (self->setValue)((lua_State*)tolua_tousertype_dynamic(L, 2, 0, "lua_State")); return 0; } @@ -42790,7 +44524,7 @@ static int tolua_function_Pointer_const_SDL_Rect___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - const SDL_Rect* returnVal = self->getValue(); + const SDL_Rect* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "SDL_Rect"); return 1; } @@ -42815,7 +44549,7 @@ static int tolua_function_Pointer_const_letter_t___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - const letter_t* returnVal = self->getValue(); + const letter_t* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "letter_t"); return 1; } @@ -42840,7 +44574,7 @@ static int tolua_function_Pointer_font_t___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - font_t* returnVal = self->getValue(); + font_t* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "font_t"); return 1; } @@ -42849,7 +44583,7 @@ static int tolua_function_Pointer_font_t___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((font_t*)tolua_tousertype_dynamic(L, 2, 0, "font_t")); + (self->setValue)((font_t*)tolua_tousertype_dynamic(L, 2, 0, "font_t")); return 0; } @@ -42873,7 +44607,7 @@ static int tolua_function_Pointer_const_CRect___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - const CRect* returnVal = self->getValue(); + const CRect* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CRect"); return 1; } @@ -42898,7 +44632,7 @@ static int tolua_function_Pointer_SDL_Rect___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - SDL_Rect* returnVal = self->getValue(); + SDL_Rect* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "SDL_Rect"); return 1; } @@ -42907,7 +44641,7 @@ static int tolua_function_Pointer_SDL_Rect___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((SDL_Rect*)tolua_tousertype_dynamic(L, 2, 0, "SDL_Rect")); + (self->setValue)((SDL_Rect*)tolua_tousertype_dynamic(L, 2, 0, "SDL_Rect")); return 0; } @@ -42931,7 +44665,7 @@ static int tolua_function_Pointer_SDL_Event___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - SDL_Event* returnVal = self->getValue(); + SDL_Event* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "SDL_Event"); return 1; } @@ -42940,7 +44674,7 @@ static int tolua_function_Pointer_SDL_Event___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((SDL_Event*)tolua_tousertype_dynamic(L, 2, 0, "SDL_Event")); + (self->setValue)((SDL_Event*)tolua_tousertype_dynamic(L, 2, 0, "SDL_Event")); return 0; } @@ -42964,7 +44698,7 @@ static int tolua_function_Pointer_FILE___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - FILE* returnVal = self->getValue(); + FILE* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "FILE"); return 1; } @@ -42973,7 +44707,7 @@ static int tolua_function_Pointer_FILE___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((FILE*)tolua_tousertype_dynamic(L, 2, 0, "FILE")); + (self->setValue)((FILE*)tolua_tousertype_dynamic(L, 2, 0, "FILE")); return 0; } @@ -42997,7 +44731,7 @@ static int tolua_function_Pointer__iobuf___getValue(lua_State* L) { Pointer<_iobuf*>* self = (Pointer<_iobuf*>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer<_iobuf*>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - _iobuf* returnVal = self->getValue(); + _iobuf* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "_iobuf"); return 1; } @@ -43006,7 +44740,7 @@ static int tolua_function_Pointer__iobuf___setValue(lua_State* L) { Pointer<_iobuf*>* self = (Pointer<_iobuf*>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer<_iobuf*>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((_iobuf*)tolua_tousertype_dynamic(L, 2, 0, "_iobuf")); + (self->setValue)((_iobuf*)tolua_tousertype_dynamic(L, 2, 0, "_iobuf")); return 0; } @@ -43030,7 +44764,7 @@ static int tolua_function_Pointer_uiVariant___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - uiVariant* returnVal = self->getValue(); + uiVariant* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "uiVariant"); return 1; } @@ -43039,7 +44773,7 @@ static int tolua_function_Pointer_uiVariant___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((uiVariant*)tolua_tousertype_dynamic(L, 2, 0, "uiVariant")); + (self->setValue)((uiVariant*)tolua_tousertype_dynamic(L, 2, 0, "uiVariant")); return 0; } @@ -43063,7 +44797,7 @@ static int tolua_function_Pointer_letter_t___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - letter_t* returnVal = self->getValue(); + letter_t* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "letter_t"); return 1; } @@ -43072,7 +44806,7 @@ static int tolua_function_Pointer_letter_t___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((letter_t*)tolua_tousertype_dynamic(L, 2, 0, "letter_t")); + (self->setValue)((letter_t*)tolua_tousertype_dynamic(L, 2, 0, "letter_t")); return 0; } @@ -43096,7 +44830,7 @@ static int tolua_function_Pointer_int___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - int* returnVal = self->getValue(); + int* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "Primitive"); return 1; } @@ -43105,7 +44839,7 @@ static int tolua_function_Pointer_int___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((int*)tolua_tousertype_dynamic(L, 2, 0, "Primitive")); + (self->setValue)((int*)tolua_tousertype_dynamic(L, 2, 0, "Primitive")); return 0; } @@ -43129,7 +44863,7 @@ static int tolua_function_Pointer_adjustmentData_t___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - adjustmentData_t* returnVal = self->getValue(); + adjustmentData_t* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "adjustmentData_t"); return 1; } @@ -43138,7 +44872,7 @@ static int tolua_function_Pointer_adjustmentData_t___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((adjustmentData_t*)tolua_tousertype_dynamic(L, 2, 0, "adjustmentData_t")); + (self->setValue)((adjustmentData_t*)tolua_tousertype_dynamic(L, 2, 0, "adjustmentData_t")); return 0; } @@ -43162,7 +44896,7 @@ static int tolua_function_Pointer_CBaldurChitin___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CBaldurChitin* returnVal = self->getValue(); + CBaldurChitin* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "EEex_CBaldurChitin"); return 1; } @@ -43171,7 +44905,7 @@ static int tolua_function_Pointer_CBaldurChitin___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CBaldurChitin*)tolua_tousertype_dynamic(L, 2, 0, "EEex_CBaldurChitin")); + (self->setValue)((CBaldurChitin*)tolua_tousertype_dynamic(L, 2, 0, "EEex_CBaldurChitin")); return 0; } @@ -43195,7 +44929,7 @@ static int tolua_function_Pointer_const_GLchar___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - const GLchar* returnVal = self->getValue(); + const GLchar* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "GLchar"); return 1; } @@ -43220,7 +44954,7 @@ static int tolua_function_Pointer_CPlex___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CPlex* returnVal = self->getValue(); + CPlex* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CPlex"); return 1; } @@ -43229,7 +44963,7 @@ static int tolua_function_Pointer_CPlex___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CPlex*)tolua_tousertype_dynamic(L, 2, 0, "CPlex")); + (self->setValue)((CPlex*)tolua_tousertype_dynamic(L, 2, 0, "CPlex")); return 0; } @@ -43253,7 +44987,7 @@ static int tolua_function_Pointer_CResRef___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CResRef* returnVal = self->getValue(); + CResRef* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CResRef"); return 1; } @@ -43262,7 +44996,7 @@ static int tolua_function_Pointer_CResRef___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CResRef*)tolua_tousertype_dynamic(L, 2, 0, "CResRef")); + (self->setValue)((CResRef*)tolua_tousertype_dynamic(L, 2, 0, "CResRef")); return 0; } @@ -43286,7 +45020,7 @@ static int tolua_function_Pointer_IDirect3DTexture9___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - IDirect3DTexture9* returnVal = self->getValue(); + IDirect3DTexture9* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "IDirect3DTexture9"); return 1; } @@ -43295,7 +45029,7 @@ static int tolua_function_Pointer_IDirect3DTexture9___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((IDirect3DTexture9*)tolua_tousertype_dynamic(L, 2, 0, "IDirect3DTexture9")); + (self->setValue)((IDirect3DTexture9*)tolua_tousertype_dynamic(L, 2, 0, "IDirect3DTexture9")); return 0; } @@ -43319,7 +45053,7 @@ static int tolua_function_Pointer_const_CString___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - const CString* returnVal = self->getValue(); + const CString* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CString"); return 1; } @@ -43344,7 +45078,7 @@ static int tolua_function_Pointer_CAIId___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CAIId* returnVal = self->getValue(); + CAIId* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CAIId"); return 1; } @@ -43353,7 +45087,7 @@ static int tolua_function_Pointer_CAIId___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CAIId*)tolua_tousertype_dynamic(L, 2, 0, "CAIId")); + (self->setValue)((CAIId*)tolua_tousertype_dynamic(L, 2, 0, "CAIId")); return 0; } @@ -43377,7 +45111,7 @@ static int tolua_function_Pointer_CGameAIBase___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CGameAIBase* returnVal = self->getValue(); + CGameAIBase* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CGameAIBase"); return 1; } @@ -43386,7 +45120,7 @@ static int tolua_function_Pointer_CGameAIBase___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CGameAIBase*)tolua_tousertype_dynamic(L, 2, 0, "CGameAIBase")); + (self->setValue)((CGameAIBase*)tolua_tousertype_dynamic(L, 2, 0, "CGameAIBase")); return 0; } @@ -43410,7 +45144,7 @@ static int tolua_function_Pointer_const_CAIObjectType___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - const CAIObjectType* returnVal = self->getValue(); + const CAIObjectType* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CAIObjectType"); return 1; } @@ -43435,7 +45169,7 @@ static int tolua_function_Pointer_CAreaUserNote___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CAreaUserNote* returnVal = self->getValue(); + CAreaUserNote* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CAreaUserNote"); return 1; } @@ -43444,7 +45178,7 @@ static int tolua_function_Pointer_CAreaUserNote___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CAreaUserNote*)tolua_tousertype_dynamic(L, 2, 0, "CAreaUserNote")); + (self->setValue)((CAreaUserNote*)tolua_tousertype_dynamic(L, 2, 0, "CAreaUserNote")); return 0; } @@ -43468,7 +45202,7 @@ static int tolua_function_Pointer_CGameDialogEntry___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CGameDialogEntry* returnVal = self->getValue(); + CGameDialogEntry* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CGameDialogEntry"); return 1; } @@ -43477,7 +45211,7 @@ static int tolua_function_Pointer_CGameDialogEntry___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CGameDialogEntry*)tolua_tousertype_dynamic(L, 2, 0, "CGameDialogEntry")); + (self->setValue)((CGameDialogEntry*)tolua_tousertype_dynamic(L, 2, 0, "CGameDialogEntry")); return 0; } @@ -43501,7 +45235,7 @@ static int tolua_function_Pointer_CGameEffect___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CGameEffect* returnVal = self->getValue(); + CGameEffect* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CGameEffect"); return 1; } @@ -43510,7 +45244,7 @@ static int tolua_function_Pointer_CGameEffect___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CGameEffect*)tolua_tousertype_dynamic(L, 2, 0, "CGameEffect")); + (self->setValue)((CGameEffect*)tolua_tousertype_dynamic(L, 2, 0, "CGameEffect")); return 0; } @@ -43534,7 +45268,7 @@ static int tolua_function_Pointer_Item_effect_st___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - Item_effect_st* returnVal = self->getValue(); + Item_effect_st* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "Item_effect_st"); return 1; } @@ -43543,7 +45277,7 @@ static int tolua_function_Pointer_Item_effect_st___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((Item_effect_st*)tolua_tousertype_dynamic(L, 2, 0, "Item_effect_st")); + (self->setValue)((Item_effect_st*)tolua_tousertype_dynamic(L, 2, 0, "Item_effect_st")); return 0; } @@ -43567,7 +45301,7 @@ static int tolua_function_Pointer_const_CPoint___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - const CPoint* returnVal = self->getValue(); + const CPoint* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CPoint"); return 1; } @@ -43592,7 +45326,7 @@ static int tolua_function_Pointer_CGameEffectBase___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CGameEffectBase* returnVal = self->getValue(); + CGameEffectBase* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CGameEffectBase"); return 1; } @@ -43601,7 +45335,7 @@ static int tolua_function_Pointer_CGameEffectBase___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CGameEffectBase*)tolua_tousertype_dynamic(L, 2, 0, "CGameEffectBase")); + (self->setValue)((CGameEffectBase*)tolua_tousertype_dynamic(L, 2, 0, "CGameEffectBase")); return 0; } @@ -43625,7 +45359,7 @@ static int tolua_function_Pointer_CObject___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CObject* returnVal = self->getValue(); + CObject* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CObject"); return 1; } @@ -43634,7 +45368,7 @@ static int tolua_function_Pointer_CObject___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CObject*)tolua_tousertype_dynamic(L, 2, 0, "CObject")); + (self->setValue)((CObject*)tolua_tousertype_dynamic(L, 2, 0, "CObject")); return 0; } @@ -43658,7 +45392,7 @@ static int tolua_function_Pointer_CObList__CNode___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CObList::CNode* returnVal = self->getValue(); + CObList::CNode* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CObList::CNode"); return 1; } @@ -43667,7 +45401,7 @@ static int tolua_function_Pointer_CObList__CNode___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CObList::CNode*)tolua_tousertype_dynamic(L, 2, 0, "CObList::CNode")); + (self->setValue)((CObList::CNode*)tolua_tousertype_dynamic(L, 2, 0, "CObList::CNode")); return 0; } @@ -43691,7 +45425,7 @@ static int tolua_function_Pointer_CGameObject____getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CGameObject** returnVal = self->getValue(); + CGameObject** returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "Pointer"); return 1; } @@ -43700,7 +45434,7 @@ static int tolua_function_Pointer_CGameObject____setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CGameObject**)tolua_tousertype_dynamic(L, 2, 0, "Pointer")); + (self->setValue)((CGameObject**)tolua_tousertype_dynamic(L, 2, 0, "Pointer")); return 0; } @@ -43724,7 +45458,7 @@ static int tolua_function_Pointer_CAIObjectType___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CAIObjectType* returnVal = self->getValue(); + CAIObjectType* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CAIObjectType"); return 1; } @@ -43733,7 +45467,7 @@ static int tolua_function_Pointer_CAIObjectType___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CAIObjectType*)tolua_tousertype_dynamic(L, 2, 0, "CAIObjectType")); + (self->setValue)((CAIObjectType*)tolua_tousertype_dynamic(L, 2, 0, "CAIObjectType")); return 0; } @@ -43757,7 +45491,7 @@ static int tolua_function_Pointer_CAIAction___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CAIAction* returnVal = self->getValue(); + CAIAction* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CAIAction"); return 1; } @@ -43766,7 +45500,7 @@ static int tolua_function_Pointer_CAIAction___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CAIAction*)tolua_tousertype_dynamic(L, 2, 0, "CAIAction")); + (self->setValue)((CAIAction*)tolua_tousertype_dynamic(L, 2, 0, "CAIAction")); return 0; } @@ -43790,7 +45524,7 @@ static int tolua_function_Pointer_CAITrigger___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CAITrigger* returnVal = self->getValue(); + CAITrigger* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CAITrigger"); return 1; } @@ -43799,7 +45533,7 @@ static int tolua_function_Pointer_CAITrigger___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CAITrigger*)tolua_tousertype_dynamic(L, 2, 0, "CAITrigger")); + (self->setValue)((CAITrigger*)tolua_tousertype_dynamic(L, 2, 0, "CAITrigger")); return 0; } @@ -43823,7 +45557,7 @@ static int tolua_function_Pointer_CGameTimer___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CGameTimer* returnVal = self->getValue(); + CGameTimer* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CGameTimer"); return 1; } @@ -43832,7 +45566,7 @@ static int tolua_function_Pointer_CGameTimer___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CGameTimer*)tolua_tousertype_dynamic(L, 2, 0, "CGameTimer")); + (self->setValue)((CGameTimer*)tolua_tousertype_dynamic(L, 2, 0, "CGameTimer")); return 0; } @@ -43856,7 +45590,7 @@ static int tolua_function_Pointer_byte___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - byte* returnVal = self->getValue(); + byte* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "Primitive"); return 1; } @@ -43865,7 +45599,7 @@ static int tolua_function_Pointer_byte___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((byte*)tolua_tousertype_dynamic(L, 2, 0, "Primitive")); + (self->setValue)((byte*)tolua_tousertype_dynamic(L, 2, 0, "Primitive")); return 0; } @@ -43889,7 +45623,7 @@ static int tolua_function_Pointer_CAbilityId___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CAbilityId* returnVal = self->getValue(); + CAbilityId* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CAbilityId"); return 1; } @@ -43898,7 +45632,7 @@ static int tolua_function_Pointer_CAbilityId___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CAbilityId*)tolua_tousertype_dynamic(L, 2, 0, "CAbilityId")); + (self->setValue)((CAbilityId*)tolua_tousertype_dynamic(L, 2, 0, "CAbilityId")); return 0; } @@ -43922,7 +45656,7 @@ static int tolua_function_Pointer_CGameEffectDamage___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CGameEffectDamage* returnVal = self->getValue(); + CGameEffectDamage* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CGameEffectDamage"); return 1; } @@ -43931,7 +45665,7 @@ static int tolua_function_Pointer_CGameEffectDamage___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CGameEffectDamage*)tolua_tousertype_dynamic(L, 2, 0, "CGameEffectDamage")); + (self->setValue)((CGameEffectDamage*)tolua_tousertype_dynamic(L, 2, 0, "CGameEffectDamage")); return 0; } @@ -43955,7 +45689,7 @@ static int tolua_function_Pointer_CDerivedStats___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CDerivedStats* returnVal = self->getValue(); + CDerivedStats* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CDerivedStats"); return 1; } @@ -43964,7 +45698,7 @@ static int tolua_function_Pointer_CDerivedStats___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CDerivedStats*)tolua_tousertype_dynamic(L, 2, 0, "CDerivedStats")); + (self->setValue)((CDerivedStats*)tolua_tousertype_dynamic(L, 2, 0, "CDerivedStats")); return 0; } @@ -43988,7 +45722,7 @@ static int tolua_function_Pointer_CSpell___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CSpell* returnVal = self->getValue(); + CSpell* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CSpell"); return 1; } @@ -43997,7 +45731,7 @@ static int tolua_function_Pointer_CSpell___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CSpell*)tolua_tousertype_dynamic(L, 2, 0, "CSpell")); + (self->setValue)((CSpell*)tolua_tousertype_dynamic(L, 2, 0, "CSpell")); return 0; } @@ -44021,7 +45755,7 @@ static int tolua_function_Pointer_CGameButtonList___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CGameButtonList* returnVal = self->getValue(); + CGameButtonList* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CGameButtonList"); return 1; } @@ -44030,7 +45764,7 @@ static int tolua_function_Pointer_CGameButtonList___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CGameButtonList*)tolua_tousertype_dynamic(L, 2, 0, "CGameButtonList")); + (self->setValue)((CGameButtonList*)tolua_tousertype_dynamic(L, 2, 0, "CGameButtonList")); return 0; } @@ -44054,7 +45788,7 @@ static int tolua_function_Pointer_CCreatureFileKnownSpell___getValue(lua_State* { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CCreatureFileKnownSpell* returnVal = self->getValue(); + CCreatureFileKnownSpell* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CCreatureFileKnownSpell"); return 1; } @@ -44063,7 +45797,7 @@ static int tolua_function_Pointer_CCreatureFileKnownSpell___setValue(lua_State* { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CCreatureFileKnownSpell*)tolua_tousertype_dynamic(L, 2, 0, "CCreatureFileKnownSpell")); + (self->setValue)((CCreatureFileKnownSpell*)tolua_tousertype_dynamic(L, 2, 0, "CCreatureFileKnownSpell")); return 0; } @@ -44087,7 +45821,7 @@ static int tolua_function_Pointer_Item_ability_st___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - Item_ability_st* returnVal = self->getValue(); + Item_ability_st* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "Item_ability_st"); return 1; } @@ -44096,7 +45830,7 @@ static int tolua_function_Pointer_Item_ability_st___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((Item_ability_st*)tolua_tousertype_dynamic(L, 2, 0, "Item_ability_st")); + (self->setValue)((Item_ability_st*)tolua_tousertype_dynamic(L, 2, 0, "Item_ability_st")); return 0; } @@ -44120,7 +45854,7 @@ static int tolua_function_Pointer_short___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - short* returnVal = self->getValue(); + short* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "Primitive"); return 1; } @@ -44129,7 +45863,7 @@ static int tolua_function_Pointer_short___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((short*)tolua_tousertype_dynamic(L, 2, 0, "Primitive")); + (self->setValue)((short*)tolua_tousertype_dynamic(L, 2, 0, "Primitive")); return 0; } @@ -44153,7 +45887,7 @@ static int tolua_function_Pointer_CButtonData___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CButtonData* returnVal = self->getValue(); + CButtonData* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CButtonData"); return 1; } @@ -44162,7 +45896,7 @@ static int tolua_function_Pointer_CButtonData___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CButtonData*)tolua_tousertype_dynamic(L, 2, 0, "CButtonData")); + (self->setValue)((CButtonData*)tolua_tousertype_dynamic(L, 2, 0, "CButtonData")); return 0; } @@ -44186,7 +45920,7 @@ static int tolua_function_Pointer_CCreatureFileMemorizedSpellLevel___getValue(lu { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CCreatureFileMemorizedSpellLevel* returnVal = self->getValue(); + CCreatureFileMemorizedSpellLevel* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CCreatureFileMemorizedSpellLevel"); return 1; } @@ -44195,7 +45929,7 @@ static int tolua_function_Pointer_CCreatureFileMemorizedSpellLevel___setValue(lu { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CCreatureFileMemorizedSpellLevel*)tolua_tousertype_dynamic(L, 2, 0, "CCreatureFileMemorizedSpellLevel")); + (self->setValue)((CCreatureFileMemorizedSpellLevel*)tolua_tousertype_dynamic(L, 2, 0, "CCreatureFileMemorizedSpellLevel")); return 0; } @@ -44219,7 +45953,7 @@ static int tolua_function_Pointer_CCreatureFileMemorizedSpell___getValue(lua_Sta { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CCreatureFileMemorizedSpell* returnVal = self->getValue(); + CCreatureFileMemorizedSpell* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CCreatureFileMemorizedSpell"); return 1; } @@ -44228,7 +45962,7 @@ static int tolua_function_Pointer_CCreatureFileMemorizedSpell___setValue(lua_Sta { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CCreatureFileMemorizedSpell*)tolua_tousertype_dynamic(L, 2, 0, "CCreatureFileMemorizedSpell")); + (self->setValue)((CCreatureFileMemorizedSpell*)tolua_tousertype_dynamic(L, 2, 0, "CCreatureFileMemorizedSpell")); return 0; } @@ -44252,7 +45986,7 @@ static int tolua_function_Pointer_unsigned___int16___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - unsigned __int16* returnVal = self->getValue(); + unsigned __int16* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "Primitive<__int16>"); return 1; } @@ -44261,7 +45995,7 @@ static int tolua_function_Pointer_unsigned___int16___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((unsigned __int16*)tolua_tousertype_dynamic(L, 2, 0, "Primitive<__int16>")); + (self->setValue)((unsigned __int16*)tolua_tousertype_dynamic(L, 2, 0, "Primitive<__int16>")); return 0; } @@ -44285,7 +46019,7 @@ static int tolua_function_Pointer_tagPOINT___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - tagPOINT* returnVal = self->getValue(); + tagPOINT* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "tagPOINT"); return 1; } @@ -44294,7 +46028,7 @@ static int tolua_function_Pointer_tagPOINT___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((tagPOINT*)tolua_tousertype_dynamic(L, 2, 0, "tagPOINT")); + (self->setValue)((tagPOINT*)tolua_tousertype_dynamic(L, 2, 0, "tagPOINT")); return 0; } @@ -44318,7 +46052,7 @@ static int tolua_function_Pointer_long___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - long* returnVal = self->getValue(); + long* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "Primitive"); return 1; } @@ -44327,7 +46061,7 @@ static int tolua_function_Pointer_long___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((long*)tolua_tousertype_dynamic(L, 2, 0, "Primitive")); + (self->setValue)((long*)tolua_tousertype_dynamic(L, 2, 0, "Primitive")); return 0; } @@ -44351,7 +46085,7 @@ static int tolua_function_Pointer_CSearchRequest___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CSearchRequest* returnVal = self->getValue(); + CSearchRequest* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CSearchRequest"); return 1; } @@ -44360,7 +46094,7 @@ static int tolua_function_Pointer_CSearchRequest___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CSearchRequest*)tolua_tousertype_dynamic(L, 2, 0, "CSearchRequest")); + (self->setValue)((CSearchRequest*)tolua_tousertype_dynamic(L, 2, 0, "CSearchRequest")); return 0; } @@ -44384,7 +46118,7 @@ static int tolua_function_Pointer_CBlood___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CBlood* returnVal = self->getValue(); + CBlood* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CBlood"); return 1; } @@ -44393,7 +46127,7 @@ static int tolua_function_Pointer_CBlood___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CBlood*)tolua_tousertype_dynamic(L, 2, 0, "CBlood")); + (self->setValue)((CBlood*)tolua_tousertype_dynamic(L, 2, 0, "CBlood")); return 0; } @@ -44417,7 +46151,7 @@ static int tolua_function_Pointer___POSITION___getValue(lua_State* L) { Pointer<__POSITION*>* self = (Pointer<__POSITION*>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer<__POSITION*>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - __POSITION* returnVal = self->getValue(); + __POSITION* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "__POSITION"); return 1; } @@ -44426,7 +46160,7 @@ static int tolua_function_Pointer___POSITION___setValue(lua_State* L) { Pointer<__POSITION*>* self = (Pointer<__POSITION*>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer<__POSITION*>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((__POSITION*)tolua_tousertype_dynamic(L, 2, 0, "__POSITION")); + (self->setValue)((__POSITION*)tolua_tousertype_dynamic(L, 2, 0, "__POSITION")); return 0; } @@ -44450,7 +46184,7 @@ static int tolua_function_Pointer_CProjectile___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CProjectile* returnVal = self->getValue(); + CProjectile* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CProjectile"); return 1; } @@ -44459,7 +46193,7 @@ static int tolua_function_Pointer_CProjectile___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CProjectile*)tolua_tousertype_dynamic(L, 2, 0, "CProjectile")); + (self->setValue)((CProjectile*)tolua_tousertype_dynamic(L, 2, 0, "CProjectile")); return 0; } @@ -44483,7 +46217,7 @@ static int tolua_function_Pointer_STR_RES___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - STR_RES* returnVal = self->getValue(); + STR_RES* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "STR_RES"); return 1; } @@ -44492,7 +46226,7 @@ static int tolua_function_Pointer_STR_RES___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((STR_RES*)tolua_tousertype_dynamic(L, 2, 0, "STR_RES")); + (self->setValue)((STR_RES*)tolua_tousertype_dynamic(L, 2, 0, "STR_RES")); return 0; } @@ -44516,7 +46250,7 @@ static int tolua_function_Pointer_CPortraitIcon___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CPortraitIcon* returnVal = self->getValue(); + CPortraitIcon* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CPortraitIcon"); return 1; } @@ -44525,7 +46259,7 @@ static int tolua_function_Pointer_CPortraitIcon___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CPortraitIcon*)tolua_tousertype_dynamic(L, 2, 0, "CPortraitIcon")); + (self->setValue)((CPortraitIcon*)tolua_tousertype_dynamic(L, 2, 0, "CPortraitIcon")); return 0; } @@ -44549,7 +46283,7 @@ static int tolua_function_Pointer_CVariableHash___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CVariableHash* returnVal = self->getValue(); + CVariableHash* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CVariableHash"); return 1; } @@ -44558,7 +46292,7 @@ static int tolua_function_Pointer_CVariableHash___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CVariableHash*)tolua_tousertype_dynamic(L, 2, 0, "CVariableHash")); + (self->setValue)((CVariableHash*)tolua_tousertype_dynamic(L, 2, 0, "CVariableHash")); return 0; } @@ -44582,7 +46316,7 @@ static int tolua_function_Pointer_CPoint___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CPoint* returnVal = self->getValue(); + CPoint* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CPoint"); return 1; } @@ -44591,7 +46325,7 @@ static int tolua_function_Pointer_CPoint___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CPoint*)tolua_tousertype_dynamic(L, 2, 0, "CPoint")); + (self->setValue)((CPoint*)tolua_tousertype_dynamic(L, 2, 0, "CPoint")); return 0; } @@ -44615,7 +46349,7 @@ static int tolua_function_Pointer_CFeedbackEntry___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CFeedbackEntry* returnVal = self->getValue(); + CFeedbackEntry* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CFeedbackEntry"); return 1; } @@ -44624,7 +46358,7 @@ static int tolua_function_Pointer_CFeedbackEntry___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CFeedbackEntry*)tolua_tousertype_dynamic(L, 2, 0, "CFeedbackEntry")); + (self->setValue)((CFeedbackEntry*)tolua_tousertype_dynamic(L, 2, 0, "CFeedbackEntry")); return 0; } @@ -44648,7 +46382,7 @@ static int tolua_function_Pointer_CGameSprite__GroundItem___getValue(lua_State* { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CGameSprite::GroundItem* returnVal = self->getValue(); + CGameSprite::GroundItem* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CGameSprite::GroundItem"); return 1; } @@ -44657,7 +46391,7 @@ static int tolua_function_Pointer_CGameSprite__GroundItem___setValue(lua_State* { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CGameSprite::GroundItem*)tolua_tousertype_dynamic(L, 2, 0, "CGameSprite::GroundItem")); + (self->setValue)((CGameSprite::GroundItem*)tolua_tousertype_dynamic(L, 2, 0, "CGameSprite::GroundItem")); return 0; } @@ -44681,7 +46415,7 @@ static int tolua_function_Pointer_CGameArea___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CGameArea* returnVal = self->getValue(); + CGameArea* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CGameArea"); return 1; } @@ -44690,7 +46424,7 @@ static int tolua_function_Pointer_CGameArea___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CGameArea*)tolua_tousertype_dynamic(L, 2, 0, "CGameArea")); + (self->setValue)((CGameArea*)tolua_tousertype_dynamic(L, 2, 0, "CGameArea")); return 0; } @@ -44714,7 +46448,7 @@ static int tolua_function_Pointer_CPathSearch___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CPathSearch* returnVal = self->getValue(); + CPathSearch* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CPathSearch"); return 1; } @@ -44723,7 +46457,7 @@ static int tolua_function_Pointer_CPathSearch___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CPathSearch*)tolua_tousertype_dynamic(L, 2, 0, "CPathSearch")); + (self->setValue)((CPathSearch*)tolua_tousertype_dynamic(L, 2, 0, "CPathSearch")); return 0; } @@ -44747,7 +46481,7 @@ static int tolua_function_Pointer_CPathNode____getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CPathNode** returnVal = self->getValue(); + CPathNode** returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "Pointer"); return 1; } @@ -44756,7 +46490,7 @@ static int tolua_function_Pointer_CPathNode____setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CPathNode**)tolua_tousertype_dynamic(L, 2, 0, "Pointer")); + (self->setValue)((CPathNode**)tolua_tousertype_dynamic(L, 2, 0, "Pointer")); return 0; } @@ -44780,7 +46514,7 @@ static int tolua_function_Pointer_SAreaFileWrapper___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - SAreaFileWrapper* returnVal = self->getValue(); + SAreaFileWrapper* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "SAreaFileWrapper"); return 1; } @@ -44789,7 +46523,7 @@ static int tolua_function_Pointer_SAreaFileWrapper___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((SAreaFileWrapper*)tolua_tousertype_dynamic(L, 2, 0, "SAreaFileWrapper")); + (self->setValue)((SAreaFileWrapper*)tolua_tousertype_dynamic(L, 2, 0, "SAreaFileWrapper")); return 0; } @@ -44813,7 +46547,7 @@ static int tolua_function_Pointer_CAIScriptFile___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CAIScriptFile* returnVal = self->getValue(); + CAIScriptFile* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CAIScriptFile"); return 1; } @@ -44822,7 +46556,7 @@ static int tolua_function_Pointer_CAIScriptFile___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CAIScriptFile*)tolua_tousertype_dynamic(L, 2, 0, "CAIScriptFile")); + (self->setValue)((CAIScriptFile*)tolua_tousertype_dynamic(L, 2, 0, "CAIScriptFile")); return 0; } @@ -44846,7 +46580,7 @@ static int tolua_function_Pointer_CStore___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CStore* returnVal = self->getValue(); + CStore* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CStore"); return 1; } @@ -44855,7 +46589,7 @@ static int tolua_function_Pointer_CStore___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CStore*)tolua_tousertype_dynamic(L, 2, 0, "CStore")); + (self->setValue)((CStore*)tolua_tousertype_dynamic(L, 2, 0, "CStore")); return 0; } @@ -44879,7 +46613,7 @@ static int tolua_function_Pointer_CSavedGameStoredLocation___getValue(lua_State* { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CSavedGameStoredLocation* returnVal = self->getValue(); + CSavedGameStoredLocation* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CSavedGameStoredLocation"); return 1; } @@ -44888,7 +46622,7 @@ static int tolua_function_Pointer_CSavedGameStoredLocation___setValue(lua_State* { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CSavedGameStoredLocation*)tolua_tousertype_dynamic(L, 2, 0, "CSavedGameStoredLocation")); + (self->setValue)((CSavedGameStoredLocation*)tolua_tousertype_dynamic(L, 2, 0, "CSavedGameStoredLocation")); return 0; } @@ -44912,7 +46646,7 @@ static int tolua_function_Pointer_CInfTileSet___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CInfTileSet* returnVal = self->getValue(); + CInfTileSet* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CInfTileSet"); return 1; } @@ -44921,7 +46655,7 @@ static int tolua_function_Pointer_CInfTileSet___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CInfTileSet*)tolua_tousertype_dynamic(L, 2, 0, "CInfTileSet")); + (self->setValue)((CInfTileSet*)tolua_tousertype_dynamic(L, 2, 0, "CInfTileSet")); return 0; } @@ -44945,7 +46679,7 @@ static int tolua_function_Pointer_CResWED___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CResWED* returnVal = self->getValue(); + CResWED* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CResWED"); return 1; } @@ -44954,7 +46688,7 @@ static int tolua_function_Pointer_CResWED___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CResWED*)tolua_tousertype_dynamic(L, 2, 0, "CResWED")); + (self->setValue)((CResWED*)tolua_tousertype_dynamic(L, 2, 0, "CResWED")); return 0; } @@ -44978,7 +46712,7 @@ static int tolua_function_Pointer_CVRamPool___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CVRamPool* returnVal = self->getValue(); + CVRamPool* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CVRamPool"); return 1; } @@ -44987,7 +46721,7 @@ static int tolua_function_Pointer_CVRamPool___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CVRamPool*)tolua_tousertype_dynamic(L, 2, 0, "CVRamPool")); + (self->setValue)((CVRamPool*)tolua_tousertype_dynamic(L, 2, 0, "CVRamPool")); return 0; } @@ -45011,7 +46745,7 @@ static int tolua_function_Pointer_CVidMode___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CVidMode* returnVal = self->getValue(); + CVidMode* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CVidMode"); return 1; } @@ -45020,7 +46754,7 @@ static int tolua_function_Pointer_CVidMode___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CVidMode*)tolua_tousertype_dynamic(L, 2, 0, "CVidMode")); + (self->setValue)((CVidMode*)tolua_tousertype_dynamic(L, 2, 0, "CVidMode")); return 0; } @@ -45044,7 +46778,7 @@ static int tolua_function_Pointer_CAOEEntry___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CAOEEntry* returnVal = self->getValue(); + CAOEEntry* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CAOEEntry"); return 1; } @@ -45053,7 +46787,7 @@ static int tolua_function_Pointer_CAOEEntry___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CAOEEntry*)tolua_tousertype_dynamic(L, 2, 0, "CAOEEntry")); + (self->setValue)((CAOEEntry*)tolua_tousertype_dynamic(L, 2, 0, "CAOEEntry")); return 0; } @@ -45077,7 +46811,7 @@ static int tolua_function_Pointer_ushort___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - ushort* returnVal = self->getValue(); + ushort* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "Primitive"); return 1; } @@ -45086,7 +46820,7 @@ static int tolua_function_Pointer_ushort___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((ushort*)tolua_tousertype_dynamic(L, 2, 0, "Primitive")); + (self->setValue)((ushort*)tolua_tousertype_dynamic(L, 2, 0, "Primitive")); return 0; } @@ -45110,7 +46844,7 @@ static int tolua_function_Pointer_const_unsigned___int8___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - const unsigned __int8* returnVal = self->getValue(); + const unsigned __int8* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "Primitive<__int8>"); return 1; } @@ -45135,7 +46869,7 @@ static int tolua_function_Pointer_const_byte___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - const byte* returnVal = self->getValue(); + const byte* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "Primitive"); return 1; } @@ -45160,7 +46894,7 @@ static int tolua_function_Pointer_CTypedPtrList_CPtrList_long____getValue(lua_St { Pointer*>* self = (Pointer*>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer*>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CTypedPtrList* returnVal = self->getValue(); + CTypedPtrList* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CTypedPtrList"); return 1; } @@ -45169,7 +46903,7 @@ static int tolua_function_Pointer_CTypedPtrList_CPtrList_long____setValue(lua_St { Pointer*>* self = (Pointer*>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer*>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CTypedPtrList*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList")); + (self->setValue)((CTypedPtrList*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList")); return 0; } @@ -45193,7 +46927,7 @@ static int tolua_function_Pointer_CGameAreaClairvoyanceEntry___getValue(lua_Stat { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CGameAreaClairvoyanceEntry* returnVal = self->getValue(); + CGameAreaClairvoyanceEntry* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CGameAreaClairvoyanceEntry"); return 1; } @@ -45202,7 +46936,7 @@ static int tolua_function_Pointer_CGameAreaClairvoyanceEntry___setValue(lua_Stat { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CGameAreaClairvoyanceEntry*)tolua_tousertype_dynamic(L, 2, 0, "CGameAreaClairvoyanceEntry")); + (self->setValue)((CGameAreaClairvoyanceEntry*)tolua_tousertype_dynamic(L, 2, 0, "CGameAreaClairvoyanceEntry")); return 0; } @@ -45226,7 +46960,7 @@ static int tolua_function_Pointer_CAreaFileCharacterEntryPoint___getValue(lua_St { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CAreaFileCharacterEntryPoint* returnVal = self->getValue(); + CAreaFileCharacterEntryPoint* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CAreaFileCharacterEntryPoint"); return 1; } @@ -45235,7 +46969,7 @@ static int tolua_function_Pointer_CAreaFileCharacterEntryPoint___setValue(lua_St { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CAreaFileCharacterEntryPoint*)tolua_tousertype_dynamic(L, 2, 0, "CAreaFileCharacterEntryPoint")); + (self->setValue)((CAreaFileCharacterEntryPoint*)tolua_tousertype_dynamic(L, 2, 0, "CAreaFileCharacterEntryPoint")); return 0; } @@ -45259,7 +46993,7 @@ static int tolua_function_Pointer_CInfGame___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CInfGame* returnVal = self->getValue(); + CInfGame* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "EEex_CInfGame"); return 1; } @@ -45268,7 +47002,7 @@ static int tolua_function_Pointer_CInfGame___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CInfGame*)tolua_tousertype_dynamic(L, 2, 0, "EEex_CInfGame")); + (self->setValue)((CInfGame*)tolua_tousertype_dynamic(L, 2, 0, "EEex_CInfGame")); return 0; } @@ -45292,7 +47026,7 @@ static int tolua_function_Pointer_CVidBitmap___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CVidBitmap* returnVal = self->getValue(); + CVidBitmap* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CVidBitmap"); return 1; } @@ -45301,7 +47035,7 @@ static int tolua_function_Pointer_CVidBitmap___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CVidBitmap*)tolua_tousertype_dynamic(L, 2, 0, "CVidBitmap")); + (self->setValue)((CVidBitmap*)tolua_tousertype_dynamic(L, 2, 0, "CVidBitmap")); return 0; } @@ -45325,7 +47059,7 @@ static int tolua_function_Pointer_CObjectMarker___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CObjectMarker* returnVal = self->getValue(); + CObjectMarker* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CObjectMarker"); return 1; } @@ -45334,7 +47068,7 @@ static int tolua_function_Pointer_CObjectMarker___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CObjectMarker*)tolua_tousertype_dynamic(L, 2, 0, "CObjectMarker")); + (self->setValue)((CObjectMarker*)tolua_tousertype_dynamic(L, 2, 0, "CObjectMarker")); return 0; } @@ -45358,7 +47092,7 @@ static int tolua_function_Pointer_CTiledObject___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CTiledObject* returnVal = self->getValue(); + CTiledObject* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CTiledObject"); return 1; } @@ -45367,7 +47101,7 @@ static int tolua_function_Pointer_CTiledObject___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CTiledObject*)tolua_tousertype_dynamic(L, 2, 0, "CTiledObject")); + (self->setValue)((CTiledObject*)tolua_tousertype_dynamic(L, 2, 0, "CTiledObject")); return 0; } @@ -45391,7 +47125,7 @@ static int tolua_function_Pointer_CSpawnFile___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CSpawnFile* returnVal = self->getValue(); + CSpawnFile* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CSpawnFile"); return 1; } @@ -45400,7 +47134,7 @@ static int tolua_function_Pointer_CSpawnFile___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CSpawnFile*)tolua_tousertype_dynamic(L, 2, 0, "CSpawnFile")); + (self->setValue)((CSpawnFile*)tolua_tousertype_dynamic(L, 2, 0, "CSpawnFile")); return 0; } @@ -45424,7 +47158,7 @@ static int tolua_function_Pointer_CSearchBitmap___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CSearchBitmap* returnVal = self->getValue(); + CSearchBitmap* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CSearchBitmap"); return 1; } @@ -45433,7 +47167,7 @@ static int tolua_function_Pointer_CSearchBitmap___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CSearchBitmap*)tolua_tousertype_dynamic(L, 2, 0, "CSearchBitmap")); + (self->setValue)((CSearchBitmap*)tolua_tousertype_dynamic(L, 2, 0, "CSearchBitmap")); return 0; } @@ -45457,7 +47191,7 @@ static int tolua_function_Pointer_const_CAIAction___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - const CAIAction* returnVal = self->getValue(); + const CAIAction* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CAIAction"); return 1; } @@ -45482,7 +47216,7 @@ static int tolua_function_Pointer_CTypedPtrList_CPtrList_CAITrigger_____getValue { Pointer*>* self = (Pointer*>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer*>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CTypedPtrList* returnVal = self->getValue(); + CTypedPtrList* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CTypedPtrList"); return 1; } @@ -45491,7 +47225,7 @@ static int tolua_function_Pointer_CTypedPtrList_CPtrList_CAITrigger_____setValue { Pointer*>* self = (Pointer*>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer*>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CTypedPtrList*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList")); + (self->setValue)((CTypedPtrList*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList")); return 0; } @@ -45515,7 +47249,7 @@ static int tolua_function_Pointer_CVidCell___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CVidCell* returnVal = self->getValue(); + CVidCell* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CVidCell"); return 1; } @@ -45524,7 +47258,7 @@ static int tolua_function_Pointer_CVidCell___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CVidCell*)tolua_tousertype_dynamic(L, 2, 0, "CVidCell")); + (self->setValue)((CVidCell*)tolua_tousertype_dynamic(L, 2, 0, "CVidCell")); return 0; } @@ -45548,7 +47282,7 @@ static int tolua_function_Pointer_SDL_Cursor___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - SDL_Cursor* returnVal = self->getValue(); + SDL_Cursor* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "SDL_Cursor"); return 1; } @@ -45557,7 +47291,7 @@ static int tolua_function_Pointer_SDL_Cursor___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((SDL_Cursor*)tolua_tousertype_dynamic(L, 2, 0, "SDL_Cursor")); + (self->setValue)((SDL_Cursor*)tolua_tousertype_dynamic(L, 2, 0, "SDL_Cursor")); return 0; } @@ -45581,7 +47315,7 @@ static int tolua_function_Pointer_SDL_Surface___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - SDL_Surface* returnVal = self->getValue(); + SDL_Surface* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "SDL_Surface"); return 1; } @@ -45590,7 +47324,7 @@ static int tolua_function_Pointer_SDL_Surface___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((SDL_Surface*)tolua_tousertype_dynamic(L, 2, 0, "SDL_Surface")); + (self->setValue)((SDL_Surface*)tolua_tousertype_dynamic(L, 2, 0, "SDL_Surface")); return 0; } @@ -45614,7 +47348,7 @@ static int tolua_function_Pointer_CVIDPALETTE_COLOR___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CVIDPALETTE_COLOR* returnVal = self->getValue(); + CVIDPALETTE_COLOR* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CVIDPALETTE_COLOR"); return 1; } @@ -45623,7 +47357,7 @@ static int tolua_function_Pointer_CVIDPALETTE_COLOR___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CVIDPALETTE_COLOR*)tolua_tousertype_dynamic(L, 2, 0, "CVIDPALETTE_COLOR")); + (self->setValue)((CVIDPALETTE_COLOR*)tolua_tousertype_dynamic(L, 2, 0, "CVIDPALETTE_COLOR")); return 0; } @@ -45647,7 +47381,7 @@ static int tolua_function_Pointer_CVIDIMG_PALETTEAFFECT___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CVIDIMG_PALETTEAFFECT* returnVal = self->getValue(); + CVIDIMG_PALETTEAFFECT* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CVIDIMG_PALETTEAFFECT"); return 1; } @@ -45656,7 +47390,7 @@ static int tolua_function_Pointer_CVIDIMG_PALETTEAFFECT___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CVIDIMG_PALETTEAFFECT*)tolua_tousertype_dynamic(L, 2, 0, "CVIDIMG_PALETTEAFFECT")); + (self->setValue)((CVIDIMG_PALETTEAFFECT*)tolua_tousertype_dynamic(L, 2, 0, "CVIDIMG_PALETTEAFFECT")); return 0; } @@ -45680,7 +47414,7 @@ static int tolua_function_Pointer_tagRGBQUAD___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - tagRGBQUAD* returnVal = self->getValue(); + tagRGBQUAD* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "tagRGBQUAD"); return 1; } @@ -45689,7 +47423,7 @@ static int tolua_function_Pointer_tagRGBQUAD___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((tagRGBQUAD*)tolua_tousertype_dynamic(L, 2, 0, "tagRGBQUAD")); + (self->setValue)((tagRGBQUAD*)tolua_tousertype_dynamic(L, 2, 0, "tagRGBQUAD")); return 0; } @@ -45713,7 +47447,7 @@ static int tolua_function_Pointer_CVEFEvent___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CVEFEvent* returnVal = self->getValue(); + CVEFEvent* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CVEFEvent"); return 1; } @@ -45722,7 +47456,7 @@ static int tolua_function_Pointer_CVEFEvent___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CVEFEvent*)tolua_tousertype_dynamic(L, 2, 0, "CVEFEvent")); + (self->setValue)((CVEFEvent*)tolua_tousertype_dynamic(L, 2, 0, "CVEFEvent")); return 0; } @@ -45746,7 +47480,7 @@ static int tolua_function_Pointer_CStringList___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CStringList* returnVal = self->getValue(); + CStringList* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CStringList"); return 1; } @@ -45755,7 +47489,7 @@ static int tolua_function_Pointer_CStringList___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CStringList*)tolua_tousertype_dynamic(L, 2, 0, "CStringList")); + (self->setValue)((CStringList*)tolua_tousertype_dynamic(L, 2, 0, "CStringList")); return 0; } @@ -45779,7 +47513,7 @@ static int tolua_function_Pointer_CVisibilityMapTreeNode____getValue(lua_State* { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CVisibilityMapTreeNode** returnVal = self->getValue(); + CVisibilityMapTreeNode** returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "Pointer"); return 1; } @@ -45788,7 +47522,7 @@ static int tolua_function_Pointer_CVisibilityMapTreeNode____setValue(lua_State* { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CVisibilityMapTreeNode**)tolua_tousertype_dynamic(L, 2, 0, "Pointer")); + (self->setValue)((CVisibilityMapTreeNode**)tolua_tousertype_dynamic(L, 2, 0, "Pointer")); return 0; } @@ -45812,7 +47546,7 @@ static int tolua_function_Pointer_CVisibilityMapEllipse___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CVisibilityMapEllipse* returnVal = self->getValue(); + CVisibilityMapEllipse* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CVisibilityMapEllipse"); return 1; } @@ -45821,7 +47555,7 @@ static int tolua_function_Pointer_CVisibilityMapEllipse___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CVisibilityMapEllipse*)tolua_tousertype_dynamic(L, 2, 0, "CVisibilityMapEllipse")); + (self->setValue)((CVisibilityMapEllipse*)tolua_tousertype_dynamic(L, 2, 0, "CVisibilityMapEllipse")); return 0; } @@ -45845,7 +47579,7 @@ static int tolua_function_Pointer_CWarp___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CWarp* returnVal = self->getValue(); + CWarp* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "EEex_CWarp"); return 1; } @@ -45854,7 +47588,7 @@ static int tolua_function_Pointer_CWarp___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CWarp*)tolua_tousertype_dynamic(L, 2, 0, "EEex_CWarp")); + (self->setValue)((CWarp*)tolua_tousertype_dynamic(L, 2, 0, "EEex_CWarp")); return 0; } @@ -45878,7 +47612,7 @@ static int tolua_function_Pointer_CSoundMixer___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CSoundMixer* returnVal = self->getValue(); + CSoundMixer* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "EEex_CSoundMixer"); return 1; } @@ -45887,7 +47621,7 @@ static int tolua_function_Pointer_CSoundMixer___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CSoundMixer*)tolua_tousertype_dynamic(L, 2, 0, "EEex_CSoundMixer")); + (self->setValue)((CSoundMixer*)tolua_tousertype_dynamic(L, 2, 0, "EEex_CSoundMixer")); return 0; } @@ -45911,7 +47645,7 @@ static int tolua_function_Pointer_CVariable___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CVariable* returnVal = self->getValue(); + CVariable* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CVariable"); return 1; } @@ -45920,7 +47654,7 @@ static int tolua_function_Pointer_CVariable___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CVariable*)tolua_tousertype_dynamic(L, 2, 0, "CVariable")); + (self->setValue)((CVariable*)tolua_tousertype_dynamic(L, 2, 0, "CVariable")); return 0; } @@ -45944,7 +47678,7 @@ static int tolua_function_Pointer_CAIResponseSet___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CAIResponseSet* returnVal = self->getValue(); + CAIResponseSet* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CAIResponseSet"); return 1; } @@ -45953,7 +47687,7 @@ static int tolua_function_Pointer_CAIResponseSet___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CAIResponseSet*)tolua_tousertype_dynamic(L, 2, 0, "CAIResponseSet")); + (self->setValue)((CAIResponseSet*)tolua_tousertype_dynamic(L, 2, 0, "CAIResponseSet")); return 0; } @@ -45977,7 +47711,7 @@ static int tolua_function_Pointer_CAICondition___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CAICondition* returnVal = self->getValue(); + CAICondition* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CAICondition"); return 1; } @@ -45986,7 +47720,7 @@ static int tolua_function_Pointer_CAICondition___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CAICondition*)tolua_tousertype_dynamic(L, 2, 0, "CAICondition")); + (self->setValue)((CAICondition*)tolua_tousertype_dynamic(L, 2, 0, "CAICondition")); return 0; } @@ -46010,7 +47744,7 @@ static int tolua_function_Pointer_CAIResponse___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CAIResponse* returnVal = self->getValue(); + CAIResponse* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CAIResponse"); return 1; } @@ -46019,7 +47753,7 @@ static int tolua_function_Pointer_CAIResponse___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CAIResponse*)tolua_tousertype_dynamic(L, 2, 0, "CAIResponse")); + (self->setValue)((CAIResponse*)tolua_tousertype_dynamic(L, 2, 0, "CAIResponse")); return 0; } @@ -46043,7 +47777,7 @@ static int tolua_function_Pointer_CAIConditionResponse___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CAIConditionResponse* returnVal = self->getValue(); + CAIConditionResponse* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CAIConditionResponse"); return 1; } @@ -46052,7 +47786,7 @@ static int tolua_function_Pointer_CAIConditionResponse___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CAIConditionResponse*)tolua_tousertype_dynamic(L, 2, 0, "CAIConditionResponse")); + (self->setValue)((CAIConditionResponse*)tolua_tousertype_dynamic(L, 2, 0, "CAIConditionResponse")); return 0; } @@ -46076,7 +47810,7 @@ static int tolua_function_Pointer_const_CAITrigger___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - const CAITrigger* returnVal = self->getValue(); + const CAITrigger* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CAITrigger"); return 1; } @@ -46101,7 +47835,7 @@ static int tolua_function_Pointer_CMessage___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CMessage* returnVal = self->getValue(); + CMessage* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CMessage"); return 1; } @@ -46110,7 +47844,7 @@ static int tolua_function_Pointer_CMessage___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CMessage*)tolua_tousertype_dynamic(L, 2, 0, "CMessage")); + (self->setValue)((CMessage*)tolua_tousertype_dynamic(L, 2, 0, "CMessage")); return 0; } @@ -46134,7 +47868,7 @@ static int tolua_function_Pointer_C2DArray___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - C2DArray* returnVal = self->getValue(); + C2DArray* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "C2DArray"); return 1; } @@ -46143,7 +47877,7 @@ static int tolua_function_Pointer_C2DArray___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((C2DArray*)tolua_tousertype_dynamic(L, 2, 0, "C2DArray")); + (self->setValue)((C2DArray*)tolua_tousertype_dynamic(L, 2, 0, "C2DArray")); return 0; } @@ -46167,7 +47901,7 @@ static int tolua_function_Pointer_CSoundImp___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CSoundImp* returnVal = self->getValue(); + CSoundImp* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CSoundImp"); return 1; } @@ -46176,7 +47910,7 @@ static int tolua_function_Pointer_CSoundImp___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CSoundImp*)tolua_tousertype_dynamic(L, 2, 0, "CSoundImp")); + (self->setValue)((CSoundImp*)tolua_tousertype_dynamic(L, 2, 0, "CSoundImp")); return 0; } @@ -46200,7 +47934,7 @@ static int tolua_function_Pointer_CSoundMixerImp___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CSoundMixerImp* returnVal = self->getValue(); + CSoundMixerImp* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CSoundMixerImp"); return 1; } @@ -46209,7 +47943,7 @@ static int tolua_function_Pointer_CSoundMixerImp___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CSoundMixerImp*)tolua_tousertype_dynamic(L, 2, 0, "CSoundMixerImp")); + (self->setValue)((CSoundMixerImp*)tolua_tousertype_dynamic(L, 2, 0, "CSoundMixerImp")); return 0; } @@ -46233,7 +47967,7 @@ static int tolua_function_Pointer_CGameDialogSprite___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CGameDialogSprite* returnVal = self->getValue(); + CGameDialogSprite* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CGameDialogSprite"); return 1; } @@ -46242,7 +47976,7 @@ static int tolua_function_Pointer_CGameDialogSprite___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CGameDialogSprite*)tolua_tousertype_dynamic(L, 2, 0, "CGameDialogSprite")); + (self->setValue)((CGameDialogSprite*)tolua_tousertype_dynamic(L, 2, 0, "CGameDialogSprite")); return 0; } @@ -46266,7 +48000,7 @@ static int tolua_function_Pointer_CDeathSound___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CDeathSound* returnVal = self->getValue(); + CDeathSound* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CDeathSound"); return 1; } @@ -46275,7 +48009,7 @@ static int tolua_function_Pointer_CDeathSound___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CDeathSound*)tolua_tousertype_dynamic(L, 2, 0, "CDeathSound")); + (self->setValue)((CDeathSound*)tolua_tousertype_dynamic(L, 2, 0, "CDeathSound")); return 0; } @@ -46299,7 +48033,7 @@ static int tolua_function_Pointer_CFileView___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CFileView* returnVal = self->getValue(); + CFileView* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CFileView"); return 1; } @@ -46308,7 +48042,7 @@ static int tolua_function_Pointer_CFileView___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CFileView*)tolua_tousertype_dynamic(L, 2, 0, "CFileView")); + (self->setValue)((CFileView*)tolua_tousertype_dynamic(L, 2, 0, "CFileView")); return 0; } @@ -46332,7 +48066,7 @@ static int tolua_function_Pointer_unsigned_int___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - unsigned int* returnVal = self->getValue(); + unsigned int* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "Primitive"); return 1; } @@ -46341,7 +48075,7 @@ static int tolua_function_Pointer_unsigned_int___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((unsigned int*)tolua_tousertype_dynamic(L, 2, 0, "Primitive")); + (self->setValue)((unsigned int*)tolua_tousertype_dynamic(L, 2, 0, "Primitive")); return 0; } @@ -46365,7 +48099,7 @@ static int tolua_function_Pointer_CContingency___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CContingency* returnVal = self->getValue(); + CContingency* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CContingency"); return 1; } @@ -46374,7 +48108,7 @@ static int tolua_function_Pointer_CContingency___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CContingency*)tolua_tousertype_dynamic(L, 2, 0, "CContingency")); + (self->setValue)((CContingency*)tolua_tousertype_dynamic(L, 2, 0, "CContingency")); return 0; } @@ -46398,7 +48132,7 @@ static int tolua_function_Pointer_CScreenMap__vtbl___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CScreenMap::vtbl* returnVal = self->getValue(); + CScreenMap::vtbl* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CScreenMap::vtbl"); return 1; } @@ -46407,7 +48141,7 @@ static int tolua_function_Pointer_CScreenMap__vtbl___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CScreenMap::vtbl*)tolua_tousertype_dynamic(L, 2, 0, "CScreenMap::vtbl")); + (self->setValue)((CScreenMap::vtbl*)tolua_tousertype_dynamic(L, 2, 0, "CScreenMap::vtbl")); return 0; } @@ -46431,7 +48165,7 @@ static int tolua_function_Pointer_CRect___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CRect* returnVal = self->getValue(); + CRect* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CRect"); return 1; } @@ -46440,7 +48174,7 @@ static int tolua_function_Pointer_CRect___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CRect*)tolua_tousertype_dynamic(L, 2, 0, "CRect")); + (self->setValue)((CRect*)tolua_tousertype_dynamic(L, 2, 0, "CRect")); return 0; } @@ -46464,7 +48198,7 @@ static int tolua_function_Pointer_CVidCellFont___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CVidCellFont* returnVal = self->getValue(); + CVidCellFont* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CVidCellFont"); return 1; } @@ -46473,7 +48207,7 @@ static int tolua_function_Pointer_CVidCellFont___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CVidCellFont*)tolua_tousertype_dynamic(L, 2, 0, "CVidCellFont")); + (self->setValue)((CVidCellFont*)tolua_tousertype_dynamic(L, 2, 0, "CVidCellFont")); return 0; } @@ -46497,7 +48231,7 @@ static int tolua_function_Pointer_uiItem___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - uiItem* returnVal = self->getValue(); + uiItem* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "uiItem"); return 1; } @@ -46506,7 +48240,73 @@ static int tolua_function_Pointer_uiItem___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((uiItem*)tolua_tousertype_dynamic(L, 2, 0, "uiItem")); + (self->setValue)((uiItem*)tolua_tousertype_dynamic(L, 2, 0, "uiItem")); + return 0; +} + +static int tolua_get_Pointer_SDL_DisplayMode___reference(lua_State* L) +{ + Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'reference'", NULL); + tolua_pushusertype(L, (void*)self->reference, "Pointer"); + return 1; +} + +static int tolua_set_Pointer_SDL_DisplayMode___reference(lua_State* L) +{ + Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'reference'", NULL); + self->reference = (SDL_DisplayMode**)tolua_tousertype_dynamic(L, 2, 0, "Pointer"); + return 0; +} + +static int tolua_function_Pointer_SDL_DisplayMode___getValue(lua_State* L) +{ + Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); + SDL_DisplayMode* returnVal = (self->getValue)(); + tolua_pushusertype(L, (void*)returnVal, "SDL_DisplayMode"); + return 1; +} + +static int tolua_function_Pointer_SDL_DisplayMode___setValue(lua_State* L) +{ + Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); + (self->setValue)((SDL_DisplayMode*)tolua_tousertype_dynamic(L, 2, 0, "SDL_DisplayMode")); + return 0; +} + +static int tolua_get_Pointer_SDL_VideoDevice___reference(lua_State* L) +{ + Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'reference'", NULL); + tolua_pushusertype(L, (void*)self->reference, "Pointer"); + return 1; +} + +static int tolua_set_Pointer_SDL_VideoDevice___reference(lua_State* L) +{ + Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'reference'", NULL); + self->reference = (SDL_VideoDevice**)tolua_tousertype_dynamic(L, 2, 0, "Pointer"); + return 0; +} + +static int tolua_function_Pointer_SDL_VideoDevice___getValue(lua_State* L) +{ + Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); + SDL_VideoDevice* returnVal = (self->getValue)(); + tolua_pushusertype(L, (void*)returnVal, "SDL_VideoDevice"); + return 1; +} + +static int tolua_function_Pointer_SDL_VideoDevice___setValue(lua_State* L) +{ + Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); + (self->setValue)((SDL_VideoDevice*)tolua_tousertype_dynamic(L, 2, 0, "SDL_VideoDevice")); return 0; } @@ -46530,7 +48330,7 @@ static int tolua_function_Pointer_wchar_t___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - wchar_t* returnVal = self->getValue(); + wchar_t* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "Primitive"); return 1; } @@ -46539,7 +48339,7 @@ static int tolua_function_Pointer_wchar_t___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((wchar_t*)tolua_tousertype_dynamic(L, 2, 0, "Primitive")); + (self->setValue)((wchar_t*)tolua_tousertype_dynamic(L, 2, 0, "Primitive")); return 0; } @@ -46563,7 +48363,7 @@ static int tolua_function_Pointer_SDL_WindowShaper___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - SDL_WindowShaper* returnVal = self->getValue(); + SDL_WindowShaper* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "SDL_WindowShaper"); return 1; } @@ -46572,7 +48372,7 @@ static int tolua_function_Pointer_SDL_WindowShaper___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((SDL_WindowShaper*)tolua_tousertype_dynamic(L, 2, 0, "SDL_WindowShaper")); + (self->setValue)((SDL_WindowShaper*)tolua_tousertype_dynamic(L, 2, 0, "SDL_WindowShaper")); return 0; } @@ -46596,7 +48396,7 @@ static int tolua_function_Pointer_const_SDL_Point___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - const SDL_Point* returnVal = self->getValue(); + const SDL_Point* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "SDL_Point"); return 1; } @@ -46621,7 +48421,7 @@ static int tolua_function_Pointer_SDL_WindowUserData___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - SDL_WindowUserData* returnVal = self->getValue(); + SDL_WindowUserData* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "SDL_WindowUserData"); return 1; } @@ -46630,7 +48430,7 @@ static int tolua_function_Pointer_SDL_WindowUserData___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((SDL_WindowUserData*)tolua_tousertype_dynamic(L, 2, 0, "SDL_WindowUserData")); + (self->setValue)((SDL_WindowUserData*)tolua_tousertype_dynamic(L, 2, 0, "SDL_WindowUserData")); return 0; } @@ -46654,7 +48454,7 @@ static int tolua_function_Pointer_lua_TValue___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - lua_TValue* returnVal = self->getValue(); + lua_TValue* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "lua_TValue"); return 1; } @@ -46663,7 +48463,7 @@ static int tolua_function_Pointer_lua_TValue___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((lua_TValue*)tolua_tousertype_dynamic(L, 2, 0, "lua_TValue")); + (self->setValue)((lua_TValue*)tolua_tousertype_dynamic(L, 2, 0, "lua_TValue")); return 0; } @@ -46687,7 +48487,7 @@ static int tolua_function_Pointer_global_State___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - global_State* returnVal = self->getValue(); + global_State* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "global_State"); return 1; } @@ -46696,7 +48496,7 @@ static int tolua_function_Pointer_global_State___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((global_State*)tolua_tousertype_dynamic(L, 2, 0, "global_State")); + (self->setValue)((global_State*)tolua_tousertype_dynamic(L, 2, 0, "global_State")); return 0; } @@ -46720,7 +48520,7 @@ static int tolua_function_Pointer_CallInfo___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CallInfo* returnVal = self->getValue(); + CallInfo* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CallInfo"); return 1; } @@ -46729,7 +48529,7 @@ static int tolua_function_Pointer_CallInfo___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CallInfo*)tolua_tousertype_dynamic(L, 2, 0, "CallInfo")); + (self->setValue)((CallInfo*)tolua_tousertype_dynamic(L, 2, 0, "CallInfo")); return 0; } @@ -46753,7 +48553,7 @@ static int tolua_function_Pointer_const_unsigned_int___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - const unsigned int* returnVal = self->getValue(); + const unsigned int* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "Primitive"); return 1; } @@ -46778,7 +48578,7 @@ static int tolua_function_Pointer_lua_Debug___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - lua_Debug* returnVal = self->getValue(); + lua_Debug* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "lua_Debug"); return 1; } @@ -46787,7 +48587,7 @@ static int tolua_function_Pointer_lua_Debug___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((lua_Debug*)tolua_tousertype_dynamic(L, 2, 0, "lua_Debug")); + (self->setValue)((lua_Debug*)tolua_tousertype_dynamic(L, 2, 0, "lua_Debug")); return 0; } @@ -46811,7 +48611,7 @@ static int tolua_function_Pointer_lua_longjmp___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - lua_longjmp* returnVal = self->getValue(); + lua_longjmp* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "lua_longjmp"); return 1; } @@ -46820,7 +48620,7 @@ static int tolua_function_Pointer_lua_longjmp___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((lua_longjmp*)tolua_tousertype_dynamic(L, 2, 0, "lua_longjmp")); + (self->setValue)((lua_longjmp*)tolua_tousertype_dynamic(L, 2, 0, "lua_longjmp")); return 0; } @@ -46844,7 +48644,7 @@ static int tolua_function_Pointer_sheet___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - sheet* returnVal = self->getValue(); + sheet* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "sheet"); return 1; } @@ -46853,7 +48653,7 @@ static int tolua_function_Pointer_sheet___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((sheet*)tolua_tousertype_dynamic(L, 2, 0, "sheet")); + (self->setValue)((sheet*)tolua_tousertype_dynamic(L, 2, 0, "sheet")); return 0; } @@ -46877,7 +48677,7 @@ static int tolua_function_Pointer_stbrp_context___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - stbrp_context* returnVal = self->getValue(); + stbrp_context* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "stbrp_context"); return 1; } @@ -46886,7 +48686,7 @@ static int tolua_function_Pointer_stbrp_context___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((stbrp_context*)tolua_tousertype_dynamic(L, 2, 0, "stbrp_context")); + (self->setValue)((stbrp_context*)tolua_tousertype_dynamic(L, 2, 0, "stbrp_context")); return 0; } @@ -46910,7 +48710,7 @@ static int tolua_function_Pointer_stbrp_node___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - stbrp_node* returnVal = self->getValue(); + stbrp_node* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "stbrp_node"); return 1; } @@ -46919,7 +48719,7 @@ static int tolua_function_Pointer_stbrp_node___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((stbrp_node*)tolua_tousertype_dynamic(L, 2, 0, "stbrp_node")); + (self->setValue)((stbrp_node*)tolua_tousertype_dynamic(L, 2, 0, "stbrp_node")); return 0; } @@ -46943,7 +48743,7 @@ static int tolua_function_Pointer_glyphmap_t___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - glyphmap_t* returnVal = self->getValue(); + glyphmap_t* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "glyphmap_t"); return 1; } @@ -46952,7 +48752,7 @@ static int tolua_function_Pointer_glyphmap_t___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((glyphmap_t*)tolua_tousertype_dynamic(L, 2, 0, "glyphmap_t")); + (self->setValue)((glyphmap_t*)tolua_tousertype_dynamic(L, 2, 0, "glyphmap_t")); return 0; } @@ -46976,7 +48776,7 @@ static int tolua_function_Pointer_line_metric___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - line_metric* returnVal = self->getValue(); + line_metric* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "line_metric"); return 1; } @@ -46985,7 +48785,7 @@ static int tolua_function_Pointer_line_metric___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((line_metric*)tolua_tousertype_dynamic(L, 2, 0, "line_metric")); + (self->setValue)((line_metric*)tolua_tousertype_dynamic(L, 2, 0, "line_metric")); return 0; } @@ -47009,7 +48809,7 @@ static int tolua_function_Pointer_glyphAdvance_t___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - glyphAdvance_t* returnVal = self->getValue(); + glyphAdvance_t* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "glyphAdvance_t"); return 1; } @@ -47018,7 +48818,7 @@ static int tolua_function_Pointer_glyphAdvance_t___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((glyphAdvance_t*)tolua_tousertype_dynamic(L, 2, 0, "glyphAdvance_t")); + (self->setValue)((glyphAdvance_t*)tolua_tousertype_dynamic(L, 2, 0, "glyphAdvance_t")); return 0; } @@ -47042,7 +48842,7 @@ static int tolua_function_Pointer_CInfCursor___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CInfCursor* returnVal = self->getValue(); + CInfCursor* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CInfCursor"); return 1; } @@ -47051,7 +48851,7 @@ static int tolua_function_Pointer_CInfCursor___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CInfCursor*)tolua_tousertype_dynamic(L, 2, 0, "CInfCursor")); + (self->setValue)((CInfCursor*)tolua_tousertype_dynamic(L, 2, 0, "CInfCursor")); return 0; } @@ -47075,7 +48875,7 @@ static int tolua_function_Pointer_CDungeonMaster___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CDungeonMaster* returnVal = self->getValue(); + CDungeonMaster* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CDungeonMaster"); return 1; } @@ -47084,7 +48884,7 @@ static int tolua_function_Pointer_CDungeonMaster___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CDungeonMaster*)tolua_tousertype_dynamic(L, 2, 0, "CDungeonMaster")); + (self->setValue)((CDungeonMaster*)tolua_tousertype_dynamic(L, 2, 0, "CDungeonMaster")); return 0; } @@ -47108,7 +48908,7 @@ static int tolua_function_Pointer_CBaldurProjector___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CBaldurProjector* returnVal = self->getValue(); + CBaldurProjector* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "EEex_CBaldurProjector"); return 1; } @@ -47117,7 +48917,7 @@ static int tolua_function_Pointer_CBaldurProjector___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CBaldurProjector*)tolua_tousertype_dynamic(L, 2, 0, "EEex_CBaldurProjector")); + (self->setValue)((CBaldurProjector*)tolua_tousertype_dynamic(L, 2, 0, "EEex_CBaldurProjector")); return 0; } @@ -47141,7 +48941,7 @@ static int tolua_function_Pointer_CScreenAI___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CScreenAI* returnVal = self->getValue(); + CScreenAI* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CScreenAI"); return 1; } @@ -47150,7 +48950,7 @@ static int tolua_function_Pointer_CScreenAI___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CScreenAI*)tolua_tousertype_dynamic(L, 2, 0, "CScreenAI")); + (self->setValue)((CScreenAI*)tolua_tousertype_dynamic(L, 2, 0, "CScreenAI")); return 0; } @@ -47174,7 +48974,7 @@ static int tolua_function_Pointer_CScreenCharacter___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CScreenCharacter* returnVal = self->getValue(); + CScreenCharacter* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "EEex_CScreenCharacter"); return 1; } @@ -47183,7 +48983,7 @@ static int tolua_function_Pointer_CScreenCharacter___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CScreenCharacter*)tolua_tousertype_dynamic(L, 2, 0, "EEex_CScreenCharacter")); + (self->setValue)((CScreenCharacter*)tolua_tousertype_dynamic(L, 2, 0, "EEex_CScreenCharacter")); return 0; } @@ -47207,7 +49007,7 @@ static int tolua_function_Pointer_CScreenCreateChar___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CScreenCreateChar* returnVal = self->getValue(); + CScreenCreateChar* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "EEex_CScreenCreateChar"); return 1; } @@ -47216,7 +49016,7 @@ static int tolua_function_Pointer_CScreenCreateChar___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CScreenCreateChar*)tolua_tousertype_dynamic(L, 2, 0, "EEex_CScreenCreateChar")); + (self->setValue)((CScreenCreateChar*)tolua_tousertype_dynamic(L, 2, 0, "EEex_CScreenCreateChar")); return 0; } @@ -47240,7 +49040,7 @@ static int tolua_function_Pointer_CScreenCreateParty___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CScreenCreateParty* returnVal = self->getValue(); + CScreenCreateParty* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "EEex_CScreenCreateParty"); return 1; } @@ -47249,7 +49049,7 @@ static int tolua_function_Pointer_CScreenCreateParty___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CScreenCreateParty*)tolua_tousertype_dynamic(L, 2, 0, "EEex_CScreenCreateParty")); + (self->setValue)((CScreenCreateParty*)tolua_tousertype_dynamic(L, 2, 0, "EEex_CScreenCreateParty")); return 0; } @@ -47273,7 +49073,7 @@ static int tolua_function_Pointer_CScreenInventory___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CScreenInventory* returnVal = self->getValue(); + CScreenInventory* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "EEex_CScreenInventory"); return 1; } @@ -47282,7 +49082,7 @@ static int tolua_function_Pointer_CScreenInventory___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CScreenInventory*)tolua_tousertype_dynamic(L, 2, 0, "EEex_CScreenInventory")); + (self->setValue)((CScreenInventory*)tolua_tousertype_dynamic(L, 2, 0, "EEex_CScreenInventory")); return 0; } @@ -47306,7 +49106,7 @@ static int tolua_function_Pointer_CScreenJournal___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CScreenJournal* returnVal = self->getValue(); + CScreenJournal* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "EEex_CScreenJournal"); return 1; } @@ -47315,7 +49115,7 @@ static int tolua_function_Pointer_CScreenJournal___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CScreenJournal*)tolua_tousertype_dynamic(L, 2, 0, "EEex_CScreenJournal")); + (self->setValue)((CScreenJournal*)tolua_tousertype_dynamic(L, 2, 0, "EEex_CScreenJournal")); return 0; } @@ -47339,7 +49139,7 @@ static int tolua_function_Pointer_CScreenLoad___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CScreenLoad* returnVal = self->getValue(); + CScreenLoad* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "EEex_CScreenLoad"); return 1; } @@ -47348,7 +49148,7 @@ static int tolua_function_Pointer_CScreenLoad___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CScreenLoad*)tolua_tousertype_dynamic(L, 2, 0, "EEex_CScreenLoad")); + (self->setValue)((CScreenLoad*)tolua_tousertype_dynamic(L, 2, 0, "EEex_CScreenLoad")); return 0; } @@ -47372,7 +49172,7 @@ static int tolua_function_Pointer_CScreenMap___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CScreenMap* returnVal = self->getValue(); + CScreenMap* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "EEex_CScreenMap"); return 1; } @@ -47381,7 +49181,7 @@ static int tolua_function_Pointer_CScreenMap___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CScreenMap*)tolua_tousertype_dynamic(L, 2, 0, "EEex_CScreenMap")); + (self->setValue)((CScreenMap*)tolua_tousertype_dynamic(L, 2, 0, "EEex_CScreenMap")); return 0; } @@ -47405,7 +49205,7 @@ static int tolua_function_Pointer_CScreenOptions___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CScreenOptions* returnVal = self->getValue(); + CScreenOptions* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "EEex_CScreenOptions"); return 1; } @@ -47414,7 +49214,7 @@ static int tolua_function_Pointer_CScreenOptions___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CScreenOptions*)tolua_tousertype_dynamic(L, 2, 0, "EEex_CScreenOptions")); + (self->setValue)((CScreenOptions*)tolua_tousertype_dynamic(L, 2, 0, "EEex_CScreenOptions")); return 0; } @@ -47438,7 +49238,7 @@ static int tolua_function_Pointer_CScreenPriestSpell___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CScreenPriestSpell* returnVal = self->getValue(); + CScreenPriestSpell* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "EEex_CScreenPriestSpell"); return 1; } @@ -47447,7 +49247,7 @@ static int tolua_function_Pointer_CScreenPriestSpell___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CScreenPriestSpell*)tolua_tousertype_dynamic(L, 2, 0, "EEex_CScreenPriestSpell")); + (self->setValue)((CScreenPriestSpell*)tolua_tousertype_dynamic(L, 2, 0, "EEex_CScreenPriestSpell")); return 0; } @@ -47471,7 +49271,7 @@ static int tolua_function_Pointer_CScreenSave___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CScreenSave* returnVal = self->getValue(); + CScreenSave* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "EEex_CScreenSave"); return 1; } @@ -47480,7 +49280,7 @@ static int tolua_function_Pointer_CScreenSave___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CScreenSave*)tolua_tousertype_dynamic(L, 2, 0, "EEex_CScreenSave")); + (self->setValue)((CScreenSave*)tolua_tousertype_dynamic(L, 2, 0, "EEex_CScreenSave")); return 0; } @@ -47504,7 +49304,7 @@ static int tolua_function_Pointer_CScreenStart___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CScreenStart* returnVal = self->getValue(); + CScreenStart* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "EEex_CScreenStart"); return 1; } @@ -47513,7 +49313,7 @@ static int tolua_function_Pointer_CScreenStart___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CScreenStart*)tolua_tousertype_dynamic(L, 2, 0, "EEex_CScreenStart")); + (self->setValue)((CScreenStart*)tolua_tousertype_dynamic(L, 2, 0, "EEex_CScreenStart")); return 0; } @@ -47537,7 +49337,7 @@ static int tolua_function_Pointer_CScreenWizSpell___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CScreenWizSpell* returnVal = self->getValue(); + CScreenWizSpell* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "EEex_CScreenWizSpell"); return 1; } @@ -47546,7 +49346,7 @@ static int tolua_function_Pointer_CScreenWizSpell___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CScreenWizSpell*)tolua_tousertype_dynamic(L, 2, 0, "EEex_CScreenWizSpell")); + (self->setValue)((CScreenWizSpell*)tolua_tousertype_dynamic(L, 2, 0, "EEex_CScreenWizSpell")); return 0; } @@ -47570,7 +49370,7 @@ static int tolua_function_Pointer_CScreenWorld___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CScreenWorld* returnVal = self->getValue(); + CScreenWorld* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "EEex_CScreenWorld"); return 1; } @@ -47579,7 +49379,7 @@ static int tolua_function_Pointer_CScreenWorld___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CScreenWorld*)tolua_tousertype_dynamic(L, 2, 0, "EEex_CScreenWorld")); + (self->setValue)((CScreenWorld*)tolua_tousertype_dynamic(L, 2, 0, "EEex_CScreenWorld")); return 0; } @@ -47603,7 +49403,7 @@ static int tolua_function_Pointer_CScreenStore___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CScreenStore* returnVal = self->getValue(); + CScreenStore* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "EEex_CScreenStore"); return 1; } @@ -47612,7 +49412,7 @@ static int tolua_function_Pointer_CScreenStore___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CScreenStore*)tolua_tousertype_dynamic(L, 2, 0, "EEex_CScreenStore")); + (self->setValue)((CScreenStore*)tolua_tousertype_dynamic(L, 2, 0, "EEex_CScreenStore")); return 0; } @@ -47636,7 +49436,7 @@ static int tolua_function_Pointer_CScreenMultiPlayer___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CScreenMultiPlayer* returnVal = self->getValue(); + CScreenMultiPlayer* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "EEex_CScreenMultiPlayer"); return 1; } @@ -47645,7 +49445,7 @@ static int tolua_function_Pointer_CScreenMultiPlayer___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CScreenMultiPlayer*)tolua_tousertype_dynamic(L, 2, 0, "EEex_CScreenMultiPlayer")); + (self->setValue)((CScreenMultiPlayer*)tolua_tousertype_dynamic(L, 2, 0, "EEex_CScreenMultiPlayer")); return 0; } @@ -47669,7 +49469,7 @@ static int tolua_function_Pointer_CScreenConnection___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CScreenConnection* returnVal = self->getValue(); + CScreenConnection* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "EEex_CScreenConnection"); return 1; } @@ -47678,7 +49478,7 @@ static int tolua_function_Pointer_CScreenConnection___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CScreenConnection*)tolua_tousertype_dynamic(L, 2, 0, "EEex_CScreenConnection")); + (self->setValue)((CScreenConnection*)tolua_tousertype_dynamic(L, 2, 0, "EEex_CScreenConnection")); return 0; } @@ -47702,7 +49502,7 @@ static int tolua_function_Pointer_CScreenWorldMap___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CScreenWorldMap* returnVal = self->getValue(); + CScreenWorldMap* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "EEex_CScreenWorldMap"); return 1; } @@ -47711,7 +49511,7 @@ static int tolua_function_Pointer_CScreenWorldMap___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CScreenWorldMap*)tolua_tousertype_dynamic(L, 2, 0, "EEex_CScreenWorldMap")); + (self->setValue)((CScreenWorldMap*)tolua_tousertype_dynamic(L, 2, 0, "EEex_CScreenWorldMap")); return 0; } @@ -47735,7 +49535,7 @@ static int tolua_function_Pointer_CScreenChapter___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CScreenChapter* returnVal = self->getValue(); + CScreenChapter* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "EEex_CScreenChapter"); return 1; } @@ -47744,7 +49544,7 @@ static int tolua_function_Pointer_CScreenChapter___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CScreenChapter*)tolua_tousertype_dynamic(L, 2, 0, "EEex_CScreenChapter")); + (self->setValue)((CScreenChapter*)tolua_tousertype_dynamic(L, 2, 0, "EEex_CScreenChapter")); return 0; } @@ -47768,7 +49568,7 @@ static int tolua_function_Pointer_CScreenMovies___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CScreenMovies* returnVal = self->getValue(); + CScreenMovies* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "EEex_CScreenMovies"); return 1; } @@ -47777,7 +49577,7 @@ static int tolua_function_Pointer_CScreenMovies___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CScreenMovies*)tolua_tousertype_dynamic(L, 2, 0, "EEex_CScreenMovies")); + (self->setValue)((CScreenMovies*)tolua_tousertype_dynamic(L, 2, 0, "EEex_CScreenMovies")); return 0; } @@ -47801,7 +49601,7 @@ static int tolua_function_Pointer_CScreenDLC___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CScreenDLC* returnVal = self->getValue(); + CScreenDLC* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "EEex_CScreenDLC"); return 1; } @@ -47810,7 +49610,7 @@ static int tolua_function_Pointer_CScreenDLC___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CScreenDLC*)tolua_tousertype_dynamic(L, 2, 0, "EEex_CScreenDLC")); + (self->setValue)((CScreenDLC*)tolua_tousertype_dynamic(L, 2, 0, "EEex_CScreenDLC")); return 0; } @@ -47834,7 +49634,7 @@ static int tolua_function_Pointer_IDirect3D9___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - IDirect3D9* returnVal = self->getValue(); + IDirect3D9* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "IDirect3D9"); return 1; } @@ -47843,7 +49643,7 @@ static int tolua_function_Pointer_IDirect3D9___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((IDirect3D9*)tolua_tousertype_dynamic(L, 2, 0, "IDirect3D9")); + (self->setValue)((IDirect3D9*)tolua_tousertype_dynamic(L, 2, 0, "IDirect3D9")); return 0; } @@ -47867,7 +49667,7 @@ static int tolua_function_Pointer_HRESULT___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - HRESULT* returnVal = self->getValue(); + HRESULT* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "Primitive"); return 1; } @@ -47876,7 +49676,7 @@ static int tolua_function_Pointer_HRESULT___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((HRESULT*)tolua_tousertype_dynamic(L, 2, 0, "Primitive")); + (self->setValue)((HRESULT*)tolua_tousertype_dynamic(L, 2, 0, "Primitive")); return 0; } @@ -47900,7 +49700,7 @@ static int tolua_function_Pointer_IDirect3DDevice9___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - IDirect3DDevice9* returnVal = self->getValue(); + IDirect3DDevice9* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "IDirect3DDevice9"); return 1; } @@ -47909,7 +49709,7 @@ static int tolua_function_Pointer_IDirect3DDevice9___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((IDirect3DDevice9*)tolua_tousertype_dynamic(L, 2, 0, "IDirect3DDevice9")); + (self->setValue)((IDirect3DDevice9*)tolua_tousertype_dynamic(L, 2, 0, "IDirect3DDevice9")); return 0; } @@ -47933,7 +49733,7 @@ static int tolua_function_Pointer_const__D3DXMACRO___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - const _D3DXMACRO* returnVal = self->getValue(); + const _D3DXMACRO* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "_D3DXMACRO"); return 1; } @@ -47958,7 +49758,7 @@ static int tolua_function_Pointer_ID3DXInclude___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - ID3DXInclude* returnVal = self->getValue(); + ID3DXInclude* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "ID3DXInclude"); return 1; } @@ -47967,7 +49767,7 @@ static int tolua_function_Pointer_ID3DXInclude___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((ID3DXInclude*)tolua_tousertype_dynamic(L, 2, 0, "ID3DXInclude")); + (self->setValue)((ID3DXInclude*)tolua_tousertype_dynamic(L, 2, 0, "ID3DXInclude")); return 0; } @@ -47991,7 +49791,7 @@ static int tolua_function_Pointer_ID3DXEffectPool___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - ID3DXEffectPool* returnVal = self->getValue(); + ID3DXEffectPool* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "ID3DXEffectPool"); return 1; } @@ -48000,7 +49800,7 @@ static int tolua_function_Pointer_ID3DXEffectPool___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((ID3DXEffectPool*)tolua_tousertype_dynamic(L, 2, 0, "ID3DXEffectPool")); + (self->setValue)((ID3DXEffectPool*)tolua_tousertype_dynamic(L, 2, 0, "ID3DXEffectPool")); return 0; } @@ -48024,7 +49824,7 @@ static int tolua_function_Pointer_ID3DXEffect____getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - ID3DXEffect** returnVal = self->getValue(); + ID3DXEffect** returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "Pointer"); return 1; } @@ -48033,7 +49833,7 @@ static int tolua_function_Pointer_ID3DXEffect____setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((ID3DXEffect**)tolua_tousertype_dynamic(L, 2, 0, "Pointer")); + (self->setValue)((ID3DXEffect**)tolua_tousertype_dynamic(L, 2, 0, "Pointer")); return 0; } @@ -48057,7 +49857,7 @@ static int tolua_function_Pointer_ID3DXBuffer____getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - ID3DXBuffer** returnVal = self->getValue(); + ID3DXBuffer** returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "Pointer"); return 1; } @@ -48066,7 +49866,7 @@ static int tolua_function_Pointer_ID3DXBuffer____setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((ID3DXBuffer**)tolua_tousertype_dynamic(L, 2, 0, "Pointer")); + (self->setValue)((ID3DXBuffer**)tolua_tousertype_dynamic(L, 2, 0, "Pointer")); return 0; } @@ -48090,7 +49890,7 @@ static int tolua_function_Pointer_d3dvertex_t___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - d3dvertex_t* returnVal = self->getValue(); + d3dvertex_t* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "d3dvertex_t"); return 1; } @@ -48099,7 +49899,7 @@ static int tolua_function_Pointer_d3dvertex_t___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((d3dvertex_t*)tolua_tousertype_dynamic(L, 2, 0, "d3dvertex_t")); + (self->setValue)((d3dvertex_t*)tolua_tousertype_dynamic(L, 2, 0, "d3dvertex_t")); return 0; } @@ -48123,7 +49923,7 @@ static int tolua_function_Pointer_IDirect3DVertexBuffer9___getValue(lua_State* L { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - IDirect3DVertexBuffer9* returnVal = self->getValue(); + IDirect3DVertexBuffer9* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "IDirect3DVertexBuffer9"); return 1; } @@ -48132,7 +49932,7 @@ static int tolua_function_Pointer_IDirect3DVertexBuffer9___setValue(lua_State* L { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((IDirect3DVertexBuffer9*)tolua_tousertype_dynamic(L, 2, 0, "IDirect3DVertexBuffer9")); + (self->setValue)((IDirect3DVertexBuffer9*)tolua_tousertype_dynamic(L, 2, 0, "IDirect3DVertexBuffer9")); return 0; } @@ -48156,7 +49956,7 @@ static int tolua_function_Pointer_IDirect3DVertexDeclaration9___getValue(lua_Sta { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - IDirect3DVertexDeclaration9* returnVal = self->getValue(); + IDirect3DVertexDeclaration9* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "IDirect3DVertexDeclaration9"); return 1; } @@ -48165,7 +49965,7 @@ static int tolua_function_Pointer_IDirect3DVertexDeclaration9___setValue(lua_Sta { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((IDirect3DVertexDeclaration9*)tolua_tousertype_dynamic(L, 2, 0, "IDirect3DVertexDeclaration9")); + (self->setValue)((IDirect3DVertexDeclaration9*)tolua_tousertype_dynamic(L, 2, 0, "IDirect3DVertexDeclaration9")); return 0; } @@ -48189,7 +49989,7 @@ static int tolua_function_Pointer_Table___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - Table* returnVal = self->getValue(); + Table* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "Table"); return 1; } @@ -48198,7 +49998,7 @@ static int tolua_function_Pointer_Table___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((Table*)tolua_tousertype_dynamic(L, 2, 0, "Table")); + (self->setValue)((Table*)tolua_tousertype_dynamic(L, 2, 0, "Table")); return 0; } @@ -48222,7 +50022,7 @@ static int tolua_function_Pointer_UpVal___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - UpVal* returnVal = self->getValue(); + UpVal* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "UpVal"); return 1; } @@ -48231,7 +50031,7 @@ static int tolua_function_Pointer_UpVal___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((UpVal*)tolua_tousertype_dynamic(L, 2, 0, "UpVal")); + (self->setValue)((UpVal*)tolua_tousertype_dynamic(L, 2, 0, "UpVal")); return 0; } @@ -48255,7 +50055,7 @@ static int tolua_function_Pointer_Node___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - Node* returnVal = self->getValue(); + Node* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "Node"); return 1; } @@ -48264,7 +50064,7 @@ static int tolua_function_Pointer_Node___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((Node*)tolua_tousertype_dynamic(L, 2, 0, "Node")); + (self->setValue)((Node*)tolua_tousertype_dynamic(L, 2, 0, "Node")); return 0; } @@ -48288,7 +50088,7 @@ static int tolua_function_Pointer_Proto____getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - Proto** returnVal = self->getValue(); + Proto** returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "Pointer"); return 1; } @@ -48297,7 +50097,7 @@ static int tolua_function_Pointer_Proto____setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((Proto**)tolua_tousertype_dynamic(L, 2, 0, "Pointer")); + (self->setValue)((Proto**)tolua_tousertype_dynamic(L, 2, 0, "Pointer")); return 0; } @@ -48321,7 +50121,7 @@ static int tolua_function_Pointer_LocVar___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - LocVar* returnVal = self->getValue(); + LocVar* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "LocVar"); return 1; } @@ -48330,7 +50130,7 @@ static int tolua_function_Pointer_LocVar___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((LocVar*)tolua_tousertype_dynamic(L, 2, 0, "LocVar")); + (self->setValue)((LocVar*)tolua_tousertype_dynamic(L, 2, 0, "LocVar")); return 0; } @@ -48354,7 +50154,7 @@ static int tolua_function_Pointer_Upvaldesc___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - Upvaldesc* returnVal = self->getValue(); + Upvaldesc* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "Upvaldesc"); return 1; } @@ -48363,7 +50163,7 @@ static int tolua_function_Pointer_Upvaldesc___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((Upvaldesc*)tolua_tousertype_dynamic(L, 2, 0, "Upvaldesc")); + (self->setValue)((Upvaldesc*)tolua_tousertype_dynamic(L, 2, 0, "Upvaldesc")); return 0; } @@ -48387,7 +50187,7 @@ static int tolua_function_Pointer_Closure___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - Closure* returnVal = self->getValue(); + Closure* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "Closure"); return 1; } @@ -48396,7 +50196,7 @@ static int tolua_function_Pointer_Closure___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((Closure*)tolua_tousertype_dynamic(L, 2, 0, "Closure")); + (self->setValue)((Closure*)tolua_tousertype_dynamic(L, 2, 0, "Closure")); return 0; } @@ -48420,7 +50220,7 @@ static int tolua_function_Pointer_TString___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - TString* returnVal = self->getValue(); + TString* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "TString"); return 1; } @@ -48429,7 +50229,7 @@ static int tolua_function_Pointer_TString___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((TString*)tolua_tousertype_dynamic(L, 2, 0, "TString")); + (self->setValue)((TString*)tolua_tousertype_dynamic(L, 2, 0, "TString")); return 0; } @@ -48453,7 +50253,7 @@ static int tolua_function_Pointer_GCObject____getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - GCObject** returnVal = self->getValue(); + GCObject** returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "Pointer"); return 1; } @@ -48462,7 +50262,7 @@ static int tolua_function_Pointer_GCObject____setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((GCObject**)tolua_tousertype_dynamic(L, 2, 0, "Pointer")); + (self->setValue)((GCObject**)tolua_tousertype_dynamic(L, 2, 0, "Pointer")); return 0; } @@ -48486,7 +50286,7 @@ static int tolua_function_Pointer_const_long_double___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - const long double* returnVal = self->getValue(); + const long double* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "Primitive"); return 1; } @@ -48511,7 +50311,7 @@ static int tolua_function_Pointer_CPtrList__CNode___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CPtrList::CNode* returnVal = self->getValue(); + CPtrList::CNode* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CPtrList::CNode"); return 1; } @@ -48520,7 +50320,7 @@ static int tolua_function_Pointer_CPtrList__CNode___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CPtrList::CNode*)tolua_tousertype_dynamic(L, 2, 0, "CPtrList::CNode")); + (self->setValue)((CPtrList::CNode*)tolua_tousertype_dynamic(L, 2, 0, "CPtrList::CNode")); return 0; } @@ -48544,7 +50344,7 @@ static int tolua_function_Pointer_DP_Player___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - DP_Player* returnVal = self->getValue(); + DP_Player* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "DP_Player"); return 1; } @@ -48553,7 +50353,7 @@ static int tolua_function_Pointer_DP_Player___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((DP_Player*)tolua_tousertype_dynamic(L, 2, 0, "DP_Player")); + (self->setValue)((DP_Player*)tolua_tousertype_dynamic(L, 2, 0, "DP_Player")); return 0; } @@ -48577,7 +50377,7 @@ static int tolua_function_Pointer_DP_Packet___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - DP_Packet* returnVal = self->getValue(); + DP_Packet* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "DP_Packet"); return 1; } @@ -48586,7 +50386,7 @@ static int tolua_function_Pointer_DP_Packet___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((DP_Packet*)tolua_tousertype_dynamic(L, 2, 0, "DP_Packet")); + (self->setValue)((DP_Packet*)tolua_tousertype_dynamic(L, 2, 0, "DP_Packet")); return 0; } @@ -48610,7 +50410,7 @@ static int tolua_function_Pointer_IDPProvider___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - IDPProvider* returnVal = self->getValue(); + IDPProvider* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "IDPProvider"); return 1; } @@ -48619,7 +50419,7 @@ static int tolua_function_Pointer_IDPProvider___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((IDPProvider*)tolua_tousertype_dynamic(L, 2, 0, "IDPProvider")); + (self->setValue)((IDPProvider*)tolua_tousertype_dynamic(L, 2, 0, "IDPProvider")); return 0; } @@ -48643,7 +50443,7 @@ static int tolua_function_Pointer_IDPPeer___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - IDPPeer* returnVal = self->getValue(); + IDPPeer* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "IDPPeer"); return 1; } @@ -48652,7 +50452,7 @@ static int tolua_function_Pointer_IDPPeer___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((IDPPeer*)tolua_tousertype_dynamic(L, 2, 0, "IDPPeer")); + (self->setValue)((IDPPeer*)tolua_tousertype_dynamic(L, 2, 0, "IDPPeer")); return 0; } @@ -48676,7 +50476,7 @@ static int tolua_function_Pointer_cnetworkwindow_queueentry_st___getValue(lua_St { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - cnetworkwindow_queueentry_st* returnVal = self->getValue(); + cnetworkwindow_queueentry_st* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "cnetworkwindow_queueentry_st"); return 1; } @@ -48685,7 +50485,7 @@ static int tolua_function_Pointer_cnetworkwindow_queueentry_st___setValue(lua_St { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((cnetworkwindow_queueentry_st*)tolua_tousertype_dynamic(L, 2, 0, "cnetworkwindow_queueentry_st")); + (self->setValue)((cnetworkwindow_queueentry_st*)tolua_tousertype_dynamic(L, 2, 0, "cnetworkwindow_queueentry_st")); return 0; } @@ -48709,7 +50509,7 @@ static int tolua_function_Pointer_ISteamRemoteStorage___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - ISteamRemoteStorage* returnVal = self->getValue(); + ISteamRemoteStorage* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "ISteamRemoteStorage"); return 1; } @@ -48718,7 +50518,7 @@ static int tolua_function_Pointer_ISteamRemoteStorage___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((ISteamRemoteStorage*)tolua_tousertype_dynamic(L, 2, 0, "ISteamRemoteStorage")); + (self->setValue)((ISteamRemoteStorage*)tolua_tousertype_dynamic(L, 2, 0, "ISteamRemoteStorage")); return 0; } @@ -48742,7 +50542,7 @@ static int tolua_function_Pointer_ISteamUGC___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - ISteamUGC* returnVal = self->getValue(); + ISteamUGC* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "ISteamUGC"); return 1; } @@ -48751,7 +50551,7 @@ static int tolua_function_Pointer_ISteamUGC___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((ISteamUGC*)tolua_tousertype_dynamic(L, 2, 0, "ISteamUGC")); + (self->setValue)((ISteamUGC*)tolua_tousertype_dynamic(L, 2, 0, "ISteamUGC")); return 0; } @@ -48775,7 +50575,7 @@ static int tolua_function_Pointer_ISteamUserStats___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - ISteamUserStats* returnVal = self->getValue(); + ISteamUserStats* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "ISteamUserStats"); return 1; } @@ -48784,7 +50584,7 @@ static int tolua_function_Pointer_ISteamUserStats___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((ISteamUserStats*)tolua_tousertype_dynamic(L, 2, 0, "ISteamUserStats")); + (self->setValue)((ISteamUserStats*)tolua_tousertype_dynamic(L, 2, 0, "ISteamUserStats")); return 0; } @@ -48808,7 +50608,7 @@ static int tolua_function_Pointer_CChitin___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CChitin* returnVal = self->getValue(); + CChitin* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "EEex_CChitin"); return 1; } @@ -48817,7 +50617,7 @@ static int tolua_function_Pointer_CChitin___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CChitin*)tolua_tousertype_dynamic(L, 2, 0, "EEex_CChitin")); + (self->setValue)((CChitin*)tolua_tousertype_dynamic(L, 2, 0, "EEex_CChitin")); return 0; } @@ -48841,7 +50641,7 @@ static int tolua_function_Pointer_unsigned___int8____getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - unsigned __int8** returnVal = self->getValue(); + unsigned __int8** returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "Pointer"); return 1; } @@ -48850,7 +50650,7 @@ static int tolua_function_Pointer_unsigned___int8____setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((unsigned __int8**)tolua_tousertype_dynamic(L, 2, 0, "Pointer")); + (self->setValue)((unsigned __int8**)tolua_tousertype_dynamic(L, 2, 0, "Pointer")); return 0; } @@ -48874,7 +50674,7 @@ static int tolua_function_Pointer_float___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - float* returnVal = self->getValue(); + float* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "Primitive"); return 1; } @@ -48883,7 +50683,7 @@ static int tolua_function_Pointer_float___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((float*)tolua_tousertype_dynamic(L, 2, 0, "Primitive")); + (self->setValue)((float*)tolua_tousertype_dynamic(L, 2, 0, "Primitive")); return 0; } @@ -48907,7 +50707,7 @@ static int tolua_function_Pointer_CCallbackBase___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CCallbackBase* returnVal = self->getValue(); + CCallbackBase* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CCallbackBase"); return 1; } @@ -48916,7 +50716,7 @@ static int tolua_function_Pointer_CCallbackBase___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CCallbackBase*)tolua_tousertype_dynamic(L, 2, 0, "CCallbackBase")); + (self->setValue)((CCallbackBase*)tolua_tousertype_dynamic(L, 2, 0, "CCallbackBase")); return 0; } @@ -48940,7 +50740,7 @@ static int tolua_function_Pointer_ALCcontext_struct___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - ALCcontext_struct* returnVal = self->getValue(); + ALCcontext_struct* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "ALCcontext_struct"); return 1; } @@ -48949,7 +50749,7 @@ static int tolua_function_Pointer_ALCcontext_struct___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((ALCcontext_struct*)tolua_tousertype_dynamic(L, 2, 0, "ALCcontext_struct")); + (self->setValue)((ALCcontext_struct*)tolua_tousertype_dynamic(L, 2, 0, "ALCcontext_struct")); return 0; } @@ -48973,7 +50773,7 @@ static int tolua_function_Pointer_ALCdevice_struct___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - ALCdevice_struct* returnVal = self->getValue(); + ALCdevice_struct* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "ALCdevice_struct"); return 1; } @@ -48982,7 +50782,7 @@ static int tolua_function_Pointer_ALCdevice_struct___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((ALCdevice_struct*)tolua_tousertype_dynamic(L, 2, 0, "ALCdevice_struct")); + (self->setValue)((ALCdevice_struct*)tolua_tousertype_dynamic(L, 2, 0, "ALCdevice_struct")); return 0; } @@ -49006,7 +50806,7 @@ static int tolua_function_Pointer_CMusicPosition___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CMusicPosition* returnVal = self->getValue(); + CMusicPosition* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CMusicPosition"); return 1; } @@ -49015,7 +50815,7 @@ static int tolua_function_Pointer_CMusicPosition___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CMusicPosition*)tolua_tousertype_dynamic(L, 2, 0, "CMusicPosition")); + (self->setValue)((CMusicPosition*)tolua_tousertype_dynamic(L, 2, 0, "CMusicPosition")); return 0; } @@ -49039,7 +50839,7 @@ static int tolua_function_Pointer_tagBITMAPFILEHEADER___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - tagBITMAPFILEHEADER* returnVal = self->getValue(); + tagBITMAPFILEHEADER* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "tagBITMAPFILEHEADER"); return 1; } @@ -49048,7 +50848,7 @@ static int tolua_function_Pointer_tagBITMAPFILEHEADER___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((tagBITMAPFILEHEADER*)tolua_tousertype_dynamic(L, 2, 0, "tagBITMAPFILEHEADER")); + (self->setValue)((tagBITMAPFILEHEADER*)tolua_tousertype_dynamic(L, 2, 0, "tagBITMAPFILEHEADER")); return 0; } @@ -49072,7 +50872,7 @@ static int tolua_function_Pointer_tagBITMAPINFOHEADER___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - tagBITMAPINFOHEADER* returnVal = self->getValue(); + tagBITMAPINFOHEADER* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "tagBITMAPINFOHEADER"); return 1; } @@ -49081,7 +50881,7 @@ static int tolua_function_Pointer_tagBITMAPINFOHEADER___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((tagBITMAPINFOHEADER*)tolua_tousertype_dynamic(L, 2, 0, "tagBITMAPINFOHEADER")); + (self->setValue)((tagBITMAPINFOHEADER*)tolua_tousertype_dynamic(L, 2, 0, "tagBITMAPINFOHEADER")); return 0; } @@ -49105,7 +50905,7 @@ static int tolua_function_Pointer_frameTableEntry_st___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - frameTableEntry_st* returnVal = self->getValue(); + frameTableEntry_st* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "frameTableEntry_st"); return 1; } @@ -49114,7 +50914,7 @@ static int tolua_function_Pointer_frameTableEntry_st___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((frameTableEntry_st*)tolua_tousertype_dynamic(L, 2, 0, "frameTableEntry_st")); + (self->setValue)((frameTableEntry_st*)tolua_tousertype_dynamic(L, 2, 0, "frameTableEntry_st")); return 0; } @@ -49138,7 +50938,7 @@ static int tolua_function_Pointer_SDL_PixelFormat___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - SDL_PixelFormat* returnVal = self->getValue(); + SDL_PixelFormat* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "SDL_PixelFormat"); return 1; } @@ -49147,7 +50947,7 @@ static int tolua_function_Pointer_SDL_PixelFormat___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((SDL_PixelFormat*)tolua_tousertype_dynamic(L, 2, 0, "SDL_PixelFormat")); + (self->setValue)((SDL_PixelFormat*)tolua_tousertype_dynamic(L, 2, 0, "SDL_PixelFormat")); return 0; } @@ -49171,7 +50971,7 @@ static int tolua_function_Pointer_SDL_BlitMap___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - SDL_BlitMap* returnVal = self->getValue(); + SDL_BlitMap* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "SDL_BlitMap"); return 1; } @@ -49180,7 +50980,7 @@ static int tolua_function_Pointer_SDL_BlitMap___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((SDL_BlitMap*)tolua_tousertype_dynamic(L, 2, 0, "SDL_BlitMap")); + (self->setValue)((SDL_BlitMap*)tolua_tousertype_dynamic(L, 2, 0, "SDL_BlitMap")); return 0; } @@ -49204,7 +51004,7 @@ static int tolua_function_Pointer_DP_Event___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - DP_Event* returnVal = self->getValue(); + DP_Event* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "DP_Event"); return 1; } @@ -49213,7 +51013,7 @@ static int tolua_function_Pointer_DP_Event___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((DP_Event*)tolua_tousertype_dynamic(L, 2, 0, "DP_Event")); + (self->setValue)((DP_Event*)tolua_tousertype_dynamic(L, 2, 0, "DP_Event")); return 0; } @@ -49237,7 +51037,7 @@ static int tolua_function_Pointer_unsigned___int64___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - unsigned __int64* returnVal = self->getValue(); + unsigned __int64* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "Primitive<__int64>"); return 1; } @@ -49246,7 +51046,7 @@ static int tolua_function_Pointer_unsigned___int64___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((unsigned __int64*)tolua_tousertype_dynamic(L, 2, 0, "Primitive<__int64>")); + (self->setValue)((unsigned __int64*)tolua_tousertype_dynamic(L, 2, 0, "Primitive<__int64>")); return 0; } @@ -49270,7 +51070,7 @@ static int tolua_function_Pointer_CSteamID___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CSteamID* returnVal = self->getValue(); + CSteamID* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CSteamID"); return 1; } @@ -49279,7 +51079,7 @@ static int tolua_function_Pointer_CSteamID___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CSteamID*)tolua_tousertype_dynamic(L, 2, 0, "CSteamID")); + (self->setValue)((CSteamID*)tolua_tousertype_dynamic(L, 2, 0, "CSteamID")); return 0; } @@ -49303,7 +51103,7 @@ static int tolua_function_Pointer_SteamParamStringArray_t___getValue(lua_State* { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - SteamParamStringArray_t* returnVal = self->getValue(); + SteamParamStringArray_t* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "SteamParamStringArray_t"); return 1; } @@ -49312,7 +51112,7 @@ static int tolua_function_Pointer_SteamParamStringArray_t___setValue(lua_State* { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((SteamParamStringArray_t*)tolua_tousertype_dynamic(L, 2, 0, "SteamParamStringArray_t")); + (self->setValue)((SteamParamStringArray_t*)tolua_tousertype_dynamic(L, 2, 0, "SteamParamStringArray_t")); return 0; } @@ -49336,7 +51136,7 @@ static int tolua_function_Pointer_SteamUGCDetails_t___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - SteamUGCDetails_t* returnVal = self->getValue(); + SteamUGCDetails_t* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "SteamUGCDetails_t"); return 1; } @@ -49345,7 +51145,7 @@ static int tolua_function_Pointer_SteamUGCDetails_t___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((SteamUGCDetails_t*)tolua_tousertype_dynamic(L, 2, 0, "SteamUGCDetails_t")); + (self->setValue)((SteamUGCDetails_t*)tolua_tousertype_dynamic(L, 2, 0, "SteamUGCDetails_t")); return 0; } @@ -49369,7 +51169,7 @@ static int tolua_function_Pointer_EItemPreviewType___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - EItemPreviewType* returnVal = self->getValue(); + EItemPreviewType* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "Primitive"); return 1; } @@ -49378,7 +51178,7 @@ static int tolua_function_Pointer_EItemPreviewType___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((EItemPreviewType*)tolua_tousertype_dynamic(L, 2, 0, "Primitive")); + (self->setValue)((EItemPreviewType*)tolua_tousertype_dynamic(L, 2, 0, "Primitive")); return 0; } @@ -49402,7 +51202,7 @@ static int tolua_function_Pointer_const_SteamParamStringArray_t___getValue(lua_S { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - const SteamParamStringArray_t* returnVal = self->getValue(); + const SteamParamStringArray_t* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "SteamParamStringArray_t"); return 1; } @@ -49427,7 +51227,7 @@ static int tolua_function_Pointer_bool___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - bool* returnVal = self->getValue(); + bool* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "Primitive"); return 1; } @@ -49436,7 +51236,7 @@ static int tolua_function_Pointer_bool___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((bool*)tolua_tousertype_dynamic(L, 2, 0, "Primitive")); + (self->setValue)((bool*)tolua_tousertype_dynamic(L, 2, 0, "Primitive")); return 0; } @@ -49460,7 +51260,7 @@ static int tolua_function_Pointer_LeaderboardEntry_t___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - LeaderboardEntry_t* returnVal = self->getValue(); + LeaderboardEntry_t* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "LeaderboardEntry_t"); return 1; } @@ -49469,7 +51269,7 @@ static int tolua_function_Pointer_LeaderboardEntry_t___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((LeaderboardEntry_t*)tolua_tousertype_dynamic(L, 2, 0, "LeaderboardEntry_t")); + (self->setValue)((LeaderboardEntry_t*)tolua_tousertype_dynamic(L, 2, 0, "LeaderboardEntry_t")); return 0; } @@ -49493,7 +51293,7 @@ static int tolua_function_Pointer_const_int___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - const int* returnVal = self->getValue(); + const int* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "Primitive"); return 1; } @@ -49518,7 +51318,7 @@ static int tolua_function_Pointer_long_double___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - long double* returnVal = self->getValue(); + long double* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "Primitive"); return 1; } @@ -49527,7 +51327,7 @@ static int tolua_function_Pointer_long_double___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((long double*)tolua_tousertype_dynamic(L, 2, 0, "Primitive")); + (self->setValue)((long double*)tolua_tousertype_dynamic(L, 2, 0, "Primitive")); return 0; } @@ -49551,7 +51351,7 @@ static int tolua_function_Pointer___int64___getValue(lua_State* L) { Pointer<__int64*>* self = (Pointer<__int64*>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer<__int64*>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - __int64* returnVal = self->getValue(); + __int64* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "Primitive<__int64>"); return 1; } @@ -49560,7 +51360,7 @@ static int tolua_function_Pointer___int64___setValue(lua_State* L) { Pointer<__int64*>* self = (Pointer<__int64*>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer<__int64*>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((__int64*)tolua_tousertype_dynamic(L, 2, 0, "Primitive<__int64>")); + (self->setValue)((__int64*)tolua_tousertype_dynamic(L, 2, 0, "Primitive<__int64>")); return 0; } @@ -49584,7 +51384,7 @@ static int tolua_function_Pointer_CVidPoly___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CVidPoly* returnVal = self->getValue(); + CVidPoly* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CVidPoly"); return 1; } @@ -49593,7 +51393,7 @@ static int tolua_function_Pointer_CVidPoly___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CVidPoly*)tolua_tousertype_dynamic(L, 2, 0, "CVidPoly")); + (self->setValue)((CVidPoly*)tolua_tousertype_dynamic(L, 2, 0, "CVidPoly")); return 0; } @@ -49617,7 +51417,7 @@ static int tolua_function_Pointer_bamHeader_st___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - bamHeader_st* returnVal = self->getValue(); + bamHeader_st* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "bamHeader_st"); return 1; } @@ -49626,7 +51426,7 @@ static int tolua_function_Pointer_bamHeader_st___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((bamHeader_st*)tolua_tousertype_dynamic(L, 2, 0, "bamHeader_st")); + (self->setValue)((bamHeader_st*)tolua_tousertype_dynamic(L, 2, 0, "bamHeader_st")); return 0; } @@ -49650,7 +51450,7 @@ static int tolua_function_Pointer_BAMHEADERV2___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - BAMHEADERV2* returnVal = self->getValue(); + BAMHEADERV2* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "BAMHEADERV2"); return 1; } @@ -49659,7 +51459,7 @@ static int tolua_function_Pointer_BAMHEADERV2___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((BAMHEADERV2*)tolua_tousertype_dynamic(L, 2, 0, "BAMHEADERV2")); + (self->setValue)((BAMHEADERV2*)tolua_tousertype_dynamic(L, 2, 0, "BAMHEADERV2")); return 0; } @@ -49683,7 +51483,7 @@ static int tolua_function_Pointer_MOSAICQUAD___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - MOSAICQUAD* returnVal = self->getValue(); + MOSAICQUAD* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "MOSAICQUAD"); return 1; } @@ -49692,7 +51492,7 @@ static int tolua_function_Pointer_MOSAICQUAD___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((MOSAICQUAD*)tolua_tousertype_dynamic(L, 2, 0, "MOSAICQUAD")); + (self->setValue)((MOSAICQUAD*)tolua_tousertype_dynamic(L, 2, 0, "MOSAICQUAD")); return 0; } @@ -49716,7 +51516,7 @@ static int tolua_function_Pointer_sequenceTableEntry_st___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - sequenceTableEntry_st* returnVal = self->getValue(); + sequenceTableEntry_st* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "sequenceTableEntry_st"); return 1; } @@ -49725,7 +51525,7 @@ static int tolua_function_Pointer_sequenceTableEntry_st___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((sequenceTableEntry_st*)tolua_tousertype_dynamic(L, 2, 0, "sequenceTableEntry_st")); + (self->setValue)((sequenceTableEntry_st*)tolua_tousertype_dynamic(L, 2, 0, "sequenceTableEntry_st")); return 0; } @@ -49749,7 +51549,7 @@ static int tolua_function_Pointer_SDL_Palette___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - SDL_Palette* returnVal = self->getValue(); + SDL_Palette* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "SDL_Palette"); return 1; } @@ -49758,7 +51558,7 @@ static int tolua_function_Pointer_SDL_Palette___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((SDL_Palette*)tolua_tousertype_dynamic(L, 2, 0, "SDL_Palette")); + (self->setValue)((SDL_Palette*)tolua_tousertype_dynamic(L, 2, 0, "SDL_Palette")); return 0; } @@ -49782,7 +51582,7 @@ static int tolua_function_Pointer_CVIDPOLY_VERTEX___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CVIDPOLY_VERTEX* returnVal = self->getValue(); + CVIDPOLY_VERTEX* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CVIDPOLY_VERTEX"); return 1; } @@ -49791,7 +51591,7 @@ static int tolua_function_Pointer_CVIDPOLY_VERTEX___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CVIDPOLY_VERTEX*)tolua_tousertype_dynamic(L, 2, 0, "CVIDPOLY_VERTEX")); + (self->setValue)((CVIDPOLY_VERTEX*)tolua_tousertype_dynamic(L, 2, 0, "CVIDPOLY_VERTEX")); return 0; } @@ -49815,7 +51615,7 @@ static int tolua_function_Pointer__EdgeDescription___getValue(lua_State* L) { Pointer<_EdgeDescription*>* self = (Pointer<_EdgeDescription*>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer<_EdgeDescription*>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - _EdgeDescription* returnVal = self->getValue(); + _EdgeDescription* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "_EdgeDescription"); return 1; } @@ -49824,7 +51624,7 @@ static int tolua_function_Pointer__EdgeDescription___setValue(lua_State* L) { Pointer<_EdgeDescription*>* self = (Pointer<_EdgeDescription*>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer<_EdgeDescription*>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((_EdgeDescription*)tolua_tousertype_dynamic(L, 2, 0, "_EdgeDescription")); + (self->setValue)((_EdgeDescription*)tolua_tousertype_dynamic(L, 2, 0, "_EdgeDescription")); return 0; } @@ -49848,7 +51648,7 @@ static int tolua_function_Pointer_SDL_Color___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - SDL_Color* returnVal = self->getValue(); + SDL_Color* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "SDL_Color"); return 1; } @@ -49857,7 +51657,7 @@ static int tolua_function_Pointer_SDL_Color___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((SDL_Color*)tolua_tousertype_dynamic(L, 2, 0, "SDL_Color")); + (self->setValue)((SDL_Color*)tolua_tousertype_dynamic(L, 2, 0, "SDL_Color")); return 0; } @@ -49881,7 +51681,7 @@ static int tolua_function_Pointer_HWND_____getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - HWND__* returnVal = self->getValue(); + HWND__* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "HWND__"); return 1; } @@ -49890,7 +51690,7 @@ static int tolua_function_Pointer_HWND_____setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((HWND__*)tolua_tousertype_dynamic(L, 2, 0, "HWND__")); + (self->setValue)((HWND__*)tolua_tousertype_dynamic(L, 2, 0, "HWND__")); return 0; } @@ -49914,7 +51714,7 @@ static int tolua_function_Pointer_SDL_SysWMmsg___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - SDL_SysWMmsg* returnVal = self->getValue(); + SDL_SysWMmsg* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "SDL_SysWMmsg"); return 1; } @@ -49923,7 +51723,7 @@ static int tolua_function_Pointer_SDL_SysWMmsg___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((SDL_SysWMmsg*)tolua_tousertype_dynamic(L, 2, 0, "SDL_SysWMmsg")); + (self->setValue)((SDL_SysWMmsg*)tolua_tousertype_dynamic(L, 2, 0, "SDL_SysWMmsg")); return 0; } @@ -49947,7 +51747,7 @@ static int tolua_function_Pointer_CKeyInfo___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CKeyInfo* returnVal = self->getValue(); + CKeyInfo* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CKeyInfo"); return 1; } @@ -49956,7 +51756,7 @@ static int tolua_function_Pointer_CKeyInfo___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CKeyInfo*)tolua_tousertype_dynamic(L, 2, 0, "CKeyInfo")); + (self->setValue)((CKeyInfo*)tolua_tousertype_dynamic(L, 2, 0, "CKeyInfo")); return 0; } @@ -49980,7 +51780,7 @@ static int tolua_function_Pointer_WAV_Header___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - WAV_Header* returnVal = self->getValue(); + WAV_Header* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "WAV_Header"); return 1; } @@ -49989,7 +51789,7 @@ static int tolua_function_Pointer_WAV_Header___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((WAV_Header*)tolua_tousertype_dynamic(L, 2, 0, "WAV_Header")); + (self->setValue)((WAV_Header*)tolua_tousertype_dynamic(L, 2, 0, "WAV_Header")); return 0; } @@ -50013,7 +51813,7 @@ static int tolua_function_Pointer_CSound___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CSound* returnVal = self->getValue(); + CSound* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CSound"); return 1; } @@ -50022,7 +51822,7 @@ static int tolua_function_Pointer_CSound___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CSound*)tolua_tousertype_dynamic(L, 2, 0, "CSound")); + (self->setValue)((CSound*)tolua_tousertype_dynamic(L, 2, 0, "CSound")); return 0; } @@ -50046,7 +51846,7 @@ static int tolua_function_Pointer_CAIIdList___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CAIIdList* returnVal = self->getValue(); + CAIIdList* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CAIIdList"); return 1; } @@ -50055,7 +51855,7 @@ static int tolua_function_Pointer_CAIIdList___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CAIIdList*)tolua_tousertype_dynamic(L, 2, 0, "CAIIdList")); + (self->setValue)((CAIIdList*)tolua_tousertype_dynamic(L, 2, 0, "CAIIdList")); return 0; } @@ -50079,7 +51879,7 @@ static int tolua_function_Pointer_ResFixedHeader_st___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - ResFixedHeader_st* returnVal = self->getValue(); + ResFixedHeader_st* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "ResFixedHeader_st"); return 1; } @@ -50088,7 +51888,7 @@ static int tolua_function_Pointer_ResFixedHeader_st___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((ResFixedHeader_st*)tolua_tousertype_dynamic(L, 2, 0, "ResFixedHeader_st")); + (self->setValue)((ResFixedHeader_st*)tolua_tousertype_dynamic(L, 2, 0, "ResFixedHeader_st")); return 0; } @@ -50112,7 +51912,7 @@ static int tolua_function_Pointer_CResTileSet___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CResTileSet* returnVal = self->getValue(); + CResTileSet* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CResTileSet"); return 1; } @@ -50121,7 +51921,7 @@ static int tolua_function_Pointer_CResTileSet___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CResTileSet*)tolua_tousertype_dynamic(L, 2, 0, "CResTileSet")); + (self->setValue)((CResTileSet*)tolua_tousertype_dynamic(L, 2, 0, "CResTileSet")); return 0; } @@ -50145,7 +51945,7 @@ static int tolua_function_Pointer_CResPVR___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CResPVR* returnVal = self->getValue(); + CResPVR* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CResPVR"); return 1; } @@ -50154,7 +51954,7 @@ static int tolua_function_Pointer_CResPVR___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CResPVR*)tolua_tousertype_dynamic(L, 2, 0, "CResPVR")); + (self->setValue)((CResPVR*)tolua_tousertype_dynamic(L, 2, 0, "CResPVR")); return 0; } @@ -50178,7 +51978,7 @@ static int tolua_function_Pointer_CResTile___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CResTile* returnVal = self->getValue(); + CResTile* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CResTile"); return 1; } @@ -50187,7 +51987,7 @@ static int tolua_function_Pointer_CResTile___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CResTile*)tolua_tousertype_dynamic(L, 2, 0, "CResTile")); + (self->setValue)((CResTile*)tolua_tousertype_dynamic(L, 2, 0, "CResTile")); return 0; } @@ -50211,7 +52011,7 @@ static int tolua_function_Pointer_st_tiledef___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - st_tiledef* returnVal = self->getValue(); + st_tiledef* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "st_tiledef"); return 1; } @@ -50220,7 +52020,7 @@ static int tolua_function_Pointer_st_tiledef___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((st_tiledef*)tolua_tousertype_dynamic(L, 2, 0, "st_tiledef")); + (self->setValue)((st_tiledef*)tolua_tousertype_dynamic(L, 2, 0, "st_tiledef")); return 0; } @@ -50244,7 +52044,7 @@ static int tolua_function_Pointer_CResInfTile____getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CResInfTile** returnVal = self->getValue(); + CResInfTile** returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "Pointer"); return 1; } @@ -50253,7 +52053,7 @@ static int tolua_function_Pointer_CResInfTile____setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CResInfTile**)tolua_tousertype_dynamic(L, 2, 0, "Pointer")); + (self->setValue)((CResInfTile**)tolua_tousertype_dynamic(L, 2, 0, "Pointer")); return 0; } @@ -50277,7 +52077,7 @@ static int tolua_function_Pointer_CGameRemoteObjectControlChange___getValue(lua_ { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CGameRemoteObjectControlChange* returnVal = self->getValue(); + CGameRemoteObjectControlChange* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CGameRemoteObjectControlChange"); return 1; } @@ -50286,7 +52086,7 @@ static int tolua_function_Pointer_CGameRemoteObjectControlChange___setValue(lua_ { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CGameRemoteObjectControlChange*)tolua_tousertype_dynamic(L, 2, 0, "CGameRemoteObjectControlChange")); + (self->setValue)((CGameRemoteObjectControlChange*)tolua_tousertype_dynamic(L, 2, 0, "CGameRemoteObjectControlChange")); return 0; } @@ -50310,7 +52110,7 @@ static int tolua_function_Pointer_CGameRemoteObjectDeletion___getValue(lua_State { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CGameRemoteObjectDeletion* returnVal = self->getValue(); + CGameRemoteObjectDeletion* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CGameRemoteObjectDeletion"); return 1; } @@ -50319,7 +52119,7 @@ static int tolua_function_Pointer_CGameRemoteObjectDeletion___setValue(lua_State { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CGameRemoteObjectDeletion*)tolua_tousertype_dynamic(L, 2, 0, "CGameRemoteObjectDeletion")); + (self->setValue)((CGameRemoteObjectDeletion*)tolua_tousertype_dynamic(L, 2, 0, "CGameRemoteObjectDeletion")); return 0; } @@ -50343,7 +52143,7 @@ static int tolua_function_Pointer_CGameRemoteObjectListEntry____getValue(lua_Sta { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CGameRemoteObjectListEntry** returnVal = self->getValue(); + CGameRemoteObjectListEntry** returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "Pointer"); return 1; } @@ -50352,7 +52152,7 @@ static int tolua_function_Pointer_CGameRemoteObjectListEntry____setValue(lua_Sta { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CGameRemoteObjectListEntry**)tolua_tousertype_dynamic(L, 2, 0, "Pointer")); + (self->setValue)((CGameRemoteObjectListEntry**)tolua_tousertype_dynamic(L, 2, 0, "Pointer")); return 0; } @@ -50376,7 +52176,7 @@ static int tolua_function_Pointer_WED_WedHeader_st___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - WED_WedHeader_st* returnVal = self->getValue(); + WED_WedHeader_st* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "WED_WedHeader_st"); return 1; } @@ -50385,7 +52185,7 @@ static int tolua_function_Pointer_WED_WedHeader_st___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((WED_WedHeader_st*)tolua_tousertype_dynamic(L, 2, 0, "WED_WedHeader_st")); + (self->setValue)((WED_WedHeader_st*)tolua_tousertype_dynamic(L, 2, 0, "WED_WedHeader_st")); return 0; } @@ -50409,7 +52209,7 @@ static int tolua_function_Pointer_WED_LayerHeader_st___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - WED_LayerHeader_st* returnVal = self->getValue(); + WED_LayerHeader_st* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "WED_LayerHeader_st"); return 1; } @@ -50418,7 +52218,7 @@ static int tolua_function_Pointer_WED_LayerHeader_st___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((WED_LayerHeader_st*)tolua_tousertype_dynamic(L, 2, 0, "WED_LayerHeader_st")); + (self->setValue)((WED_LayerHeader_st*)tolua_tousertype_dynamic(L, 2, 0, "WED_LayerHeader_st")); return 0; } @@ -50442,7 +52242,7 @@ static int tolua_function_Pointer_WED_PolyHeader_st___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - WED_PolyHeader_st* returnVal = self->getValue(); + WED_PolyHeader_st* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "WED_PolyHeader_st"); return 1; } @@ -50451,7 +52251,7 @@ static int tolua_function_Pointer_WED_PolyHeader_st___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((WED_PolyHeader_st*)tolua_tousertype_dynamic(L, 2, 0, "WED_PolyHeader_st")); + (self->setValue)((WED_PolyHeader_st*)tolua_tousertype_dynamic(L, 2, 0, "WED_PolyHeader_st")); return 0; } @@ -50475,7 +52275,7 @@ static int tolua_function_Pointer_WED_ScreenSectionList___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - WED_ScreenSectionList* returnVal = self->getValue(); + WED_ScreenSectionList* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "WED_ScreenSectionList"); return 1; } @@ -50484,7 +52284,7 @@ static int tolua_function_Pointer_WED_ScreenSectionList___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((WED_ScreenSectionList*)tolua_tousertype_dynamic(L, 2, 0, "WED_ScreenSectionList")); + (self->setValue)((WED_ScreenSectionList*)tolua_tousertype_dynamic(L, 2, 0, "WED_ScreenSectionList")); return 0; } @@ -50508,7 +52308,7 @@ static int tolua_function_Pointer_WED_PolyList_st___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - WED_PolyList_st* returnVal = self->getValue(); + WED_PolyList_st* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "WED_PolyList_st"); return 1; } @@ -50517,7 +52317,7 @@ static int tolua_function_Pointer_WED_PolyList_st___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((WED_PolyList_st*)tolua_tousertype_dynamic(L, 2, 0, "WED_PolyList_st")); + (self->setValue)((WED_PolyList_st*)tolua_tousertype_dynamic(L, 2, 0, "WED_PolyList_st")); return 0; } @@ -50541,7 +52341,7 @@ static int tolua_function_Pointer_WED_PolyPoint_st___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - WED_PolyPoint_st* returnVal = self->getValue(); + WED_PolyPoint_st* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "WED_PolyPoint_st"); return 1; } @@ -50550,7 +52350,7 @@ static int tolua_function_Pointer_WED_PolyPoint_st___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((WED_PolyPoint_st*)tolua_tousertype_dynamic(L, 2, 0, "WED_PolyPoint_st")); + (self->setValue)((WED_PolyPoint_st*)tolua_tousertype_dynamic(L, 2, 0, "WED_PolyPoint_st")); return 0; } @@ -50574,7 +52374,7 @@ static int tolua_function_Pointer_CGameJournalEntry___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CGameJournalEntry* returnVal = self->getValue(); + CGameJournalEntry* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CGameJournalEntry"); return 1; } @@ -50583,7 +52383,7 @@ static int tolua_function_Pointer_CGameJournalEntry___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CGameJournalEntry*)tolua_tousertype_dynamic(L, 2, 0, "CGameJournalEntry")); + (self->setValue)((CGameJournalEntry*)tolua_tousertype_dynamic(L, 2, 0, "CGameJournalEntry")); return 0; } @@ -50607,7 +52407,7 @@ static int tolua_function_Pointer_CTypedPtrList_CPtrList_CGameJournalEntry_____g { Pointer*>* self = (Pointer*>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer*>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CTypedPtrList* returnVal = self->getValue(); + CTypedPtrList* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CTypedPtrList"); return 1; } @@ -50616,7 +52416,7 @@ static int tolua_function_Pointer_CTypedPtrList_CPtrList_CGameJournalEntry_____s { Pointer*>* self = (Pointer*>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer*>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CTypedPtrList*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList")); + (self->setValue)((CTypedPtrList*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList")); return 0; } @@ -50640,7 +52440,7 @@ static int tolua_function_Pointer_CWorldMapData___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CWorldMapData* returnVal = self->getValue(); + CWorldMapData* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CWorldMapData"); return 1; } @@ -50649,7 +52449,7 @@ static int tolua_function_Pointer_CWorldMapData___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CWorldMapData*)tolua_tousertype_dynamic(L, 2, 0, "CWorldMapData")); + (self->setValue)((CWorldMapData*)tolua_tousertype_dynamic(L, 2, 0, "CWorldMapData")); return 0; } @@ -50673,7 +52473,7 @@ static int tolua_function_Pointer_CWorldMapArea____getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CWorldMapArea** returnVal = self->getValue(); + CWorldMapArea** returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "Pointer"); return 1; } @@ -50682,7 +52482,7 @@ static int tolua_function_Pointer_CWorldMapArea____setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CWorldMapArea**)tolua_tousertype_dynamic(L, 2, 0, "Pointer")); + (self->setValue)((CWorldMapArea**)tolua_tousertype_dynamic(L, 2, 0, "Pointer")); return 0; } @@ -50706,7 +52506,7 @@ static int tolua_function_Pointer_CWorldMapLinks____getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CWorldMapLinks** returnVal = self->getValue(); + CWorldMapLinks** returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "Pointer"); return 1; } @@ -50715,7 +52515,7 @@ static int tolua_function_Pointer_CWorldMapLinks____setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CWorldMapLinks**)tolua_tousertype_dynamic(L, 2, 0, "Pointer")); + (self->setValue)((CWorldMapLinks**)tolua_tousertype_dynamic(L, 2, 0, "Pointer")); return 0; } @@ -50739,7 +52539,7 @@ static int tolua_function_Pointer_CMoveListEntry___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CMoveListEntry* returnVal = self->getValue(); + CMoveListEntry* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CMoveListEntry"); return 1; } @@ -50748,7 +52548,7 @@ static int tolua_function_Pointer_CMoveListEntry___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CMoveListEntry*)tolua_tousertype_dynamic(L, 2, 0, "CMoveListEntry")); + (self->setValue)((CMoveListEntry*)tolua_tousertype_dynamic(L, 2, 0, "CMoveListEntry")); return 0; } @@ -50772,7 +52572,7 @@ static int tolua_function_Pointer_CVVCHashEntry___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CVVCHashEntry* returnVal = self->getValue(); + CVVCHashEntry* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CVVCHashEntry"); return 1; } @@ -50781,7 +52581,7 @@ static int tolua_function_Pointer_CVVCHashEntry___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CVVCHashEntry*)tolua_tousertype_dynamic(L, 2, 0, "CVVCHashEntry")); + (self->setValue)((CVVCHashEntry*)tolua_tousertype_dynamic(L, 2, 0, "CVVCHashEntry")); return 0; } @@ -50805,7 +52605,7 @@ static int tolua_function_Pointer_CMemINISection___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CMemINISection* returnVal = self->getValue(); + CMemINISection* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CMemINISection"); return 1; } @@ -50814,7 +52614,7 @@ static int tolua_function_Pointer_CMemINISection___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CMemINISection*)tolua_tousertype_dynamic(L, 2, 0, "CMemINISection")); + (self->setValue)((CMemINISection*)tolua_tousertype_dynamic(L, 2, 0, "CMemINISection")); return 0; } @@ -50838,7 +52638,7 @@ static int tolua_function_Pointer_CGameEffectUsability___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CGameEffectUsability* returnVal = self->getValue(); + CGameEffectUsability* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CGameEffectUsability"); return 1; } @@ -50847,7 +52647,7 @@ static int tolua_function_Pointer_CGameEffectUsability___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CGameEffectUsability*)tolua_tousertype_dynamic(L, 2, 0, "CGameEffectUsability")); + (self->setValue)((CGameEffectUsability*)tolua_tousertype_dynamic(L, 2, 0, "CGameEffectUsability")); return 0; } @@ -50871,7 +52671,7 @@ static int tolua_function_Pointer_CStoreFileItem___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CStoreFileItem* returnVal = self->getValue(); + CStoreFileItem* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CStoreFileItem"); return 1; } @@ -50880,7 +52680,7 @@ static int tolua_function_Pointer_CStoreFileItem___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CStoreFileItem*)tolua_tousertype_dynamic(L, 2, 0, "CStoreFileItem")); + (self->setValue)((CStoreFileItem*)tolua_tousertype_dynamic(L, 2, 0, "CStoreFileItem")); return 0; } @@ -50904,7 +52704,7 @@ static int tolua_function_Pointer_CStoreFileDrinks___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CStoreFileDrinks* returnVal = self->getValue(); + CStoreFileDrinks* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CStoreFileDrinks"); return 1; } @@ -50913,7 +52713,7 @@ static int tolua_function_Pointer_CStoreFileDrinks___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CStoreFileDrinks*)tolua_tousertype_dynamic(L, 2, 0, "CStoreFileDrinks")); + (self->setValue)((CStoreFileDrinks*)tolua_tousertype_dynamic(L, 2, 0, "CStoreFileDrinks")); return 0; } @@ -50937,7 +52737,7 @@ static int tolua_function_Pointer_CStoreFileSpell___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CStoreFileSpell* returnVal = self->getValue(); + CStoreFileSpell* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CStoreFileSpell"); return 1; } @@ -50946,7 +52746,7 @@ static int tolua_function_Pointer_CStoreFileSpell___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CStoreFileSpell*)tolua_tousertype_dynamic(L, 2, 0, "CStoreFileSpell")); + (self->setValue)((CStoreFileSpell*)tolua_tousertype_dynamic(L, 2, 0, "CStoreFileSpell")); return 0; } @@ -50970,7 +52770,7 @@ static int tolua_function_Pointer_CMemINIValue___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CMemINIValue* returnVal = self->getValue(); + CMemINIValue* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CMemINIValue"); return 1; } @@ -50979,7 +52779,7 @@ static int tolua_function_Pointer_CMemINIValue___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CMemINIValue*)tolua_tousertype_dynamic(L, 2, 0, "CMemINIValue")); + (self->setValue)((CMemINIValue*)tolua_tousertype_dynamic(L, 2, 0, "CMemINIValue")); return 0; } @@ -51003,7 +52803,7 @@ static int tolua_function_Pointer_CSpawnList___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CSpawnList* returnVal = self->getValue(); + CSpawnList* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CSpawnList"); return 1; } @@ -51012,7 +52812,7 @@ static int tolua_function_Pointer_CSpawnList___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CSpawnList*)tolua_tousertype_dynamic(L, 2, 0, "CSpawnList")); + (self->setValue)((CSpawnList*)tolua_tousertype_dynamic(L, 2, 0, "CSpawnList")); return 0; } @@ -51036,7 +52836,7 @@ static int tolua_function_Pointer_Item_Header_st___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - Item_Header_st* returnVal = self->getValue(); + Item_Header_st* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "Item_Header_st"); return 1; } @@ -51045,7 +52845,7 @@ static int tolua_function_Pointer_Item_Header_st___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((Item_Header_st*)tolua_tousertype_dynamic(L, 2, 0, "Item_Header_st")); + (self->setValue)((Item_Header_st*)tolua_tousertype_dynamic(L, 2, 0, "Item_Header_st")); return 0; } @@ -51069,7 +52869,7 @@ static int tolua_function_Pointer_CSpawn___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CSpawn* returnVal = self->getValue(); + CSpawn* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CSpawn"); return 1; } @@ -51078,7 +52878,7 @@ static int tolua_function_Pointer_CSpawn___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CSpawn*)tolua_tousertype_dynamic(L, 2, 0, "CSpawn")); + (self->setValue)((CSpawn*)tolua_tousertype_dynamic(L, 2, 0, "CSpawn")); return 0; } @@ -51102,7 +52902,7 @@ static int tolua_function_Pointer_CSpawnVar___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CSpawnVar* returnVal = self->getValue(); + CSpawnVar* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CSpawnVar"); return 1; } @@ -51111,7 +52911,7 @@ static int tolua_function_Pointer_CSpawnVar___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CSpawnVar*)tolua_tousertype_dynamic(L, 2, 0, "CSpawnVar")); + (self->setValue)((CSpawnVar*)tolua_tousertype_dynamic(L, 2, 0, "CSpawnVar")); return 0; } @@ -51135,7 +52935,7 @@ static int tolua_function_Pointer_CException___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CException* returnVal = self->getValue(); + CException* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CException"); return 1; } @@ -51144,7 +52944,7 @@ static int tolua_function_Pointer_CException___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CException*)tolua_tousertype_dynamic(L, 2, 0, "CException")); + (self->setValue)((CException*)tolua_tousertype_dynamic(L, 2, 0, "CException")); return 0; } @@ -51168,7 +52968,7 @@ static int tolua_function_Pointer_CFile___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CFile* returnVal = self->getValue(); + CFile* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CFile"); return 1; } @@ -51177,7 +52977,7 @@ static int tolua_function_Pointer_CFile___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CFile*)tolua_tousertype_dynamic(L, 2, 0, "CFile")); + (self->setValue)((CFile*)tolua_tousertype_dynamic(L, 2, 0, "CFile")); return 0; } @@ -51201,7 +53001,7 @@ static int tolua_function_Pointer_CFileException___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CFileException* returnVal = self->getValue(); + CFileException* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CFileException"); return 1; } @@ -51210,7 +53010,7 @@ static int tolua_function_Pointer_CFileException___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CFileException*)tolua_tousertype_dynamic(L, 2, 0, "CFileException")); + (self->setValue)((CFileException*)tolua_tousertype_dynamic(L, 2, 0, "CFileException")); return 0; } @@ -51234,7 +53034,7 @@ static int tolua_function_Pointer_CBaldurEngine___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CBaldurEngine* returnVal = self->getValue(); + CBaldurEngine* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "EEex_CBaldurEngine"); return 1; } @@ -51243,7 +53043,7 @@ static int tolua_function_Pointer_CBaldurEngine___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CBaldurEngine*)tolua_tousertype_dynamic(L, 2, 0, "EEex_CBaldurEngine")); + (self->setValue)((CBaldurEngine*)tolua_tousertype_dynamic(L, 2, 0, "EEex_CBaldurEngine")); return 0; } @@ -51267,7 +53067,7 @@ static int tolua_function_Pointer_CResWebm___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CResWebm* returnVal = self->getValue(); + CResWebm* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CResWebm"); return 1; } @@ -51276,7 +53076,7 @@ static int tolua_function_Pointer_CResWebm___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CResWebm*)tolua_tousertype_dynamic(L, 2, 0, "CResWebm")); + (self->setValue)((CResWebm*)tolua_tousertype_dynamic(L, 2, 0, "CResWebm")); return 0; } @@ -51300,7 +53100,7 @@ static int tolua_function_Pointer_CStringList__CNode___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CStringList::CNode* returnVal = self->getValue(); + CStringList::CNode* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CStringList::CNode"); return 1; } @@ -51309,7 +53109,7 @@ static int tolua_function_Pointer_CStringList__CNode___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CStringList::CNode*)tolua_tousertype_dynamic(L, 2, 0, "CStringList::CNode")); + (self->setValue)((CStringList::CNode*)tolua_tousertype_dynamic(L, 2, 0, "CStringList::CNode")); return 0; } @@ -51333,7 +53133,7 @@ static int tolua_function_Pointer_CWeaponIdentification___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CWeaponIdentification* returnVal = self->getValue(); + CWeaponIdentification* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CWeaponIdentification"); return 1; } @@ -51342,7 +53142,7 @@ static int tolua_function_Pointer_CWeaponIdentification___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CWeaponIdentification*)tolua_tousertype_dynamic(L, 2, 0, "CWeaponIdentification")); + (self->setValue)((CWeaponIdentification*)tolua_tousertype_dynamic(L, 2, 0, "CWeaponIdentification")); return 0; } @@ -51366,7 +53166,7 @@ static int tolua_function_Pointer_CSelectiveBonus___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CSelectiveBonus* returnVal = self->getValue(); + CSelectiveBonus* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CSelectiveBonus"); return 1; } @@ -51375,7 +53175,7 @@ static int tolua_function_Pointer_CSelectiveBonus___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CSelectiveBonus*)tolua_tousertype_dynamic(L, 2, 0, "CSelectiveBonus")); + (self->setValue)((CSelectiveBonus*)tolua_tousertype_dynamic(L, 2, 0, "CSelectiveBonus")); return 0; } @@ -51399,7 +53199,7 @@ static int tolua_function_Pointer_CImmunitiesItemEquip___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CImmunitiesItemEquip* returnVal = self->getValue(); + CImmunitiesItemEquip* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CImmunitiesItemEquip"); return 1; } @@ -51408,7 +53208,7 @@ static int tolua_function_Pointer_CImmunitiesItemEquip___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CImmunitiesItemEquip*)tolua_tousertype_dynamic(L, 2, 0, "CImmunitiesItemEquip")); + (self->setValue)((CImmunitiesItemEquip*)tolua_tousertype_dynamic(L, 2, 0, "CImmunitiesItemEquip")); return 0; } @@ -51432,7 +53232,7 @@ static int tolua_function_Pointer_CImmunitiesItemTypeEquip___getValue(lua_State* { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CImmunitiesItemTypeEquip* returnVal = self->getValue(); + CImmunitiesItemTypeEquip* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CImmunitiesItemTypeEquip"); return 1; } @@ -51441,7 +53241,7 @@ static int tolua_function_Pointer_CImmunitiesItemTypeEquip___setValue(lua_State* { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CImmunitiesItemTypeEquip*)tolua_tousertype_dynamic(L, 2, 0, "CImmunitiesItemTypeEquip")); + (self->setValue)((CImmunitiesItemTypeEquip*)tolua_tousertype_dynamic(L, 2, 0, "CImmunitiesItemTypeEquip")); return 0; } @@ -51465,7 +53265,7 @@ static int tolua_function_Pointer_CImmunitySpell___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CImmunitySpell* returnVal = self->getValue(); + CImmunitySpell* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CImmunitySpell"); return 1; } @@ -51474,7 +53274,7 @@ static int tolua_function_Pointer_CImmunitySpell___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CImmunitySpell*)tolua_tousertype_dynamic(L, 2, 0, "CImmunitySpell")); + (self->setValue)((CImmunitySpell*)tolua_tousertype_dynamic(L, 2, 0, "CImmunitySpell")); return 0; } @@ -51498,7 +53298,7 @@ static int tolua_function_Pointer_CSchoolAndSecondaryDecrementing___getValue(lua { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CSchoolAndSecondaryDecrementing* returnVal = self->getValue(); + CSchoolAndSecondaryDecrementing* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CSchoolAndSecondaryDecrementing"); return 1; } @@ -51507,7 +53307,7 @@ static int tolua_function_Pointer_CSchoolAndSecondaryDecrementing___setValue(lua { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CSchoolAndSecondaryDecrementing*)tolua_tousertype_dynamic(L, 2, 0, "CSchoolAndSecondaryDecrementing")); + (self->setValue)((CSchoolAndSecondaryDecrementing*)tolua_tousertype_dynamic(L, 2, 0, "CSchoolAndSecondaryDecrementing")); return 0; } @@ -51531,7 +53331,7 @@ static int tolua_function_Pointer_CPersistantEffect___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CPersistantEffect* returnVal = self->getValue(); + CPersistantEffect* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CPersistantEffect"); return 1; } @@ -51540,7 +53340,7 @@ static int tolua_function_Pointer_CPersistantEffect___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CPersistantEffect*)tolua_tousertype_dynamic(L, 2, 0, "CPersistantEffect")); + (self->setValue)((CPersistantEffect*)tolua_tousertype_dynamic(L, 2, 0, "CPersistantEffect")); return 0; } @@ -51564,7 +53364,7 @@ static int tolua_function_Pointer_CColorRange___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CColorRange* returnVal = self->getValue(); + CColorRange* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CColorRange"); return 1; } @@ -51573,7 +53373,7 @@ static int tolua_function_Pointer_CColorRange___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CColorRange*)tolua_tousertype_dynamic(L, 2, 0, "CColorRange")); + (self->setValue)((CColorRange*)tolua_tousertype_dynamic(L, 2, 0, "CColorRange")); return 0; } @@ -51597,7 +53397,7 @@ static int tolua_function_Pointer_CColorEffect___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CColorEffect* returnVal = self->getValue(); + CColorEffect* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CColorEffect"); return 1; } @@ -51606,7 +53406,7 @@ static int tolua_function_Pointer_CColorEffect___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CColorEffect*)tolua_tousertype_dynamic(L, 2, 0, "CColorEffect")); + (self->setValue)((CColorEffect*)tolua_tousertype_dynamic(L, 2, 0, "CColorEffect")); return 0; } @@ -51630,7 +53430,7 @@ static int tolua_function_Pointer_CSelectiveWeaponType___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CSelectiveWeaponType* returnVal = self->getValue(); + CSelectiveWeaponType* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CSelectiveWeaponType"); return 1; } @@ -51639,7 +53439,7 @@ static int tolua_function_Pointer_CSelectiveWeaponType___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CSelectiveWeaponType*)tolua_tousertype_dynamic(L, 2, 0, "CSelectiveWeaponType")); + (self->setValue)((CSelectiveWeaponType*)tolua_tousertype_dynamic(L, 2, 0, "CSelectiveWeaponType")); return 0; } @@ -51663,7 +53463,7 @@ static int tolua_function_Pointer_CCriticalEntry___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CCriticalEntry* returnVal = self->getValue(); + CCriticalEntry* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CCriticalEntry"); return 1; } @@ -51672,7 +53472,7 @@ static int tolua_function_Pointer_CCriticalEntry___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CCriticalEntry*)tolua_tousertype_dynamic(L, 2, 0, "CCriticalEntry")); + (self->setValue)((CCriticalEntry*)tolua_tousertype_dynamic(L, 2, 0, "CCriticalEntry")); return 0; } @@ -51696,7 +53496,7 @@ static int tolua_function_Pointer_CCreatureFileHeader___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CCreatureFileHeader* returnVal = self->getValue(); + CCreatureFileHeader* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CCreatureFileHeader"); return 1; } @@ -51705,7 +53505,7 @@ static int tolua_function_Pointer_CCreatureFileHeader___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CCreatureFileHeader*)tolua_tousertype_dynamic(L, 2, 0, "CCreatureFileHeader")); + (self->setValue)((CCreatureFileHeader*)tolua_tousertype_dynamic(L, 2, 0, "CCreatureFileHeader")); return 0; } @@ -51729,7 +53529,7 @@ static int tolua_function_Pointer_CGameFile___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CGameFile* returnVal = self->getValue(); + CGameFile* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CGameFile"); return 1; } @@ -51738,7 +53538,7 @@ static int tolua_function_Pointer_CGameFile___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CGameFile*)tolua_tousertype_dynamic(L, 2, 0, "CGameFile")); + (self->setValue)((CGameFile*)tolua_tousertype_dynamic(L, 2, 0, "CGameFile")); return 0; } @@ -51762,7 +53562,7 @@ static int tolua_function_Pointer_CSavedGamePartyCreature___getValue(lua_State* { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CSavedGamePartyCreature* returnVal = self->getValue(); + CSavedGamePartyCreature* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CSavedGamePartyCreature"); return 1; } @@ -51771,7 +53571,7 @@ static int tolua_function_Pointer_CSavedGamePartyCreature___setValue(lua_State* { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CSavedGamePartyCreature*)tolua_tousertype_dynamic(L, 2, 0, "CSavedGamePartyCreature")); + (self->setValue)((CSavedGamePartyCreature*)tolua_tousertype_dynamic(L, 2, 0, "CSavedGamePartyCreature")); return 0; } @@ -51795,7 +53595,7 @@ static int tolua_function_Pointer_CAbilityData___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CAbilityData* returnVal = self->getValue(); + CAbilityData* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CAbilityData"); return 1; } @@ -51804,7 +53604,7 @@ static int tolua_function_Pointer_CAbilityData___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CAbilityData*)tolua_tousertype_dynamic(L, 2, 0, "CAbilityData")); + (self->setValue)((CAbilityData*)tolua_tousertype_dynamic(L, 2, 0, "CAbilityData")); return 0; } @@ -51828,7 +53628,7 @@ static int tolua_function_Pointer_CGameAbilityList___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CGameAbilityList* returnVal = self->getValue(); + CGameAbilityList* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CGameAbilityList"); return 1; } @@ -51837,7 +53637,7 @@ static int tolua_function_Pointer_CGameAbilityList___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CGameAbilityList*)tolua_tousertype_dynamic(L, 2, 0, "CGameAbilityList")); + (self->setValue)((CGameAbilityList*)tolua_tousertype_dynamic(L, 2, 0, "CGameAbilityList")); return 0; } @@ -51861,7 +53661,7 @@ static int tolua_function_Pointer_CSaveGameSlot___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CSaveGameSlot* returnVal = self->getValue(); + CSaveGameSlot* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CSaveGameSlot"); return 1; } @@ -51870,7 +53670,7 @@ static int tolua_function_Pointer_CSaveGameSlot___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CSaveGameSlot*)tolua_tousertype_dynamic(L, 2, 0, "CSaveGameSlot")); + (self->setValue)((CSaveGameSlot*)tolua_tousertype_dynamic(L, 2, 0, "CSaveGameSlot")); return 0; } @@ -51894,7 +53694,7 @@ static int tolua_function_Pointer_MOSAICHEADERV2___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - MOSAICHEADERV2* returnVal = self->getValue(); + MOSAICHEADERV2* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "MOSAICHEADERV2"); return 1; } @@ -51903,7 +53703,7 @@ static int tolua_function_Pointer_MOSAICHEADERV2___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((MOSAICHEADERV2*)tolua_tousertype_dynamic(L, 2, 0, "MOSAICHEADERV2")); + (self->setValue)((MOSAICHEADERV2*)tolua_tousertype_dynamic(L, 2, 0, "MOSAICHEADERV2")); return 0; } @@ -51927,7 +53727,7 @@ static int tolua_function_Pointer_mosHeader_st___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - mosHeader_st* returnVal = self->getValue(); + mosHeader_st* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "mosHeader_st"); return 1; } @@ -51936,7 +53736,7 @@ static int tolua_function_Pointer_mosHeader_st___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((mosHeader_st*)tolua_tousertype_dynamic(L, 2, 0, "mosHeader_st")); + (self->setValue)((mosHeader_st*)tolua_tousertype_dynamic(L, 2, 0, "mosHeader_st")); return 0; } @@ -51960,7 +53760,7 @@ static int tolua_function_Pointer_CGameOptions___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CGameOptions* returnVal = self->getValue(); + CGameOptions* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "EEex_CGameOptions"); return 1; } @@ -51969,7 +53769,7 @@ static int tolua_function_Pointer_CGameOptions___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CGameOptions*)tolua_tousertype_dynamic(L, 2, 0, "EEex_CGameOptions")); + (self->setValue)((CGameOptions*)tolua_tousertype_dynamic(L, 2, 0, "EEex_CGameOptions")); return 0; } @@ -51993,7 +53793,7 @@ static int tolua_function_Pointer_CSnowFlake___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CSnowFlake* returnVal = self->getValue(); + CSnowFlake* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CSnowFlake"); return 1; } @@ -52002,7 +53802,7 @@ static int tolua_function_Pointer_CSnowFlake___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CSnowFlake*)tolua_tousertype_dynamic(L, 2, 0, "CSnowFlake")); + (self->setValue)((CSnowFlake*)tolua_tousertype_dynamic(L, 2, 0, "CSnowFlake")); return 0; } @@ -52026,7 +53826,7 @@ static int tolua_function_Pointer_CRainDrop___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CRainDrop* returnVal = self->getValue(); + CRainDrop* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CRainDrop"); return 1; } @@ -52035,7 +53835,7 @@ static int tolua_function_Pointer_CRainDrop___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CRainDrop*)tolua_tousertype_dynamic(L, 2, 0, "CRainDrop")); + (self->setValue)((CRainDrop*)tolua_tousertype_dynamic(L, 2, 0, "CRainDrop")); return 0; } @@ -52059,7 +53859,7 @@ static int tolua_function_Pointer_unsigned_long___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - unsigned long* returnVal = self->getValue(); + unsigned long* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "Primitive"); return 1; } @@ -52068,7 +53868,7 @@ static int tolua_function_Pointer_unsigned_long___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((unsigned long*)tolua_tousertype_dynamic(L, 2, 0, "Primitive")); + (self->setValue)((unsigned long*)tolua_tousertype_dynamic(L, 2, 0, "Primitive")); return 0; } @@ -52092,7 +53892,7 @@ static int tolua_function_Pointer_CList_unsigned_long_unsigned_long_____getValue { Pointer*>* self = (Pointer*>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer*>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CList* returnVal = self->getValue(); + CList* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CList"); return 1; } @@ -52101,7 +53901,7 @@ static int tolua_function_Pointer_CList_unsigned_long_unsigned_long_____setValue { Pointer*>* self = (Pointer*>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer*>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CList*)tolua_tousertype_dynamic(L, 2, 0, "CList")); + (self->setValue)((CList*)tolua_tousertype_dynamic(L, 2, 0, "CList")); return 0; } @@ -52125,7 +53925,7 @@ static int tolua_function_Pointer_CUIControlTextDisplay___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CUIControlTextDisplay* returnVal = self->getValue(); + CUIControlTextDisplay* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CUIControlTextDisplay"); return 1; } @@ -52134,7 +53934,7 @@ static int tolua_function_Pointer_CUIControlTextDisplay___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CUIControlTextDisplay*)tolua_tousertype_dynamic(L, 2, 0, "CUIControlTextDisplay")); + (self->setValue)((CUIControlTextDisplay*)tolua_tousertype_dynamic(L, 2, 0, "CUIControlTextDisplay")); return 0; } @@ -52158,7 +53958,7 @@ static int tolua_function_Pointer_CMapStringToString__CAssoc____getValue(lua_Sta { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CMapStringToString::CAssoc** returnVal = self->getValue(); + CMapStringToString::CAssoc** returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "Pointer"); return 1; } @@ -52167,7 +53967,7 @@ static int tolua_function_Pointer_CMapStringToString__CAssoc____setValue(lua_Sta { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CMapStringToString::CAssoc**)tolua_tousertype_dynamic(L, 2, 0, "Pointer")); + (self->setValue)((CMapStringToString::CAssoc**)tolua_tousertype_dynamic(L, 2, 0, "Pointer")); return 0; } @@ -52191,7 +53991,7 @@ static int tolua_function_Pointer_CAIScript____getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CAIScript** returnVal = self->getValue(); + CAIScript** returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "Pointer"); return 1; } @@ -52200,7 +54000,7 @@ static int tolua_function_Pointer_CAIScript____setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CAIScript**)tolua_tousertype_dynamic(L, 2, 0, "Pointer")); + (self->setValue)((CAIScript**)tolua_tousertype_dynamic(L, 2, 0, "Pointer")); return 0; } @@ -52224,7 +54024,7 @@ static int tolua_function_Pointer_CSpawnPoint___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CSpawnPoint* returnVal = self->getValue(); + CSpawnPoint* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CSpawnPoint"); return 1; } @@ -52233,7 +54033,7 @@ static int tolua_function_Pointer_CSpawnPoint___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CSpawnPoint*)tolua_tousertype_dynamic(L, 2, 0, "CSpawnPoint")); + (self->setValue)((CSpawnPoint*)tolua_tousertype_dynamic(L, 2, 0, "CSpawnPoint")); return 0; } @@ -52257,7 +54057,7 @@ static int tolua_function_Pointer_CSpawnPointVar___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CSpawnPointVar* returnVal = self->getValue(); + CSpawnPointVar* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CSpawnPointVar"); return 1; } @@ -52266,7 +54066,7 @@ static int tolua_function_Pointer_CSpawnPointVar___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CSpawnPointVar*)tolua_tousertype_dynamic(L, 2, 0, "CSpawnPointVar")); + (self->setValue)((CSpawnPointVar*)tolua_tousertype_dynamic(L, 2, 0, "CSpawnPointVar")); return 0; } @@ -52290,7 +54090,7 @@ static int tolua_function_Pointer_CGameAnimationType___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CGameAnimationType* returnVal = self->getValue(); + CGameAnimationType* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CGameAnimationType"); return 1; } @@ -52299,7 +54099,7 @@ static int tolua_function_Pointer_CGameAnimationType___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CGameAnimationType*)tolua_tousertype_dynamic(L, 2, 0, "CGameAnimationType")); + (self->setValue)((CGameAnimationType*)tolua_tousertype_dynamic(L, 2, 0, "CGameAnimationType")); return 0; } @@ -52323,7 +54123,7 @@ static int tolua_function_Pointer_CBounceEntry___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CBounceEntry* returnVal = self->getValue(); + CBounceEntry* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CBounceEntry"); return 1; } @@ -52332,7 +54132,7 @@ static int tolua_function_Pointer_CBounceEntry___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CBounceEntry*)tolua_tousertype_dynamic(L, 2, 0, "CBounceEntry")); + (self->setValue)((CBounceEntry*)tolua_tousertype_dynamic(L, 2, 0, "CBounceEntry")); return 0; } @@ -52356,7 +54156,7 @@ static int tolua_function_Pointer_CSequenceSound___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CSequenceSound* returnVal = self->getValue(); + CSequenceSound* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CSequenceSound"); return 1; } @@ -52365,7 +54165,7 @@ static int tolua_function_Pointer_CSequenceSound___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CSequenceSound*)tolua_tousertype_dynamic(L, 2, 0, "CSequenceSound")); + (self->setValue)((CSequenceSound*)tolua_tousertype_dynamic(L, 2, 0, "CSequenceSound")); return 0; } @@ -52389,7 +54189,7 @@ static int tolua_function_Pointer_const_unsigned___int16___getValue(lua_State* L { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - const unsigned __int16* returnVal = self->getValue(); + const unsigned __int16* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "Primitive<__int16>"); return 1; } @@ -52414,7 +54214,7 @@ static int tolua_function_Pointer_CVidPalette___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CVidPalette* returnVal = self->getValue(); + CVidPalette* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CVidPalette"); return 1; } @@ -52423,7 +54223,7 @@ static int tolua_function_Pointer_CVidPalette___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CVidPalette*)tolua_tousertype_dynamic(L, 2, 0, "CVidPalette")); + (self->setValue)((CVidPalette*)tolua_tousertype_dynamic(L, 2, 0, "CVidPalette")); return 0; } @@ -52447,7 +54247,7 @@ static int tolua_function_Pointer_CInfinity___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CInfinity* returnVal = self->getValue(); + CInfinity* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CInfinity"); return 1; } @@ -52456,7 +54256,7 @@ static int tolua_function_Pointer_CInfinity___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CInfinity*)tolua_tousertype_dynamic(L, 2, 0, "CInfinity")); + (self->setValue)((CInfinity*)tolua_tousertype_dynamic(L, 2, 0, "CInfinity")); return 0; } @@ -52480,7 +54280,7 @@ static int tolua_function_Pointer___int16___getValue(lua_State* L) { Pointer<__int16*>* self = (Pointer<__int16*>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer<__int16*>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - __int16* returnVal = self->getValue(); + __int16* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "Primitive<__int16>"); return 1; } @@ -52489,7 +54289,7 @@ static int tolua_function_Pointer___int16___setValue(lua_State* L) { Pointer<__int16*>* self = (Pointer<__int16*>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer<__int16*>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((__int16*)tolua_tousertype_dynamic(L, 2, 0, "Primitive<__int16>")); + (self->setValue)((__int16*)tolua_tousertype_dynamic(L, 2, 0, "Primitive<__int16>")); return 0; } @@ -52513,7 +54313,7 @@ static int tolua_function_Pointer_Spell_ability_st___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - Spell_ability_st* returnVal = self->getValue(); + Spell_ability_st* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "Spell_ability_st"); return 1; } @@ -52522,7 +54322,7 @@ static int tolua_function_Pointer_Spell_ability_st___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((Spell_ability_st*)tolua_tousertype_dynamic(L, 2, 0, "Spell_ability_st")); + (self->setValue)((Spell_ability_st*)tolua_tousertype_dynamic(L, 2, 0, "Spell_ability_st")); return 0; } @@ -52546,7 +54346,7 @@ static int tolua_function_Pointer_Spell_Header_st___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - Spell_Header_st* returnVal = self->getValue(); + Spell_Header_st* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "Spell_Header_st"); return 1; } @@ -52555,7 +54355,7 @@ static int tolua_function_Pointer_Spell_Header_st___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((Spell_Header_st*)tolua_tousertype_dynamic(L, 2, 0, "Spell_Header_st")); + (self->setValue)((Spell_Header_st*)tolua_tousertype_dynamic(L, 2, 0, "Spell_Header_st")); return 0; } @@ -52579,7 +54379,7 @@ static int tolua_function_Pointer_CGameSprite____getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CGameSprite** returnVal = self->getValue(); + CGameSprite** returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "Pointer"); return 1; } @@ -52588,7 +54388,7 @@ static int tolua_function_Pointer_CGameSprite____setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CGameSprite**)tolua_tousertype_dynamic(L, 2, 0, "Pointer")); + (self->setValue)((CGameSprite**)tolua_tousertype_dynamic(L, 2, 0, "Pointer")); return 0; } @@ -52612,7 +54412,7 @@ static int tolua_function_Pointer_CAreaFileProjectileObject___getValue(lua_State { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CAreaFileProjectileObject* returnVal = self->getValue(); + CAreaFileProjectileObject* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CAreaFileProjectileObject"); return 1; } @@ -52621,7 +54421,7 @@ static int tolua_function_Pointer_CAreaFileProjectileObject___setValue(lua_State { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CAreaFileProjectileObject*)tolua_tousertype_dynamic(L, 2, 0, "CAreaFileProjectileObject")); + (self->setValue)((CAreaFileProjectileObject*)tolua_tousertype_dynamic(L, 2, 0, "CAreaFileProjectileObject")); return 0; } @@ -52645,7 +54445,7 @@ static int tolua_function_Pointer_SProjectileWrapper___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - SProjectileWrapper* returnVal = self->getValue(); + SProjectileWrapper* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "SProjectileWrapper"); return 1; } @@ -52654,7 +54454,7 @@ static int tolua_function_Pointer_SProjectileWrapper___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((SProjectileWrapper*)tolua_tousertype_dynamic(L, 2, 0, "SProjectileWrapper")); + (self->setValue)((SProjectileWrapper*)tolua_tousertype_dynamic(L, 2, 0, "SProjectileWrapper")); return 0; } @@ -52678,7 +54478,7 @@ static int tolua_function_Pointer_CItem____getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CItem** returnVal = self->getValue(); + CItem** returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "Pointer"); return 1; } @@ -52687,7 +54487,7 @@ static int tolua_function_Pointer_CItem____setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CItem**)tolua_tousertype_dynamic(L, 2, 0, "Pointer")); + (self->setValue)((CItem**)tolua_tousertype_dynamic(L, 2, 0, "Pointer")); return 0; } @@ -52711,7 +54511,7 @@ static int tolua_function_Pointer_CGameContainer___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CGameContainer* returnVal = self->getValue(); + CGameContainer* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CGameContainer"); return 1; } @@ -52720,7 +54520,7 @@ static int tolua_function_Pointer_CGameContainer___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CGameContainer*)tolua_tousertype_dynamic(L, 2, 0, "CGameContainer")); + (self->setValue)((CGameContainer*)tolua_tousertype_dynamic(L, 2, 0, "CGameContainer")); return 0; } @@ -52744,7 +54544,7 @@ static int tolua_function_Pointer_CParticle___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CParticle* returnVal = self->getValue(); + CParticle* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CParticle"); return 1; } @@ -52753,7 +54553,7 @@ static int tolua_function_Pointer_CParticle___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CParticle*)tolua_tousertype_dynamic(L, 2, 0, "CParticle")); + (self->setValue)((CParticle*)tolua_tousertype_dynamic(L, 2, 0, "CParticle")); return 0; } @@ -52777,7 +54577,7 @@ static int tolua_function_Pointer_CProjectileBAM___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CProjectileBAM* returnVal = self->getValue(); + CProjectileBAM* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CProjectileBAM"); return 1; } @@ -52786,7 +54586,7 @@ static int tolua_function_Pointer_CProjectileBAM___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CProjectileBAM*)tolua_tousertype_dynamic(L, 2, 0, "CProjectileBAM")); + (self->setValue)((CProjectileBAM*)tolua_tousertype_dynamic(L, 2, 0, "CProjectileBAM")); return 0; } @@ -52810,7 +54610,7 @@ static int tolua_function_Pointer_CGameDialogReply___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CGameDialogReply* returnVal = self->getValue(); + CGameDialogReply* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CGameDialogReply"); return 1; } @@ -52819,7 +54619,7 @@ static int tolua_function_Pointer_CGameDialogReply___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CGameDialogReply*)tolua_tousertype_dynamic(L, 2, 0, "CGameDialogReply")); + (self->setValue)((CGameDialogReply*)tolua_tousertype_dynamic(L, 2, 0, "CGameDialogReply")); return 0; } @@ -52843,7 +54643,7 @@ static int tolua_function_Pointer_CGameTrigger___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CGameTrigger* returnVal = self->getValue(); + CGameTrigger* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CGameTrigger"); return 1; } @@ -52852,7 +54652,7 @@ static int tolua_function_Pointer_CGameTrigger___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CGameTrigger*)tolua_tousertype_dynamic(L, 2, 0, "CGameTrigger")); + (self->setValue)((CGameTrigger*)tolua_tousertype_dynamic(L, 2, 0, "CGameTrigger")); return 0; } @@ -52876,7 +54676,7 @@ static int tolua_function_Pointer_CAreaFileContainer___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CAreaFileContainer* returnVal = self->getValue(); + CAreaFileContainer* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CAreaFileContainer"); return 1; } @@ -52885,7 +54685,7 @@ static int tolua_function_Pointer_CAreaFileContainer___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CAreaFileContainer*)tolua_tousertype_dynamic(L, 2, 0, "CAreaFileContainer")); + (self->setValue)((CAreaFileContainer*)tolua_tousertype_dynamic(L, 2, 0, "CAreaFileContainer")); return 0; } @@ -52909,7 +54709,7 @@ static int tolua_function_Pointer_CCreatureFileItem___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CCreatureFileItem* returnVal = self->getValue(); + CCreatureFileItem* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CCreatureFileItem"); return 1; } @@ -52918,7 +54718,7 @@ static int tolua_function_Pointer_CCreatureFileItem___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CCreatureFileItem*)tolua_tousertype_dynamic(L, 2, 0, "CCreatureFileItem")); + (self->setValue)((CCreatureFileItem*)tolua_tousertype_dynamic(L, 2, 0, "CCreatureFileItem")); return 0; } @@ -52942,7 +54742,7 @@ static int tolua_function_Pointer_CAreaPoint___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CAreaPoint* returnVal = self->getValue(); + CAreaPoint* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CAreaPoint"); return 1; } @@ -52951,7 +54751,7 @@ static int tolua_function_Pointer_CAreaPoint___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CAreaPoint*)tolua_tousertype_dynamic(L, 2, 0, "CAreaPoint")); + (self->setValue)((CAreaPoint*)tolua_tousertype_dynamic(L, 2, 0, "CAreaPoint")); return 0; } @@ -52975,7 +54775,7 @@ static int tolua_function_Pointer_uiColumn___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - uiColumn* returnVal = self->getValue(); + uiColumn* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "uiColumn"); return 1; } @@ -52984,7 +54784,7 @@ static int tolua_function_Pointer_uiColumn___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((uiColumn*)tolua_tousertype_dynamic(L, 2, 0, "uiColumn")); + (self->setValue)((uiColumn*)tolua_tousertype_dynamic(L, 2, 0, "uiColumn")); return 0; } @@ -53008,7 +54808,7 @@ static int tolua_function_Pointer_CProjectileSegment___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CProjectileSegment* returnVal = self->getValue(); + CProjectileSegment* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CProjectileSegment"); return 1; } @@ -53017,7 +54817,7 @@ static int tolua_function_Pointer_CProjectileSegment___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CProjectileSegment*)tolua_tousertype_dynamic(L, 2, 0, "CProjectileSegment")); + (self->setValue)((CProjectileSegment*)tolua_tousertype_dynamic(L, 2, 0, "CProjectileSegment")); return 0; } @@ -53041,7 +54841,7 @@ static int tolua_function_Pointer_CProjectileNewScorcher___getValue(lua_State* L { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CProjectileNewScorcher* returnVal = self->getValue(); + CProjectileNewScorcher* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CProjectileNewScorcher"); return 1; } @@ -53050,7 +54850,7 @@ static int tolua_function_Pointer_CProjectileNewScorcher___setValue(lua_State* L { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CProjectileNewScorcher*)tolua_tousertype_dynamic(L, 2, 0, "CProjectileNewScorcher")); + (self->setValue)((CProjectileNewScorcher*)tolua_tousertype_dynamic(L, 2, 0, "CProjectileNewScorcher")); return 0; } @@ -53074,7 +54874,7 @@ static int tolua_function_Pointer_UI_Header_st___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - UI_Header_st* returnVal = self->getValue(); + UI_Header_st* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "UI_Header_st"); return 1; } @@ -53083,7 +54883,7 @@ static int tolua_function_Pointer_UI_Header_st___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((UI_Header_st*)tolua_tousertype_dynamic(L, 2, 0, "UI_Header_st")); + (self->setValue)((UI_Header_st*)tolua_tousertype_dynamic(L, 2, 0, "UI_Header_st")); return 0; } @@ -53107,7 +54907,7 @@ static int tolua_function_Pointer_UI_PanelHeader_st___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - UI_PanelHeader_st* returnVal = self->getValue(); + UI_PanelHeader_st* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "UI_PanelHeader_st"); return 1; } @@ -53116,7 +54916,7 @@ static int tolua_function_Pointer_UI_PanelHeader_st___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((UI_PanelHeader_st*)tolua_tousertype_dynamic(L, 2, 0, "UI_PanelHeader_st")); + (self->setValue)((UI_PanelHeader_st*)tolua_tousertype_dynamic(L, 2, 0, "UI_PanelHeader_st")); return 0; } @@ -53140,7 +54940,7 @@ static int tolua_function_Pointer_UI_ControlTableEntry_st___getValue(lua_State* { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - UI_ControlTableEntry_st* returnVal = self->getValue(); + UI_ControlTableEntry_st* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "UI_ControlTableEntry_st"); return 1; } @@ -53149,7 +54949,7 @@ static int tolua_function_Pointer_UI_ControlTableEntry_st___setValue(lua_State* { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((UI_ControlTableEntry_st*)tolua_tousertype_dynamic(L, 2, 0, "UI_ControlTableEntry_st")); + (self->setValue)((UI_ControlTableEntry_st*)tolua_tousertype_dynamic(L, 2, 0, "UI_ControlTableEntry_st")); return 0; } @@ -53173,7 +54973,7 @@ static int tolua_function_Pointer_PLTHeader_st___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - PLTHeader_st* returnVal = self->getValue(); + PLTHeader_st* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "PLTHeader_st"); return 1; } @@ -53182,10 +54982,60 @@ static int tolua_function_Pointer_PLTHeader_st___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((PLTHeader_st*)tolua_tousertype_dynamic(L, 2, 0, "PLTHeader_st")); + (self->setValue)((PLTHeader_st*)tolua_tousertype_dynamic(L, 2, 0, "PLTHeader_st")); return 0; } +static int tolua_get_Pointer_const_SDL_MessageBoxButtonData___reference(lua_State* L) +{ + Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'reference'", NULL); + tolua_pushusertype(L, (void*)self->reference, "Pointer"); + return 1; +} + +static int tolua_set_Pointer_const_SDL_MessageBoxButtonData___reference(lua_State* L) +{ + Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'reference'", NULL); + self->reference = (const SDL_MessageBoxButtonData**)tolua_tousertype_dynamic(L, 2, 0, "Pointer"); + return 0; +} + +static int tolua_function_Pointer_const_SDL_MessageBoxButtonData___getValue(lua_State* L) +{ + Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); + const SDL_MessageBoxButtonData* returnVal = (self->getValue)(); + tolua_pushusertype(L, (void*)returnVal, "SDL_MessageBoxButtonData"); + return 1; +} + +static int tolua_get_Pointer_const_SDL_MessageBoxColorScheme___reference(lua_State* L) +{ + Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'reference'", NULL); + tolua_pushusertype(L, (void*)self->reference, "Pointer"); + return 1; +} + +static int tolua_set_Pointer_const_SDL_MessageBoxColorScheme___reference(lua_State* L) +{ + Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'reference'", NULL); + self->reference = (const SDL_MessageBoxColorScheme**)tolua_tousertype_dynamic(L, 2, 0, "Pointer"); + return 0; +} + +static int tolua_function_Pointer_const_SDL_MessageBoxColorScheme___getValue(lua_State* L) +{ + Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); + const SDL_MessageBoxColorScheme* returnVal = (self->getValue)(); + tolua_pushusertype(L, (void*)returnVal, "SDL_MessageBoxColorScheme"); + return 1; +} + static int tolua_get_Pointer_CTimer___reference(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); @@ -53206,7 +55056,7 @@ static int tolua_function_Pointer_CTimer___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CTimer* returnVal = self->getValue(); + CTimer* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CTimer"); return 1; } @@ -53215,7 +55065,7 @@ static int tolua_function_Pointer_CTimer___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CTimer*)tolua_tousertype_dynamic(L, 2, 0, "CTimer")); + (self->setValue)((CTimer*)tolua_tousertype_dynamic(L, 2, 0, "CTimer")); return 0; } @@ -53239,7 +55089,7 @@ static int tolua_function_Pointer_CProjectileMushroom___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CProjectileMushroom* returnVal = self->getValue(); + CProjectileMushroom* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CProjectileMushroom"); return 1; } @@ -53248,10 +55098,291 @@ static int tolua_function_Pointer_CProjectileMushroom___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CProjectileMushroom*)tolua_tousertype_dynamic(L, 2, 0, "CProjectileMushroom")); + (self->setValue)((CProjectileMushroom*)tolua_tousertype_dynamic(L, 2, 0, "CProjectileMushroom")); return 0; } +static int tolua_get_Pointer_HDC_____reference(lua_State* L) +{ + Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'reference'", NULL); + tolua_pushusertype(L, (void*)self->reference, "Pointer"); + return 1; +} + +static int tolua_set_Pointer_HDC_____reference(lua_State* L) +{ + Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'reference'", NULL); + self->reference = (HDC__**)tolua_tousertype_dynamic(L, 2, 0, "Pointer"); + return 0; +} + +static int tolua_function_Pointer_HDC_____getValue(lua_State* L) +{ + Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); + HDC__* returnVal = (self->getValue)(); + tolua_pushusertype(L, (void*)returnVal, "HDC__"); + return 1; +} + +static int tolua_function_Pointer_HDC_____setValue(lua_State* L) +{ + Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); + (self->setValue)((HDC__*)tolua_tousertype_dynamic(L, 2, 0, "HDC__")); + return 0; +} + +static int tolua_get_Pointer_SDL_WindowShapeMode___reference(lua_State* L) +{ + Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'reference'", NULL); + tolua_pushusertype(L, (void*)self->reference, "Pointer"); + return 1; +} + +static int tolua_set_Pointer_SDL_WindowShapeMode___reference(lua_State* L) +{ + Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'reference'", NULL); + self->reference = (SDL_WindowShapeMode**)tolua_tousertype_dynamic(L, 2, 0, "Pointer"); + return 0; +} + +static int tolua_function_Pointer_SDL_WindowShapeMode___getValue(lua_State* L) +{ + Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); + SDL_WindowShapeMode* returnVal = (self->getValue)(); + tolua_pushusertype(L, (void*)returnVal, "SDL_WindowShapeMode"); + return 1; +} + +static int tolua_function_Pointer_SDL_WindowShapeMode___setValue(lua_State* L) +{ + Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); + (self->setValue)((SDL_WindowShapeMode*)tolua_tousertype_dynamic(L, 2, 0, "SDL_WindowShapeMode")); + return 0; +} + +static int tolua_get_Pointer_SDL_SysWMinfo___reference(lua_State* L) +{ + Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'reference'", NULL); + tolua_pushusertype(L, (void*)self->reference, "Pointer"); + return 1; +} + +static int tolua_set_Pointer_SDL_SysWMinfo___reference(lua_State* L) +{ + Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'reference'", NULL); + self->reference = (SDL_SysWMinfo**)tolua_tousertype_dynamic(L, 2, 0, "Pointer"); + return 0; +} + +static int tolua_function_Pointer_SDL_SysWMinfo___getValue(lua_State* L) +{ + Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); + SDL_SysWMinfo* returnVal = (self->getValue)(); + tolua_pushusertype(L, (void*)returnVal, "SDL_SysWMinfo"); + return 1; +} + +static int tolua_function_Pointer_SDL_SysWMinfo___setValue(lua_State* L) +{ + Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); + (self->setValue)((SDL_SysWMinfo*)tolua_tousertype_dynamic(L, 2, 0, "SDL_SysWMinfo")); + return 0; +} + +static int tolua_get_Pointer_const_SDL_MessageBoxData___reference(lua_State* L) +{ + Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'reference'", NULL); + tolua_pushusertype(L, (void*)self->reference, "Pointer"); + return 1; +} + +static int tolua_set_Pointer_const_SDL_MessageBoxData___reference(lua_State* L) +{ + Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'reference'", NULL); + self->reference = (const SDL_MessageBoxData**)tolua_tousertype_dynamic(L, 2, 0, "Pointer"); + return 0; +} + +static int tolua_function_Pointer_const_SDL_MessageBoxData___getValue(lua_State* L) +{ + Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); + const SDL_MessageBoxData* returnVal = (self->getValue)(); + tolua_pushusertype(L, (void*)returnVal, "SDL_MessageBoxData"); + return 1; +} + +static int tolua_get_Pointer_SDL_GLDriverData___reference(lua_State* L) +{ + Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'reference'", NULL); + tolua_pushusertype(L, (void*)self->reference, "Pointer"); + return 1; +} + +static int tolua_set_Pointer_SDL_GLDriverData___reference(lua_State* L) +{ + Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'reference'", NULL); + self->reference = (SDL_GLDriverData**)tolua_tousertype_dynamic(L, 2, 0, "Pointer"); + return 0; +} + +static int tolua_function_Pointer_SDL_GLDriverData___getValue(lua_State* L) +{ + Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); + SDL_GLDriverData* returnVal = (self->getValue)(); + tolua_pushusertype(L, (void*)returnVal, "SDL_GLDriverData"); + return 1; +} + +static int tolua_function_Pointer_SDL_GLDriverData___setValue(lua_State* L) +{ + Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); + (self->setValue)((SDL_GLDriverData*)tolua_tousertype_dynamic(L, 2, 0, "SDL_GLDriverData")); + return 0; +} + +static int tolua_get_Pointer_SDL_EGL_VideoData___reference(lua_State* L) +{ + Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'reference'", NULL); + tolua_pushusertype(L, (void*)self->reference, "Pointer"); + return 1; +} + +static int tolua_set_Pointer_SDL_EGL_VideoData___reference(lua_State* L) +{ + Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'reference'", NULL); + self->reference = (SDL_EGL_VideoData**)tolua_tousertype_dynamic(L, 2, 0, "Pointer"); + return 0; +} + +static int tolua_function_Pointer_SDL_EGL_VideoData___getValue(lua_State* L) +{ + Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); + SDL_EGL_VideoData* returnVal = (self->getValue)(); + tolua_pushusertype(L, (void*)returnVal, "SDL_EGL_VideoData"); + return 1; +} + +static int tolua_function_Pointer_SDL_EGL_VideoData___setValue(lua_State* L) +{ + Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); + (self->setValue)((SDL_EGL_VideoData*)tolua_tousertype_dynamic(L, 2, 0, "SDL_EGL_VideoData")); + return 0; +} + +static int tolua_get_Pointer_SDL_PrivateGLESData___reference(lua_State* L) +{ + Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'reference'", NULL); + tolua_pushusertype(L, (void*)self->reference, "Pointer"); + return 1; +} + +static int tolua_set_Pointer_SDL_PrivateGLESData___reference(lua_State* L) +{ + Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'reference'", NULL); + self->reference = (SDL_PrivateGLESData**)tolua_tousertype_dynamic(L, 2, 0, "Pointer"); + return 0; +} + +static int tolua_function_Pointer_SDL_PrivateGLESData___getValue(lua_State* L) +{ + Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); + SDL_PrivateGLESData* returnVal = (self->getValue)(); + tolua_pushusertype(L, (void*)returnVal, "SDL_PrivateGLESData"); + return 1; +} + +static int tolua_function_Pointer_SDL_PrivateGLESData___setValue(lua_State* L) +{ + Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); + (self->setValue)((SDL_PrivateGLESData*)tolua_tousertype_dynamic(L, 2, 0, "SDL_PrivateGLESData")); + return 0; +} + +static int tolua_get_Pointer_HGLRC_____reference(lua_State* L) +{ + Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'reference'", NULL); + tolua_pushusertype(L, (void*)self->reference, "Pointer"); + return 1; +} + +static int tolua_set_Pointer_HGLRC_____reference(lua_State* L) +{ + Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'reference'", NULL); + self->reference = (HGLRC__**)tolua_tousertype_dynamic(L, 2, 0, "Pointer"); + return 0; +} + +static int tolua_function_Pointer_HGLRC_____getValue(lua_State* L) +{ + Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); + HGLRC__* returnVal = (self->getValue)(); + tolua_pushusertype(L, (void*)returnVal, "HGLRC__"); + return 1; +} + +static int tolua_function_Pointer_HGLRC_____setValue(lua_State* L) +{ + Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); + (self->setValue)((HGLRC__*)tolua_tousertype_dynamic(L, 2, 0, "HGLRC__")); + return 0; +} + +static int tolua_get_Pointer_const_float___reference(lua_State* L) +{ + Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'reference'", NULL); + tolua_pushusertype(L, (void*)self->reference, "Pointer"); + return 1; +} + +static int tolua_set_Pointer_const_float___reference(lua_State* L) +{ + Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'reference'", NULL); + self->reference = (const float**)tolua_tousertype_dynamic(L, 2, 0, "Pointer"); + return 0; +} + +static int tolua_function_Pointer_const_float___getValue(lua_State* L) +{ + Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); + const float* returnVal = (self->getValue)(); + tolua_pushusertype(L, (void*)returnVal, "Primitive"); + return 1; +} + static int tolua_get_Pointer_VariableArray_CString____reference(lua_State* L) { Pointer*>* self = (Pointer*>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer*>"); @@ -53272,7 +55403,7 @@ static int tolua_function_Pointer_VariableArray_CString____getValue(lua_State* L { Pointer*>* self = (Pointer*>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer*>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - VariableArray* returnVal = self->getValue(); + VariableArray* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "VariableArray"); return 1; } @@ -53281,7 +55412,7 @@ static int tolua_function_Pointer_VariableArray_CString____setValue(lua_State* L { Pointer*>* self = (Pointer*>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer*>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((VariableArray*)tolua_tousertype_dynamic(L, 2, 0, "VariableArray")); + (self->setValue)((VariableArray*)tolua_tousertype_dynamic(L, 2, 0, "VariableArray")); return 0; } @@ -53305,7 +55436,7 @@ static int tolua_function_Pointer_VariableArray_CAIId_____getValue(lua_State* L) { Pointer*>* self = (Pointer*>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer*>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - VariableArray* returnVal = self->getValue(); + VariableArray* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "VariableArray"); return 1; } @@ -53314,7 +55445,7 @@ static int tolua_function_Pointer_VariableArray_CAIId_____setValue(lua_State* L) { Pointer*>* self = (Pointer*>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer*>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((VariableArray*)tolua_tousertype_dynamic(L, 2, 0, "VariableArray")); + (self->setValue)((VariableArray*)tolua_tousertype_dynamic(L, 2, 0, "VariableArray")); return 0; } @@ -53338,7 +55469,7 @@ static int tolua_function_Pointer_VariableArray_int____getValue(lua_State* L) { Pointer*>* self = (Pointer*>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer*>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - VariableArray* returnVal = self->getValue(); + VariableArray* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "VariableArray"); return 1; } @@ -53347,7 +55478,7 @@ static int tolua_function_Pointer_VariableArray_int____setValue(lua_State* L) { Pointer*>* self = (Pointer*>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer*>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((VariableArray*)tolua_tousertype_dynamic(L, 2, 0, "VariableArray")); + (self->setValue)((VariableArray*)tolua_tousertype_dynamic(L, 2, 0, "VariableArray")); return 0; } @@ -53371,7 +55502,7 @@ static int tolua_function_Pointer_CTypedPtrList_CPtrList_long___CNode___getValue { Pointer::CNode*>* self = (Pointer::CNode*>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer::CNode*>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CTypedPtrList::CNode* returnVal = self->getValue(); + CTypedPtrList::CNode* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CTypedPtrList::CNode"); return 1; } @@ -53380,7 +55511,7 @@ static int tolua_function_Pointer_CTypedPtrList_CPtrList_long___CNode___setValue { Pointer::CNode*>* self = (Pointer::CNode*>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer::CNode*>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::CNode")); + (self->setValue)((CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::CNode")); return 0; } @@ -53404,7 +55535,7 @@ static int tolua_function_Pointer_VariableArray_void_____getValue(lua_State* L) { Pointer*>* self = (Pointer*>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer*>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - VariableArray* returnVal = self->getValue(); + VariableArray* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "VariableArray"); return 1; } @@ -53413,7 +55544,7 @@ static int tolua_function_Pointer_VariableArray_void_____setValue(lua_State* L) { Pointer*>* self = (Pointer*>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer*>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((VariableArray*)tolua_tousertype_dynamic(L, 2, 0, "VariableArray")); + (self->setValue)((VariableArray*)tolua_tousertype_dynamic(L, 2, 0, "VariableArray")); return 0; } @@ -53437,7 +55568,7 @@ static int tolua_function_Pointer_CScreenStoreItem___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CScreenStoreItem* returnVal = self->getValue(); + CScreenStoreItem* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CScreenStoreItem"); return 1; } @@ -53446,7 +55577,7 @@ static int tolua_function_Pointer_CScreenStoreItem___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CScreenStoreItem*)tolua_tousertype_dynamic(L, 2, 0, "CScreenStoreItem")); + (self->setValue)((CScreenStoreItem*)tolua_tousertype_dynamic(L, 2, 0, "CScreenStoreItem")); return 0; } @@ -53470,7 +55601,7 @@ static int tolua_function_Pointer_CSoundChannel___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CSoundChannel* returnVal = self->getValue(); + CSoundChannel* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CSoundChannel"); return 1; } @@ -53479,7 +55610,7 @@ static int tolua_function_Pointer_CSoundChannel___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CSoundChannel*)tolua_tousertype_dynamic(L, 2, 0, "CSoundChannel")); + (self->setValue)((CSoundChannel*)tolua_tousertype_dynamic(L, 2, 0, "CSoundChannel")); return 0; } @@ -53503,7 +55634,7 @@ static int tolua_function_Pointer_CVoice___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CVoice* returnVal = self->getValue(); + CVoice* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CVoice"); return 1; } @@ -53512,7 +55643,7 @@ static int tolua_function_Pointer_CVoice___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CVoice*)tolua_tousertype_dynamic(L, 2, 0, "CVoice")); + (self->setValue)((CVoice*)tolua_tousertype_dynamic(L, 2, 0, "CVoice")); return 0; } @@ -53536,7 +55667,7 @@ static int tolua_function_Pointer_CVideo__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CVideo*)tolua_tousertype_dynamic(L, 2, 0, "CVideo")); + (self->setValue)(*(CVideo*)tolua_tousertype_dynamic(L, 2, 0, "CVideo")); return 0; } @@ -53560,7 +55691,7 @@ static int tolua_function_Pointer_CallInfo__u_t__l_t__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CallInfo::u_t::l_t*)tolua_tousertype_dynamic(L, 2, 0, "CallInfo::u_t::l_t")); + (self->setValue)(*(CallInfo::u_t::l_t*)tolua_tousertype_dynamic(L, 2, 0, "CallInfo::u_t::l_t")); return 0; } @@ -53616,7 +55747,7 @@ static int tolua_function_Pointer_size_t__getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - size_t returnVal = self->getValue(); + size_t returnVal = (self->getValue)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -53625,7 +55756,7 @@ static int tolua_function_Pointer_size_t__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(tolua_function_tointeger(L, 2, "setValue")); + (self->setValue)(tolua_function_tointeger(L, 2, "setValue")); return 0; } @@ -53649,7 +55780,7 @@ static int tolua_function_Pointer_uint__getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - uint returnVal = self->getValue(); + uint returnVal = (self->getValue)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -53658,7 +55789,7 @@ static int tolua_function_Pointer_uint__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(tolua_function_tointeger(L, 2, "setValue")); + (self->setValue)(tolua_function_tointeger(L, 2, "setValue")); return 0; } @@ -53682,7 +55813,7 @@ static int tolua_function_Pointer_uintptr_t__getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - uintptr_t returnVal = self->getValue(); + uintptr_t returnVal = (self->getValue)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -53691,7 +55822,7 @@ static int tolua_function_Pointer_uintptr_t__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(tolua_function_tointeger(L, 2, "setValue")); + (self->setValue)(tolua_function_tointeger(L, 2, "setValue")); return 0; } @@ -53715,7 +55846,7 @@ static int tolua_function_Pointer___int8__getValue(lua_State* L) { Pointer<__int8>* self = (Pointer<__int8>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer<__int8>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - __int8 returnVal = self->getValue(); + __int8 returnVal = (self->getValue)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -53724,7 +55855,7 @@ static int tolua_function_Pointer___int8__setValue(lua_State* L) { Pointer<__int8>* self = (Pointer<__int8>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer<__int8>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(tolua_function_tointeger<__int8>(L, 2, "setValue")); + (self->setValue)(tolua_function_tointeger<__int8>(L, 2, "setValue")); return 0; } @@ -53748,7 +55879,7 @@ static int tolua_function_Pointer___int32__getValue(lua_State* L) { Pointer<__int32>* self = (Pointer<__int32>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer<__int32>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - __int32 returnVal = self->getValue(); + __int32 returnVal = (self->getValue)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -53757,7 +55888,7 @@ static int tolua_function_Pointer___int32__setValue(lua_State* L) { Pointer<__int32>* self = (Pointer<__int32>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer<__int32>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(tolua_function_tointeger<__int32>(L, 2, "setValue")); + (self->setValue)(tolua_function_tointeger<__int32>(L, 2, "setValue")); return 0; } @@ -53781,7 +55912,7 @@ static int tolua_function_Pointer_DrawFilter__getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - DrawFilter returnVal = self->getValue(); + DrawFilter returnVal = (self->getValue)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -53790,7 +55921,7 @@ static int tolua_function_Pointer_DrawFilter__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((DrawFilter)tolua_function_tointeger<__int32>(L, 2, "setValue")); + (self->setValue)((DrawFilter)tolua_function_tointeger<__int32>(L, 2, "setValue")); return 0; } @@ -53814,7 +55945,7 @@ static int tolua_function_Pointer__D3DFORMAT__getValue(lua_State* L) { Pointer<_D3DFORMAT>* self = (Pointer<_D3DFORMAT>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer<_D3DFORMAT>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - _D3DFORMAT returnVal = self->getValue(); + _D3DFORMAT returnVal = (self->getValue)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -53823,7 +55954,7 @@ static int tolua_function_Pointer__D3DFORMAT__setValue(lua_State* L) { Pointer<_D3DFORMAT>* self = (Pointer<_D3DFORMAT>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer<_D3DFORMAT>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((_D3DFORMAT)tolua_function_tointeger<__int32>(L, 2, "setValue")); + (self->setValue)((_D3DFORMAT)tolua_function_tointeger<__int32>(L, 2, "setValue")); return 0; } @@ -53847,7 +55978,7 @@ static int tolua_function_Pointer_CGameObjectType__getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CGameObjectType returnVal = self->getValue(); + CGameObjectType returnVal = (self->getValue)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -53856,7 +55987,7 @@ static int tolua_function_Pointer_CGameObjectType__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CGameObjectType)tolua_function_tointeger<__int8>(L, 2, "setValue")); + (self->setValue)((CGameObjectType)tolua_function_tointeger<__int8>(L, 2, "setValue")); return 0; } @@ -53880,7 +56011,7 @@ static int tolua_function_Pointer_CChitin__EngineMode__getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CChitin::EngineMode returnVal = self->getValue(); + CChitin::EngineMode returnVal = (self->getValue)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -53889,7 +56020,7 @@ static int tolua_function_Pointer_CChitin__EngineMode__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CChitin::EngineMode)tolua_function_tointeger<__int32>(L, 2, "setValue")); + (self->setValue)((CChitin::EngineMode)tolua_function_tointeger<__int32>(L, 2, "setValue")); return 0; } @@ -53913,7 +56044,7 @@ static int tolua_function_Pointer_DP_ProviderID__getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - DP_ProviderID returnVal = self->getValue(); + DP_ProviderID returnVal = (self->getValue)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -53922,7 +56053,7 @@ static int tolua_function_Pointer_DP_ProviderID__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((DP_ProviderID)tolua_function_tointeger<__int32>(L, 2, "setValue")); + (self->setValue)((DP_ProviderID)tolua_function_tointeger<__int32>(L, 2, "setValue")); return 0; } @@ -53946,7 +56077,7 @@ static int tolua_function_Pointer_SDL_bool__getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - SDL_bool returnVal = self->getValue(); + SDL_bool returnVal = (self->getValue)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -53955,7 +56086,7 @@ static int tolua_function_Pointer_SDL_bool__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((SDL_bool)tolua_function_tointeger<__int32>(L, 2, "setValue")); + (self->setValue)((SDL_bool)tolua_function_tointeger<__int32>(L, 2, "setValue")); return 0; } @@ -53979,7 +56110,7 @@ static int tolua_function_Pointer_SDL_HitTestResult__getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - SDL_HitTestResult returnVal = self->getValue(); + SDL_HitTestResult returnVal = (self->getValue)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -53988,7 +56119,7 @@ static int tolua_function_Pointer_SDL_HitTestResult__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((SDL_HitTestResult)tolua_function_tointeger<__int32>(L, 2, "setValue")); + (self->setValue)((SDL_HitTestResult)tolua_function_tointeger<__int32>(L, 2, "setValue")); return 0; } @@ -54012,7 +56143,7 @@ static int tolua_function_Pointer_uiVariantType__getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - uiVariantType returnVal = self->getValue(); + uiVariantType returnVal = (self->getValue)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -54021,7 +56152,7 @@ static int tolua_function_Pointer_uiVariantType__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((uiVariantType)tolua_function_tointeger<__int32>(L, 2, "setValue")); + (self->setValue)((uiVariantType)tolua_function_tointeger<__int32>(L, 2, "setValue")); return 0; } @@ -54045,7 +56176,7 @@ static int tolua_function_Pointer_DepthLockState__getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - DepthLockState returnVal = self->getValue(); + DepthLockState returnVal = (self->getValue)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -54054,7 +56185,7 @@ static int tolua_function_Pointer_DepthLockState__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((DepthLockState)tolua_function_tointeger<__int32>(L, 2, "setValue")); + (self->setValue)((DepthLockState)tolua_function_tointeger<__int32>(L, 2, "setValue")); return 0; } @@ -54078,7 +56209,7 @@ static int tolua_function_Pointer_volatile_int__getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - volatile int returnVal = self->getValue(); + volatile int returnVal = (self->getValue)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -54087,7 +56218,7 @@ static int tolua_function_Pointer_volatile_int__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(tolua_function_tointeger(L, 2, "setValue")); + (self->setValue)(tolua_function_tointeger(L, 2, "setValue")); return 0; } @@ -54111,7 +56242,7 @@ static int tolua_function_Pointer_DPWrapper__PEER_STATE_t__getValue(lua_State* L { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - DPWrapper::PEER_STATE_t returnVal = self->getValue(); + DPWrapper::PEER_STATE_t returnVal = (self->getValue)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -54120,7 +56251,7 @@ static int tolua_function_Pointer_DPWrapper__PEER_STATE_t__setValue(lua_State* L { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((DPWrapper::PEER_STATE_t)tolua_function_tointeger<__int32>(L, 2, "setValue")); + (self->setValue)((DPWrapper::PEER_STATE_t)tolua_function_tointeger<__int32>(L, 2, "setValue")); return 0; } @@ -54144,7 +56275,7 @@ static int tolua_function_Pointer_unsigned___int32__getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - unsigned __int32 returnVal = self->getValue(); + unsigned __int32 returnVal = (self->getValue)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -54153,7 +56284,7 @@ static int tolua_function_Pointer_unsigned___int32__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(tolua_function_tointeger(L, 2, "setValue")); + (self->setValue)(tolua_function_tointeger(L, 2, "setValue")); return 0; } @@ -54177,7 +56308,7 @@ static int tolua_function_Pointer_EResult__getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - EResult returnVal = self->getValue(); + EResult returnVal = (self->getValue)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -54186,7 +56317,7 @@ static int tolua_function_Pointer_EResult__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((EResult)tolua_function_tointeger<__int32>(L, 2, "setValue")); + (self->setValue)((EResult)tolua_function_tointeger<__int32>(L, 2, "setValue")); return 0; } @@ -54210,7 +56341,7 @@ static int tolua_function_Pointer_EWorkshopFileType__getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - EWorkshopFileType returnVal = self->getValue(); + EWorkshopFileType returnVal = (self->getValue)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -54219,7 +56350,7 @@ static int tolua_function_Pointer_EWorkshopFileType__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((EWorkshopFileType)tolua_function_tointeger<__int32>(L, 2, "setValue")); + (self->setValue)((EWorkshopFileType)tolua_function_tointeger<__int32>(L, 2, "setValue")); return 0; } @@ -54243,7 +56374,7 @@ static int tolua_function_Pointer_ERemoteStoragePublishedFileVisibility__getValu { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - ERemoteStoragePublishedFileVisibility returnVal = self->getValue(); + ERemoteStoragePublishedFileVisibility returnVal = (self->getValue)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -54252,7 +56383,7 @@ static int tolua_function_Pointer_ERemoteStoragePublishedFileVisibility__setValu { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((ERemoteStoragePublishedFileVisibility)tolua_function_tointeger<__int32>(L, 2, "setValue")); + (self->setValue)((ERemoteStoragePublishedFileVisibility)tolua_function_tointeger<__int32>(L, 2, "setValue")); return 0; } @@ -54276,7 +56407,7 @@ static int tolua_function_Pointer_ERemoteStoragePlatform__getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - ERemoteStoragePlatform returnVal = self->getValue(); + ERemoteStoragePlatform returnVal = (self->getValue)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -54285,7 +56416,7 @@ static int tolua_function_Pointer_ERemoteStoragePlatform__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((ERemoteStoragePlatform)tolua_function_tointeger<__int32>(L, 2, "setValue")); + (self->setValue)((ERemoteStoragePlatform)tolua_function_tointeger<__int32>(L, 2, "setValue")); return 0; } @@ -54309,7 +56440,7 @@ static int tolua_function_Pointer_EUGCReadAction__getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - EUGCReadAction returnVal = self->getValue(); + EUGCReadAction returnVal = (self->getValue)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -54318,7 +56449,7 @@ static int tolua_function_Pointer_EUGCReadAction__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((EUGCReadAction)tolua_function_tointeger<__int32>(L, 2, "setValue")); + (self->setValue)((EUGCReadAction)tolua_function_tointeger<__int32>(L, 2, "setValue")); return 0; } @@ -54342,7 +56473,7 @@ static int tolua_function_Pointer_EWorkshopVideoProvider__getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - EWorkshopVideoProvider returnVal = self->getValue(); + EWorkshopVideoProvider returnVal = (self->getValue)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -54351,7 +56482,7 @@ static int tolua_function_Pointer_EWorkshopVideoProvider__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((EWorkshopVideoProvider)tolua_function_tointeger<__int32>(L, 2, "setValue")); + (self->setValue)((EWorkshopVideoProvider)tolua_function_tointeger<__int32>(L, 2, "setValue")); return 0; } @@ -54375,7 +56506,7 @@ static int tolua_function_Pointer_EWorkshopFileAction__getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - EWorkshopFileAction returnVal = self->getValue(); + EWorkshopFileAction returnVal = (self->getValue)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -54384,7 +56515,7 @@ static int tolua_function_Pointer_EWorkshopFileAction__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((EWorkshopFileAction)tolua_function_tointeger<__int32>(L, 2, "setValue")); + (self->setValue)((EWorkshopFileAction)tolua_function_tointeger<__int32>(L, 2, "setValue")); return 0; } @@ -54408,7 +56539,7 @@ static int tolua_function_Pointer_EWorkshopEnumerationType__getValue(lua_State* { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - EWorkshopEnumerationType returnVal = self->getValue(); + EWorkshopEnumerationType returnVal = (self->getValue)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -54417,7 +56548,7 @@ static int tolua_function_Pointer_EWorkshopEnumerationType__setValue(lua_State* { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((EWorkshopEnumerationType)tolua_function_tointeger<__int32>(L, 2, "setValue")); + (self->setValue)((EWorkshopEnumerationType)tolua_function_tointeger<__int32>(L, 2, "setValue")); return 0; } @@ -54441,7 +56572,7 @@ static int tolua_function_Pointer_EUserUGCList__getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - EUserUGCList returnVal = self->getValue(); + EUserUGCList returnVal = (self->getValue)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -54450,7 +56581,7 @@ static int tolua_function_Pointer_EUserUGCList__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((EUserUGCList)tolua_function_tointeger<__int32>(L, 2, "setValue")); + (self->setValue)((EUserUGCList)tolua_function_tointeger<__int32>(L, 2, "setValue")); return 0; } @@ -54474,7 +56605,7 @@ static int tolua_function_Pointer_EUGCMatchingUGCType__getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - EUGCMatchingUGCType returnVal = self->getValue(); + EUGCMatchingUGCType returnVal = (self->getValue)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -54483,7 +56614,7 @@ static int tolua_function_Pointer_EUGCMatchingUGCType__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((EUGCMatchingUGCType)tolua_function_tointeger<__int32>(L, 2, "setValue")); + (self->setValue)((EUGCMatchingUGCType)tolua_function_tointeger<__int32>(L, 2, "setValue")); return 0; } @@ -54507,7 +56638,7 @@ static int tolua_function_Pointer_EUserUGCListSortOrder__getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - EUserUGCListSortOrder returnVal = self->getValue(); + EUserUGCListSortOrder returnVal = (self->getValue)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -54516,7 +56647,7 @@ static int tolua_function_Pointer_EUserUGCListSortOrder__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((EUserUGCListSortOrder)tolua_function_tointeger<__int32>(L, 2, "setValue")); + (self->setValue)((EUserUGCListSortOrder)tolua_function_tointeger<__int32>(L, 2, "setValue")); return 0; } @@ -54540,7 +56671,7 @@ static int tolua_function_Pointer_EUGCQuery__getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - EUGCQuery returnVal = self->getValue(); + EUGCQuery returnVal = (self->getValue)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -54549,7 +56680,7 @@ static int tolua_function_Pointer_EUGCQuery__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((EUGCQuery)tolua_function_tointeger<__int32>(L, 2, "setValue")); + (self->setValue)((EUGCQuery)tolua_function_tointeger<__int32>(L, 2, "setValue")); return 0; } @@ -54573,7 +56704,7 @@ static int tolua_function_Pointer_EItemStatistic__getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - EItemStatistic returnVal = self->getValue(); + EItemStatistic returnVal = (self->getValue)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -54582,7 +56713,7 @@ static int tolua_function_Pointer_EItemStatistic__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((EItemStatistic)tolua_function_tointeger<__int32>(L, 2, "setValue")); + (self->setValue)((EItemStatistic)tolua_function_tointeger<__int32>(L, 2, "setValue")); return 0; } @@ -54606,7 +56737,7 @@ static int tolua_function_Pointer_EItemUpdateStatus__getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - EItemUpdateStatus returnVal = self->getValue(); + EItemUpdateStatus returnVal = (self->getValue)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -54615,7 +56746,7 @@ static int tolua_function_Pointer_EItemUpdateStatus__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((EItemUpdateStatus)tolua_function_tointeger<__int32>(L, 2, "setValue")); + (self->setValue)((EItemUpdateStatus)tolua_function_tointeger<__int32>(L, 2, "setValue")); return 0; } @@ -54639,7 +56770,7 @@ static int tolua_function_Pointer_ELeaderboardSortMethod__getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - ELeaderboardSortMethod returnVal = self->getValue(); + ELeaderboardSortMethod returnVal = (self->getValue)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -54648,7 +56779,7 @@ static int tolua_function_Pointer_ELeaderboardSortMethod__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((ELeaderboardSortMethod)tolua_function_tointeger<__int32>(L, 2, "setValue")); + (self->setValue)((ELeaderboardSortMethod)tolua_function_tointeger<__int32>(L, 2, "setValue")); return 0; } @@ -54672,7 +56803,7 @@ static int tolua_function_Pointer_ELeaderboardDisplayType__getValue(lua_State* L { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - ELeaderboardDisplayType returnVal = self->getValue(); + ELeaderboardDisplayType returnVal = (self->getValue)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -54681,7 +56812,7 @@ static int tolua_function_Pointer_ELeaderboardDisplayType__setValue(lua_State* L { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((ELeaderboardDisplayType)tolua_function_tointeger<__int32>(L, 2, "setValue")); + (self->setValue)((ELeaderboardDisplayType)tolua_function_tointeger<__int32>(L, 2, "setValue")); return 0; } @@ -54705,7 +56836,7 @@ static int tolua_function_Pointer_ELeaderboardDataRequest__getValue(lua_State* L { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - ELeaderboardDataRequest returnVal = self->getValue(); + ELeaderboardDataRequest returnVal = (self->getValue)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -54714,7 +56845,7 @@ static int tolua_function_Pointer_ELeaderboardDataRequest__setValue(lua_State* L { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((ELeaderboardDataRequest)tolua_function_tointeger<__int32>(L, 2, "setValue")); + (self->setValue)((ELeaderboardDataRequest)tolua_function_tointeger<__int32>(L, 2, "setValue")); return 0; } @@ -54738,7 +56869,7 @@ static int tolua_function_Pointer_ELeaderboardUploadScoreMethod__getValue(lua_St { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - ELeaderboardUploadScoreMethod returnVal = self->getValue(); + ELeaderboardUploadScoreMethod returnVal = (self->getValue)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -54747,7 +56878,7 @@ static int tolua_function_Pointer_ELeaderboardUploadScoreMethod__setValue(lua_St { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((ELeaderboardUploadScoreMethod)tolua_function_tointeger<__int32>(L, 2, "setValue")); + (self->setValue)((ELeaderboardUploadScoreMethod)tolua_function_tointeger<__int32>(L, 2, "setValue")); return 0; } @@ -54771,7 +56902,7 @@ static int tolua_function_Pointer_WindowShapeMode__getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - WindowShapeMode returnVal = self->getValue(); + WindowShapeMode returnVal = (self->getValue)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -54780,7 +56911,7 @@ static int tolua_function_Pointer_WindowShapeMode__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((WindowShapeMode)tolua_function_tointeger<__int32>(L, 2, "setValue")); + (self->setValue)((WindowShapeMode)tolua_function_tointeger<__int32>(L, 2, "setValue")); return 0; } @@ -54804,7 +56935,7 @@ static int tolua_function_Pointer_DP_EventType__getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - DP_EventType returnVal = self->getValue(); + DP_EventType returnVal = (self->getValue)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -54813,7 +56944,7 @@ static int tolua_function_Pointer_DP_EventType__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((DP_EventType)tolua_function_tointeger<__int32>(L, 2, "setValue")); + (self->setValue)((DP_EventType)tolua_function_tointeger<__int32>(L, 2, "setValue")); return 0; } @@ -54837,7 +56968,7 @@ static int tolua_function_Pointer_SDL_Scancode__getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - SDL_Scancode returnVal = self->getValue(); + SDL_Scancode returnVal = (self->getValue)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -54846,7 +56977,7 @@ static int tolua_function_Pointer_SDL_Scancode__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((SDL_Scancode)tolua_function_tointeger<__int32>(L, 2, "setValue")); + (self->setValue)((SDL_Scancode)tolua_function_tointeger<__int32>(L, 2, "setValue")); return 0; } @@ -54870,7 +57001,7 @@ static int tolua_function_Pointer_SDL_SYSWM_TYPE__getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - SDL_SYSWM_TYPE returnVal = self->getValue(); + SDL_SYSWM_TYPE returnVal = (self->getValue)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -54879,7 +57010,7 @@ static int tolua_function_Pointer_SDL_SYSWM_TYPE__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((SDL_SYSWM_TYPE)tolua_function_tointeger<__int32>(L, 2, "setValue")); + (self->setValue)((SDL_SYSWM_TYPE)tolua_function_tointeger<__int32>(L, 2, "setValue")); return 0; } @@ -54903,7 +57034,7 @@ static int tolua_function_Pointer_CScreenCreateCharStep__getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CScreenCreateCharStep returnVal = self->getValue(); + CScreenCreateCharStep returnVal = (self->getValue)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -54912,7 +57043,7 @@ static int tolua_function_Pointer_CScreenCreateCharStep__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CScreenCreateCharStep)tolua_function_tointeger<__int32>(L, 2, "setValue")); + (self->setValue)((CScreenCreateCharStep)tolua_function_tointeger<__int32>(L, 2, "setValue")); return 0; } @@ -54936,7 +57067,7 @@ static int tolua_function_Pointer_importStateType__getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - importStateType returnVal = self->getValue(); + importStateType returnVal = (self->getValue)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -54945,7 +57076,7 @@ static int tolua_function_Pointer_importStateType__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((importStateType)tolua_function_tointeger<__int32>(L, 2, "setValue")); + (self->setValue)((importStateType)tolua_function_tointeger<__int32>(L, 2, "setValue")); return 0; } @@ -54969,7 +57100,7 @@ static int tolua_function_Pointer_CSpawn__ePMode__getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CSpawn::ePMode returnVal = self->getValue(); + CSpawn::ePMode returnVal = (self->getValue)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -54978,7 +57109,7 @@ static int tolua_function_Pointer_CSpawn__ePMode__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CSpawn::ePMode)tolua_function_tointeger<__int32>(L, 2, "setValue")); + (self->setValue)((CSpawn::ePMode)tolua_function_tointeger<__int32>(L, 2, "setValue")); return 0; } @@ -55002,7 +57133,7 @@ static int tolua_function_Pointer_CAOEEntry__AOEType__getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CAOEEntry::AOEType returnVal = self->getValue(); + CAOEEntry::AOEType returnVal = (self->getValue)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -55011,7 +57142,7 @@ static int tolua_function_Pointer_CAOEEntry__AOEType__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CAOEEntry::AOEType)tolua_function_tointeger<__int32>(L, 2, "setValue")); + (self->setValue)((CAOEEntry::AOEType)tolua_function_tointeger<__int32>(L, 2, "setValue")); return 0; } @@ -55035,7 +57166,7 @@ static int tolua_function_Pointer_CGameJournalEntryFlag__getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CGameJournalEntryFlag returnVal = self->getValue(); + CGameJournalEntryFlag returnVal = (self->getValue)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -55044,7 +57175,7 @@ static int tolua_function_Pointer_CGameJournalEntryFlag__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CGameJournalEntryFlag)tolua_function_tointeger<__int32>(L, 2, "setValue")); + (self->setValue)((CGameJournalEntryFlag)tolua_function_tointeger<__int32>(L, 2, "setValue")); return 0; } @@ -55068,7 +57199,7 @@ static int tolua_function_Pointer_uiItemType__getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - uiItemType returnVal = self->getValue(); + uiItemType returnVal = (self->getValue)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -55077,7 +57208,7 @@ static int tolua_function_Pointer_uiItemType__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((uiItemType)tolua_function_tointeger<__int32>(L, 2, "setValue")); + (self->setValue)((uiItemType)tolua_function_tointeger<__int32>(L, 2, "setValue")); return 0; } @@ -55101,7 +57232,7 @@ static int tolua_function_Pointer__D3DMULTISAMPLE_TYPE__getValue(lua_State* L) { Pointer<_D3DMULTISAMPLE_TYPE>* self = (Pointer<_D3DMULTISAMPLE_TYPE>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer<_D3DMULTISAMPLE_TYPE>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - _D3DMULTISAMPLE_TYPE returnVal = self->getValue(); + _D3DMULTISAMPLE_TYPE returnVal = (self->getValue)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -55110,7 +57241,7 @@ static int tolua_function_Pointer__D3DMULTISAMPLE_TYPE__setValue(lua_State* L) { Pointer<_D3DMULTISAMPLE_TYPE>* self = (Pointer<_D3DMULTISAMPLE_TYPE>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer<_D3DMULTISAMPLE_TYPE>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((_D3DMULTISAMPLE_TYPE)tolua_function_tointeger<__int32>(L, 2, "setValue")); + (self->setValue)((_D3DMULTISAMPLE_TYPE)tolua_function_tointeger<__int32>(L, 2, "setValue")); return 0; } @@ -55134,7 +57265,7 @@ static int tolua_function_Pointer__D3DSWAPEFFECT__getValue(lua_State* L) { Pointer<_D3DSWAPEFFECT>* self = (Pointer<_D3DSWAPEFFECT>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer<_D3DSWAPEFFECT>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - _D3DSWAPEFFECT returnVal = self->getValue(); + _D3DSWAPEFFECT returnVal = (self->getValue)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -55143,7 +57274,7 @@ static int tolua_function_Pointer__D3DSWAPEFFECT__setValue(lua_State* L) { Pointer<_D3DSWAPEFFECT>* self = (Pointer<_D3DSWAPEFFECT>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer<_D3DSWAPEFFECT>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((_D3DSWAPEFFECT)tolua_function_tointeger<__int32>(L, 2, "setValue")); + (self->setValue)((_D3DSWAPEFFECT)tolua_function_tointeger<__int32>(L, 2, "setValue")); return 0; } @@ -55167,7 +57298,7 @@ static int tolua_function_Pointer_VertListType__getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - VertListType returnVal = self->getValue(); + VertListType returnVal = (self->getValue)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -55176,7 +57307,7 @@ static int tolua_function_Pointer_VertListType__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((VertListType)tolua_function_tointeger<__int8>(L, 2, "setValue")); + (self->setValue)((VertListType)tolua_function_tointeger<__int8>(L, 2, "setValue")); return 0; } @@ -55200,7 +57331,7 @@ static int tolua_function_Pointer_CButtonType__getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CButtonType returnVal = self->getValue(); + CButtonType returnVal = (self->getValue)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -55209,7 +57340,7 @@ static int tolua_function_Pointer_CButtonType__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CButtonType)tolua_function_tointeger<__int32>(L, 2, "setValue")); + (self->setValue)((CButtonType)tolua_function_tointeger<__int32>(L, 2, "setValue")); return 0; } @@ -55233,7 +57364,7 @@ static int tolua_function_Pointer_SDL_EventType__getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - SDL_EventType returnVal = self->getValue(); + SDL_EventType returnVal = (self->getValue)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -55242,7 +57373,7 @@ static int tolua_function_Pointer_SDL_EventType__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((SDL_EventType)tolua_function_tointeger<__int32>(L, 2, "setValue")); + (self->setValue)((SDL_EventType)tolua_function_tointeger<__int32>(L, 2, "setValue")); return 0; } @@ -55266,7 +57397,7 @@ static int tolua_function_Pointer_SDL_Keycode__getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - SDL_Keycode returnVal = self->getValue(); + SDL_Keycode returnVal = (self->getValue)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -55275,535 +57406,511 @@ static int tolua_function_Pointer_SDL_Keycode__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((SDL_Keycode)tolua_function_tointeger<__int32>(L, 2, "setValue")); + (self->setValue)((SDL_Keycode)tolua_function_tointeger<__int32>(L, 2, "setValue")); return 0; } -static int tolua_get_Pointer_Primitive_INT___reference(lua_State* L) -{ - Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); - if (!self) tolua_error(L, "invalid 'self' in accessing variable 'reference'", NULL); - tolua_pushusertype(L, (void*)self->reference, "Primitive"); - return 1; -} - -static int tolua_set_Pointer_Primitive_INT___reference(lua_State* L) -{ - Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); - if (!self) tolua_error(L, "invalid 'self' in accessing variable 'reference'", NULL); - self->reference = (Primitive*)tolua_tousertype_dynamic(L, 2, 0, "Primitive"); - return 0; -} - -static int tolua_function_Pointer_Primitive_INT___setValue(lua_State* L) -{ - Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); - if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(Primitive*)tolua_tousertype_dynamic(L, 2, 0, "Primitive")); - return 0; -} - -static int tolua_get_Pointer_Primitive_lua_Integer___reference(lua_State* L) +static int tolua_get_Pointer_Primitive_int32_t___reference(lua_State* L) { - Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); + Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'reference'", NULL); - tolua_pushusertype(L, (void*)self->reference, "Primitive"); + tolua_pushusertype(L, (void*)self->reference, "Primitive"); return 1; } -static int tolua_set_Pointer_Primitive_lua_Integer___reference(lua_State* L) +static int tolua_set_Pointer_Primitive_int32_t___reference(lua_State* L) { - Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); + Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'reference'", NULL); - self->reference = (Primitive*)tolua_tousertype_dynamic(L, 2, 0, "Primitive"); + self->reference = (Primitive*)tolua_tousertype_dynamic(L, 2, 0, "Primitive"); return 0; } -static int tolua_function_Pointer_Primitive_lua_Integer___setValue(lua_State* L) +static int tolua_function_Pointer_Primitive_int32_t___setValue(lua_State* L) { - Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); + Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(Primitive*)tolua_tousertype_dynamic(L, 2, 0, "Primitive")); + (self->setValue)(*(Primitive*)tolua_tousertype_dynamic(L, 2, 0, "Primitive")); return 0; } -static int tolua_get_Pointer_Primitive_char___reference(lua_State* L) +static int tolua_get_Pointer_Primitive_bool___reference(lua_State* L) { - Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); + Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'reference'", NULL); - tolua_pushusertype(L, (void*)self->reference, "Primitive"); + tolua_pushusertype(L, (void*)self->reference, "Primitive"); return 1; } -static int tolua_set_Pointer_Primitive_char___reference(lua_State* L) +static int tolua_set_Pointer_Primitive_bool___reference(lua_State* L) { - Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); + Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'reference'", NULL); - self->reference = (Primitive*)tolua_tousertype_dynamic(L, 2, 0, "Primitive"); + self->reference = (Primitive*)tolua_tousertype_dynamic(L, 2, 0, "Primitive"); return 0; } -static int tolua_function_Pointer_Primitive_char___setValue(lua_State* L) +static int tolua_function_Pointer_Primitive_bool___setValue(lua_State* L) { - Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); + Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(Primitive*)tolua_tousertype_dynamic(L, 2, 0, "Primitive")); + (self->setValue)(*(Primitive*)tolua_tousertype_dynamic(L, 2, 0, "Primitive")); return 0; } -static int tolua_get_Pointer_Primitive_bool___reference(lua_State* L) +static int tolua_get_Pointer_Primitive_DWORD___reference(lua_State* L) { - Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); + Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'reference'", NULL); - tolua_pushusertype(L, (void*)self->reference, "Primitive"); + tolua_pushusertype(L, (void*)self->reference, "Primitive"); return 1; } -static int tolua_set_Pointer_Primitive_bool___reference(lua_State* L) +static int tolua_set_Pointer_Primitive_DWORD___reference(lua_State* L) { - Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); + Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'reference'", NULL); - self->reference = (Primitive*)tolua_tousertype_dynamic(L, 2, 0, "Primitive"); + self->reference = (Primitive*)tolua_tousertype_dynamic(L, 2, 0, "Primitive"); return 0; } -static int tolua_function_Pointer_Primitive_bool___setValue(lua_State* L) +static int tolua_function_Pointer_Primitive_DWORD___setValue(lua_State* L) { - Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); + Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(Primitive*)tolua_tousertype_dynamic(L, 2, 0, "Primitive")); + (self->setValue)(*(Primitive*)tolua_tousertype_dynamic(L, 2, 0, "Primitive")); return 0; } -static int tolua_get_Pointer_Primitive_LRESULT___reference(lua_State* L) +static int tolua_get_Pointer_Primitive_size_t___reference(lua_State* L) { - Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); + Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'reference'", NULL); - tolua_pushusertype(L, (void*)self->reference, "Primitive"); + tolua_pushusertype(L, (void*)self->reference, "Primitive"); return 1; } -static int tolua_set_Pointer_Primitive_LRESULT___reference(lua_State* L) +static int tolua_set_Pointer_Primitive_size_t___reference(lua_State* L) { - Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); + Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'reference'", NULL); - self->reference = (Primitive*)tolua_tousertype_dynamic(L, 2, 0, "Primitive"); + self->reference = (Primitive*)tolua_tousertype_dynamic(L, 2, 0, "Primitive"); return 0; } -static int tolua_function_Pointer_Primitive_LRESULT___setValue(lua_State* L) +static int tolua_function_Pointer_Primitive_size_t___setValue(lua_State* L) { - Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); + Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(Primitive*)tolua_tousertype_dynamic(L, 2, 0, "Primitive")); + (self->setValue)(*(Primitive*)tolua_tousertype_dynamic(L, 2, 0, "Primitive")); return 0; } -static int tolua_get_Pointer_Primitive___int16___reference(lua_State* L) +static int tolua_get_Pointer_Primitive_LONG___reference(lua_State* L) { - Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); + Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'reference'", NULL); - tolua_pushusertype(L, (void*)self->reference, "Primitive<__int16>"); + tolua_pushusertype(L, (void*)self->reference, "Primitive"); return 1; } -static int tolua_set_Pointer_Primitive___int16___reference(lua_State* L) +static int tolua_set_Pointer_Primitive_LONG___reference(lua_State* L) { - Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); + Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'reference'", NULL); - self->reference = (Primitive<__int16>*)tolua_tousertype_dynamic(L, 2, 0, "Primitive<__int16>"); + self->reference = (Primitive*)tolua_tousertype_dynamic(L, 2, 0, "Primitive"); return 0; } -static int tolua_function_Pointer_Primitive___int16___setValue(lua_State* L) +static int tolua_function_Pointer_Primitive_LONG___setValue(lua_State* L) { - Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); + Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(Primitive<__int16>*)tolua_tousertype_dynamic(L, 2, 0, "Primitive<__int16>")); + (self->setValue)(*(Primitive*)tolua_tousertype_dynamic(L, 2, 0, "Primitive")); return 0; } -static int tolua_get_Pointer_Primitive_HRESULT___reference(lua_State* L) +static int tolua_get_Pointer_Primitive_ushort___reference(lua_State* L) { - Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); + Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'reference'", NULL); - tolua_pushusertype(L, (void*)self->reference, "Primitive"); + tolua_pushusertype(L, (void*)self->reference, "Primitive"); return 1; } -static int tolua_set_Pointer_Primitive_HRESULT___reference(lua_State* L) +static int tolua_set_Pointer_Primitive_ushort___reference(lua_State* L) { - Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); + Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'reference'", NULL); - self->reference = (Primitive*)tolua_tousertype_dynamic(L, 2, 0, "Primitive"); + self->reference = (Primitive*)tolua_tousertype_dynamic(L, 2, 0, "Primitive"); return 0; } -static int tolua_function_Pointer_Primitive_HRESULT___setValue(lua_State* L) +static int tolua_function_Pointer_Primitive_ushort___setValue(lua_State* L) { - Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); + Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(Primitive*)tolua_tousertype_dynamic(L, 2, 0, "Primitive")); + (self->setValue)(*(Primitive*)tolua_tousertype_dynamic(L, 2, 0, "Primitive")); return 0; } -static int tolua_get_Pointer_Primitive_uint32_t___reference(lua_State* L) +static int tolua_get_Pointer_Primitive_short___reference(lua_State* L) { - Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); + Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'reference'", NULL); - tolua_pushusertype(L, (void*)self->reference, "Primitive"); + tolua_pushusertype(L, (void*)self->reference, "Primitive"); return 1; } -static int tolua_set_Pointer_Primitive_uint32_t___reference(lua_State* L) +static int tolua_set_Pointer_Primitive_short___reference(lua_State* L) { - Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); + Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'reference'", NULL); - self->reference = (Primitive*)tolua_tousertype_dynamic(L, 2, 0, "Primitive"); + self->reference = (Primitive*)tolua_tousertype_dynamic(L, 2, 0, "Primitive"); return 0; } -static int tolua_function_Pointer_Primitive_uint32_t___setValue(lua_State* L) +static int tolua_function_Pointer_Primitive_short___setValue(lua_State* L) { - Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); + Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(Primitive*)tolua_tousertype_dynamic(L, 2, 0, "Primitive")); + (self->setValue)(*(Primitive*)tolua_tousertype_dynamic(L, 2, 0, "Primitive")); return 0; } -static int tolua_get_Pointer_Primitive_size_t___reference(lua_State* L) +static int tolua_get_Pointer_Primitive_LRESULT___reference(lua_State* L) { - Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); + Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'reference'", NULL); - tolua_pushusertype(L, (void*)self->reference, "Primitive"); + tolua_pushusertype(L, (void*)self->reference, "Primitive"); return 1; } -static int tolua_set_Pointer_Primitive_size_t___reference(lua_State* L) +static int tolua_set_Pointer_Primitive_LRESULT___reference(lua_State* L) { - Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); + Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'reference'", NULL); - self->reference = (Primitive*)tolua_tousertype_dynamic(L, 2, 0, "Primitive"); + self->reference = (Primitive*)tolua_tousertype_dynamic(L, 2, 0, "Primitive"); return 0; } -static int tolua_function_Pointer_Primitive_size_t___setValue(lua_State* L) +static int tolua_function_Pointer_Primitive_LRESULT___setValue(lua_State* L) { - Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); + Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(Primitive*)tolua_tousertype_dynamic(L, 2, 0, "Primitive")); + (self->setValue)(*(Primitive*)tolua_tousertype_dynamic(L, 2, 0, "Primitive")); return 0; } -static int tolua_get_Pointer_Primitive_ushort___reference(lua_State* L) +static int tolua_get_Pointer_Primitive_UINT___reference(lua_State* L) { - Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); + Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'reference'", NULL); - tolua_pushusertype(L, (void*)self->reference, "Primitive"); + tolua_pushusertype(L, (void*)self->reference, "Primitive"); return 1; } -static int tolua_set_Pointer_Primitive_ushort___reference(lua_State* L) +static int tolua_set_Pointer_Primitive_UINT___reference(lua_State* L) { - Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); + Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'reference'", NULL); - self->reference = (Primitive*)tolua_tousertype_dynamic(L, 2, 0, "Primitive"); + self->reference = (Primitive*)tolua_tousertype_dynamic(L, 2, 0, "Primitive"); return 0; } -static int tolua_function_Pointer_Primitive_ushort___setValue(lua_State* L) +static int tolua_function_Pointer_Primitive_UINT___setValue(lua_State* L) { - Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); + Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(Primitive*)tolua_tousertype_dynamic(L, 2, 0, "Primitive")); + (self->setValue)(*(Primitive*)tolua_tousertype_dynamic(L, 2, 0, "Primitive")); return 0; } -static int tolua_get_Pointer_Primitive_uint16_t___reference(lua_State* L) +static int tolua_get_Pointer_Primitive_uint32_t___reference(lua_State* L) { - Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); + Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'reference'", NULL); - tolua_pushusertype(L, (void*)self->reference, "Primitive"); + tolua_pushusertype(L, (void*)self->reference, "Primitive"); return 1; } -static int tolua_set_Pointer_Primitive_uint16_t___reference(lua_State* L) +static int tolua_set_Pointer_Primitive_uint32_t___reference(lua_State* L) { - Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); + Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'reference'", NULL); - self->reference = (Primitive*)tolua_tousertype_dynamic(L, 2, 0, "Primitive"); + self->reference = (Primitive*)tolua_tousertype_dynamic(L, 2, 0, "Primitive"); return 0; } -static int tolua_function_Pointer_Primitive_uint16_t___setValue(lua_State* L) +static int tolua_function_Pointer_Primitive_uint32_t___setValue(lua_State* L) { - Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); + Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(Primitive*)tolua_tousertype_dynamic(L, 2, 0, "Primitive")); + (self->setValue)(*(Primitive*)tolua_tousertype_dynamic(L, 2, 0, "Primitive")); return 0; } -static int tolua_get_Pointer_Primitive_float___reference(lua_State* L) +static int tolua_get_Pointer_Primitive___int8___reference(lua_State* L) { - Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); + Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'reference'", NULL); - tolua_pushusertype(L, (void*)self->reference, "Primitive"); + tolua_pushusertype(L, (void*)self->reference, "Primitive<__int8>"); return 1; } -static int tolua_set_Pointer_Primitive_float___reference(lua_State* L) +static int tolua_set_Pointer_Primitive___int8___reference(lua_State* L) { - Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); + Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'reference'", NULL); - self->reference = (Primitive*)tolua_tousertype_dynamic(L, 2, 0, "Primitive"); + self->reference = (Primitive<__int8>*)tolua_tousertype_dynamic(L, 2, 0, "Primitive<__int8>"); return 0; } -static int tolua_function_Pointer_Primitive_float___setValue(lua_State* L) +static int tolua_function_Pointer_Primitive___int8___setValue(lua_State* L) { - Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); + Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(Primitive*)tolua_tousertype_dynamic(L, 2, 0, "Primitive")); + (self->setValue)(*(Primitive<__int8>*)tolua_tousertype_dynamic(L, 2, 0, "Primitive<__int8>")); return 0; } -static int tolua_get_Pointer_Primitive_const_char____reference(lua_State* L) +static int tolua_get_Pointer_Primitive_char___reference(lua_State* L) { - Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); + Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'reference'", NULL); - tolua_pushusertype(L, (void*)self->reference, "Primitive"); + tolua_pushusertype(L, (void*)self->reference, "Primitive"); return 1; } -static int tolua_set_Pointer_Primitive_const_char____reference(lua_State* L) +static int tolua_set_Pointer_Primitive_char___reference(lua_State* L) { - Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); + Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'reference'", NULL); - self->reference = (Primitive*)tolua_tousertype_dynamic(L, 2, 0, "Primitive"); + self->reference = (Primitive*)tolua_tousertype_dynamic(L, 2, 0, "Primitive"); return 0; } -static int tolua_function_Pointer_Primitive_const_char____setValue(lua_State* L) +static int tolua_function_Pointer_Primitive_char___setValue(lua_State* L) { - Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); + Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(Primitive*)tolua_tousertype_dynamic(L, 2, 0, "Primitive")); + (self->setValue)(*(Primitive*)tolua_tousertype_dynamic(L, 2, 0, "Primitive")); return 0; } -static int tolua_get_Pointer_Primitive_UINT___reference(lua_State* L) +static int tolua_get_Pointer_Primitive_uint___reference(lua_State* L) { - Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); + Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'reference'", NULL); - tolua_pushusertype(L, (void*)self->reference, "Primitive"); + tolua_pushusertype(L, (void*)self->reference, "Primitive"); return 1; } -static int tolua_set_Pointer_Primitive_UINT___reference(lua_State* L) +static int tolua_set_Pointer_Primitive_uint___reference(lua_State* L) { - Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); + Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'reference'", NULL); - self->reference = (Primitive*)tolua_tousertype_dynamic(L, 2, 0, "Primitive"); + self->reference = (Primitive*)tolua_tousertype_dynamic(L, 2, 0, "Primitive"); return 0; } -static int tolua_function_Pointer_Primitive_UINT___setValue(lua_State* L) +static int tolua_function_Pointer_Primitive_uint___setValue(lua_State* L) { - Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); + Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(Primitive*)tolua_tousertype_dynamic(L, 2, 0, "Primitive")); + (self->setValue)(*(Primitive*)tolua_tousertype_dynamic(L, 2, 0, "Primitive")); return 0; } -static int tolua_get_Pointer_Primitive_ptrdiff_t___reference(lua_State* L) +static int tolua_get_Pointer_Primitive_long_double___reference(lua_State* L) { - Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); + Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'reference'", NULL); - tolua_pushusertype(L, (void*)self->reference, "Primitive"); + tolua_pushusertype(L, (void*)self->reference, "Primitive"); return 1; } -static int tolua_set_Pointer_Primitive_ptrdiff_t___reference(lua_State* L) +static int tolua_set_Pointer_Primitive_long_double___reference(lua_State* L) { - Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); + Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'reference'", NULL); - self->reference = (Primitive*)tolua_tousertype_dynamic(L, 2, 0, "Primitive"); + self->reference = (Primitive*)tolua_tousertype_dynamic(L, 2, 0, "Primitive"); return 0; } -static int tolua_function_Pointer_Primitive_ptrdiff_t___setValue(lua_State* L) +static int tolua_function_Pointer_Primitive_long_double___setValue(lua_State* L) { - Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); + Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(Primitive*)tolua_tousertype_dynamic(L, 2, 0, "Primitive")); + (self->setValue)(*(Primitive*)tolua_tousertype_dynamic(L, 2, 0, "Primitive")); return 0; } -static int tolua_get_Pointer_Primitive_uint64_t___reference(lua_State* L) +static int tolua_get_Pointer_Primitive_BOOL___reference(lua_State* L) { - Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); + Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'reference'", NULL); - tolua_pushusertype(L, (void*)self->reference, "Primitive"); + tolua_pushusertype(L, (void*)self->reference, "Primitive"); return 1; } -static int tolua_set_Pointer_Primitive_uint64_t___reference(lua_State* L) +static int tolua_set_Pointer_Primitive_BOOL___reference(lua_State* L) { - Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); + Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'reference'", NULL); - self->reference = (Primitive*)tolua_tousertype_dynamic(L, 2, 0, "Primitive"); + self->reference = (Primitive*)tolua_tousertype_dynamic(L, 2, 0, "Primitive"); return 0; } -static int tolua_function_Pointer_Primitive_uint64_t___setValue(lua_State* L) +static int tolua_function_Pointer_Primitive_BOOL___setValue(lua_State* L) { - Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); + Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(Primitive*)tolua_tousertype_dynamic(L, 2, 0, "Primitive")); + (self->setValue)(*(Primitive*)tolua_tousertype_dynamic(L, 2, 0, "Primitive")); return 0; } -static int tolua_get_Pointer_Primitive___int64___reference(lua_State* L) +static int tolua_get_Pointer_Primitive_HRESULT___reference(lua_State* L) { - Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); + Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'reference'", NULL); - tolua_pushusertype(L, (void*)self->reference, "Primitive<__int64>"); + tolua_pushusertype(L, (void*)self->reference, "Primitive"); return 1; } -static int tolua_set_Pointer_Primitive___int64___reference(lua_State* L) +static int tolua_set_Pointer_Primitive_HRESULT___reference(lua_State* L) { - Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); + Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'reference'", NULL); - self->reference = (Primitive<__int64>*)tolua_tousertype_dynamic(L, 2, 0, "Primitive<__int64>"); + self->reference = (Primitive*)tolua_tousertype_dynamic(L, 2, 0, "Primitive"); return 0; } -static int tolua_function_Pointer_Primitive___int64___setValue(lua_State* L) +static int tolua_function_Pointer_Primitive_HRESULT___setValue(lua_State* L) { - Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); + Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(Primitive<__int64>*)tolua_tousertype_dynamic(L, 2, 0, "Primitive<__int64>")); + (self->setValue)(*(Primitive*)tolua_tousertype_dynamic(L, 2, 0, "Primitive")); return 0; } -static int tolua_get_Pointer_Primitive_BOOL___reference(lua_State* L) +static int tolua_get_Pointer_Primitive_intptr_t___reference(lua_State* L) { - Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); + Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'reference'", NULL); - tolua_pushusertype(L, (void*)self->reference, "Primitive"); + tolua_pushusertype(L, (void*)self->reference, "Primitive"); return 1; } -static int tolua_set_Pointer_Primitive_BOOL___reference(lua_State* L) +static int tolua_set_Pointer_Primitive_intptr_t___reference(lua_State* L) { - Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); + Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'reference'", NULL); - self->reference = (Primitive*)tolua_tousertype_dynamic(L, 2, 0, "Primitive"); + self->reference = (Primitive*)tolua_tousertype_dynamic(L, 2, 0, "Primitive"); return 0; } -static int tolua_function_Pointer_Primitive_BOOL___setValue(lua_State* L) +static int tolua_function_Pointer_Primitive_intptr_t___setValue(lua_State* L) { - Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); + Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(Primitive*)tolua_tousertype_dynamic(L, 2, 0, "Primitive")); + (self->setValue)(*(Primitive*)tolua_tousertype_dynamic(L, 2, 0, "Primitive")); return 0; } -static int tolua_get_Pointer_Primitive_LONG___reference(lua_State* L) +static int tolua_get_Pointer_Primitive_INT___reference(lua_State* L) { - Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); + Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'reference'", NULL); - tolua_pushusertype(L, (void*)self->reference, "Primitive"); + tolua_pushusertype(L, (void*)self->reference, "Primitive"); return 1; } -static int tolua_set_Pointer_Primitive_LONG___reference(lua_State* L) +static int tolua_set_Pointer_Primitive_INT___reference(lua_State* L) { - Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); + Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'reference'", NULL); - self->reference = (Primitive*)tolua_tousertype_dynamic(L, 2, 0, "Primitive"); + self->reference = (Primitive*)tolua_tousertype_dynamic(L, 2, 0, "Primitive"); return 0; } -static int tolua_function_Pointer_Primitive_LONG___setValue(lua_State* L) +static int tolua_function_Pointer_Primitive_INT___setValue(lua_State* L) { - Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); + Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(Primitive*)tolua_tousertype_dynamic(L, 2, 0, "Primitive")); + (self->setValue)(*(Primitive*)tolua_tousertype_dynamic(L, 2, 0, "Primitive")); return 0; } -static int tolua_get_Pointer_Primitive_int64_t___reference(lua_State* L) +static int tolua_get_Pointer_Primitive_double___reference(lua_State* L) { - Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); + Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'reference'", NULL); - tolua_pushusertype(L, (void*)self->reference, "Primitive"); + tolua_pushusertype(L, (void*)self->reference, "Primitive"); return 1; } -static int tolua_set_Pointer_Primitive_int64_t___reference(lua_State* L) +static int tolua_set_Pointer_Primitive_double___reference(lua_State* L) { - Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); + Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'reference'", NULL); - self->reference = (Primitive*)tolua_tousertype_dynamic(L, 2, 0, "Primitive"); + self->reference = (Primitive*)tolua_tousertype_dynamic(L, 2, 0, "Primitive"); return 0; } -static int tolua_function_Pointer_Primitive_int64_t___setValue(lua_State* L) +static int tolua_function_Pointer_Primitive_double___setValue(lua_State* L) { - Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); + Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(Primitive*)tolua_tousertype_dynamic(L, 2, 0, "Primitive")); + (self->setValue)(*(Primitive*)tolua_tousertype_dynamic(L, 2, 0, "Primitive")); return 0; } -static int tolua_get_Pointer_Primitive_uint___reference(lua_State* L) +static int tolua_get_Pointer_Primitive_float___reference(lua_State* L) { - Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); + Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'reference'", NULL); - tolua_pushusertype(L, (void*)self->reference, "Primitive"); + tolua_pushusertype(L, (void*)self->reference, "Primitive"); return 1; } -static int tolua_set_Pointer_Primitive_uint___reference(lua_State* L) +static int tolua_set_Pointer_Primitive_float___reference(lua_State* L) { - Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); + Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'reference'", NULL); - self->reference = (Primitive*)tolua_tousertype_dynamic(L, 2, 0, "Primitive"); + self->reference = (Primitive*)tolua_tousertype_dynamic(L, 2, 0, "Primitive"); return 0; } -static int tolua_function_Pointer_Primitive_uint___setValue(lua_State* L) +static int tolua_function_Pointer_Primitive_float___setValue(lua_State* L) { - Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); + Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(Primitive*)tolua_tousertype_dynamic(L, 2, 0, "Primitive")); + (self->setValue)(*(Primitive*)tolua_tousertype_dynamic(L, 2, 0, "Primitive")); return 0; } -static int tolua_get_Pointer_Primitive_intptr_t___reference(lua_State* L) +static int tolua_get_Pointer_Primitive_int___reference(lua_State* L) { - Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); + Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'reference'", NULL); - tolua_pushusertype(L, (void*)self->reference, "Primitive"); + tolua_pushusertype(L, (void*)self->reference, "Primitive"); return 1; } -static int tolua_set_Pointer_Primitive_intptr_t___reference(lua_State* L) +static int tolua_set_Pointer_Primitive_int___reference(lua_State* L) { - Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); + Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'reference'", NULL); - self->reference = (Primitive*)tolua_tousertype_dynamic(L, 2, 0, "Primitive"); + self->reference = (Primitive*)tolua_tousertype_dynamic(L, 2, 0, "Primitive"); return 0; } -static int tolua_function_Pointer_Primitive_intptr_t___setValue(lua_State* L) +static int tolua_function_Pointer_Primitive_int___setValue(lua_State* L) { - Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); + Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(Primitive*)tolua_tousertype_dynamic(L, 2, 0, "Primitive")); + (self->setValue)(*(Primitive*)tolua_tousertype_dynamic(L, 2, 0, "Primitive")); return 0; } @@ -55827,103 +57934,79 @@ static int tolua_function_Pointer_Primitive_uint8_t___setValue(lua_State* L) { Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(Primitive*)tolua_tousertype_dynamic(L, 2, 0, "Primitive")); + (self->setValue)(*(Primitive*)tolua_tousertype_dynamic(L, 2, 0, "Primitive")); return 0; } -static int tolua_get_Pointer_Primitive_short___reference(lua_State* L) -{ - Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); - if (!self) tolua_error(L, "invalid 'self' in accessing variable 'reference'", NULL); - tolua_pushusertype(L, (void*)self->reference, "Primitive"); - return 1; -} - -static int tolua_set_Pointer_Primitive_short___reference(lua_State* L) -{ - Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); - if (!self) tolua_error(L, "invalid 'self' in accessing variable 'reference'", NULL); - self->reference = (Primitive*)tolua_tousertype_dynamic(L, 2, 0, "Primitive"); - return 0; -} - -static int tolua_function_Pointer_Primitive_short___setValue(lua_State* L) -{ - Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); - if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(Primitive*)tolua_tousertype_dynamic(L, 2, 0, "Primitive")); - return 0; -} - -static int tolua_get_Pointer_Primitive_int16_t___reference(lua_State* L) +static int tolua_get_Pointer_Primitive___int64___reference(lua_State* L) { - Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); + Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'reference'", NULL); - tolua_pushusertype(L, (void*)self->reference, "Primitive"); + tolua_pushusertype(L, (void*)self->reference, "Primitive<__int64>"); return 1; } -static int tolua_set_Pointer_Primitive_int16_t___reference(lua_State* L) +static int tolua_set_Pointer_Primitive___int64___reference(lua_State* L) { - Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); + Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'reference'", NULL); - self->reference = (Primitive*)tolua_tousertype_dynamic(L, 2, 0, "Primitive"); + self->reference = (Primitive<__int64>*)tolua_tousertype_dynamic(L, 2, 0, "Primitive<__int64>"); return 0; } -static int tolua_function_Pointer_Primitive_int16_t___setValue(lua_State* L) +static int tolua_function_Pointer_Primitive___int64___setValue(lua_State* L) { - Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); + Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(Primitive*)tolua_tousertype_dynamic(L, 2, 0, "Primitive")); + (self->setValue)(*(Primitive<__int64>*)tolua_tousertype_dynamic(L, 2, 0, "Primitive<__int64>")); return 0; } -static int tolua_get_Pointer_Primitive_DWORD___reference(lua_State* L) +static int tolua_get_Pointer_Primitive_const_char____reference(lua_State* L) { - Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); + Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'reference'", NULL); - tolua_pushusertype(L, (void*)self->reference, "Primitive"); + tolua_pushusertype(L, (void*)self->reference, "Primitive"); return 1; } -static int tolua_set_Pointer_Primitive_DWORD___reference(lua_State* L) +static int tolua_set_Pointer_Primitive_const_char____reference(lua_State* L) { - Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); + Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'reference'", NULL); - self->reference = (Primitive*)tolua_tousertype_dynamic(L, 2, 0, "Primitive"); + self->reference = (Primitive*)tolua_tousertype_dynamic(L, 2, 0, "Primitive"); return 0; } -static int tolua_function_Pointer_Primitive_DWORD___setValue(lua_State* L) +static int tolua_function_Pointer_Primitive_const_char____setValue(lua_State* L) { - Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); + Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(Primitive*)tolua_tousertype_dynamic(L, 2, 0, "Primitive")); + (self->setValue)(*(Primitive*)tolua_tousertype_dynamic(L, 2, 0, "Primitive")); return 0; } -static int tolua_get_Pointer_Primitive_uintptr_t___reference(lua_State* L) +static int tolua_get_Pointer_Primitive_int16_t___reference(lua_State* L) { - Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); + Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'reference'", NULL); - tolua_pushusertype(L, (void*)self->reference, "Primitive"); + tolua_pushusertype(L, (void*)self->reference, "Primitive"); return 1; } -static int tolua_set_Pointer_Primitive_uintptr_t___reference(lua_State* L) +static int tolua_set_Pointer_Primitive_int16_t___reference(lua_State* L) { - Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); + Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'reference'", NULL); - self->reference = (Primitive*)tolua_tousertype_dynamic(L, 2, 0, "Primitive"); + self->reference = (Primitive*)tolua_tousertype_dynamic(L, 2, 0, "Primitive"); return 0; } -static int tolua_function_Pointer_Primitive_uintptr_t___setValue(lua_State* L) +static int tolua_function_Pointer_Primitive_int16_t___setValue(lua_State* L) { - Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); + Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(Primitive*)tolua_tousertype_dynamic(L, 2, 0, "Primitive")); + (self->setValue)(*(Primitive*)tolua_tousertype_dynamic(L, 2, 0, "Primitive")); return 0; } @@ -55947,55 +58030,55 @@ static int tolua_function_Pointer_Primitive_int8_t___setValue(lua_State* L) { Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(Primitive*)tolua_tousertype_dynamic(L, 2, 0, "Primitive")); + (self->setValue)(*(Primitive*)tolua_tousertype_dynamic(L, 2, 0, "Primitive")); return 0; } -static int tolua_get_Pointer_Primitive_byte___reference(lua_State* L) +static int tolua_get_Pointer_Primitive_int64_t___reference(lua_State* L) { - Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); + Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'reference'", NULL); - tolua_pushusertype(L, (void*)self->reference, "Primitive"); + tolua_pushusertype(L, (void*)self->reference, "Primitive"); return 1; } -static int tolua_set_Pointer_Primitive_byte___reference(lua_State* L) +static int tolua_set_Pointer_Primitive_int64_t___reference(lua_State* L) { - Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); + Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'reference'", NULL); - self->reference = (Primitive*)tolua_tousertype_dynamic(L, 2, 0, "Primitive"); + self->reference = (Primitive*)tolua_tousertype_dynamic(L, 2, 0, "Primitive"); return 0; } -static int tolua_function_Pointer_Primitive_byte___setValue(lua_State* L) +static int tolua_function_Pointer_Primitive_int64_t___setValue(lua_State* L) { - Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); + Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(Primitive*)tolua_tousertype_dynamic(L, 2, 0, "Primitive")); + (self->setValue)(*(Primitive*)tolua_tousertype_dynamic(L, 2, 0, "Primitive")); return 0; } -static int tolua_get_Pointer_Primitive_int___reference(lua_State* L) +static int tolua_get_Pointer_Primitive_ptrdiff_t___reference(lua_State* L) { - Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); + Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'reference'", NULL); - tolua_pushusertype(L, (void*)self->reference, "Primitive"); + tolua_pushusertype(L, (void*)self->reference, "Primitive"); return 1; } -static int tolua_set_Pointer_Primitive_int___reference(lua_State* L) +static int tolua_set_Pointer_Primitive_ptrdiff_t___reference(lua_State* L) { - Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); + Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'reference'", NULL); - self->reference = (Primitive*)tolua_tousertype_dynamic(L, 2, 0, "Primitive"); + self->reference = (Primitive*)tolua_tousertype_dynamic(L, 2, 0, "Primitive"); return 0; } -static int tolua_function_Pointer_Primitive_int___setValue(lua_State* L) +static int tolua_function_Pointer_Primitive_ptrdiff_t___setValue(lua_State* L) { - Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); + Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(Primitive*)tolua_tousertype_dynamic(L, 2, 0, "Primitive")); + (self->setValue)(*(Primitive*)tolua_tousertype_dynamic(L, 2, 0, "Primitive")); return 0; } @@ -56019,79 +58102,79 @@ static int tolua_function_Pointer_Primitive_long___setValue(lua_State* L) { Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(Primitive*)tolua_tousertype_dynamic(L, 2, 0, "Primitive")); + (self->setValue)(*(Primitive*)tolua_tousertype_dynamic(L, 2, 0, "Primitive")); return 0; } -static int tolua_get_Pointer_Primitive_int32_t___reference(lua_State* L) +static int tolua_get_Pointer_Primitive_uint64_t___reference(lua_State* L) { - Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); + Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'reference'", NULL); - tolua_pushusertype(L, (void*)self->reference, "Primitive"); + tolua_pushusertype(L, (void*)self->reference, "Primitive"); return 1; } -static int tolua_set_Pointer_Primitive_int32_t___reference(lua_State* L) +static int tolua_set_Pointer_Primitive_uint64_t___reference(lua_State* L) { - Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); + Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'reference'", NULL); - self->reference = (Primitive*)tolua_tousertype_dynamic(L, 2, 0, "Primitive"); + self->reference = (Primitive*)tolua_tousertype_dynamic(L, 2, 0, "Primitive"); return 0; } -static int tolua_function_Pointer_Primitive_int32_t___setValue(lua_State* L) +static int tolua_function_Pointer_Primitive_uint64_t___setValue(lua_State* L) { - Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); + Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(Primitive*)tolua_tousertype_dynamic(L, 2, 0, "Primitive")); + (self->setValue)(*(Primitive*)tolua_tousertype_dynamic(L, 2, 0, "Primitive")); return 0; } -static int tolua_get_Pointer_Primitive___int8___reference(lua_State* L) +static int tolua_get_Pointer_Primitive___int16___reference(lua_State* L) { - Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); + Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'reference'", NULL); - tolua_pushusertype(L, (void*)self->reference, "Primitive<__int8>"); + tolua_pushusertype(L, (void*)self->reference, "Primitive<__int16>"); return 1; } -static int tolua_set_Pointer_Primitive___int8___reference(lua_State* L) +static int tolua_set_Pointer_Primitive___int16___reference(lua_State* L) { - Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); + Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'reference'", NULL); - self->reference = (Primitive<__int8>*)tolua_tousertype_dynamic(L, 2, 0, "Primitive<__int8>"); + self->reference = (Primitive<__int16>*)tolua_tousertype_dynamic(L, 2, 0, "Primitive<__int16>"); return 0; } -static int tolua_function_Pointer_Primitive___int8___setValue(lua_State* L) +static int tolua_function_Pointer_Primitive___int16___setValue(lua_State* L) { - Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); + Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(Primitive<__int8>*)tolua_tousertype_dynamic(L, 2, 0, "Primitive<__int8>")); + (self->setValue)(*(Primitive<__int16>*)tolua_tousertype_dynamic(L, 2, 0, "Primitive<__int16>")); return 0; } -static int tolua_get_Pointer_Primitive_double___reference(lua_State* L) +static int tolua_get_Pointer_Primitive_uintptr_t___reference(lua_State* L) { - Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); + Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'reference'", NULL); - tolua_pushusertype(L, (void*)self->reference, "Primitive"); + tolua_pushusertype(L, (void*)self->reference, "Primitive"); return 1; } -static int tolua_set_Pointer_Primitive_double___reference(lua_State* L) +static int tolua_set_Pointer_Primitive_uintptr_t___reference(lua_State* L) { - Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); + Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'reference'", NULL); - self->reference = (Primitive*)tolua_tousertype_dynamic(L, 2, 0, "Primitive"); + self->reference = (Primitive*)tolua_tousertype_dynamic(L, 2, 0, "Primitive"); return 0; } -static int tolua_function_Pointer_Primitive_double___setValue(lua_State* L) +static int tolua_function_Pointer_Primitive_uintptr_t___setValue(lua_State* L) { - Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); + Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(Primitive*)tolua_tousertype_dynamic(L, 2, 0, "Primitive")); + (self->setValue)(*(Primitive*)tolua_tousertype_dynamic(L, 2, 0, "Primitive")); return 0; } @@ -56115,31 +58198,103 @@ static int tolua_function_Pointer_Primitive___int32___setValue(lua_State* L) { Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(Primitive<__int32>*)tolua_tousertype_dynamic(L, 2, 0, "Primitive<__int32>")); + (self->setValue)(*(Primitive<__int32>*)tolua_tousertype_dynamic(L, 2, 0, "Primitive<__int32>")); return 0; } -static int tolua_get_Pointer_Primitive_long_double___reference(lua_State* L) +static int tolua_get_Pointer_Primitive_byte___reference(lua_State* L) { - Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); + Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'reference'", NULL); - tolua_pushusertype(L, (void*)self->reference, "Primitive"); + tolua_pushusertype(L, (void*)self->reference, "Primitive"); return 1; } -static int tolua_set_Pointer_Primitive_long_double___reference(lua_State* L) +static int tolua_set_Pointer_Primitive_byte___reference(lua_State* L) { - Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); + Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'reference'", NULL); - self->reference = (Primitive*)tolua_tousertype_dynamic(L, 2, 0, "Primitive"); + self->reference = (Primitive*)tolua_tousertype_dynamic(L, 2, 0, "Primitive"); return 0; } -static int tolua_function_Pointer_Primitive_long_double___setValue(lua_State* L) +static int tolua_function_Pointer_Primitive_byte___setValue(lua_State* L) { - Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); + Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); + (self->setValue)(*(Primitive*)tolua_tousertype_dynamic(L, 2, 0, "Primitive")); + return 0; +} + +static int tolua_get_Pointer_Primitive_lua_Integer___reference(lua_State* L) +{ + Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'reference'", NULL); + tolua_pushusertype(L, (void*)self->reference, "Primitive"); + return 1; +} + +static int tolua_set_Pointer_Primitive_lua_Integer___reference(lua_State* L) +{ + Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'reference'", NULL); + self->reference = (Primitive*)tolua_tousertype_dynamic(L, 2, 0, "Primitive"); + return 0; +} + +static int tolua_function_Pointer_Primitive_lua_Integer___setValue(lua_State* L) +{ + Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); + (self->setValue)(*(Primitive*)tolua_tousertype_dynamic(L, 2, 0, "Primitive")); + return 0; +} + +static int tolua_get_Pointer_Primitive_uint16_t___reference(lua_State* L) +{ + Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'reference'", NULL); + tolua_pushusertype(L, (void*)self->reference, "Primitive"); + return 1; +} + +static int tolua_set_Pointer_Primitive_uint16_t___reference(lua_State* L) +{ + Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'reference'", NULL); + self->reference = (Primitive*)tolua_tousertype_dynamic(L, 2, 0, "Primitive"); + return 0; +} + +static int tolua_function_Pointer_Primitive_uint16_t___setValue(lua_State* L) +{ + Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); + (self->setValue)(*(Primitive*)tolua_tousertype_dynamic(L, 2, 0, "Primitive")); + return 0; +} + +static int tolua_get_Pointer_SDL_SysWMinfo__info_t__win_t__reference(lua_State* L) +{ + Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'reference'", NULL); + tolua_pushusertype(L, (void*)self->reference, "SDL_SysWMinfo::info_t::win_t"); + return 1; +} + +static int tolua_set_Pointer_SDL_SysWMinfo__info_t__win_t__reference(lua_State* L) +{ + Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'reference'", NULL); + self->reference = (SDL_SysWMinfo::info_t::win_t*)tolua_tousertype_dynamic(L, 2, 0, "SDL_SysWMinfo::info_t::win_t"); + return 0; +} + +static int tolua_function_Pointer_SDL_SysWMinfo__info_t__win_t__setValue(lua_State* L) +{ + Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(Primitive*)tolua_tousertype_dynamic(L, 2, 0, "Primitive")); + (self->setValue)(*(SDL_SysWMinfo::info_t::win_t*)tolua_tousertype_dynamic(L, 2, 0, "SDL_SysWMinfo::info_t::win_t")); return 0; } @@ -56163,7 +58318,7 @@ static int tolua_function_Pointer_const_void___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - const void* returnVal = self->getValue(); + const void* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "UnmappedUserType"); return 1; } @@ -56188,7 +58343,7 @@ static int tolua_function_Pointer_UnmappedUserType__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(UnmappedUserType*)tolua_tousertype_dynamic(L, 2, 0, "UnmappedUserType")); + (self->setValue)(*(UnmappedUserType*)tolua_tousertype_dynamic(L, 2, 0, "UnmappedUserType")); return 0; } @@ -56212,7 +58367,7 @@ static int tolua_function_Pointer_UpVal__u_t__l_t__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(UpVal::u_t::l_t*)tolua_tousertype_dynamic(L, 2, 0, "UpVal::u_t::l_t")); + (self->setValue)(*(UpVal::u_t::l_t*)tolua_tousertype_dynamic(L, 2, 0, "UpVal::u_t::l_t")); return 0; } @@ -56236,7 +58391,7 @@ static int tolua_function_Pointer_NECK_POINTS__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(NECK_POINTS*)tolua_tousertype_dynamic(L, 2, 0, "NECK_POINTS")); + (self->setValue)(*(NECK_POINTS*)tolua_tousertype_dynamic(L, 2, 0, "NECK_POINTS")); return 0; } @@ -56260,7 +58415,7 @@ static int tolua_function_Pointer_NECK_POINTS___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - NECK_POINTS* returnVal = self->getValue(); + NECK_POINTS* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "NECK_POINTS"); return 1; } @@ -56269,7 +58424,7 @@ static int tolua_function_Pointer_NECK_POINTS___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((NECK_POINTS*)tolua_tousertype_dynamic(L, 2, 0, "NECK_POINTS")); + (self->setValue)((NECK_POINTS*)tolua_tousertype_dynamic(L, 2, 0, "NECK_POINTS")); return 0; } @@ -56293,7 +58448,7 @@ static int tolua_function_Pointer_SDL_WindowFlags__getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - SDL_WindowFlags returnVal = self->getValue(); + SDL_WindowFlags returnVal = (self->getValue)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -56302,7 +58457,7 @@ static int tolua_function_Pointer_SDL_WindowFlags__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((SDL_WindowFlags)tolua_function_tointeger<__int32>(L, 2, "setValue")); + (self->setValue)((SDL_WindowFlags)tolua_function_tointeger<__int32>(L, 2, "setValue")); return 0; } @@ -56326,7 +58481,7 @@ static int tolua_function_Pointer_SDL_Keymod__getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - SDL_Keymod returnVal = self->getValue(); + SDL_Keymod returnVal = (self->getValue)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -56335,7 +58490,7 @@ static int tolua_function_Pointer_SDL_Keymod__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((SDL_Keymod)tolua_function_tointeger<__int32>(L, 2, "setValue")); + (self->setValue)((SDL_Keymod)tolua_function_tointeger<__int32>(L, 2, "setValue")); return 0; } @@ -56359,7 +58514,7 @@ static int tolua_function_Pointer_RendererType__getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - RendererType returnVal = self->getValue(); + RendererType returnVal = (self->getValue)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -56368,7 +58523,7 @@ static int tolua_function_Pointer_RendererType__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((RendererType)tolua_function_tointeger<__int32>(L, 2, "setValue")); + (self->setValue)((RendererType)tolua_function_tointeger<__int32>(L, 2, "setValue")); return 0; } @@ -56392,7 +58547,7 @@ static int tolua_function_Pointer_DrawTone__getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - DrawTone returnVal = self->getValue(); + DrawTone returnVal = (self->getValue)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -56401,7 +58556,7 @@ static int tolua_function_Pointer_DrawTone__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((DrawTone)tolua_function_tointeger<__int32>(L, 2, "setValue")); + (self->setValue)((DrawTone)tolua_function_tointeger<__int32>(L, 2, "setValue")); return 0; } @@ -56425,7 +58580,7 @@ static int tolua_function_Pointer_DrawMode__getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - DrawMode returnVal = self->getValue(); + DrawMode returnVal = (self->getValue)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -56434,7 +58589,7 @@ static int tolua_function_Pointer_DrawMode__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((DrawMode)tolua_function_tointeger<__int32>(L, 2, "setValue")); + (self->setValue)((DrawMode)tolua_function_tointeger<__int32>(L, 2, "setValue")); return 0; } @@ -56458,7 +58613,7 @@ static int tolua_function_Pointer_DrawFeature__getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - DrawFeature returnVal = self->getValue(); + DrawFeature returnVal = (self->getValue)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -56467,7 +58622,7 @@ static int tolua_function_Pointer_DrawFeature__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((DrawFeature)tolua_function_tointeger<__int32>(L, 2, "setValue")); + (self->setValue)((DrawFeature)tolua_function_tointeger<__int32>(L, 2, "setValue")); return 0; } @@ -56491,7 +58646,7 @@ static int tolua_function_Pointer_DrawBlend__getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - DrawBlend returnVal = self->getValue(); + DrawBlend returnVal = (self->getValue)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -56500,7 +58655,7 @@ static int tolua_function_Pointer_DrawBlend__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((DrawBlend)tolua_function_tointeger<__int32>(L, 2, "setValue")); + (self->setValue)((DrawBlend)tolua_function_tointeger<__int32>(L, 2, "setValue")); return 0; } @@ -56524,7 +58679,7 @@ static int tolua_function_Pointer_DP_ProviderID___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - DP_ProviderID* returnVal = self->getValue(); + DP_ProviderID* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "Primitive"); return 1; } @@ -56533,7 +58688,7 @@ static int tolua_function_Pointer_DP_ProviderID___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((DP_ProviderID*)tolua_tousertype_dynamic(L, 2, 0, "Primitive")); + (self->setValue)((DP_ProviderID*)tolua_tousertype_dynamic(L, 2, 0, "Primitive")); return 0; } @@ -56557,7 +58712,7 @@ static int tolua_function_Pointer_CSteamID__SteamID_t__SteamIDComponent_t__setVa { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CSteamID::SteamID_t::SteamIDComponent_t*)tolua_tousertype_dynamic(L, 2, 0, "CSteamID::SteamID_t::SteamIDComponent_t")); + (self->setValue)(*(CSteamID::SteamID_t::SteamIDComponent_t*)tolua_tousertype_dynamic(L, 2, 0, "CSteamID::SteamID_t::SteamIDComponent_t")); return 0; } @@ -56581,7 +58736,7 @@ static int tolua_function_Pointer__730FDA81411627D18117760CFDFC5D48__setValue(lu { Pointer<_730FDA81411627D18117760CFDFC5D48>* self = (Pointer<_730FDA81411627D18117760CFDFC5D48>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer<_730FDA81411627D18117760CFDFC5D48>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(_730FDA81411627D18117760CFDFC5D48*)tolua_tousertype_dynamic(L, 2, 0, "_730FDA81411627D18117760CFDFC5D48")); + (self->setValue)(*(_730FDA81411627D18117760CFDFC5D48*)tolua_tousertype_dynamic(L, 2, 0, "_730FDA81411627D18117760CFDFC5D48")); return 0; } @@ -56605,7 +58760,7 @@ static int tolua_function_Pointer__6B279AA1C7A281E7C97E085DB9F2DFBB__setValue(lu { Pointer<_6B279AA1C7A281E7C97E085DB9F2DFBB>* self = (Pointer<_6B279AA1C7A281E7C97E085DB9F2DFBB>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer<_6B279AA1C7A281E7C97E085DB9F2DFBB>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(_6B279AA1C7A281E7C97E085DB9F2DFBB*)tolua_tousertype_dynamic(L, 2, 0, "_6B279AA1C7A281E7C97E085DB9F2DFBB")); + (self->setValue)(*(_6B279AA1C7A281E7C97E085DB9F2DFBB*)tolua_tousertype_dynamic(L, 2, 0, "_6B279AA1C7A281E7C97E085DB9F2DFBB")); return 0; } @@ -56629,7 +58784,7 @@ static int tolua_function_Pointer_Mbuffer__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(Mbuffer*)tolua_tousertype_dynamic(L, 2, 0, "Mbuffer")); + (self->setValue)(*(Mbuffer*)tolua_tousertype_dynamic(L, 2, 0, "Mbuffer")); return 0; } @@ -56653,7 +58808,7 @@ static int tolua_function_Pointer_CSteamID__SteamID_t__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CSteamID::SteamID_t*)tolua_tousertype_dynamic(L, 2, 0, "CSteamID::SteamID_t")); + (self->setValue)(*(CSteamID::SteamID_t*)tolua_tousertype_dynamic(L, 2, 0, "CSteamID::SteamID_t")); return 0; } @@ -56677,7 +58832,7 @@ static int tolua_function_Pointer___int8___getValue(lua_State* L) { Pointer<__int8*>* self = (Pointer<__int8*>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer<__int8*>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - __int8* returnVal = self->getValue(); + __int8* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "Primitive<__int8>"); return 1; } @@ -56686,7 +58841,7 @@ static int tolua_function_Pointer___int8___setValue(lua_State* L) { Pointer<__int8*>* self = (Pointer<__int8*>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer<__int8*>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((__int8*)tolua_tousertype_dynamic(L, 2, 0, "Primitive<__int8>")); + (self->setValue)((__int8*)tolua_tousertype_dynamic(L, 2, 0, "Primitive<__int8>")); return 0; } @@ -56710,7 +58865,7 @@ static int tolua_function_Pointer_VRAM_FLAGS__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(VRAM_FLAGS*)tolua_tousertype_dynamic(L, 2, 0, "VRAM_FLAGS")); + (self->setValue)(*(VRAM_FLAGS*)tolua_tousertype_dynamic(L, 2, 0, "VRAM_FLAGS")); return 0; } @@ -56734,7 +58889,7 @@ static int tolua_function_Pointer_Udata__uv_t__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(Udata::uv_t*)tolua_tousertype_dynamic(L, 2, 0, "Udata::uv_t")); + (self->setValue)(*(Udata::uv_t*)tolua_tousertype_dynamic(L, 2, 0, "Udata::uv_t")); return 0; } @@ -56758,7 +58913,7 @@ static int tolua_function_Pointer_TILE_CODE__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(TILE_CODE*)tolua_tousertype_dynamic(L, 2, 0, "TILE_CODE")); + (self->setValue)(*(TILE_CODE*)tolua_tousertype_dynamic(L, 2, 0, "TILE_CODE")); return 0; } @@ -56782,55 +58937,88 @@ static int tolua_function_Pointer_SDL_version__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(SDL_version*)tolua_tousertype_dynamic(L, 2, 0, "SDL_version")); + (self->setValue)(*(SDL_version*)tolua_tousertype_dynamic(L, 2, 0, "SDL_version")); return 0; } -static int tolua_get_Pointer_SDL_WindowShapeParams__reference(lua_State* L) +static int tolua_get_Pointer_SDL_MessageBoxColor__reference(lua_State* L) { - Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); + Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'reference'", NULL); - tolua_pushusertype(L, (void*)self->reference, "SDL_WindowShapeParams"); + tolua_pushusertype(L, (void*)self->reference, "SDL_MessageBoxColor"); return 1; } -static int tolua_set_Pointer_SDL_WindowShapeParams__reference(lua_State* L) +static int tolua_set_Pointer_SDL_MessageBoxColor__reference(lua_State* L) { - Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); + Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'reference'", NULL); - self->reference = (SDL_WindowShapeParams*)tolua_tousertype_dynamic(L, 2, 0, "SDL_WindowShapeParams"); + self->reference = (SDL_MessageBoxColor*)tolua_tousertype_dynamic(L, 2, 0, "SDL_MessageBoxColor"); return 0; } -static int tolua_function_Pointer_SDL_WindowShapeParams__setValue(lua_State* L) +static int tolua_function_Pointer_SDL_MessageBoxColor__setValue(lua_State* L) { - Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); + Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(SDL_WindowShapeParams*)tolua_tousertype_dynamic(L, 2, 0, "SDL_WindowShapeParams")); + (self->setValue)(*(SDL_MessageBoxColor*)tolua_tousertype_dynamic(L, 2, 0, "SDL_MessageBoxColor")); return 0; } -static int tolua_get_Pointer_SDL_WindowShapeMode__reference(lua_State* L) +static int tolua_get_Pointer_SDL_MessageBoxColor___reference(lua_State* L) { - Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); + Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'reference'", NULL); - tolua_pushusertype(L, (void*)self->reference, "SDL_WindowShapeMode"); + tolua_pushusertype(L, (void*)self->reference, "Pointer"); return 1; } -static int tolua_set_Pointer_SDL_WindowShapeMode__reference(lua_State* L) +static int tolua_set_Pointer_SDL_MessageBoxColor___reference(lua_State* L) { - Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); + Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'reference'", NULL); - self->reference = (SDL_WindowShapeMode*)tolua_tousertype_dynamic(L, 2, 0, "SDL_WindowShapeMode"); + self->reference = (SDL_MessageBoxColor**)tolua_tousertype_dynamic(L, 2, 0, "Pointer"); return 0; } -static int tolua_function_Pointer_SDL_WindowShapeMode__setValue(lua_State* L) +static int tolua_function_Pointer_SDL_MessageBoxColor___getValue(lua_State* L) { - Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); + Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); + SDL_MessageBoxColor* returnVal = (self->getValue)(); + tolua_pushusertype(L, (void*)returnVal, "SDL_MessageBoxColor"); + return 1; +} + +static int tolua_function_Pointer_SDL_MessageBoxColor___setValue(lua_State* L) +{ + Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); + (self->setValue)((SDL_MessageBoxColor*)tolua_tousertype_dynamic(L, 2, 0, "SDL_MessageBoxColor")); + return 0; +} + +static int tolua_get_Pointer_SDL_WindowShapeParams__reference(lua_State* L) +{ + Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'reference'", NULL); + tolua_pushusertype(L, (void*)self->reference, "SDL_WindowShapeParams"); + return 1; +} + +static int tolua_set_Pointer_SDL_WindowShapeParams__reference(lua_State* L) +{ + Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'reference'", NULL); + self->reference = (SDL_WindowShapeParams*)tolua_tousertype_dynamic(L, 2, 0, "SDL_WindowShapeParams"); + return 0; +} + +static int tolua_function_Pointer_SDL_WindowShapeParams__setValue(lua_State* L) +{ + Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(SDL_WindowShapeMode*)tolua_tousertype_dynamic(L, 2, 0, "SDL_WindowShapeMode")); + (self->setValue)(*(SDL_WindowShapeParams*)tolua_tousertype_dynamic(L, 2, 0, "SDL_WindowShapeParams")); return 0; } @@ -56854,7 +59042,7 @@ static int tolua_function_Pointer_GCheader__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(GCheader*)tolua_tousertype_dynamic(L, 2, 0, "GCheader")); + (self->setValue)(*(GCheader*)tolua_tousertype_dynamic(L, 2, 0, "GCheader")); return 0; } @@ -56878,7 +59066,7 @@ static int tolua_function_Pointer_SubmitItemUpdateResult_t__setValue(lua_State* { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(SubmitItemUpdateResult_t*)tolua_tousertype_dynamic(L, 2, 0, "SubmitItemUpdateResult_t")); + (self->setValue)(*(SubmitItemUpdateResult_t*)tolua_tousertype_dynamic(L, 2, 0, "SubmitItemUpdateResult_t")); return 0; } @@ -56902,7 +59090,7 @@ static int tolua_function_Pointer_SubmitItemUpdateResult_t___getValue(lua_State* { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - SubmitItemUpdateResult_t* returnVal = self->getValue(); + SubmitItemUpdateResult_t* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "SubmitItemUpdateResult_t"); return 1; } @@ -56911,7 +59099,7 @@ static int tolua_function_Pointer_SubmitItemUpdateResult_t___setValue(lua_State* { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((SubmitItemUpdateResult_t*)tolua_tousertype_dynamic(L, 2, 0, "SubmitItemUpdateResult_t")); + (self->setValue)((SubmitItemUpdateResult_t*)tolua_tousertype_dynamic(L, 2, 0, "SubmitItemUpdateResult_t")); return 0; } @@ -56935,7 +59123,7 @@ static int tolua_function_Pointer_CreateItemResult_t__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CreateItemResult_t*)tolua_tousertype_dynamic(L, 2, 0, "CreateItemResult_t")); + (self->setValue)(*(CreateItemResult_t*)tolua_tousertype_dynamic(L, 2, 0, "CreateItemResult_t")); return 0; } @@ -56959,7 +59147,7 @@ static int tolua_function_Pointer_CreateItemResult_t___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CreateItemResult_t* returnVal = self->getValue(); + CreateItemResult_t* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CreateItemResult_t"); return 1; } @@ -56968,7 +59156,7 @@ static int tolua_function_Pointer_CreateItemResult_t___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CreateItemResult_t*)tolua_tousertype_dynamic(L, 2, 0, "CreateItemResult_t")); + (self->setValue)((CreateItemResult_t*)tolua_tousertype_dynamic(L, 2, 0, "CreateItemResult_t")); return 0; } @@ -56992,40 +59180,7 @@ static int tolua_function_Pointer__D98D369160A0DDA2B95F5D0F301081BB__setValue(lu { Pointer<_D98D369160A0DDA2B95F5D0F301081BB>* self = (Pointer<_D98D369160A0DDA2B95F5D0F301081BB>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer<_D98D369160A0DDA2B95F5D0F301081BB>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(_D98D369160A0DDA2B95F5D0F301081BB*)tolua_tousertype_dynamic(L, 2, 0, "_D98D369160A0DDA2B95F5D0F301081BB")); - return 0; -} - -static int tolua_get_Pointer__D98D369160A0DDA2B95F5D0F301081BB___reference(lua_State* L) -{ - Pointer<_D98D369160A0DDA2B95F5D0F301081BB*>* self = (Pointer<_D98D369160A0DDA2B95F5D0F301081BB*>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer<_D98D369160A0DDA2B95F5D0F301081BB*>"); - if (!self) tolua_error(L, "invalid 'self' in accessing variable 'reference'", NULL); - tolua_pushusertype(L, (void*)self->reference, "Pointer<_D98D369160A0DDA2B95F5D0F301081BB>"); - return 1; -} - -static int tolua_set_Pointer__D98D369160A0DDA2B95F5D0F301081BB___reference(lua_State* L) -{ - Pointer<_D98D369160A0DDA2B95F5D0F301081BB*>* self = (Pointer<_D98D369160A0DDA2B95F5D0F301081BB*>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer<_D98D369160A0DDA2B95F5D0F301081BB*>"); - if (!self) tolua_error(L, "invalid 'self' in accessing variable 'reference'", NULL); - self->reference = (_D98D369160A0DDA2B95F5D0F301081BB**)tolua_tousertype_dynamic(L, 2, 0, "Pointer<_D98D369160A0DDA2B95F5D0F301081BB>"); - return 0; -} - -static int tolua_function_Pointer__D98D369160A0DDA2B95F5D0F301081BB___getValue(lua_State* L) -{ - Pointer<_D98D369160A0DDA2B95F5D0F301081BB*>* self = (Pointer<_D98D369160A0DDA2B95F5D0F301081BB*>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer<_D98D369160A0DDA2B95F5D0F301081BB*>"); - if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - _D98D369160A0DDA2B95F5D0F301081BB* returnVal = self->getValue(); - tolua_pushusertype(L, (void*)returnVal, "_D98D369160A0DDA2B95F5D0F301081BB"); - return 1; -} - -static int tolua_function_Pointer__D98D369160A0DDA2B95F5D0F301081BB___setValue(lua_State* L) -{ - Pointer<_D98D369160A0DDA2B95F5D0F301081BB*>* self = (Pointer<_D98D369160A0DDA2B95F5D0F301081BB*>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer<_D98D369160A0DDA2B95F5D0F301081BB*>"); - if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((_D98D369160A0DDA2B95F5D0F301081BB*)tolua_tousertype_dynamic(L, 2, 0, "_D98D369160A0DDA2B95F5D0F301081BB")); + (self->setValue)(*(_D98D369160A0DDA2B95F5D0F301081BB*)tolua_tousertype_dynamic(L, 2, 0, "_D98D369160A0DDA2B95F5D0F301081BB")); return 0; } @@ -57065,11 +59220,44 @@ static int tolua_function_Pointer_const__D98D369160A0DDA2B95F5D0F301081BB___getV { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - const _D98D369160A0DDA2B95F5D0F301081BB* returnVal = self->getValue(); + const _D98D369160A0DDA2B95F5D0F301081BB* returnVal = (self->getValue)(); + tolua_pushusertype(L, (void*)returnVal, "_D98D369160A0DDA2B95F5D0F301081BB"); + return 1; +} + +static int tolua_get_Pointer__D98D369160A0DDA2B95F5D0F301081BB___reference(lua_State* L) +{ + Pointer<_D98D369160A0DDA2B95F5D0F301081BB*>* self = (Pointer<_D98D369160A0DDA2B95F5D0F301081BB*>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer<_D98D369160A0DDA2B95F5D0F301081BB*>"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'reference'", NULL); + tolua_pushusertype(L, (void*)self->reference, "Pointer<_D98D369160A0DDA2B95F5D0F301081BB>"); + return 1; +} + +static int tolua_set_Pointer__D98D369160A0DDA2B95F5D0F301081BB___reference(lua_State* L) +{ + Pointer<_D98D369160A0DDA2B95F5D0F301081BB*>* self = (Pointer<_D98D369160A0DDA2B95F5D0F301081BB*>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer<_D98D369160A0DDA2B95F5D0F301081BB*>"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'reference'", NULL); + self->reference = (_D98D369160A0DDA2B95F5D0F301081BB**)tolua_tousertype_dynamic(L, 2, 0, "Pointer<_D98D369160A0DDA2B95F5D0F301081BB>"); + return 0; +} + +static int tolua_function_Pointer__D98D369160A0DDA2B95F5D0F301081BB___getValue(lua_State* L) +{ + Pointer<_D98D369160A0DDA2B95F5D0F301081BB*>* self = (Pointer<_D98D369160A0DDA2B95F5D0F301081BB*>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer<_D98D369160A0DDA2B95F5D0F301081BB*>"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); + _D98D369160A0DDA2B95F5D0F301081BB* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "_D98D369160A0DDA2B95F5D0F301081BB"); return 1; } +static int tolua_function_Pointer__D98D369160A0DDA2B95F5D0F301081BB___setValue(lua_State* L) +{ + Pointer<_D98D369160A0DDA2B95F5D0F301081BB*>* self = (Pointer<_D98D369160A0DDA2B95F5D0F301081BB*>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer<_D98D369160A0DDA2B95F5D0F301081BB*>"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); + (self->setValue)((_D98D369160A0DDA2B95F5D0F301081BB*)tolua_tousertype_dynamic(L, 2, 0, "_D98D369160A0DDA2B95F5D0F301081BB")); + return 0; +} + static int tolua_get_Pointer_const_char___reference(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); @@ -57106,7 +59294,7 @@ static int tolua_function_Pointer_char___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(char**)tolua_tousertype_dynamic(L, 2, 0, "CharString")); + (self->setValue)(*(char**)tolua_tousertype_dynamic(L, 2, 0, "CharString")); return 0; } @@ -57130,7 +59318,7 @@ static int tolua_function_Pointer_char____getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - char** returnVal = self->getValue(); + char** returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CharString"); return 1; } @@ -57139,7 +59327,7 @@ static int tolua_function_Pointer_char____setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((char**)tolua_tousertype_dynamic(L, 2, 0, "CharString")); + (self->setValue)((char**)tolua_tousertype_dynamic(L, 2, 0, "CharString")); return 0; } @@ -57155,7 +59343,7 @@ static int tolua_function_Pointer_char__getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - char returnVal = self->getValue(); + char returnVal = (self->getValue)(); lua_pushlstring(L, (const char*)&returnVal, 1); return 1; } @@ -57164,7 +59352,7 @@ static int tolua_function_Pointer_char__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(tolua_function_tochar(L, 2, "setValue")); + (self->setValue)(tolua_function_tochar(L, 2, "setValue")); return 0; } @@ -57188,7 +59376,7 @@ static int tolua_function_Pointer_const_char____getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - const char** returnVal = self->getValue(); + const char** returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "ConstCharString"); return 1; } @@ -57213,7 +59401,7 @@ static int tolua_function_Pointer_unsigned_char____getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - unsigned char** returnVal = self->getValue(); + unsigned char** returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CharString"); return 1; } @@ -57222,7 +59410,7 @@ static int tolua_function_Pointer_unsigned_char____setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((unsigned char**)tolua_tousertype_dynamic(L, 2, 0, "CharString")); + (self->setValue)((unsigned char**)tolua_tousertype_dynamic(L, 2, 0, "CharString")); return 0; } @@ -57246,7 +59434,7 @@ static int tolua_function_Pointer_double__getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - double returnVal = self->getValue(); + double returnVal = (self->getValue)(); tolua_pushnumber(L, (lua_Number)returnVal); return 1; } @@ -57255,7 +59443,7 @@ static int tolua_function_Pointer_double__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(tolua_function_tonumber(L, 2, "setValue")); + (self->setValue)(tolua_function_tonumber(L, 2, "setValue")); return 0; } @@ -57279,7 +59467,7 @@ static int tolua_function_Pointer__DEC82102868918D992B707FF755C8272__setValue(lu { Pointer<_DEC82102868918D992B707FF755C8272>* self = (Pointer<_DEC82102868918D992B707FF755C8272>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer<_DEC82102868918D992B707FF755C8272>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(_DEC82102868918D992B707FF755C8272*)tolua_tousertype_dynamic(L, 2, 0, "_DEC82102868918D992B707FF755C8272")); + (self->setValue)(*(_DEC82102868918D992B707FF755C8272*)tolua_tousertype_dynamic(L, 2, 0, "_DEC82102868918D992B707FF755C8272")); return 0; } @@ -57303,7 +59491,7 @@ static int tolua_function_Pointer__DCA4A7CF5EA786B859D71FBD4D5071B1__setValue(lu { Pointer<_DCA4A7CF5EA786B859D71FBD4D5071B1>* self = (Pointer<_DCA4A7CF5EA786B859D71FBD4D5071B1>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer<_DCA4A7CF5EA786B859D71FBD4D5071B1>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(_DCA4A7CF5EA786B859D71FBD4D5071B1*)tolua_tousertype_dynamic(L, 2, 0, "_DCA4A7CF5EA786B859D71FBD4D5071B1")); + (self->setValue)(*(_DCA4A7CF5EA786B859D71FBD4D5071B1*)tolua_tousertype_dynamic(L, 2, 0, "_DCA4A7CF5EA786B859D71FBD4D5071B1")); return 0; } @@ -57327,7 +59515,7 @@ static int tolua_function_Pointer__982F841FE54CFF99ACD9FF52992C4925__setValue(lu { Pointer<_982F841FE54CFF99ACD9FF52992C4925>* self = (Pointer<_982F841FE54CFF99ACD9FF52992C4925>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer<_982F841FE54CFF99ACD9FF52992C4925>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(_982F841FE54CFF99ACD9FF52992C4925*)tolua_tousertype_dynamic(L, 2, 0, "_982F841FE54CFF99ACD9FF52992C4925")); + (self->setValue)(*(_982F841FE54CFF99ACD9FF52992C4925*)tolua_tousertype_dynamic(L, 2, 0, "_982F841FE54CFF99ACD9FF52992C4925")); return 0; } @@ -57351,7 +59539,7 @@ static int tolua_function_Pointer__872C6102D0359DAE2EF3C8EA2BA4F27D__setValue(lu { Pointer<_872C6102D0359DAE2EF3C8EA2BA4F27D>* self = (Pointer<_872C6102D0359DAE2EF3C8EA2BA4F27D>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer<_872C6102D0359DAE2EF3C8EA2BA4F27D>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(_872C6102D0359DAE2EF3C8EA2BA4F27D*)tolua_tousertype_dynamic(L, 2, 0, "_872C6102D0359DAE2EF3C8EA2BA4F27D")); + (self->setValue)(*(_872C6102D0359DAE2EF3C8EA2BA4F27D*)tolua_tousertype_dynamic(L, 2, 0, "_872C6102D0359DAE2EF3C8EA2BA4F27D")); return 0; } @@ -57375,7 +59563,7 @@ static int tolua_function_Pointer_frameTableEntry_st___anonymous_tag___setValue( { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(frameTableEntry_st::_anonymous_tag_*)tolua_tousertype_dynamic(L, 2, 0, "frameTableEntry_st::_anonymous_tag_")); + (self->setValue)(*(frameTableEntry_st::_anonymous_tag_*)tolua_tousertype_dynamic(L, 2, 0, "frameTableEntry_st::_anonymous_tag_")); return 0; } @@ -57399,7 +59587,7 @@ static int tolua_function_Pointer_frameTableEntry_st___anonymous_tag___v2_t__set { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(frameTableEntry_st::_anonymous_tag_::v2_t*)tolua_tousertype_dynamic(L, 2, 0, "frameTableEntry_st::_anonymous_tag_::v2_t")); + (self->setValue)(*(frameTableEntry_st::_anonymous_tag_::v2_t*)tolua_tousertype_dynamic(L, 2, 0, "frameTableEntry_st::_anonymous_tag_::v2_t")); return 0; } @@ -57423,7 +59611,7 @@ static int tolua_function_Pointer_glyphHashEntry_t__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(glyphHashEntry_t*)tolua_tousertype_dynamic(L, 2, 0, "glyphHashEntry_t")); + (self->setValue)(*(glyphHashEntry_t*)tolua_tousertype_dynamic(L, 2, 0, "glyphHashEntry_t")); return 0; } @@ -57447,7 +59635,7 @@ static int tolua_function_Pointer_glyphHashEntry_t___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - glyphHashEntry_t* returnVal = self->getValue(); + glyphHashEntry_t* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "glyphHashEntry_t"); return 1; } @@ -57456,7 +59644,7 @@ static int tolua_function_Pointer_glyphHashEntry_t___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((glyphHashEntry_t*)tolua_tousertype_dynamic(L, 2, 0, "glyphHashEntry_t")); + (self->setValue)((glyphHashEntry_t*)tolua_tousertype_dynamic(L, 2, 0, "glyphHashEntry_t")); return 0; } @@ -57480,7 +59668,7 @@ static int tolua_function_Pointer_frameTableEntry_st___C3D261E28D53B12983426B9B0 { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(frameTableEntry_st::_C3D261E28D53B12983426B9B0D118A61*)tolua_tousertype_dynamic(L, 2, 0, "frameTableEntry_st::_C3D261E28D53B12983426B9B0D118A61")); + (self->setValue)(*(frameTableEntry_st::_C3D261E28D53B12983426B9B0D118A61*)tolua_tousertype_dynamic(L, 2, 0, "frameTableEntry_st::_C3D261E28D53B12983426B9B0D118A61")); return 0; } @@ -57504,7 +59692,7 @@ static int tolua_function_Pointer_file_t__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(file_t*)tolua_tousertype_dynamic(L, 2, 0, "file_t")); + (self->setValue)(*(file_t*)tolua_tousertype_dynamic(L, 2, 0, "file_t")); return 0; } @@ -57528,7 +59716,7 @@ static int tolua_function_Pointer_drawState_t__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(drawState_t*)tolua_tousertype_dynamic(L, 2, 0, "drawState_t")); + (self->setValue)(*(drawState_t*)tolua_tousertype_dynamic(L, 2, 0, "drawState_t")); return 0; } @@ -57552,7 +59740,7 @@ static int tolua_function_Pointer_drawState_t___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - drawState_t* returnVal = self->getValue(); + drawState_t* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "drawState_t"); return 1; } @@ -57561,7 +59749,7 @@ static int tolua_function_Pointer_drawState_t___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((drawState_t*)tolua_tousertype_dynamic(L, 2, 0, "drawState_t")); + (self->setValue)((drawState_t*)tolua_tousertype_dynamic(L, 2, 0, "drawState_t")); return 0; } @@ -57585,7 +59773,7 @@ static int tolua_function_Pointer_drawCmd_t__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(drawCmd_t*)tolua_tousertype_dynamic(L, 2, 0, "drawCmd_t")); + (self->setValue)(*(drawCmd_t*)tolua_tousertype_dynamic(L, 2, 0, "drawCmd_t")); return 0; } @@ -57609,7 +59797,7 @@ static int tolua_function_Pointer_drawCmd_t___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - drawCmd_t* returnVal = self->getValue(); + drawCmd_t* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "drawCmd_t"); return 1; } @@ -57618,7 +59806,7 @@ static int tolua_function_Pointer_drawCmd_t___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((drawCmd_t*)tolua_tousertype_dynamic(L, 2, 0, "drawCmd_t")); + (self->setValue)((drawCmd_t*)tolua_tousertype_dynamic(L, 2, 0, "drawCmd_t")); return 0; } @@ -57642,7 +59830,7 @@ static int tolua_function_Pointer__EAXPRESET__setValue(lua_State* L) { Pointer<_EAXPRESET>* self = (Pointer<_EAXPRESET>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer<_EAXPRESET>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(_EAXPRESET*)tolua_tousertype_dynamic(L, 2, 0, "_EAXPRESET")); + (self->setValue)(*(_EAXPRESET*)tolua_tousertype_dynamic(L, 2, 0, "_EAXPRESET")); return 0; } @@ -57666,7 +59854,7 @@ static int tolua_function_Pointer_CSoundProperties__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CSoundProperties*)tolua_tousertype_dynamic(L, 2, 0, "CSoundProperties")); + (self->setValue)(*(CSoundProperties*)tolua_tousertype_dynamic(L, 2, 0, "CSoundProperties")); return 0; } @@ -57690,7 +59878,7 @@ static int tolua_function_Pointer__D3DPRESENT_PARAMETERS___setValue(lua_State* L { Pointer<_D3DPRESENT_PARAMETERS_>* self = (Pointer<_D3DPRESENT_PARAMETERS_>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer<_D3DPRESENT_PARAMETERS_>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(_D3DPRESENT_PARAMETERS_*)tolua_tousertype_dynamic(L, 2, 0, "_D3DPRESENT_PARAMETERS_")); + (self->setValue)(*(_D3DPRESENT_PARAMETERS_*)tolua_tousertype_dynamic(L, 2, 0, "_D3DPRESENT_PARAMETERS_")); return 0; } @@ -57714,7 +59902,7 @@ static int tolua_function_Pointer_Value__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(Value*)tolua_tousertype_dynamic(L, 2, 0, "Value")); + (self->setValue)(*(Value*)tolua_tousertype_dynamic(L, 2, 0, "Value")); return 0; } @@ -57738,7 +59926,7 @@ static int tolua_function_Pointer_TString__tsv_t__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(TString::tsv_t*)tolua_tousertype_dynamic(L, 2, 0, "TString::tsv_t")); + (self->setValue)(*(TString::tsv_t*)tolua_tousertype_dynamic(L, 2, 0, "TString::tsv_t")); return 0; } @@ -57762,7 +59950,7 @@ static int tolua_function_Pointer_TKey__nk_t__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(TKey::nk_t*)tolua_tousertype_dynamic(L, 2, 0, "TKey::nk_t")); + (self->setValue)(*(TKey::nk_t*)tolua_tousertype_dynamic(L, 2, 0, "TKey::nk_t")); return 0; } @@ -57786,7 +59974,7 @@ static int tolua_function_Pointer_SDL_WindowEvent__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(SDL_WindowEvent*)tolua_tousertype_dynamic(L, 2, 0, "SDL_WindowEvent")); + (self->setValue)(*(SDL_WindowEvent*)tolua_tousertype_dynamic(L, 2, 0, "SDL_WindowEvent")); return 0; } @@ -57810,7 +59998,7 @@ static int tolua_function_Pointer_SDL_UserEvent__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(SDL_UserEvent*)tolua_tousertype_dynamic(L, 2, 0, "SDL_UserEvent")); + (self->setValue)(*(SDL_UserEvent*)tolua_tousertype_dynamic(L, 2, 0, "SDL_UserEvent")); return 0; } @@ -57834,7 +60022,7 @@ static int tolua_function_Pointer_SDL_TouchFingerEvent__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(SDL_TouchFingerEvent*)tolua_tousertype_dynamic(L, 2, 0, "SDL_TouchFingerEvent")); + (self->setValue)(*(SDL_TouchFingerEvent*)tolua_tousertype_dynamic(L, 2, 0, "SDL_TouchFingerEvent")); return 0; } @@ -57858,7 +60046,7 @@ static int tolua_function_Pointer_SDL_SysWMmsg__msg_t__win_t__setValue(lua_State { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(SDL_SysWMmsg::msg_t::win_t*)tolua_tousertype_dynamic(L, 2, 0, "SDL_SysWMmsg::msg_t::win_t")); + (self->setValue)(*(SDL_SysWMmsg::msg_t::win_t*)tolua_tousertype_dynamic(L, 2, 0, "SDL_SysWMmsg::msg_t::win_t")); return 0; } @@ -57882,7 +60070,31 @@ static int tolua_function_Pointer_SDL_SysWMmsg__msg_t__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(SDL_SysWMmsg::msg_t*)tolua_tousertype_dynamic(L, 2, 0, "SDL_SysWMmsg::msg_t")); + (self->setValue)(*(SDL_SysWMmsg::msg_t*)tolua_tousertype_dynamic(L, 2, 0, "SDL_SysWMmsg::msg_t")); + return 0; +} + +static int tolua_get_Pointer_SDL_SysWMinfo__info_t__reference(lua_State* L) +{ + Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'reference'", NULL); + tolua_pushusertype(L, (void*)self->reference, "SDL_SysWMinfo::info_t"); + return 1; +} + +static int tolua_set_Pointer_SDL_SysWMinfo__info_t__reference(lua_State* L) +{ + Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'reference'", NULL); + self->reference = (SDL_SysWMinfo::info_t*)tolua_tousertype_dynamic(L, 2, 0, "SDL_SysWMinfo::info_t"); + return 0; +} + +static int tolua_function_Pointer_SDL_SysWMinfo__info_t__setValue(lua_State* L) +{ + Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); + (self->setValue)(*(SDL_SysWMinfo::info_t*)tolua_tousertype_dynamic(L, 2, 0, "SDL_SysWMinfo::info_t")); return 0; } @@ -57906,7 +60118,31 @@ static int tolua_function_Pointer_SDL_SysWMEvent__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(SDL_SysWMEvent*)tolua_tousertype_dynamic(L, 2, 0, "SDL_SysWMEvent")); + (self->setValue)(*(SDL_SysWMEvent*)tolua_tousertype_dynamic(L, 2, 0, "SDL_SysWMEvent")); + return 0; +} + +static int tolua_get_Pointer_SDL_ShapeDriver__reference(lua_State* L) +{ + Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'reference'", NULL); + tolua_pushusertype(L, (void*)self->reference, "SDL_ShapeDriver"); + return 1; +} + +static int tolua_set_Pointer_SDL_ShapeDriver__reference(lua_State* L) +{ + Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'reference'", NULL); + self->reference = (SDL_ShapeDriver*)tolua_tousertype_dynamic(L, 2, 0, "SDL_ShapeDriver"); + return 0; +} + +static int tolua_function_Pointer_SDL_ShapeDriver__setValue(lua_State* L) +{ + Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); + (self->setValue)(*(SDL_ShapeDriver*)tolua_tousertype_dynamic(L, 2, 0, "SDL_ShapeDriver")); return 0; } @@ -57930,7 +60166,7 @@ static int tolua_function_Pointer_SDL_QuitEvent__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(SDL_QuitEvent*)tolua_tousertype_dynamic(L, 2, 0, "SDL_QuitEvent")); + (self->setValue)(*(SDL_QuitEvent*)tolua_tousertype_dynamic(L, 2, 0, "SDL_QuitEvent")); return 0; } @@ -57954,7 +60190,7 @@ static int tolua_function_Pointer_SDL_MultiGestureEvent__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(SDL_MultiGestureEvent*)tolua_tousertype_dynamic(L, 2, 0, "SDL_MultiGestureEvent")); + (self->setValue)(*(SDL_MultiGestureEvent*)tolua_tousertype_dynamic(L, 2, 0, "SDL_MultiGestureEvent")); return 0; } @@ -57978,7 +60214,7 @@ static int tolua_function_Pointer_SDL_MouseWheelEvent__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(SDL_MouseWheelEvent*)tolua_tousertype_dynamic(L, 2, 0, "SDL_MouseWheelEvent")); + (self->setValue)(*(SDL_MouseWheelEvent*)tolua_tousertype_dynamic(L, 2, 0, "SDL_MouseWheelEvent")); return 0; } @@ -58002,7 +60238,7 @@ static int tolua_function_Pointer_SDL_MouseMotionEvent__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(SDL_MouseMotionEvent*)tolua_tousertype_dynamic(L, 2, 0, "SDL_MouseMotionEvent")); + (self->setValue)(*(SDL_MouseMotionEvent*)tolua_tousertype_dynamic(L, 2, 0, "SDL_MouseMotionEvent")); return 0; } @@ -58026,7 +60262,7 @@ static int tolua_function_Pointer_SDL_MouseButtonEvent__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(SDL_MouseButtonEvent*)tolua_tousertype_dynamic(L, 2, 0, "SDL_MouseButtonEvent")); + (self->setValue)(*(SDL_MouseButtonEvent*)tolua_tousertype_dynamic(L, 2, 0, "SDL_MouseButtonEvent")); return 0; } @@ -58050,7 +60286,7 @@ static int tolua_function_Pointer_SDL_Keysym__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(SDL_Keysym*)tolua_tousertype_dynamic(L, 2, 0, "SDL_Keysym")); + (self->setValue)(*(SDL_Keysym*)tolua_tousertype_dynamic(L, 2, 0, "SDL_Keysym")); return 0; } @@ -58074,7 +60310,7 @@ static int tolua_function_Pointer_SDL_KeyboardEvent__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(SDL_KeyboardEvent*)tolua_tousertype_dynamic(L, 2, 0, "SDL_KeyboardEvent")); + (self->setValue)(*(SDL_KeyboardEvent*)tolua_tousertype_dynamic(L, 2, 0, "SDL_KeyboardEvent")); return 0; } @@ -58098,7 +60334,7 @@ static int tolua_function_Pointer_SDL_JoyHatEvent__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(SDL_JoyHatEvent*)tolua_tousertype_dynamic(L, 2, 0, "SDL_JoyHatEvent")); + (self->setValue)(*(SDL_JoyHatEvent*)tolua_tousertype_dynamic(L, 2, 0, "SDL_JoyHatEvent")); return 0; } @@ -58122,7 +60358,7 @@ static int tolua_function_Pointer_SDL_JoyDeviceEvent__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(SDL_JoyDeviceEvent*)tolua_tousertype_dynamic(L, 2, 0, "SDL_JoyDeviceEvent")); + (self->setValue)(*(SDL_JoyDeviceEvent*)tolua_tousertype_dynamic(L, 2, 0, "SDL_JoyDeviceEvent")); return 0; } @@ -58146,7 +60382,7 @@ static int tolua_function_Pointer_SDL_JoyButtonEvent__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(SDL_JoyButtonEvent*)tolua_tousertype_dynamic(L, 2, 0, "SDL_JoyButtonEvent")); + (self->setValue)(*(SDL_JoyButtonEvent*)tolua_tousertype_dynamic(L, 2, 0, "SDL_JoyButtonEvent")); return 0; } @@ -58170,7 +60406,7 @@ static int tolua_function_Pointer_SDL_JoyBallEvent__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(SDL_JoyBallEvent*)tolua_tousertype_dynamic(L, 2, 0, "SDL_JoyBallEvent")); + (self->setValue)(*(SDL_JoyBallEvent*)tolua_tousertype_dynamic(L, 2, 0, "SDL_JoyBallEvent")); return 0; } @@ -58194,7 +60430,7 @@ static int tolua_function_Pointer_SDL_JoyAxisEvent__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(SDL_JoyAxisEvent*)tolua_tousertype_dynamic(L, 2, 0, "SDL_JoyAxisEvent")); + (self->setValue)(*(SDL_JoyAxisEvent*)tolua_tousertype_dynamic(L, 2, 0, "SDL_JoyAxisEvent")); return 0; } @@ -58218,7 +60454,7 @@ static int tolua_function_Pointer_SDL_DropEvent__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(SDL_DropEvent*)tolua_tousertype_dynamic(L, 2, 0, "SDL_DropEvent")); + (self->setValue)(*(SDL_DropEvent*)tolua_tousertype_dynamic(L, 2, 0, "SDL_DropEvent")); return 0; } @@ -58242,31 +60478,7 @@ static int tolua_function_Pointer_SDL_DollarGestureEvent__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(SDL_DollarGestureEvent*)tolua_tousertype_dynamic(L, 2, 0, "SDL_DollarGestureEvent")); - return 0; -} - -static int tolua_get_Pointer_SDL_DisplayMode__reference(lua_State* L) -{ - Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); - if (!self) tolua_error(L, "invalid 'self' in accessing variable 'reference'", NULL); - tolua_pushusertype(L, (void*)self->reference, "SDL_DisplayMode"); - return 1; -} - -static int tolua_set_Pointer_SDL_DisplayMode__reference(lua_State* L) -{ - Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); - if (!self) tolua_error(L, "invalid 'self' in accessing variable 'reference'", NULL); - self->reference = (SDL_DisplayMode*)tolua_tousertype_dynamic(L, 2, 0, "SDL_DisplayMode"); - return 0; -} - -static int tolua_function_Pointer_SDL_DisplayMode__setValue(lua_State* L) -{ - Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); - if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(SDL_DisplayMode*)tolua_tousertype_dynamic(L, 2, 0, "SDL_DisplayMode")); + (self->setValue)(*(SDL_DollarGestureEvent*)tolua_tousertype_dynamic(L, 2, 0, "SDL_DollarGestureEvent")); return 0; } @@ -58290,7 +60502,7 @@ static int tolua_function_Pointer_SDL_ControllerDeviceEvent__setValue(lua_State* { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(SDL_ControllerDeviceEvent*)tolua_tousertype_dynamic(L, 2, 0, "SDL_ControllerDeviceEvent")); + (self->setValue)(*(SDL_ControllerDeviceEvent*)tolua_tousertype_dynamic(L, 2, 0, "SDL_ControllerDeviceEvent")); return 0; } @@ -58314,7 +60526,7 @@ static int tolua_function_Pointer_SDL_ControllerButtonEvent__setValue(lua_State* { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(SDL_ControllerButtonEvent*)tolua_tousertype_dynamic(L, 2, 0, "SDL_ControllerButtonEvent")); + (self->setValue)(*(SDL_ControllerButtonEvent*)tolua_tousertype_dynamic(L, 2, 0, "SDL_ControllerButtonEvent")); return 0; } @@ -58338,7 +60550,7 @@ static int tolua_function_Pointer_SDL_ControllerAxisEvent__setValue(lua_State* L { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(SDL_ControllerAxisEvent*)tolua_tousertype_dynamic(L, 2, 0, "SDL_ControllerAxisEvent")); + (self->setValue)(*(SDL_ControllerAxisEvent*)tolua_tousertype_dynamic(L, 2, 0, "SDL_ControllerAxisEvent")); return 0; } @@ -58362,7 +60574,7 @@ static int tolua_function_Pointer_SDL_CommonEvent__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(SDL_CommonEvent*)tolua_tousertype_dynamic(L, 2, 0, "SDL_CommonEvent")); + (self->setValue)(*(SDL_CommonEvent*)tolua_tousertype_dynamic(L, 2, 0, "SDL_CommonEvent")); return 0; } @@ -58386,7 +60598,7 @@ static int tolua_function_Pointer_SDL_BlitInfo__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(SDL_BlitInfo*)tolua_tousertype_dynamic(L, 2, 0, "SDL_BlitInfo")); + (self->setValue)(*(SDL_BlitInfo*)tolua_tousertype_dynamic(L, 2, 0, "SDL_BlitInfo")); return 0; } @@ -58410,7 +60622,7 @@ static int tolua_function_Pointer_SDL_AudioDeviceEvent__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(SDL_AudioDeviceEvent*)tolua_tousertype_dynamic(L, 2, 0, "SDL_AudioDeviceEvent")); + (self->setValue)(*(SDL_AudioDeviceEvent*)tolua_tousertype_dynamic(L, 2, 0, "SDL_AudioDeviceEvent")); return 0; } @@ -58434,7 +60646,7 @@ static int tolua_function_Pointer_Marker__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(Marker*)tolua_tousertype_dynamic(L, 2, 0, "Marker")); + (self->setValue)(*(Marker*)tolua_tousertype_dynamic(L, 2, 0, "Marker")); return 0; } @@ -58458,7 +60670,7 @@ static int tolua_function_Pointer_L_Umaxalign__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(L_Umaxalign*)tolua_tousertype_dynamic(L, 2, 0, "L_Umaxalign")); + (self->setValue)(*(L_Umaxalign*)tolua_tousertype_dynamic(L, 2, 0, "L_Umaxalign")); return 0; } @@ -58482,7 +60694,7 @@ static int tolua_function_Pointer_Udata__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(Udata*)tolua_tousertype_dynamic(L, 2, 0, "Udata")); + (self->setValue)(*(Udata*)tolua_tousertype_dynamic(L, 2, 0, "Udata")); return 0; } @@ -58506,7 +60718,7 @@ static int tolua_function_Pointer_ISteamUserStats__vtbl__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(ISteamUserStats::vtbl*)tolua_tousertype_dynamic(L, 2, 0, "ISteamUserStats::vtbl")); + (self->setValue)(*(ISteamUserStats::vtbl*)tolua_tousertype_dynamic(L, 2, 0, "ISteamUserStats::vtbl")); return 0; } @@ -58530,7 +60742,7 @@ static int tolua_function_Pointer_DPWrapper__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(DPWrapper*)tolua_tousertype_dynamic(L, 2, 0, "DPWrapper")); + (self->setValue)(*(DPWrapper*)tolua_tousertype_dynamic(L, 2, 0, "DPWrapper")); return 0; } @@ -58554,7 +60766,7 @@ static int tolua_function_Pointer_CallInfo__u_t__c_t__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CallInfo::u_t::c_t*)tolua_tousertype_dynamic(L, 2, 0, "CallInfo::u_t::c_t")); + (self->setValue)(*(CallInfo::u_t::c_t*)tolua_tousertype_dynamic(L, 2, 0, "CallInfo::u_t::c_t")); return 0; } @@ -58578,7 +60790,7 @@ static int tolua_function_Pointer_CallInfo__u_t__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CallInfo::u_t*)tolua_tousertype_dynamic(L, 2, 0, "CallInfo::u_t")); + (self->setValue)(*(CallInfo::u_t*)tolua_tousertype_dynamic(L, 2, 0, "CallInfo::u_t")); return 0; } @@ -58602,7 +60814,7 @@ static int tolua_function_Pointer_CWorldMapHeader__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CWorldMapHeader*)tolua_tousertype_dynamic(L, 2, 0, "CWorldMapHeader")); + (self->setValue)(*(CWorldMapHeader*)tolua_tousertype_dynamic(L, 2, 0, "CWorldMapHeader")); return 0; } @@ -58626,7 +60838,7 @@ static int tolua_function_Pointer_CVVCHash__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CVVCHash*)tolua_tousertype_dynamic(L, 2, 0, "CVVCHash")); + (self->setValue)(*(CVVCHash*)tolua_tousertype_dynamic(L, 2, 0, "CVVCHash")); return 0; } @@ -58650,7 +60862,7 @@ static int tolua_function_Pointer_CTlkFileOverride__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CTlkFileOverride*)tolua_tousertype_dynamic(L, 2, 0, "CTlkFileOverride")); + (self->setValue)(*(CTlkFileOverride*)tolua_tousertype_dynamic(L, 2, 0, "CTlkFileOverride")); return 0; } @@ -58674,7 +60886,7 @@ static int tolua_function_Pointer_CSpellLevelDecrementing__setValue(lua_State* L { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CSpellLevelDecrementing*)tolua_tousertype_dynamic(L, 2, 0, "CSpellLevelDecrementing")); + (self->setValue)(*(CSpellLevelDecrementing*)tolua_tousertype_dynamic(L, 2, 0, "CSpellLevelDecrementing")); return 0; } @@ -58698,7 +60910,7 @@ static int tolua_function_Pointer_CSpellLevelDecrementing___getValue(lua_State* { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CSpellLevelDecrementing* returnVal = self->getValue(); + CSpellLevelDecrementing* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CSpellLevelDecrementing"); return 1; } @@ -58707,7 +60919,7 @@ static int tolua_function_Pointer_CSpellLevelDecrementing___setValue(lua_State* { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CSpellLevelDecrementing*)tolua_tousertype_dynamic(L, 2, 0, "CSpellLevelDecrementing")); + (self->setValue)((CSpellLevelDecrementing*)tolua_tousertype_dynamic(L, 2, 0, "CSpellLevelDecrementing")); return 0; } @@ -58731,7 +60943,7 @@ static int tolua_function_Pointer_CScriptCache__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CScriptCache*)tolua_tousertype_dynamic(L, 2, 0, "CScriptCache")); + (self->setValue)(*(CScriptCache*)tolua_tousertype_dynamic(L, 2, 0, "CScriptCache")); return 0; } @@ -58755,7 +60967,7 @@ static int tolua_function_Pointer_CPARTICLE_POINT__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CPARTICLE_POINT*)tolua_tousertype_dynamic(L, 2, 0, "CPARTICLE_POINT")); + (self->setValue)(*(CPARTICLE_POINT*)tolua_tousertype_dynamic(L, 2, 0, "CPARTICLE_POINT")); return 0; } @@ -58779,7 +60991,7 @@ static int tolua_function_Pointer_CMachineState__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMachineState*)tolua_tousertype_dynamic(L, 2, 0, "CMachineState")); + (self->setValue)(*(CMachineState*)tolua_tousertype_dynamic(L, 2, 0, "CMachineState")); return 0; } @@ -58803,7 +61015,7 @@ static int tolua_function_Pointer_CMachineState___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CMachineState* returnVal = self->getValue(); + CMachineState* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CMachineState"); return 1; } @@ -58812,7 +61024,7 @@ static int tolua_function_Pointer_CMachineState___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CMachineState*)tolua_tousertype_dynamic(L, 2, 0, "CMachineState")); + (self->setValue)((CMachineState*)tolua_tousertype_dynamic(L, 2, 0, "CMachineState")); return 0; } @@ -58836,7 +61048,7 @@ static int tolua_function_Pointer_CGameObjectArray__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CGameObjectArray*)tolua_tousertype_dynamic(L, 2, 0, "CGameObjectArray")); + (self->setValue)(*(CGameObjectArray*)tolua_tousertype_dynamic(L, 2, 0, "CGameObjectArray")); return 0; } @@ -58860,7 +61072,7 @@ static int tolua_function_Pointer_CGameArea__m_cWalkableRenderCache_t__setValue( { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CGameArea::m_cWalkableRenderCache_t*)tolua_tousertype_dynamic(L, 2, 0, "CGameArea::m_cWalkableRenderCache_t")); + (self->setValue)(*(CGameArea::m_cWalkableRenderCache_t*)tolua_tousertype_dynamic(L, 2, 0, "CGameArea::m_cWalkableRenderCache_t")); return 0; } @@ -58884,7 +61096,7 @@ static int tolua_function_Pointer_CGameAnimation__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CGameAnimation*)tolua_tousertype_dynamic(L, 2, 0, "CGameAnimation")); + (self->setValue)(*(CGameAnimation*)tolua_tousertype_dynamic(L, 2, 0, "CGameAnimation")); return 0; } @@ -58908,7 +61120,7 @@ static int tolua_function_Pointer__A92C2F5FC159A4FE55DD6CCAABD58E72__setValue(lu { Pointer<_A92C2F5FC159A4FE55DD6CCAABD58E72>* self = (Pointer<_A92C2F5FC159A4FE55DD6CCAABD58E72>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer<_A92C2F5FC159A4FE55DD6CCAABD58E72>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(_A92C2F5FC159A4FE55DD6CCAABD58E72*)tolua_tousertype_dynamic(L, 2, 0, "_A92C2F5FC159A4FE55DD6CCAABD58E72")); + (self->setValue)(*(_A92C2F5FC159A4FE55DD6CCAABD58E72*)tolua_tousertype_dynamic(L, 2, 0, "_A92C2F5FC159A4FE55DD6CCAABD58E72")); return 0; } @@ -58932,7 +61144,7 @@ static int tolua_function_Pointer__9CC80BF4F2F1300360474CD60BF15E00__setValue(lu { Pointer<_9CC80BF4F2F1300360474CD60BF15E00>* self = (Pointer<_9CC80BF4F2F1300360474CD60BF15E00>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer<_9CC80BF4F2F1300360474CD60BF15E00>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(_9CC80BF4F2F1300360474CD60BF15E00*)tolua_tousertype_dynamic(L, 2, 0, "_9CC80BF4F2F1300360474CD60BF15E00")); + (self->setValue)(*(_9CC80BF4F2F1300360474CD60BF15E00*)tolua_tousertype_dynamic(L, 2, 0, "_9CC80BF4F2F1300360474CD60BF15E00")); return 0; } @@ -58956,7 +61168,7 @@ static int tolua_function_Pointer__7A482BBA0D1D34ED5A2E6984BF7642B3__setValue(lu { Pointer<_7A482BBA0D1D34ED5A2E6984BF7642B3>* self = (Pointer<_7A482BBA0D1D34ED5A2E6984BF7642B3>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer<_7A482BBA0D1D34ED5A2E6984BF7642B3>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(_7A482BBA0D1D34ED5A2E6984BF7642B3*)tolua_tousertype_dynamic(L, 2, 0, "_7A482BBA0D1D34ED5A2E6984BF7642B3")); + (self->setValue)(*(_7A482BBA0D1D34ED5A2E6984BF7642B3*)tolua_tousertype_dynamic(L, 2, 0, "_7A482BBA0D1D34ED5A2E6984BF7642B3")); return 0; } @@ -58980,7 +61192,7 @@ static int tolua_function_Pointer_keyword__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(keyword*)tolua_tousertype_dynamic(L, 2, 0, "keyword")); + (self->setValue)(*(keyword*)tolua_tousertype_dynamic(L, 2, 0, "keyword")); return 0; } @@ -59004,7 +61216,7 @@ static int tolua_function_Pointer_keyword___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - keyword* returnVal = self->getValue(); + keyword* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "keyword"); return 1; } @@ -59013,7 +61225,7 @@ static int tolua_function_Pointer_keyword___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((keyword*)tolua_tousertype_dynamic(L, 2, 0, "keyword")); + (self->setValue)((keyword*)tolua_tousertype_dynamic(L, 2, 0, "keyword")); return 0; } @@ -59037,7 +61249,7 @@ static int tolua_function_Pointer_UpVal__u_t__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(UpVal::u_t*)tolua_tousertype_dynamic(L, 2, 0, "UpVal::u_t")); + (self->setValue)(*(UpVal::u_t*)tolua_tousertype_dynamic(L, 2, 0, "UpVal::u_t")); return 0; } @@ -59061,7 +61273,7 @@ static int tolua_function_Pointer_TKey__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(TKey*)tolua_tousertype_dynamic(L, 2, 0, "TKey")); + (self->setValue)(*(TKey*)tolua_tousertype_dynamic(L, 2, 0, "TKey")); return 0; } @@ -59085,7 +61297,7 @@ static int tolua_function_Pointer_program_t__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(program_t*)tolua_tousertype_dynamic(L, 2, 0, "program_t")); + (self->setValue)(*(program_t*)tolua_tousertype_dynamic(L, 2, 0, "program_t")); return 0; } @@ -59109,7 +61321,7 @@ static int tolua_function_Pointer_program_t___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - program_t* returnVal = self->getValue(); + program_t* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "program_t"); return 1; } @@ -59118,7 +61330,7 @@ static int tolua_function_Pointer_program_t___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((program_t*)tolua_tousertype_dynamic(L, 2, 0, "program_t")); + (self->setValue)((program_t*)tolua_tousertype_dynamic(L, 2, 0, "program_t")); return 0; } @@ -59142,7 +61354,7 @@ static int tolua_function_Pointer_samplerState_t__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(samplerState_t*)tolua_tousertype_dynamic(L, 2, 0, "samplerState_t")); + (self->setValue)(*(samplerState_t*)tolua_tousertype_dynamic(L, 2, 0, "samplerState_t")); return 0; } @@ -59166,7 +61378,7 @@ static int tolua_function_Pointer_samplerState_t___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - samplerState_t* returnVal = self->getValue(); + samplerState_t* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "samplerState_t"); return 1; } @@ -59175,7 +61387,7 @@ static int tolua_function_Pointer_samplerState_t___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((samplerState_t*)tolua_tousertype_dynamic(L, 2, 0, "samplerState_t")); + (self->setValue)((samplerState_t*)tolua_tousertype_dynamic(L, 2, 0, "samplerState_t")); return 0; } @@ -59199,7 +61411,7 @@ static int tolua_function_Pointer_const_short__getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - const short returnVal = self->getValue(); + const short returnVal = (self->getValue)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -59224,7 +61436,7 @@ static int tolua_function_Pointer_const_short___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - const short* returnVal = self->getValue(); + const short* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "Primitive"); return 1; } @@ -59249,7 +61461,7 @@ static int tolua_function_Pointer_stbrp_rect__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(stbrp_rect*)tolua_tousertype_dynamic(L, 2, 0, "stbrp_rect")); + (self->setValue)(*(stbrp_rect*)tolua_tousertype_dynamic(L, 2, 0, "stbrp_rect")); return 0; } @@ -59273,7 +61485,7 @@ static int tolua_function_Pointer_stbtt_fontinfo__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(stbtt_fontinfo*)tolua_tousertype_dynamic(L, 2, 0, "stbtt_fontinfo")); + (self->setValue)(*(stbtt_fontinfo*)tolua_tousertype_dynamic(L, 2, 0, "stbtt_fontinfo")); return 0; } @@ -59297,7 +61509,7 @@ static int tolua_function_Pointer_stringtable__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(stringtable*)tolua_tousertype_dynamic(L, 2, 0, "stringtable")); + (self->setValue)(*(stringtable*)tolua_tousertype_dynamic(L, 2, 0, "stringtable")); return 0; } @@ -59321,7 +61533,7 @@ static int tolua_function_Pointer_tagRECT__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(tagRECT*)tolua_tousertype_dynamic(L, 2, 0, "tagRECT")); + (self->setValue)(*(tagRECT*)tolua_tousertype_dynamic(L, 2, 0, "tagRECT")); return 0; } @@ -59345,7 +61557,7 @@ static int tolua_function_Pointer_tagSIZE__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(tagSIZE*)tolua_tousertype_dynamic(L, 2, 0, "tagSIZE")); + (self->setValue)(*(tagSIZE*)tolua_tousertype_dynamic(L, 2, 0, "tagSIZE")); return 0; } @@ -59369,7 +61581,7 @@ static int tolua_function_Pointer_CSize__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CSize*)tolua_tousertype_dynamic(L, 2, 0, "CSize")); + (self->setValue)(*(CSize*)tolua_tousertype_dynamic(L, 2, 0, "CSize")); return 0; } @@ -59393,7 +61605,7 @@ static int tolua_function_Pointer_texture_t__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(texture_t*)tolua_tousertype_dynamic(L, 2, 0, "texture_t")); + (self->setValue)(*(texture_t*)tolua_tousertype_dynamic(L, 2, 0, "texture_t")); return 0; } @@ -59417,7 +61629,7 @@ static int tolua_function_Pointer_texture_t___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - texture_t* returnVal = self->getValue(); + texture_t* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "texture_t"); return 1; } @@ -59426,7 +61638,7 @@ static int tolua_function_Pointer_texture_t___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((texture_t*)tolua_tousertype_dynamic(L, 2, 0, "texture_t")); + (self->setValue)((texture_t*)tolua_tousertype_dynamic(L, 2, 0, "texture_t")); return 0; } @@ -59450,7 +61662,7 @@ static int tolua_function_Pointer_uiItem__bam_t__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(uiItem::bam_t*)tolua_tousertype_dynamic(L, 2, 0, "uiItem::bam_t")); + (self->setValue)(*(uiItem::bam_t*)tolua_tousertype_dynamic(L, 2, 0, "uiItem::bam_t")); return 0; } @@ -59474,7 +61686,7 @@ static int tolua_function_Pointer_uiItem__button_t__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(uiItem::button_t*)tolua_tousertype_dynamic(L, 2, 0, "uiItem::button_t")); + (self->setValue)(*(uiItem::button_t*)tolua_tousertype_dynamic(L, 2, 0, "uiItem::button_t")); return 0; } @@ -59498,7 +61710,7 @@ static int tolua_function_Pointer_uiItem__edit_t__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(uiItem::edit_t*)tolua_tousertype_dynamic(L, 2, 0, "uiItem::edit_t")); + (self->setValue)(*(uiItem::edit_t*)tolua_tousertype_dynamic(L, 2, 0, "uiItem::edit_t")); return 0; } @@ -59522,7 +61734,7 @@ static int tolua_function_Pointer_uiItem__list_t__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(uiItem::list_t*)tolua_tousertype_dynamic(L, 2, 0, "uiItem::list_t")); + (self->setValue)(*(uiItem::list_t*)tolua_tousertype_dynamic(L, 2, 0, "uiItem::list_t")); return 0; } @@ -59546,7 +61758,7 @@ static int tolua_function_Pointer_uiItem__map_t__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(uiItem::map_t*)tolua_tousertype_dynamic(L, 2, 0, "uiItem::map_t")); + (self->setValue)(*(uiItem::map_t*)tolua_tousertype_dynamic(L, 2, 0, "uiItem::map_t")); return 0; } @@ -59570,7 +61782,7 @@ static int tolua_function_Pointer_uiItem__mosaic_t__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(uiItem::mosaic_t*)tolua_tousertype_dynamic(L, 2, 0, "uiItem::mosaic_t")); + (self->setValue)(*(uiItem::mosaic_t*)tolua_tousertype_dynamic(L, 2, 0, "uiItem::mosaic_t")); return 0; } @@ -59594,7 +61806,7 @@ static int tolua_function_Pointer_uiItem__progressBar_t__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(uiItem::progressBar_t*)tolua_tousertype_dynamic(L, 2, 0, "uiItem::progressBar_t")); + (self->setValue)(*(uiItem::progressBar_t*)tolua_tousertype_dynamic(L, 2, 0, "uiItem::progressBar_t")); return 0; } @@ -59618,7 +61830,7 @@ static int tolua_function_Pointer_uiItem__rectangle_t__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(uiItem::rectangle_t*)tolua_tousertype_dynamic(L, 2, 0, "uiItem::rectangle_t")); + (self->setValue)(*(uiItem::rectangle_t*)tolua_tousertype_dynamic(L, 2, 0, "uiItem::rectangle_t")); return 0; } @@ -59642,7 +61854,7 @@ static int tolua_function_Pointer_uiItem__scrollbar_t__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(uiItem::scrollbar_t*)tolua_tousertype_dynamic(L, 2, 0, "uiItem::scrollbar_t")); + (self->setValue)(*(uiItem::scrollbar_t*)tolua_tousertype_dynamic(L, 2, 0, "uiItem::scrollbar_t")); return 0; } @@ -59666,7 +61878,7 @@ static int tolua_function_Pointer_uiItem__slider_t__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(uiItem::slider_t*)tolua_tousertype_dynamic(L, 2, 0, "uiItem::slider_t")); + (self->setValue)(*(uiItem::slider_t*)tolua_tousertype_dynamic(L, 2, 0, "uiItem::slider_t")); return 0; } @@ -59690,7 +61902,7 @@ static int tolua_function_Pointer_uiItem__slot_t__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(uiItem::slot_t*)tolua_tousertype_dynamic(L, 2, 0, "uiItem::slot_t")); + (self->setValue)(*(uiItem::slot_t*)tolua_tousertype_dynamic(L, 2, 0, "uiItem::slot_t")); return 0; } @@ -59714,7 +61926,7 @@ static int tolua_function_Pointer_uiItem__text_t__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(uiItem::text_t*)tolua_tousertype_dynamic(L, 2, 0, "uiItem::text_t")); + (self->setValue)(*(uiItem::text_t*)tolua_tousertype_dynamic(L, 2, 0, "uiItem::text_t")); return 0; } @@ -59738,7 +61950,7 @@ static int tolua_function_Pointer_uiItem__tooltip_t__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(uiItem::tooltip_t*)tolua_tousertype_dynamic(L, 2, 0, "uiItem::tooltip_t")); + (self->setValue)(*(uiItem::tooltip_t*)tolua_tousertype_dynamic(L, 2, 0, "uiItem::tooltip_t")); return 0; } @@ -59762,7 +61974,7 @@ static int tolua_function_Pointer_uiItem__uiTemplate_t__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(uiItem::uiTemplate_t*)tolua_tousertype_dynamic(L, 2, 0, "uiItem::uiTemplate_t")); + (self->setValue)(*(uiItem::uiTemplate_t*)tolua_tousertype_dynamic(L, 2, 0, "uiItem::uiTemplate_t")); return 0; } @@ -59786,7 +61998,7 @@ static int tolua_function_Pointer_uiVariant__value_t__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(uiVariant::value_t*)tolua_tousertype_dynamic(L, 2, 0, "uiVariant::value_t")); + (self->setValue)(*(uiVariant::value_t*)tolua_tousertype_dynamic(L, 2, 0, "uiVariant::value_t")); return 0; } @@ -59810,7 +62022,7 @@ static int tolua_function_Pointer_uint___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - uint* returnVal = self->getValue(); + uint* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "Primitive"); return 1; } @@ -59819,7 +62031,7 @@ static int tolua_function_Pointer_uint___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((uint*)tolua_tousertype_dynamic(L, 2, 0, "Primitive")); + (self->setValue)((uint*)tolua_tousertype_dynamic(L, 2, 0, "Primitive")); return 0; } @@ -59843,7 +62055,7 @@ static int tolua_function_Pointer_texture_t_DX__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(texture_t_DX*)tolua_tousertype_dynamic(L, 2, 0, "texture_t_DX")); + (self->setValue)(*(texture_t_DX*)tolua_tousertype_dynamic(L, 2, 0, "texture_t_DX")); return 0; } @@ -59867,7 +62079,7 @@ static int tolua_function_Pointer_texture_t_DX___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - texture_t_DX* returnVal = self->getValue(); + texture_t_DX* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "texture_t_DX"); return 1; } @@ -59876,7 +62088,7 @@ static int tolua_function_Pointer_texture_t_DX___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((texture_t_DX*)tolua_tousertype_dynamic(L, 2, 0, "texture_t_DX")); + (self->setValue)((texture_t_DX*)tolua_tousertype_dynamic(L, 2, 0, "texture_t_DX")); return 0; } @@ -59900,7 +62112,7 @@ static int tolua_function_Pointer_const_ushort__getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - const ushort returnVal = self->getValue(); + const ushort returnVal = (self->getValue)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -59925,7 +62137,7 @@ static int tolua_function_Pointer_const_ushort___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - const ushort* returnVal = self->getValue(); + const ushort* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "Primitive"); return 1; } @@ -59950,7 +62162,7 @@ static int tolua_function_Pointer_vec4_t__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(vec4_t*)tolua_tousertype_dynamic(L, 2, 0, "vec4_t")); + (self->setValue)(*(vec4_t*)tolua_tousertype_dynamic(L, 2, 0, "vec4_t")); return 0; } @@ -59974,7 +62186,7 @@ static int tolua_function_Pointer_vec4_t___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - vec4_t* returnVal = self->getValue(); + vec4_t* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "vec4_t"); return 1; } @@ -59983,7 +62195,7 @@ static int tolua_function_Pointer_vec4_t___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((vec4_t*)tolua_tousertype_dynamic(L, 2, 0, "vec4_t")); + (self->setValue)((vec4_t*)tolua_tousertype_dynamic(L, 2, 0, "vec4_t")); return 0; } @@ -60007,7 +62219,7 @@ static int tolua_function_Pointer_vertex_t__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(vertex_t*)tolua_tousertype_dynamic(L, 2, 0, "vertex_t")); + (self->setValue)(*(vertex_t*)tolua_tousertype_dynamic(L, 2, 0, "vertex_t")); return 0; } @@ -60031,7 +62243,7 @@ static int tolua_function_Pointer_vertex_t___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - vertex_t* returnVal = self->getValue(); + vertex_t* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "vertex_t"); return 1; } @@ -60040,7 +62252,7 @@ static int tolua_function_Pointer_vertex_t___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((vertex_t*)tolua_tousertype_dynamic(L, 2, 0, "vertex_t")); + (self->setValue)((vertex_t*)tolua_tousertype_dynamic(L, 2, 0, "vertex_t")); return 0; } @@ -60064,7 +62276,7 @@ static int tolua_function_Pointer_view_t__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(view_t*)tolua_tousertype_dynamic(L, 2, 0, "view_t")); + (self->setValue)(*(view_t*)tolua_tousertype_dynamic(L, 2, 0, "view_t")); return 0; } @@ -60088,7 +62300,7 @@ static int tolua_function_Pointer_VariableArray__D98D369160A0DDA2B95F5D0F301081B { Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(VariableArray<_D98D369160A0DDA2B95F5D0F301081BB>*)tolua_tousertype_dynamic(L, 2, 0, "VariableArray<_D98D369160A0DDA2B95F5D0F301081BB>")); + (self->setValue)(*(VariableArray<_D98D369160A0DDA2B95F5D0F301081BB>*)tolua_tousertype_dynamic(L, 2, 0, "VariableArray<_D98D369160A0DDA2B95F5D0F301081BB>")); return 0; } @@ -60112,7 +62324,31 @@ static int tolua_function_Pointer_VariableArray_short___setValue(lua_State* L) { Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(VariableArray*)tolua_tousertype_dynamic(L, 2, 0, "VariableArray")); + (self->setValue)(*(VariableArray*)tolua_tousertype_dynamic(L, 2, 0, "VariableArray")); + return 0; +} + +static int tolua_get_Pointer_VariableArray_ushort___reference(lua_State* L) +{ + Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'reference'", NULL); + tolua_pushusertype(L, (void*)self->reference, "VariableArray"); + return 1; +} + +static int tolua_set_Pointer_VariableArray_ushort___reference(lua_State* L) +{ + Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'reference'", NULL); + self->reference = (VariableArray*)tolua_tousertype_dynamic(L, 2, 0, "VariableArray"); + return 0; +} + +static int tolua_function_Pointer_VariableArray_ushort___setValue(lua_State* L) +{ + Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); + (self->setValue)(*(VariableArray*)tolua_tousertype_dynamic(L, 2, 0, "VariableArray")); return 0; } @@ -60136,7 +62372,7 @@ static int tolua_function_Pointer_VariableArray_char___setValue(lua_State* L) { Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(VariableArray*)tolua_tousertype_dynamic(L, 2, 0, "VariableArray")); + (self->setValue)(*(VariableArray*)tolua_tousertype_dynamic(L, 2, 0, "VariableArray")); return 0; } @@ -60160,31 +62396,40 @@ static int tolua_function_Pointer_VariableArray_byte___setValue(lua_State* L) { Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(VariableArray*)tolua_tousertype_dynamic(L, 2, 0, "VariableArray")); + (self->setValue)(*(VariableArray*)tolua_tousertype_dynamic(L, 2, 0, "VariableArray")); return 0; } -static int tolua_get_Pointer_VariableArray_ushort___reference(lua_State* L) +static int tolua_get_Pointer_VariableArray_CRect____reference(lua_State* L) { - Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); + Pointer*>* self = (Pointer*>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer*>"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'reference'", NULL); - tolua_pushusertype(L, (void*)self->reference, "VariableArray"); + tolua_pushusertype(L, (void*)self->reference, "Pointer>"); return 1; } -static int tolua_set_Pointer_VariableArray_ushort___reference(lua_State* L) +static int tolua_set_Pointer_VariableArray_CRect____reference(lua_State* L) { - Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); + Pointer*>* self = (Pointer*>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer*>"); if (!self) tolua_error(L, "invalid 'self' in accessing variable 'reference'", NULL); - self->reference = (VariableArray*)tolua_tousertype_dynamic(L, 2, 0, "VariableArray"); + self->reference = (VariableArray**)tolua_tousertype_dynamic(L, 2, 0, "Pointer>"); return 0; } -static int tolua_function_Pointer_VariableArray_ushort___setValue(lua_State* L) +static int tolua_function_Pointer_VariableArray_CRect____getValue(lua_State* L) { - Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); + Pointer*>* self = (Pointer*>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer*>"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); + VariableArray* returnVal = (self->getValue)(); + tolua_pushusertype(L, (void*)returnVal, "VariableArray"); + return 1; +} + +static int tolua_function_Pointer_VariableArray_CRect____setValue(lua_State* L) +{ + Pointer*>* self = (Pointer*>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer*>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(VariableArray*)tolua_tousertype_dynamic(L, 2, 0, "VariableArray")); + (self->setValue)((VariableArray*)tolua_tousertype_dynamic(L, 2, 0, "VariableArray")); return 0; } @@ -60208,7 +62453,7 @@ static int tolua_function_Pointer_VariableArray_CRes_____getValue(lua_State* L) { Pointer*>* self = (Pointer*>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer*>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - VariableArray* returnVal = self->getValue(); + VariableArray* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "VariableArray"); return 1; } @@ -60217,7 +62462,7 @@ static int tolua_function_Pointer_VariableArray_CRes_____setValue(lua_State* L) { Pointer*>* self = (Pointer*>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer*>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((VariableArray*)tolua_tousertype_dynamic(L, 2, 0, "VariableArray")); + (self->setValue)((VariableArray*)tolua_tousertype_dynamic(L, 2, 0, "VariableArray")); return 0; } @@ -60241,7 +62486,7 @@ static int tolua_function_Pointer_VariableArray_CGameDialogEntry_____getValue(lu { Pointer*>* self = (Pointer*>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer*>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - VariableArray* returnVal = self->getValue(); + VariableArray* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "VariableArray"); return 1; } @@ -60250,7 +62495,7 @@ static int tolua_function_Pointer_VariableArray_CGameDialogEntry_____setValue(lu { Pointer*>* self = (Pointer*>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer*>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((VariableArray*)tolua_tousertype_dynamic(L, 2, 0, "VariableArray")); + (self->setValue)((VariableArray*)tolua_tousertype_dynamic(L, 2, 0, "VariableArray")); return 0; } @@ -60274,7 +62519,7 @@ static int tolua_function_Pointer_VariableArray_CTypedPtrList_CPtrList_CGameJour { Pointer*>*>* self = (Pointer*>*>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer*>*>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - VariableArray*>* returnVal = self->getValue(); + VariableArray*>* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "VariableArray*>"); return 1; } @@ -60283,7 +62528,7 @@ static int tolua_function_Pointer_VariableArray_CTypedPtrList_CPtrList_CGameJour { Pointer*>*>* self = (Pointer*>*>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer*>*>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((VariableArray*>*)tolua_tousertype_dynamic(L, 2, 0, "VariableArray*>")); + (self->setValue)((VariableArray*>*)tolua_tousertype_dynamic(L, 2, 0, "VariableArray*>")); return 0; } @@ -60307,7 +62552,7 @@ static int tolua_function_Pointer_VariableArray_CSavedGamePartyCreature_____getV { Pointer*>* self = (Pointer*>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer*>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - VariableArray* returnVal = self->getValue(); + VariableArray* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "VariableArray"); return 1; } @@ -60316,7 +62561,7 @@ static int tolua_function_Pointer_VariableArray_CSavedGamePartyCreature_____setV { Pointer*>* self = (Pointer*>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer*>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((VariableArray*)tolua_tousertype_dynamic(L, 2, 0, "VariableArray")); + (self->setValue)((VariableArray*)tolua_tousertype_dynamic(L, 2, 0, "VariableArray")); return 0; } @@ -60340,7 +62585,7 @@ static int tolua_function_Pointer_VariableArray_unsigned_char_____getValue(lua_S { Pointer*>* self = (Pointer*>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer*>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - VariableArray* returnVal = self->getValue(); + VariableArray* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "VariableArray"); return 1; } @@ -60349,7 +62594,7 @@ static int tolua_function_Pointer_VariableArray_unsigned_char_____setValue(lua_S { Pointer*>* self = (Pointer*>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer*>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((VariableArray*)tolua_tousertype_dynamic(L, 2, 0, "VariableArray")); + (self->setValue)((VariableArray*)tolua_tousertype_dynamic(L, 2, 0, "VariableArray")); return 0; } @@ -60373,7 +62618,7 @@ static int tolua_function_Pointer_VariableArray_CAbilityData_____getValue(lua_St { Pointer*>* self = (Pointer*>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer*>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - VariableArray* returnVal = self->getValue(); + VariableArray* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "VariableArray"); return 1; } @@ -60382,7 +62627,7 @@ static int tolua_function_Pointer_VariableArray_CAbilityData_____setValue(lua_St { Pointer*>* self = (Pointer*>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer*>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((VariableArray*)tolua_tousertype_dynamic(L, 2, 0, "VariableArray")); + (self->setValue)((VariableArray*)tolua_tousertype_dynamic(L, 2, 0, "VariableArray")); return 0; } @@ -60406,7 +62651,7 @@ static int tolua_function_Pointer_VariableArray_CSaveGameSlot_____getValue(lua_S { Pointer*>* self = (Pointer*>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer*>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - VariableArray* returnVal = self->getValue(); + VariableArray* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "VariableArray"); return 1; } @@ -60415,7 +62660,7 @@ static int tolua_function_Pointer_VariableArray_CSaveGameSlot_____setValue(lua_S { Pointer*>* self = (Pointer*>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer*>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((VariableArray*)tolua_tousertype_dynamic(L, 2, 0, "VariableArray")); + (self->setValue)((VariableArray*)tolua_tousertype_dynamic(L, 2, 0, "VariableArray")); return 0; } @@ -60439,7 +62684,7 @@ static int tolua_function_Pointer_VariableArray_CSpawnPoint_____getValue(lua_Sta { Pointer*>* self = (Pointer*>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer*>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - VariableArray* returnVal = self->getValue(); + VariableArray* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "VariableArray"); return 1; } @@ -60448,7 +62693,7 @@ static int tolua_function_Pointer_VariableArray_CSpawnPoint_____setValue(lua_Sta { Pointer*>* self = (Pointer*>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer*>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((VariableArray*)tolua_tousertype_dynamic(L, 2, 0, "VariableArray")); + (self->setValue)((VariableArray*)tolua_tousertype_dynamic(L, 2, 0, "VariableArray")); return 0; } @@ -60472,7 +62717,7 @@ static int tolua_function_Pointer_VariableArray_CGameDialogReply_____getValue(lu { Pointer*>* self = (Pointer*>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer*>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - VariableArray* returnVal = self->getValue(); + VariableArray* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "VariableArray"); return 1; } @@ -60481,7 +62726,7 @@ static int tolua_function_Pointer_VariableArray_CGameDialogReply_____setValue(lu { Pointer*>* self = (Pointer*>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer*>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((VariableArray*)tolua_tousertype_dynamic(L, 2, 0, "VariableArray")); + (self->setValue)((VariableArray*)tolua_tousertype_dynamic(L, 2, 0, "VariableArray")); return 0; } @@ -60505,7 +62750,7 @@ static int tolua_function_Pointer_VariableArray_long____getValue(lua_State* L) { Pointer*>* self = (Pointer*>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer*>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - VariableArray* returnVal = self->getValue(); + VariableArray* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "VariableArray"); return 1; } @@ -60514,7 +62759,7 @@ static int tolua_function_Pointer_VariableArray_long____setValue(lua_State* L) { Pointer*>* self = (Pointer*>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer*>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((VariableArray*)tolua_tousertype_dynamic(L, 2, 0, "VariableArray")); + (self->setValue)((VariableArray*)tolua_tousertype_dynamic(L, 2, 0, "VariableArray")); return 0; } @@ -60538,7 +62783,7 @@ static int tolua_function_Pointer_VariableArray___int8____getValue(lua_State* L) { Pointer*>* self = (Pointer*>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer*>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - VariableArray<__int8>* returnVal = self->getValue(); + VariableArray<__int8>* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "VariableArray<__int8>"); return 1; } @@ -60547,7 +62792,7 @@ static int tolua_function_Pointer_VariableArray___int8____setValue(lua_State* L) { Pointer*>* self = (Pointer*>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer*>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((VariableArray<__int8>*)tolua_tousertype_dynamic(L, 2, 0, "VariableArray<__int8>")); + (self->setValue)((VariableArray<__int8>*)tolua_tousertype_dynamic(L, 2, 0, "VariableArray<__int8>")); return 0; } @@ -60571,7 +62816,7 @@ static int tolua_function_Pointer_VariableArray_CSoundChannel_____getValue(lua_S { Pointer*>* self = (Pointer*>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer*>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - VariableArray* returnVal = self->getValue(); + VariableArray* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "VariableArray"); return 1; } @@ -60580,40 +62825,7 @@ static int tolua_function_Pointer_VariableArray_CSoundChannel_____setValue(lua_S { Pointer*>* self = (Pointer*>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer*>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((VariableArray*)tolua_tousertype_dynamic(L, 2, 0, "VariableArray")); - return 0; -} - -static int tolua_get_Pointer_VariableArray_CRect____reference(lua_State* L) -{ - Pointer*>* self = (Pointer*>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer*>"); - if (!self) tolua_error(L, "invalid 'self' in accessing variable 'reference'", NULL); - tolua_pushusertype(L, (void*)self->reference, "Pointer>"); - return 1; -} - -static int tolua_set_Pointer_VariableArray_CRect____reference(lua_State* L) -{ - Pointer*>* self = (Pointer*>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer*>"); - if (!self) tolua_error(L, "invalid 'self' in accessing variable 'reference'", NULL); - self->reference = (VariableArray**)tolua_tousertype_dynamic(L, 2, 0, "Pointer>"); - return 0; -} - -static int tolua_function_Pointer_VariableArray_CRect____getValue(lua_State* L) -{ - Pointer*>* self = (Pointer*>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer*>"); - if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - VariableArray* returnVal = self->getValue(); - tolua_pushusertype(L, (void*)returnVal, "VariableArray"); - return 1; -} - -static int tolua_function_Pointer_VariableArray_CRect____setValue(lua_State* L) -{ - Pointer*>* self = (Pointer*>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer*>"); - if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((VariableArray*)tolua_tousertype_dynamic(L, 2, 0, "VariableArray")); + (self->setValue)((VariableArray*)tolua_tousertype_dynamic(L, 2, 0, "VariableArray")); return 0; } @@ -60637,7 +62849,7 @@ static int tolua_function_Pointer_uiItem__movie_t__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(uiItem::movie_t*)tolua_tousertype_dynamic(L, 2, 0, "uiItem::movie_t")); + (self->setValue)(*(uiItem::movie_t*)tolua_tousertype_dynamic(L, 2, 0, "uiItem::movie_t")); return 0; } @@ -60661,7 +62873,7 @@ static int tolua_function_Pointer_uiItem__bmp_t__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(uiItem::bmp_t*)tolua_tousertype_dynamic(L, 2, 0, "uiItem::bmp_t")); + (self->setValue)(*(uiItem::bmp_t*)tolua_tousertype_dynamic(L, 2, 0, "uiItem::bmp_t")); return 0; } @@ -60685,7 +62897,7 @@ static int tolua_function_Pointer__4BC756EB7537E12A00FC57C6BF2CCA8B__setValue(lu { Pointer<_4BC756EB7537E12A00FC57C6BF2CCA8B>* self = (Pointer<_4BC756EB7537E12A00FC57C6BF2CCA8B>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer<_4BC756EB7537E12A00FC57C6BF2CCA8B>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(_4BC756EB7537E12A00FC57C6BF2CCA8B*)tolua_tousertype_dynamic(L, 2, 0, "_4BC756EB7537E12A00FC57C6BF2CCA8B")); + (self->setValue)(*(_4BC756EB7537E12A00FC57C6BF2CCA8B*)tolua_tousertype_dynamic(L, 2, 0, "_4BC756EB7537E12A00FC57C6BF2CCA8B")); return 0; } @@ -60709,7 +62921,7 @@ static int tolua_function_Pointer_SDL_Point__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(SDL_Point*)tolua_tousertype_dynamic(L, 2, 0, "SDL_Point")); + (self->setValue)(*(SDL_Point*)tolua_tousertype_dynamic(L, 2, 0, "SDL_Point")); return 0; } @@ -60733,7 +62945,7 @@ static int tolua_function_Pointer_slicedRect__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(slicedRect*)tolua_tousertype_dynamic(L, 2, 0, "slicedRect")); + (self->setValue)(*(slicedRect*)tolua_tousertype_dynamic(L, 2, 0, "slicedRect")); return 0; } @@ -60757,7 +62969,7 @@ static int tolua_function_Pointer_slicedRect___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - slicedRect* returnVal = self->getValue(); + slicedRect* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "slicedRect"); return 1; } @@ -60766,7 +62978,31 @@ static int tolua_function_Pointer_slicedRect___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((slicedRect*)tolua_tousertype_dynamic(L, 2, 0, "slicedRect")); + (self->setValue)((slicedRect*)tolua_tousertype_dynamic(L, 2, 0, "slicedRect")); + return 0; +} + +static int tolua_get_Pointer__820A8B7015E7E0FD9144A7C186FBF075__reference(lua_State* L) +{ + Pointer<_820A8B7015E7E0FD9144A7C186FBF075>* self = (Pointer<_820A8B7015E7E0FD9144A7C186FBF075>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer<_820A8B7015E7E0FD9144A7C186FBF075>"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'reference'", NULL); + tolua_pushusertype(L, (void*)self->reference, "_820A8B7015E7E0FD9144A7C186FBF075"); + return 1; +} + +static int tolua_set_Pointer__820A8B7015E7E0FD9144A7C186FBF075__reference(lua_State* L) +{ + Pointer<_820A8B7015E7E0FD9144A7C186FBF075>* self = (Pointer<_820A8B7015E7E0FD9144A7C186FBF075>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer<_820A8B7015E7E0FD9144A7C186FBF075>"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'reference'", NULL); + self->reference = (_820A8B7015E7E0FD9144A7C186FBF075*)tolua_tousertype_dynamic(L, 2, 0, "_820A8B7015E7E0FD9144A7C186FBF075"); + return 0; +} + +static int tolua_function_Pointer__820A8B7015E7E0FD9144A7C186FBF075__setValue(lua_State* L) +{ + Pointer<_820A8B7015E7E0FD9144A7C186FBF075>* self = (Pointer<_820A8B7015E7E0FD9144A7C186FBF075>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer<_820A8B7015E7E0FD9144A7C186FBF075>"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); + (self->setValue)(*(_820A8B7015E7E0FD9144A7C186FBF075*)tolua_tousertype_dynamic(L, 2, 0, "_820A8B7015E7E0FD9144A7C186FBF075")); return 0; } @@ -60790,7 +63026,7 @@ static int tolua_function_Pointer__9B9540D9920A90D57A3D80DDD1A70514__setValue(lu { Pointer<_9B9540D9920A90D57A3D80DDD1A70514>* self = (Pointer<_9B9540D9920A90D57A3D80DDD1A70514>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer<_9B9540D9920A90D57A3D80DDD1A70514>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(_9B9540D9920A90D57A3D80DDD1A70514*)tolua_tousertype_dynamic(L, 2, 0, "_9B9540D9920A90D57A3D80DDD1A70514")); + (self->setValue)(*(_9B9540D9920A90D57A3D80DDD1A70514*)tolua_tousertype_dynamic(L, 2, 0, "_9B9540D9920A90D57A3D80DDD1A70514")); return 0; } @@ -60814,7 +63050,7 @@ static int tolua_function_Pointer_ISteamUGC__vtbl__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(ISteamUGC::vtbl*)tolua_tousertype_dynamic(L, 2, 0, "ISteamUGC::vtbl")); + (self->setValue)(*(ISteamUGC::vtbl*)tolua_tousertype_dynamic(L, 2, 0, "ISteamUGC::vtbl")); return 0; } @@ -60838,7 +63074,7 @@ static int tolua_function_Pointer_ISteamRemoteStorage__vtbl__setValue(lua_State* { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(ISteamRemoteStorage::vtbl*)tolua_tousertype_dynamic(L, 2, 0, "ISteamRemoteStorage::vtbl")); + (self->setValue)(*(ISteamRemoteStorage::vtbl*)tolua_tousertype_dynamic(L, 2, 0, "ISteamRemoteStorage::vtbl")); return 0; } @@ -60862,7 +63098,7 @@ static int tolua_function_Pointer_IDPProvider__vtbl__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(IDPProvider::vtbl*)tolua_tousertype_dynamic(L, 2, 0, "IDPProvider::vtbl")); + (self->setValue)(*(IDPProvider::vtbl*)tolua_tousertype_dynamic(L, 2, 0, "IDPProvider::vtbl")); return 0; } @@ -60886,7 +63122,7 @@ static int tolua_function_Pointer_IDPPeer__vtbl__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(IDPPeer::vtbl*)tolua_tousertype_dynamic(L, 2, 0, "IDPPeer::vtbl")); + (self->setValue)(*(IDPPeer::vtbl*)tolua_tousertype_dynamic(L, 2, 0, "IDPPeer::vtbl")); return 0; } @@ -60910,7 +63146,7 @@ static int tolua_function_Pointer_const_ConstCharString___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - const ConstCharString* returnVal = self->getValue(); + const ConstCharString* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "ConstCharString"); return 1; } @@ -60935,7 +63171,7 @@ static int tolua_function_Pointer_CharString___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CharString* returnVal = self->getValue(); + CharString* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CharString"); return 1; } @@ -60944,7 +63180,7 @@ static int tolua_function_Pointer_CharString___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CharString*)tolua_tousertype_dynamic(L, 2, 0, "CharString")); + (self->setValue)((CharString*)tolua_tousertype_dynamic(L, 2, 0, "CharString")); return 0; } @@ -60968,7 +63204,7 @@ static int tolua_function_Pointer_unsigned_char___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(unsigned char**)tolua_tousertype_dynamic(L, 2, 0, "CharString")); + (self->setValue)(*(unsigned char**)tolua_tousertype_dynamic(L, 2, 0, "CharString")); return 0; } @@ -60992,7 +63228,7 @@ static int tolua_function_Pointer_CVidCell__vtbl__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CVidCell::vtbl*)tolua_tousertype_dynamic(L, 2, 0, "CVidCell::vtbl")); + (self->setValue)(*(CVidCell::vtbl*)tolua_tousertype_dynamic(L, 2, 0, "CVidCell::vtbl")); return 0; } @@ -61016,7 +63252,7 @@ static int tolua_function_Pointer_CTimerWorld__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CTimerWorld*)tolua_tousertype_dynamic(L, 2, 0, "EEex_CTimerWorld")); + (self->setValue)(*(CTimerWorld*)tolua_tousertype_dynamic(L, 2, 0, "EEex_CTimerWorld")); return 0; } @@ -61040,7 +63276,7 @@ static int tolua_function_Pointer_CNetworkConnectionSettings__setValue(lua_State { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CNetworkConnectionSettings*)tolua_tousertype_dynamic(L, 2, 0, "CNetworkConnectionSettings")); + (self->setValue)(*(CNetworkConnectionSettings*)tolua_tousertype_dynamic(L, 2, 0, "CNetworkConnectionSettings")); return 0; } @@ -61064,7 +63300,7 @@ static int tolua_function_Pointer_CSpawnPoint__vtbl__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CSpawnPoint::vtbl*)tolua_tousertype_dynamic(L, 2, 0, "CSpawnPoint::vtbl")); + (self->setValue)(*(CSpawnPoint::vtbl*)tolua_tousertype_dynamic(L, 2, 0, "CSpawnPoint::vtbl")); return 0; } @@ -61088,7 +63324,7 @@ static int tolua_function_Pointer_CSpawn__vtbl__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CSpawn::vtbl*)tolua_tousertype_dynamic(L, 2, 0, "CSpawn::vtbl")); + (self->setValue)(*(CSpawn::vtbl*)tolua_tousertype_dynamic(L, 2, 0, "CSpawn::vtbl")); return 0; } @@ -61112,7 +63348,7 @@ static int tolua_function_Pointer_CRes__vtbl__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CRes::vtbl*)tolua_tousertype_dynamic(L, 2, 0, "CRes::vtbl")); + (self->setValue)(*(CRes::vtbl*)tolua_tousertype_dynamic(L, 2, 0, "CRes::vtbl")); return 0; } @@ -61136,7 +63372,7 @@ static int tolua_function_Pointer_CResWorldMap__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CResWorldMap*)tolua_tousertype_dynamic(L, 2, 0, "CResWorldMap")); + (self->setValue)(*(CResWorldMap*)tolua_tousertype_dynamic(L, 2, 0, "CResWorldMap")); return 0; } @@ -61160,7 +63396,7 @@ static int tolua_function_Pointer_CResWave__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CResWave*)tolua_tousertype_dynamic(L, 2, 0, "CResWave")); + (self->setValue)(*(CResWave*)tolua_tousertype_dynamic(L, 2, 0, "CResWave")); return 0; } @@ -61184,7 +63420,7 @@ static int tolua_function_Pointer_CResWave___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CResWave* returnVal = self->getValue(); + CResWave* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CResWave"); return 1; } @@ -61193,7 +63429,7 @@ static int tolua_function_Pointer_CResWave___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CResWave*)tolua_tousertype_dynamic(L, 2, 0, "CResWave")); + (self->setValue)((CResWave*)tolua_tousertype_dynamic(L, 2, 0, "CResWave")); return 0; } @@ -61217,7 +63453,7 @@ static int tolua_function_Pointer_CResUI__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CResUI*)tolua_tousertype_dynamic(L, 2, 0, "CResUI")); + (self->setValue)(*(CResUI*)tolua_tousertype_dynamic(L, 2, 0, "CResUI")); return 0; } @@ -61241,7 +63477,7 @@ static int tolua_function_Pointer_CResStore__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CResStore*)tolua_tousertype_dynamic(L, 2, 0, "CResStore")); + (self->setValue)(*(CResStore*)tolua_tousertype_dynamic(L, 2, 0, "CResStore")); return 0; } @@ -61265,7 +63501,7 @@ static int tolua_function_Pointer_CResSpell__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CResSpell*)tolua_tousertype_dynamic(L, 2, 0, "CResSpell")); + (self->setValue)(*(CResSpell*)tolua_tousertype_dynamic(L, 2, 0, "CResSpell")); return 0; } @@ -61289,7 +63525,7 @@ static int tolua_function_Pointer_CResSpell___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CResSpell* returnVal = self->getValue(); + CResSpell* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CResSpell"); return 1; } @@ -61298,7 +63534,7 @@ static int tolua_function_Pointer_CResSpell___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CResSpell*)tolua_tousertype_dynamic(L, 2, 0, "CResSpell")); + (self->setValue)((CResSpell*)tolua_tousertype_dynamic(L, 2, 0, "CResSpell")); return 0; } @@ -61322,7 +63558,7 @@ static int tolua_function_Pointer_CResPng__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CResPng*)tolua_tousertype_dynamic(L, 2, 0, "CResPng")); + (self->setValue)(*(CResPng*)tolua_tousertype_dynamic(L, 2, 0, "CResPng")); return 0; } @@ -61346,7 +63582,7 @@ static int tolua_function_Pointer_CResPLT__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CResPLT*)tolua_tousertype_dynamic(L, 2, 0, "CResPLT")); + (self->setValue)(*(CResPLT*)tolua_tousertype_dynamic(L, 2, 0, "CResPLT")); return 0; } @@ -61370,7 +63606,7 @@ static int tolua_function_Pointer_CResMosaic__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CResMosaic*)tolua_tousertype_dynamic(L, 2, 0, "CResMosaic")); + (self->setValue)(*(CResMosaic*)tolua_tousertype_dynamic(L, 2, 0, "CResMosaic")); return 0; } @@ -61394,7 +63630,7 @@ static int tolua_function_Pointer_CResMosaic___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CResMosaic* returnVal = self->getValue(); + CResMosaic* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CResMosaic"); return 1; } @@ -61403,7 +63639,7 @@ static int tolua_function_Pointer_CResMosaic___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CResMosaic*)tolua_tousertype_dynamic(L, 2, 0, "CResMosaic")); + (self->setValue)((CResMosaic*)tolua_tousertype_dynamic(L, 2, 0, "CResMosaic")); return 0; } @@ -61427,7 +63663,7 @@ static int tolua_function_Pointer_CResItem__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CResItem*)tolua_tousertype_dynamic(L, 2, 0, "CResItem")); + (self->setValue)(*(CResItem*)tolua_tousertype_dynamic(L, 2, 0, "CResItem")); return 0; } @@ -61451,7 +63687,7 @@ static int tolua_function_Pointer_CResItem___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CResItem* returnVal = self->getValue(); + CResItem* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CResItem"); return 1; } @@ -61460,7 +63696,7 @@ static int tolua_function_Pointer_CResItem___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CResItem*)tolua_tousertype_dynamic(L, 2, 0, "CResItem")); + (self->setValue)((CResItem*)tolua_tousertype_dynamic(L, 2, 0, "CResItem")); return 0; } @@ -61484,7 +63720,7 @@ static int tolua_function_Pointer_CResINI__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CResINI*)tolua_tousertype_dynamic(L, 2, 0, "CResINI")); + (self->setValue)(*(CResINI*)tolua_tousertype_dynamic(L, 2, 0, "CResINI")); return 0; } @@ -61508,7 +63744,7 @@ static int tolua_function_Pointer_CResGame__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CResGame*)tolua_tousertype_dynamic(L, 2, 0, "CResGame")); + (self->setValue)(*(CResGame*)tolua_tousertype_dynamic(L, 2, 0, "CResGame")); return 0; } @@ -61532,7 +63768,7 @@ static int tolua_function_Pointer_CResGame___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CResGame* returnVal = self->getValue(); + CResGame* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CResGame"); return 1; } @@ -61541,7 +63777,7 @@ static int tolua_function_Pointer_CResGame___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CResGame*)tolua_tousertype_dynamic(L, 2, 0, "CResGame")); + (self->setValue)((CResGame*)tolua_tousertype_dynamic(L, 2, 0, "CResGame")); return 0; } @@ -61565,7 +63801,7 @@ static int tolua_function_Pointer_CResFont__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CResFont*)tolua_tousertype_dynamic(L, 2, 0, "CResFont")); + (self->setValue)(*(CResFont*)tolua_tousertype_dynamic(L, 2, 0, "CResFont")); return 0; } @@ -61589,7 +63825,7 @@ static int tolua_function_Pointer_CResFont___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CResFont* returnVal = self->getValue(); + CResFont* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CResFont"); return 1; } @@ -61598,7 +63834,7 @@ static int tolua_function_Pointer_CResFont___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CResFont*)tolua_tousertype_dynamic(L, 2, 0, "CResFont")); + (self->setValue)((CResFont*)tolua_tousertype_dynamic(L, 2, 0, "CResFont")); return 0; } @@ -61622,7 +63858,7 @@ static int tolua_function_Pointer_CResEffect__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CResEffect*)tolua_tousertype_dynamic(L, 2, 0, "CResEffect")); + (self->setValue)(*(CResEffect*)tolua_tousertype_dynamic(L, 2, 0, "CResEffect")); return 0; } @@ -61646,7 +63882,7 @@ static int tolua_function_Pointer_CResDLG__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CResDLG*)tolua_tousertype_dynamic(L, 2, 0, "CResDLG")); + (self->setValue)(*(CResDLG*)tolua_tousertype_dynamic(L, 2, 0, "CResDLG")); return 0; } @@ -61670,7 +63906,7 @@ static int tolua_function_Pointer_CResCell__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CResCell*)tolua_tousertype_dynamic(L, 2, 0, "CResCell")); + (self->setValue)(*(CResCell*)tolua_tousertype_dynamic(L, 2, 0, "CResCell")); return 0; } @@ -61694,7 +63930,7 @@ static int tolua_function_Pointer_CResCell___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CResCell* returnVal = self->getValue(); + CResCell* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CResCell"); return 1; } @@ -61703,7 +63939,7 @@ static int tolua_function_Pointer_CResCell___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CResCell*)tolua_tousertype_dynamic(L, 2, 0, "CResCell")); + (self->setValue)((CResCell*)tolua_tousertype_dynamic(L, 2, 0, "CResCell")); return 0; } @@ -61727,7 +63963,7 @@ static int tolua_function_Pointer_CResCRE__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CResCRE*)tolua_tousertype_dynamic(L, 2, 0, "CResCRE")); + (self->setValue)(*(CResCRE*)tolua_tousertype_dynamic(L, 2, 0, "CResCRE")); return 0; } @@ -61751,7 +63987,7 @@ static int tolua_function_Pointer_CResCHR__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CResCHR*)tolua_tousertype_dynamic(L, 2, 0, "CResCHR")); + (self->setValue)(*(CResCHR*)tolua_tousertype_dynamic(L, 2, 0, "CResCHR")); return 0; } @@ -61775,7 +64011,7 @@ static int tolua_function_Pointer_CResBitmap__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CResBitmap*)tolua_tousertype_dynamic(L, 2, 0, "CResBitmap")); + (self->setValue)(*(CResBitmap*)tolua_tousertype_dynamic(L, 2, 0, "CResBitmap")); return 0; } @@ -61799,7 +64035,7 @@ static int tolua_function_Pointer_CResBitmap___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CResBitmap* returnVal = self->getValue(); + CResBitmap* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CResBitmap"); return 1; } @@ -61808,7 +64044,7 @@ static int tolua_function_Pointer_CResBitmap___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CResBitmap*)tolua_tousertype_dynamic(L, 2, 0, "CResBitmap")); + (self->setValue)((CResBitmap*)tolua_tousertype_dynamic(L, 2, 0, "CResBitmap")); return 0; } @@ -61832,7 +64068,7 @@ static int tolua_function_Pointer_CResBIO__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CResBIO*)tolua_tousertype_dynamic(L, 2, 0, "CResBIO")); + (self->setValue)(*(CResBIO*)tolua_tousertype_dynamic(L, 2, 0, "CResBIO")); return 0; } @@ -61856,7 +64092,7 @@ static int tolua_function_Pointer_CResArea__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CResArea*)tolua_tousertype_dynamic(L, 2, 0, "CResArea")); + (self->setValue)(*(CResArea*)tolua_tousertype_dynamic(L, 2, 0, "CResArea")); return 0; } @@ -61880,7 +64116,7 @@ static int tolua_function_Pointer_CRainStorm__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CRainStorm*)tolua_tousertype_dynamic(L, 2, 0, "CRainStorm")); + (self->setValue)(*(CRainStorm*)tolua_tousertype_dynamic(L, 2, 0, "CRainStorm")); return 0; } @@ -61904,7 +64140,7 @@ static int tolua_function_Pointer_CSnowStorm__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CSnowStorm*)tolua_tousertype_dynamic(L, 2, 0, "CSnowStorm")); + (self->setValue)(*(CSnowStorm*)tolua_tousertype_dynamic(L, 2, 0, "CSnowStorm")); return 0; } @@ -61928,7 +64164,7 @@ static int tolua_function_Pointer_CFog__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CFog*)tolua_tousertype_dynamic(L, 2, 0, "CFog")); + (self->setValue)(*(CFog*)tolua_tousertype_dynamic(L, 2, 0, "CFog")); return 0; } @@ -61952,7 +64188,7 @@ static int tolua_function_Pointer_MAP_CHAR_POSITIONS__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(MAP_CHAR_POSITIONS*)tolua_tousertype_dynamic(L, 2, 0, "MAP_CHAR_POSITIONS")); + (self->setValue)(*(MAP_CHAR_POSITIONS*)tolua_tousertype_dynamic(L, 2, 0, "MAP_CHAR_POSITIONS")); return 0; } @@ -61976,7 +64212,7 @@ static int tolua_function_Pointer_MAP_CHAR_POSITIONS___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - MAP_CHAR_POSITIONS* returnVal = self->getValue(); + MAP_CHAR_POSITIONS* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "MAP_CHAR_POSITIONS"); return 1; } @@ -61985,7 +64221,7 @@ static int tolua_function_Pointer_MAP_CHAR_POSITIONS___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((MAP_CHAR_POSITIONS*)tolua_tousertype_dynamic(L, 2, 0, "MAP_CHAR_POSITIONS")); + (self->setValue)((MAP_CHAR_POSITIONS*)tolua_tousertype_dynamic(L, 2, 0, "MAP_CHAR_POSITIONS")); return 0; } @@ -62009,7 +64245,7 @@ static int tolua_function_Pointer_CVIDMODE_RETICLE_DESCRIPTION__setValue(lua_Sta { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CVIDMODE_RETICLE_DESCRIPTION*)tolua_tousertype_dynamic(L, 2, 0, "CVIDMODE_RETICLE_DESCRIPTION")); + (self->setValue)(*(CVIDMODE_RETICLE_DESCRIPTION*)tolua_tousertype_dynamic(L, 2, 0, "CVIDMODE_RETICLE_DESCRIPTION")); return 0; } @@ -62033,7 +64269,7 @@ static int tolua_function_Pointer_CMarker__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMarker*)tolua_tousertype_dynamic(L, 2, 0, "CMarker")); + (self->setValue)(*(CMarker*)tolua_tousertype_dynamic(L, 2, 0, "CMarker")); return 0; } @@ -62057,7 +64293,7 @@ static int tolua_function_Pointer_CPersistantEffect__vtbl__setValue(lua_State* L { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CPersistantEffect::vtbl*)tolua_tousertype_dynamic(L, 2, 0, "CPersistantEffect::vtbl")); + (self->setValue)(*(CPersistantEffect::vtbl*)tolua_tousertype_dynamic(L, 2, 0, "CPersistantEffect::vtbl")); return 0; } @@ -62081,7 +64317,7 @@ static int tolua_function_Pointer_CObject__vtbl__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CObject::vtbl*)tolua_tousertype_dynamic(L, 2, 0, "CObject::vtbl")); + (self->setValue)(*(CObject::vtbl*)tolua_tousertype_dynamic(L, 2, 0, "CObject::vtbl")); return 0; } @@ -62105,7 +64341,7 @@ static int tolua_function_Pointer_CArray_CRect_CRect____setValue(lua_State* L) { Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CArray*)tolua_tousertype_dynamic(L, 2, 0, "CArray")); + (self->setValue)(*(CArray*)tolua_tousertype_dynamic(L, 2, 0, "CArray")); return 0; } @@ -62129,7 +64365,7 @@ static int tolua_function_Pointer_CDWordArray__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CDWordArray*)tolua_tousertype_dynamic(L, 2, 0, "CDWordArray")); + (self->setValue)(*(CDWordArray*)tolua_tousertype_dynamic(L, 2, 0, "CDWordArray")); return 0; } @@ -62153,7 +64389,7 @@ static int tolua_function_Pointer_CException__vtbl__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CException::vtbl*)tolua_tousertype_dynamic(L, 2, 0, "CException::vtbl")); + (self->setValue)(*(CException::vtbl*)tolua_tousertype_dynamic(L, 2, 0, "CException::vtbl")); return 0; } @@ -62177,7 +64413,7 @@ static int tolua_function_Pointer_CList_long_long___setValue(lua_State* L) { Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CList*)tolua_tousertype_dynamic(L, 2, 0, "CList")); + (self->setValue)(*(CList*)tolua_tousertype_dynamic(L, 2, 0, "CList")); return 0; } @@ -62201,7 +64437,7 @@ static int tolua_function_Pointer_CMapStringToString__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMapStringToString*)tolua_tousertype_dynamic(L, 2, 0, "CMapStringToString")); + (self->setValue)(*(CMapStringToString*)tolua_tousertype_dynamic(L, 2, 0, "CMapStringToString")); return 0; } @@ -62225,7 +64461,7 @@ static int tolua_function_Pointer_CWarp__vtbl__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CWarp::vtbl*)tolua_tousertype_dynamic(L, 2, 0, "CWarp::vtbl")); + (self->setValue)(*(CWarp::vtbl*)tolua_tousertype_dynamic(L, 2, 0, "CWarp::vtbl")); return 0; } @@ -62249,7 +64485,7 @@ static int tolua_function_Pointer_CTypedPtrList_CPtrList_CAIObjectType____vtbl__ { Pointer::vtbl>* self = (Pointer::vtbl>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer::vtbl>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CTypedPtrList::vtbl*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::vtbl")); + (self->setValue)(*(CTypedPtrList::vtbl*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::vtbl")); return 0; } @@ -62273,7 +64509,7 @@ static int tolua_function_Pointer_CTypedPtrList_CPtrList_CContingency____vtbl__s { Pointer::vtbl>* self = (Pointer::vtbl>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer::vtbl>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CTypedPtrList::vtbl*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::vtbl")); + (self->setValue)(*(CTypedPtrList::vtbl*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::vtbl")); return 0; } @@ -62297,7 +64533,7 @@ static int tolua_function_Pointer_CTypedPtrList_CPtrList_CMoveListEntry____vtbl_ { Pointer::vtbl>* self = (Pointer::vtbl>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer::vtbl>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CTypedPtrList::vtbl*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::vtbl")); + (self->setValue)(*(CTypedPtrList::vtbl*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::vtbl")); return 0; } @@ -62321,7 +64557,7 @@ static int tolua_function_Pointer_CTypedPtrList_CPtrList_void____vtbl__setValue( { Pointer::vtbl>* self = (Pointer::vtbl>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer::vtbl>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CTypedPtrList::vtbl*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::vtbl")); + (self->setValue)(*(CTypedPtrList::vtbl*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::vtbl")); return 0; } @@ -62345,7 +64581,7 @@ static int tolua_function_Pointer_CTypedPtrList_CPtrList_CGameEffectUsability___ { Pointer::vtbl>* self = (Pointer::vtbl>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer::vtbl>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CTypedPtrList::vtbl*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::vtbl")); + (self->setValue)(*(CTypedPtrList::vtbl*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::vtbl")); return 0; } @@ -62369,7 +64605,7 @@ static int tolua_function_Pointer_CTypedPtrList_CPtrList_CMemINIValue____vtbl__s { Pointer::vtbl>* self = (Pointer::vtbl>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer::vtbl>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CTypedPtrList::vtbl*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::vtbl")); + (self->setValue)(*(CTypedPtrList::vtbl*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::vtbl")); return 0; } @@ -62393,7 +64629,7 @@ static int tolua_function_Pointer_CTypedPtrList_CPtrList_CSpawn____vtbl__setValu { Pointer::vtbl>* self = (Pointer::vtbl>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer::vtbl>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CTypedPtrList::vtbl*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::vtbl")); + (self->setValue)(*(CTypedPtrList::vtbl*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::vtbl")); return 0; } @@ -62417,7 +64653,7 @@ static int tolua_function_Pointer_CTypedPtrList_CPtrList_long___vtbl__setValue(l { Pointer::vtbl>* self = (Pointer::vtbl>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer::vtbl>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CTypedPtrList::vtbl*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::vtbl")); + (self->setValue)(*(CTypedPtrList::vtbl*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::vtbl")); return 0; } @@ -62441,7 +64677,7 @@ static int tolua_function_Pointer_CTypedPtrList_CPtrList_CGameEffect____vtbl__se { Pointer::vtbl>* self = (Pointer::vtbl>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer::vtbl>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CTypedPtrList::vtbl*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::vtbl")); + (self->setValue)(*(CTypedPtrList::vtbl*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::vtbl")); return 0; } @@ -62465,7 +64701,7 @@ static int tolua_function_Pointer_CTypedPtrList_CPtrList_CWeaponIdentification__ { Pointer::vtbl>* self = (Pointer::vtbl>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer::vtbl>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CTypedPtrList::vtbl*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::vtbl")); + (self->setValue)(*(CTypedPtrList::vtbl*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::vtbl")); return 0; } @@ -62489,7 +64725,7 @@ static int tolua_function_Pointer_CTypedPtrList_CPtrList_CSelectiveBonus____vtbl { Pointer::vtbl>* self = (Pointer::vtbl>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer::vtbl>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CTypedPtrList::vtbl*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::vtbl")); + (self->setValue)(*(CTypedPtrList::vtbl*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::vtbl")); return 0; } @@ -62513,7 +64749,7 @@ static int tolua_function_Pointer_CTypedPtrList_CPtrList_CImmunitiesItemEquip___ { Pointer::vtbl>* self = (Pointer::vtbl>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer::vtbl>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CTypedPtrList::vtbl*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::vtbl")); + (self->setValue)(*(CTypedPtrList::vtbl*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::vtbl")); return 0; } @@ -62537,7 +64773,7 @@ static int tolua_function_Pointer_CTypedPtrList_CPtrList_CImmunitiesItemTypeEqui { Pointer::vtbl>* self = (Pointer::vtbl>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer::vtbl>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CTypedPtrList::vtbl*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::vtbl")); + (self->setValue)(*(CTypedPtrList::vtbl*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::vtbl")); return 0; } @@ -62561,7 +64797,7 @@ static int tolua_function_Pointer_CTypedPtrList_CPtrList_CImmunitySpell____vtbl_ { Pointer::vtbl>* self = (Pointer::vtbl>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer::vtbl>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CTypedPtrList::vtbl*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::vtbl")); + (self->setValue)(*(CTypedPtrList::vtbl*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::vtbl")); return 0; } @@ -62585,7 +64821,7 @@ static int tolua_function_Pointer_CTypedPtrList_CPtrList_CSchoolAndSecondaryDecr { Pointer::vtbl>* self = (Pointer::vtbl>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer::vtbl>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CTypedPtrList::vtbl*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::vtbl")); + (self->setValue)(*(CTypedPtrList::vtbl*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::vtbl")); return 0; } @@ -62609,7 +64845,7 @@ static int tolua_function_Pointer_CTypedPtrList_CPtrList_CPersistantEffect____vt { Pointer::vtbl>* self = (Pointer::vtbl>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer::vtbl>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CTypedPtrList::vtbl*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::vtbl")); + (self->setValue)(*(CTypedPtrList::vtbl*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::vtbl")); return 0; } @@ -62633,7 +64869,7 @@ static int tolua_function_Pointer_CTypedPtrList_CPtrList_CColorRange____vtbl__se { Pointer::vtbl>* self = (Pointer::vtbl>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer::vtbl>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CTypedPtrList::vtbl*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::vtbl")); + (self->setValue)(*(CTypedPtrList::vtbl*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::vtbl")); return 0; } @@ -62657,7 +64893,7 @@ static int tolua_function_Pointer_CTypedPtrList_CPtrList_CColorEffect____vtbl__s { Pointer::vtbl>* self = (Pointer::vtbl>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer::vtbl>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CTypedPtrList::vtbl*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::vtbl")); + (self->setValue)(*(CTypedPtrList::vtbl*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::vtbl")); return 0; } @@ -62681,7 +64917,7 @@ static int tolua_function_Pointer_CTypedPtrList_CPtrList_CSelectiveWeaponType___ { Pointer::vtbl>* self = (Pointer::vtbl>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer::vtbl>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CTypedPtrList::vtbl*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::vtbl")); + (self->setValue)(*(CTypedPtrList::vtbl*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::vtbl")); return 0; } @@ -62705,7 +64941,7 @@ static int tolua_function_Pointer_CTypedPtrList_CPtrList_CCriticalEntry____vtbl_ { Pointer::vtbl>* self = (Pointer::vtbl>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer::vtbl>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CTypedPtrList::vtbl*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::vtbl")); + (self->setValue)(*(CTypedPtrList::vtbl*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::vtbl")); return 0; } @@ -62729,7 +64965,7 @@ static int tolua_function_Pointer_CTypedPtrList_CPtrList_CBounceEntry____vtbl__s { Pointer::vtbl>* self = (Pointer::vtbl>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer::vtbl>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CTypedPtrList::vtbl*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::vtbl")); + (self->setValue)(*(CTypedPtrList::vtbl*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::vtbl")); return 0; } @@ -62753,7 +64989,7 @@ static int tolua_function_Pointer_CTypedPtrList_CPtrList_CSequenceSound____vtbl_ { Pointer::vtbl>* self = (Pointer::vtbl>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer::vtbl>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CTypedPtrList::vtbl*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::vtbl")); + (self->setValue)(*(CTypedPtrList::vtbl*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::vtbl")); return 0; } @@ -62777,7 +65013,7 @@ static int tolua_function_Pointer_CTypedPtrList_CPtrList_CButtonData____vtbl__se { Pointer::vtbl>* self = (Pointer::vtbl>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer::vtbl>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CTypedPtrList::vtbl*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::vtbl")); + (self->setValue)(*(CTypedPtrList::vtbl*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::vtbl")); return 0; } @@ -62801,7 +65037,7 @@ static int tolua_function_Pointer_CTypedPtrList_CPtrList_CAIId____setValue(lua_S { Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CTypedPtrList*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList")); + (self->setValue)(*(CTypedPtrList*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList")); return 0; } @@ -62825,7 +65061,7 @@ static int tolua_function_Pointer_CTypedPtrList_CPtrList_CAreaUserNote____setVal { Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CTypedPtrList*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList")); + (self->setValue)(*(CTypedPtrList*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList")); return 0; } @@ -62849,7 +65085,7 @@ static int tolua_function_Pointer_CTypedPtrList_CPtrList_CAIAction____setValue(l { Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CTypedPtrList*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList")); + (self->setValue)(*(CTypedPtrList*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList")); return 0; } @@ -62873,7 +65109,7 @@ static int tolua_function_Pointer_CTypedPtrList_CPtrList_CGameTimer____setValue( { Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CTypedPtrList*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList")); + (self->setValue)(*(CTypedPtrList*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList")); return 0; } @@ -62897,7 +65133,7 @@ static int tolua_function_Pointer_CTypedPtrList_CPtrList_CCreatureFileKnownSpell { Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CTypedPtrList*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList")); + (self->setValue)(*(CTypedPtrList*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList")); return 0; } @@ -62921,7 +65157,7 @@ static int tolua_function_Pointer_CTypedPtrList_CPtrList_CCreatureFileMemorizedS { Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CTypedPtrList*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList")); + (self->setValue)(*(CTypedPtrList*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList")); return 0; } @@ -62945,7 +65181,7 @@ static int tolua_function_Pointer_CTypedPtrList_CPtrList_long____setValue_clashi { Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CTypedPtrList*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList")); + (self->setValue)(*(CTypedPtrList*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList")); return 0; } @@ -62969,7 +65205,7 @@ static int tolua_function_Pointer_CTypedPtrList_CPtrList_CBlood____setValue(lua_ { Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CTypedPtrList*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList")); + (self->setValue)(*(CTypedPtrList*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList")); return 0; } @@ -62993,7 +65229,7 @@ static int tolua_function_Pointer_CTypedPtrList_CPtrList_CPortraitIcon____setVal { Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CTypedPtrList*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList")); + (self->setValue)(*(CTypedPtrList*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList")); return 0; } @@ -63017,7 +65253,7 @@ static int tolua_function_Pointer_CTypedPtrList_CPtrList_CPoint____setValue(lua_ { Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CTypedPtrList*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList")); + (self->setValue)(*(CTypedPtrList*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList")); return 0; } @@ -63041,7 +65277,7 @@ static int tolua_function_Pointer_CTypedPtrList_CPtrList_CFeedbackEntry____setVa { Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CTypedPtrList*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList")); + (self->setValue)(*(CTypedPtrList*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList")); return 0; } @@ -63065,7 +65301,7 @@ static int tolua_function_Pointer_CTypedPtrList_CPtrList_CGameSprite__GroundItem { Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CTypedPtrList*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList")); + (self->setValue)(*(CTypedPtrList*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList")); return 0; } @@ -63089,7 +65325,7 @@ static int tolua_function_Pointer_CTypedPtrList_CPtrList_CResRef____setValue(lua { Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CTypedPtrList*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList")); + (self->setValue)(*(CTypedPtrList*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList")); return 0; } @@ -63113,7 +65349,7 @@ static int tolua_function_Pointer_CTypedPtrList_CPtrList_CSearchRequest____setVa { Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CTypedPtrList*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList")); + (self->setValue)(*(CTypedPtrList*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList")); return 0; } @@ -63137,7 +65373,7 @@ static int tolua_function_Pointer_CTypedPtrList_CPtrList_SAreaFileWrapper____set { Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CTypedPtrList*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList")); + (self->setValue)(*(CTypedPtrList*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList")); return 0; } @@ -63161,7 +65397,7 @@ static int tolua_function_Pointer_CTypedPtrList_CPtrList_CSavedGameStoredLocatio { Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CTypedPtrList*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList")); + (self->setValue)(*(CTypedPtrList*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList")); return 0; } @@ -63185,7 +65421,7 @@ static int tolua_function_Pointer_CTypedPtrList_CPtrList_CAOEEntry____setValue(l { Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CTypedPtrList*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList")); + (self->setValue)(*(CTypedPtrList*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList")); return 0; } @@ -63209,7 +65445,7 @@ static int tolua_function_Pointer_CTypedPtrList_CPtrList_CAreaFileCharacterEntry { Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CTypedPtrList*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList")); + (self->setValue)(*(CTypedPtrList*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList")); return 0; } @@ -63233,7 +65469,7 @@ static int tolua_function_Pointer_CTypedPtrList_CPtrList___POSITION____setValue( { Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CTypedPtrList*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList")); + (self->setValue)(*(CTypedPtrList*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList")); return 0; } @@ -63257,7 +65493,7 @@ static int tolua_function_Pointer_CTypedPtrList_CPtrList_CTiledObject____setValu { Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CTypedPtrList*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList")); + (self->setValue)(*(CTypedPtrList*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList")); return 0; } @@ -63281,7 +65517,7 @@ static int tolua_function_Pointer_CTypedPtrList_CPtrList_CGameAreaClairvoyanceEn { Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CTypedPtrList*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList")); + (self->setValue)(*(CTypedPtrList*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList")); return 0; } @@ -63305,7 +65541,7 @@ static int tolua_function_Pointer_CTypedPtrList_CPtrList_CVEFEvent____setValue(l { Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CTypedPtrList*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList")); + (self->setValue)(*(CTypedPtrList*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList")); return 0; } @@ -63329,7 +65565,7 @@ static int tolua_function_Pointer_CTypedPtrList_CPtrList_CAIObjectType____setVal { Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CTypedPtrList*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList")); + (self->setValue)(*(CTypedPtrList*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList")); return 0; } @@ -63353,7 +65589,7 @@ static int tolua_function_Pointer_CTypedPtrList_CPtrList_CAIConditionResponse___ { Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CTypedPtrList*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList")); + (self->setValue)(*(CTypedPtrList*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList")); return 0; } @@ -63377,7 +65613,7 @@ static int tolua_function_Pointer_CTypedPtrList_CPtrList_CMessage____setValue(lu { Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CTypedPtrList*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList")); + (self->setValue)(*(CTypedPtrList*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList")); return 0; } @@ -63401,7 +65637,7 @@ static int tolua_function_Pointer_CTypedPtrList_CPtrList_CDeathSound____setValue { Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CTypedPtrList*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList")); + (self->setValue)(*(CTypedPtrList*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList")); return 0; } @@ -63425,7 +65661,7 @@ static int tolua_function_Pointer_CTypedPtrList_CPtrList_CItem____setValue(lua_S { Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CTypedPtrList*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList")); + (self->setValue)(*(CTypedPtrList*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList")); return 0; } @@ -63449,7 +65685,7 @@ static int tolua_function_Pointer_CTypedPtrList_CPtrList_CContingency____setValu { Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CTypedPtrList*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList")); + (self->setValue)(*(CTypedPtrList*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList")); return 0; } @@ -63473,7 +65709,7 @@ static int tolua_function_Pointer_CTypedPtrList_CPtrList_cnetworkwindow_queueent { Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CTypedPtrList*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList")); + (self->setValue)(*(CTypedPtrList*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList")); return 0; } @@ -63497,7 +65733,7 @@ static int tolua_function_Pointer_CTypedPtrList_CPtrList_CMusicPosition____setVa { Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CTypedPtrList*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList")); + (self->setValue)(*(CTypedPtrList*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList")); return 0; } @@ -63521,7 +65757,7 @@ static int tolua_function_Pointer_CTypedPtrList_CPtrList_CMoveListEntry____setVa { Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CTypedPtrList*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList")); + (self->setValue)(*(CTypedPtrList*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList")); return 0; } @@ -63545,7 +65781,7 @@ static int tolua_function_Pointer_CTypedPtrList_CPtrList_void____setValue(lua_St { Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CTypedPtrList*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList")); + (self->setValue)(*(CTypedPtrList*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList")); return 0; } @@ -63569,7 +65805,7 @@ static int tolua_function_Pointer_CTypedPtrList_CPtrList_CGameEffectUsability___ { Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CTypedPtrList*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList")); + (self->setValue)(*(CTypedPtrList*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList")); return 0; } @@ -63593,7 +65829,7 @@ static int tolua_function_Pointer_CTypedPtrList_CPtrList_CStoreFileItem____setVa { Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CTypedPtrList*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList")); + (self->setValue)(*(CTypedPtrList*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList")); return 0; } @@ -63617,7 +65853,7 @@ static int tolua_function_Pointer_CTypedPtrList_CPtrList_CMemINIValue____setValu { Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CTypedPtrList*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList")); + (self->setValue)(*(CTypedPtrList*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList")); return 0; } @@ -63641,7 +65877,7 @@ static int tolua_function_Pointer_CTypedPtrList_CPtrList_CAIResponse____setValue { Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CTypedPtrList*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList")); + (self->setValue)(*(CTypedPtrList*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList")); return 0; } @@ -63665,7 +65901,7 @@ static int tolua_function_Pointer_CTypedPtrList_CPtrList_CSpawn____setValue(lua_ { Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CTypedPtrList*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList")); + (self->setValue)(*(CTypedPtrList*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList")); return 0; } @@ -63689,7 +65925,7 @@ static int tolua_function_Pointer_CTypedPtrList_CPtrList_CGameEffect____setValue { Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CTypedPtrList*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList")); + (self->setValue)(*(CTypedPtrList*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList")); return 0; } @@ -63713,7 +65949,7 @@ static int tolua_function_Pointer_CTypedPtrList_CPtrList_CWeaponIdentification__ { Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CTypedPtrList*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList")); + (self->setValue)(*(CTypedPtrList*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList")); return 0; } @@ -63737,7 +65973,7 @@ static int tolua_function_Pointer_CTypedPtrList_CPtrList_CSelectiveBonus____setV { Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CTypedPtrList*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList")); + (self->setValue)(*(CTypedPtrList*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList")); return 0; } @@ -63761,7 +65997,7 @@ static int tolua_function_Pointer_CTypedPtrList_CPtrList_CImmunitiesItemEquip___ { Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CTypedPtrList*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList")); + (self->setValue)(*(CTypedPtrList*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList")); return 0; } @@ -63785,7 +66021,7 @@ static int tolua_function_Pointer_CTypedPtrList_CPtrList_CImmunitiesItemTypeEqui { Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CTypedPtrList*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList")); + (self->setValue)(*(CTypedPtrList*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList")); return 0; } @@ -63809,7 +66045,7 @@ static int tolua_function_Pointer_CTypedPtrList_CPtrList_CImmunitySpell____setVa { Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CTypedPtrList*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList")); + (self->setValue)(*(CTypedPtrList*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList")); return 0; } @@ -63833,7 +66069,7 @@ static int tolua_function_Pointer_CTypedPtrList_CPtrList_CSchoolAndSecondaryDecr { Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CTypedPtrList*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList")); + (self->setValue)(*(CTypedPtrList*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList")); return 0; } @@ -63857,7 +66093,7 @@ static int tolua_function_Pointer_CTypedPtrList_CPtrList_CPersistantEffect____se { Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CTypedPtrList*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList")); + (self->setValue)(*(CTypedPtrList*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList")); return 0; } @@ -63881,7 +66117,7 @@ static int tolua_function_Pointer_CTypedPtrList_CPtrList_CColorRange____setValue { Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CTypedPtrList*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList")); + (self->setValue)(*(CTypedPtrList*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList")); return 0; } @@ -63905,7 +66141,7 @@ static int tolua_function_Pointer_CTypedPtrList_CPtrList_CColorEffect____setValu { Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CTypedPtrList*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList")); + (self->setValue)(*(CTypedPtrList*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList")); return 0; } @@ -63929,7 +66165,7 @@ static int tolua_function_Pointer_CTypedPtrList_CPtrList_CSelectiveWeaponType___ { Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CTypedPtrList*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList")); + (self->setValue)(*(CTypedPtrList*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList")); return 0; } @@ -63953,7 +66189,7 @@ static int tolua_function_Pointer_CTypedPtrList_CPtrList_CCriticalEntry____setVa { Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CTypedPtrList*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList")); + (self->setValue)(*(CTypedPtrList*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList")); return 0; } @@ -63977,7 +66213,7 @@ static int tolua_function_Pointer_CTypedPtrList_CPtrList_CGameOptions____setValu { Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CTypedPtrList*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList")); + (self->setValue)(*(CTypedPtrList*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList")); return 0; } @@ -64001,7 +66237,7 @@ static int tolua_function_Pointer_CTypedPtrList_CPtrList_CString____setValue(lua { Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CTypedPtrList*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList")); + (self->setValue)(*(CTypedPtrList*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList")); return 0; } @@ -64025,7 +66261,7 @@ static int tolua_function_Pointer_CTypedPtrList_CPtrList_CBounceEntry____setValu { Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CTypedPtrList*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList")); + (self->setValue)(*(CTypedPtrList*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList")); return 0; } @@ -64049,7 +66285,7 @@ static int tolua_function_Pointer_CTypedPtrList_CPtrList_CSequenceSound____setVa { Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CTypedPtrList*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList")); + (self->setValue)(*(CTypedPtrList*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList")); return 0; } @@ -64073,7 +66309,7 @@ static int tolua_function_Pointer_CTypedPtrList_CPtrList_CButtonData____setValue { Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CTypedPtrList*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList")); + (self->setValue)(*(CTypedPtrList*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList")); return 0; } @@ -64097,7 +66333,7 @@ static int tolua_function_Pointer_CTypedPtrList_CPtrList_CParticle____setValue(l { Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CTypedPtrList*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList")); + (self->setValue)(*(CTypedPtrList*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList")); return 0; } @@ -64121,7 +66357,7 @@ static int tolua_function_Pointer_CTypedPtrList_CPtrList_CVidCell____setValue(lu { Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CTypedPtrList*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList")); + (self->setValue)(*(CTypedPtrList*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList")); return 0; } @@ -64145,7 +66381,7 @@ static int tolua_function_Pointer_CTypedPtrList_CPtrList_CProjectile____setValue { Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CTypedPtrList*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList")); + (self->setValue)(*(CTypedPtrList*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList")); return 0; } @@ -64169,7 +66405,7 @@ static int tolua_function_Pointer_CTypedPtrList_CPtrList_CWarp____setValue(lua_S { Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CTypedPtrList*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList")); + (self->setValue)(*(CTypedPtrList*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList")); return 0; } @@ -64193,7 +66429,7 @@ static int tolua_function_Pointer_CTypedPtrList_CPtrList_CScreenStoreItem____set { Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CTypedPtrList*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList")); + (self->setValue)(*(CTypedPtrList*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList")); return 0; } @@ -64217,7 +66453,7 @@ static int tolua_function_Pointer_CTypedPtrList_CPtrList_CSound____setValue(lua_ { Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CTypedPtrList*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList")); + (self->setValue)(*(CTypedPtrList*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList")); return 0; } @@ -64241,7 +66477,7 @@ static int tolua_function_Pointer_CTypedPtrList_CPtrList_CVoice____setValue(lua_ { Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CTypedPtrList*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList")); + (self->setValue)(*(CTypedPtrList*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList")); return 0; } @@ -64265,7 +66501,7 @@ static int tolua_function_Pointer_CTypedPtrList_CPtrList_CTimer____setValue(lua_ { Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CTypedPtrList*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList")); + (self->setValue)(*(CTypedPtrList*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList")); return 0; } @@ -64289,7 +66525,7 @@ static int tolua_function_Pointer_CTypedPtrList_CPtrList_CCreatureFileKnownSpell { Pointer*>* self = (Pointer*>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer*>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CTypedPtrList* returnVal = self->getValue(); + CTypedPtrList* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CTypedPtrList"); return 1; } @@ -64298,7 +66534,7 @@ static int tolua_function_Pointer_CTypedPtrList_CPtrList_CCreatureFileKnownSpell { Pointer*>* self = (Pointer*>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer*>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CTypedPtrList*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList")); + (self->setValue)((CTypedPtrList*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList")); return 0; } @@ -64322,7 +66558,7 @@ static int tolua_function_Pointer_CTypedPtrList_CPtrList_CCreatureFileMemorizedS { Pointer*>* self = (Pointer*>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer*>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CTypedPtrList* returnVal = self->getValue(); + CTypedPtrList* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CTypedPtrList"); return 1; } @@ -64331,7 +66567,7 @@ static int tolua_function_Pointer_CTypedPtrList_CPtrList_CCreatureFileMemorizedS { Pointer*>* self = (Pointer*>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer*>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CTypedPtrList*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList")); + (self->setValue)((CTypedPtrList*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList")); return 0; } @@ -64355,7 +66591,7 @@ static int tolua_function_Pointer_CTypedPtrList_CPtrList_CResRef_____getValue(lu { Pointer*>* self = (Pointer*>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer*>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CTypedPtrList* returnVal = self->getValue(); + CTypedPtrList* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CTypedPtrList"); return 1; } @@ -64364,7 +66600,7 @@ static int tolua_function_Pointer_CTypedPtrList_CPtrList_CResRef_____setValue(lu { Pointer*>* self = (Pointer*>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer*>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CTypedPtrList*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList")); + (self->setValue)((CTypedPtrList*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList")); return 0; } @@ -64388,7 +66624,7 @@ static int tolua_function_Pointer_CTypedPtrArray_CPtrArray_CAbilityData____vtbl_ { Pointer::vtbl>* self = (Pointer::vtbl>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer::vtbl>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CTypedPtrArray::vtbl*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrArray::vtbl")); + (self->setValue)(*(CTypedPtrArray::vtbl*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrArray::vtbl")); return 0; } @@ -64412,7 +66648,7 @@ static int tolua_function_Pointer_CTypedPtrArray_CPtrArray_CSpawnPoint____vtbl__ { Pointer::vtbl>* self = (Pointer::vtbl>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer::vtbl>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CTypedPtrArray::vtbl*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrArray::vtbl")); + (self->setValue)(*(CTypedPtrArray::vtbl*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrArray::vtbl")); return 0; } @@ -64436,7 +66672,7 @@ static int tolua_function_Pointer_CTypedPtrArray_CPtrArray_CGameDialogReply____v { Pointer::vtbl>* self = (Pointer::vtbl>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer::vtbl>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CTypedPtrArray::vtbl*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrArray::vtbl")); + (self->setValue)(*(CTypedPtrArray::vtbl*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrArray::vtbl")); return 0; } @@ -64460,7 +66696,7 @@ static int tolua_function_Pointer_CTypedPtrArray_CPtrArray_CRes____setValue(lua_ { Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CTypedPtrArray*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrArray")); + (self->setValue)(*(CTypedPtrArray*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrArray")); return 0; } @@ -64484,7 +66720,7 @@ static int tolua_function_Pointer_CTypedPtrArray_CPtrArray_CGameDialogEntry____s { Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CTypedPtrArray*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrArray")); + (self->setValue)(*(CTypedPtrArray*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrArray")); return 0; } @@ -64508,7 +66744,7 @@ static int tolua_function_Pointer_CTypedPtrArray_CPtrArray_CTypedPtrList_CPtrLis { Pointer*>>* self = (Pointer*>>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer*>>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CTypedPtrArray*>*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrArray*>")); + (self->setValue)(*(CTypedPtrArray*>*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrArray*>")); return 0; } @@ -64532,7 +66768,7 @@ static int tolua_function_Pointer_CTypedPtrArray_CPtrArray_CSavedGamePartyCreatu { Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CTypedPtrArray*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrArray")); + (self->setValue)(*(CTypedPtrArray*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrArray")); return 0; } @@ -64556,7 +66792,7 @@ static int tolua_function_Pointer_CTypedPtrArray_CPtrArray_unsigned_char____setV { Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CTypedPtrArray*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrArray")); + (self->setValue)(*(CTypedPtrArray*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrArray")); return 0; } @@ -64580,7 +66816,7 @@ static int tolua_function_Pointer_CTypedPtrArray_CPtrArray_CAbilityData____setVa { Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CTypedPtrArray*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrArray")); + (self->setValue)(*(CTypedPtrArray*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrArray")); return 0; } @@ -64604,7 +66840,7 @@ static int tolua_function_Pointer_CTypedPtrArray_CPtrArray_CSaveGameSlot____setV { Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CTypedPtrArray*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrArray")); + (self->setValue)(*(CTypedPtrArray*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrArray")); return 0; } @@ -64628,7 +66864,7 @@ static int tolua_function_Pointer_CTypedPtrArray_CPtrArray_CSpawnPoint____setVal { Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CTypedPtrArray*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrArray")); + (self->setValue)(*(CTypedPtrArray*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrArray")); return 0; } @@ -64652,7 +66888,7 @@ static int tolua_function_Pointer_CTypedPtrArray_CPtrArray_CGameDialogReply____s { Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CTypedPtrArray*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrArray")); + (self->setValue)(*(CTypedPtrArray*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrArray")); return 0; } @@ -64676,7 +66912,7 @@ static int tolua_function_Pointer_CTypedPtrArray_CPtrArray_long___setValue(lua_S { Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CTypedPtrArray*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrArray")); + (self->setValue)(*(CTypedPtrArray*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrArray")); return 0; } @@ -64700,7 +66936,7 @@ static int tolua_function_Pointer_CTypedPtrArray_CPtrArray___int8___setValue(lua { Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CTypedPtrArray*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrArray")); + (self->setValue)(*(CTypedPtrArray*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrArray")); return 0; } @@ -64724,7 +66960,7 @@ static int tolua_function_Pointer_CTypedPtrArray_CPtrArray_CSoundChannel____setV { Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CTypedPtrArray*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrArray")); + (self->setValue)(*(CTypedPtrArray*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrArray")); return 0; } @@ -64748,7 +66984,7 @@ static int tolua_function_Pointer_CPtrList__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CPtrList*)tolua_tousertype_dynamic(L, 2, 0, "CPtrList")); + (self->setValue)(*(CPtrList*)tolua_tousertype_dynamic(L, 2, 0, "CPtrList")); return 0; } @@ -64772,7 +67008,7 @@ static int tolua_function_Pointer_CMessageHandler__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMessageHandler*)tolua_tousertype_dynamic(L, 2, 0, "CMessageHandler")); + (self->setValue)(*(CMessageHandler*)tolua_tousertype_dynamic(L, 2, 0, "CMessageHandler")); return 0; } @@ -64796,7 +67032,7 @@ static int tolua_function_Pointer_CImmunitiesProjectile__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CImmunitiesProjectile*)tolua_tousertype_dynamic(L, 2, 0, "CImmunitiesProjectile")); + (self->setValue)(*(CImmunitiesProjectile*)tolua_tousertype_dynamic(L, 2, 0, "CImmunitiesProjectile")); return 0; } @@ -64820,7 +67056,7 @@ static int tolua_function_Pointer_CImmunitiesSchoolAndSecondary__setValue(lua_St { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CImmunitiesSchoolAndSecondary*)tolua_tousertype_dynamic(L, 2, 0, "CImmunitiesSchoolAndSecondary")); + (self->setValue)(*(CImmunitiesSchoolAndSecondary*)tolua_tousertype_dynamic(L, 2, 0, "CImmunitiesSchoolAndSecondary")); return 0; } @@ -64844,7 +67080,7 @@ static int tolua_function_Pointer_CChatBuffer__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CChatBuffer*)tolua_tousertype_dynamic(L, 2, 0, "CChatBuffer")); + (self->setValue)(*(CChatBuffer*)tolua_tousertype_dynamic(L, 2, 0, "CChatBuffer")); return 0; } @@ -64868,7 +67104,7 @@ static int tolua_function_Pointer_CGameEffectList__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CGameEffectList*)tolua_tousertype_dynamic(L, 2, 0, "CGameEffectList")); + (self->setValue)(*(CGameEffectList*)tolua_tousertype_dynamic(L, 2, 0, "CGameEffectList")); return 0; } @@ -64892,7 +67128,7 @@ static int tolua_function_Pointer_CImmunitiesAIType__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CImmunitiesAIType*)tolua_tousertype_dynamic(L, 2, 0, "CImmunitiesAIType")); + (self->setValue)(*(CImmunitiesAIType*)tolua_tousertype_dynamic(L, 2, 0, "CImmunitiesAIType")); return 0; } @@ -64916,7 +67152,7 @@ static int tolua_function_Pointer_CPersistantEffectListRegenerated__setValue(lua { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CPersistantEffectListRegenerated*)tolua_tousertype_dynamic(L, 2, 0, "CPersistantEffectListRegenerated")); + (self->setValue)(*(CPersistantEffectListRegenerated*)tolua_tousertype_dynamic(L, 2, 0, "CPersistantEffectListRegenerated")); return 0; } @@ -64940,7 +67176,7 @@ static int tolua_function_Pointer_CApplyEffectList__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CApplyEffectList*)tolua_tousertype_dynamic(L, 2, 0, "CApplyEffectList")); + (self->setValue)(*(CApplyEffectList*)tolua_tousertype_dynamic(L, 2, 0, "CApplyEffectList")); return 0; } @@ -64964,7 +67200,7 @@ static int tolua_function_Pointer_CBounceList__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CBounceList*)tolua_tousertype_dynamic(L, 2, 0, "CBounceList")); + (self->setValue)(*(CBounceList*)tolua_tousertype_dynamic(L, 2, 0, "CBounceList")); return 0; } @@ -64988,7 +67224,7 @@ static int tolua_function_Pointer_CColorEffects__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CColorEffects*)tolua_tousertype_dynamic(L, 2, 0, "CColorEffects")); + (self->setValue)(*(CColorEffects*)tolua_tousertype_dynamic(L, 2, 0, "CColorEffects")); return 0; } @@ -65012,7 +67248,7 @@ static int tolua_function_Pointer_CColorRanges__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CColorRanges*)tolua_tousertype_dynamic(L, 2, 0, "CColorRanges")); + (self->setValue)(*(CColorRanges*)tolua_tousertype_dynamic(L, 2, 0, "CColorRanges")); return 0; } @@ -65036,7 +67272,7 @@ static int tolua_function_Pointer_CCriticalEntryList__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CCriticalEntryList*)tolua_tousertype_dynamic(L, 2, 0, "CCriticalEntryList")); + (self->setValue)(*(CCriticalEntryList*)tolua_tousertype_dynamic(L, 2, 0, "CCriticalEntryList")); return 0; } @@ -65060,7 +67296,7 @@ static int tolua_function_Pointer_CGameEffectUsabilityList__setValue(lua_State* { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CGameEffectUsabilityList*)tolua_tousertype_dynamic(L, 2, 0, "CGameEffectUsabilityList")); + (self->setValue)(*(CGameEffectUsabilityList*)tolua_tousertype_dynamic(L, 2, 0, "CGameEffectUsabilityList")); return 0; } @@ -65084,7 +67320,7 @@ static int tolua_function_Pointer_CImmunitiesEffect__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CImmunitiesEffect*)tolua_tousertype_dynamic(L, 2, 0, "CImmunitiesEffect")); + (self->setValue)(*(CImmunitiesEffect*)tolua_tousertype_dynamic(L, 2, 0, "CImmunitiesEffect")); return 0; } @@ -65108,7 +67344,7 @@ static int tolua_function_Pointer_CImmunitiesItemEquipList__setValue(lua_State* { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CImmunitiesItemEquipList*)tolua_tousertype_dynamic(L, 2, 0, "CImmunitiesItemEquipList")); + (self->setValue)(*(CImmunitiesItemEquipList*)tolua_tousertype_dynamic(L, 2, 0, "CImmunitiesItemEquipList")); return 0; } @@ -65132,7 +67368,7 @@ static int tolua_function_Pointer_CImmunitiesItemTypeEquipList__setValue(lua_Sta { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CImmunitiesItemTypeEquipList*)tolua_tousertype_dynamic(L, 2, 0, "CImmunitiesItemTypeEquipList")); + (self->setValue)(*(CImmunitiesItemTypeEquipList*)tolua_tousertype_dynamic(L, 2, 0, "CImmunitiesItemTypeEquipList")); return 0; } @@ -65156,7 +67392,7 @@ static int tolua_function_Pointer_CImmunitiesSchoolAndSecondaryDecrementing__set { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CImmunitiesSchoolAndSecondaryDecrementing*)tolua_tousertype_dynamic(L, 2, 0, "CImmunitiesSchoolAndSecondaryDecrementing")); + (self->setValue)(*(CImmunitiesSchoolAndSecondaryDecrementing*)tolua_tousertype_dynamic(L, 2, 0, "CImmunitiesSchoolAndSecondaryDecrementing")); return 0; } @@ -65180,7 +67416,7 @@ static int tolua_function_Pointer_CImmunitiesSpellList__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CImmunitiesSpellList*)tolua_tousertype_dynamic(L, 2, 0, "CImmunitiesSpellList")); + (self->setValue)(*(CImmunitiesSpellList*)tolua_tousertype_dynamic(L, 2, 0, "CImmunitiesSpellList")); return 0; } @@ -65204,7 +67440,7 @@ static int tolua_function_Pointer_CImmunitiesWeapon__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CImmunitiesWeapon*)tolua_tousertype_dynamic(L, 2, 0, "CImmunitiesWeapon")); + (self->setValue)(*(CImmunitiesWeapon*)tolua_tousertype_dynamic(L, 2, 0, "CImmunitiesWeapon")); return 0; } @@ -65228,7 +67464,7 @@ static int tolua_function_Pointer_CMemINI__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMemINI*)tolua_tousertype_dynamic(L, 2, 0, "CMemINI")); + (self->setValue)(*(CMemINI*)tolua_tousertype_dynamic(L, 2, 0, "CMemINI")); return 0; } @@ -65252,7 +67488,7 @@ static int tolua_function_Pointer_CMoveList__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMoveList*)tolua_tousertype_dynamic(L, 2, 0, "CMoveList")); + (self->setValue)(*(CMoveList*)tolua_tousertype_dynamic(L, 2, 0, "CMoveList")); return 0; } @@ -65276,7 +67512,7 @@ static int tolua_function_Pointer_CPersistantEffectList__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CPersistantEffectList*)tolua_tousertype_dynamic(L, 2, 0, "CPersistantEffectList")); + (self->setValue)(*(CPersistantEffectList*)tolua_tousertype_dynamic(L, 2, 0, "CPersistantEffectList")); return 0; } @@ -65300,7 +67536,7 @@ static int tolua_function_Pointer_CSequenceSoundList__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CSequenceSoundList*)tolua_tousertype_dynamic(L, 2, 0, "CSequenceSoundList")); + (self->setValue)(*(CSequenceSoundList*)tolua_tousertype_dynamic(L, 2, 0, "CSequenceSoundList")); return 0; } @@ -65324,7 +67560,7 @@ static int tolua_function_Pointer_CSequenceSoundList___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CSequenceSoundList* returnVal = self->getValue(); + CSequenceSoundList* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CSequenceSoundList"); return 1; } @@ -65333,7 +67569,7 @@ static int tolua_function_Pointer_CSequenceSoundList___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CSequenceSoundList*)tolua_tousertype_dynamic(L, 2, 0, "CSequenceSoundList")); + (self->setValue)((CSequenceSoundList*)tolua_tousertype_dynamic(L, 2, 0, "CSequenceSoundList")); return 0; } @@ -65357,7 +67593,7 @@ static int tolua_function_Pointer_CSelectiveWeaponTypeList__setValue(lua_State* { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CSelectiveWeaponTypeList*)tolua_tousertype_dynamic(L, 2, 0, "CSelectiveWeaponTypeList")); + (self->setValue)(*(CSelectiveWeaponTypeList*)tolua_tousertype_dynamic(L, 2, 0, "CSelectiveWeaponTypeList")); return 0; } @@ -65381,7 +67617,7 @@ static int tolua_function_Pointer_CSelectiveBonusList__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CSelectiveBonusList*)tolua_tousertype_dynamic(L, 2, 0, "CSelectiveBonusList")); + (self->setValue)(*(CSelectiveBonusList*)tolua_tousertype_dynamic(L, 2, 0, "CSelectiveBonusList")); return 0; } @@ -65405,7 +67641,7 @@ static int tolua_function_Pointer_CPtrArray__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CPtrArray*)tolua_tousertype_dynamic(L, 2, 0, "CPtrArray")); + (self->setValue)(*(CPtrArray*)tolua_tousertype_dynamic(L, 2, 0, "CPtrArray")); return 0; } @@ -65429,7 +67665,7 @@ static int tolua_function_Pointer_CGameJournal__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CGameJournal*)tolua_tousertype_dynamic(L, 2, 0, "CGameJournal")); + (self->setValue)(*(CGameJournal*)tolua_tousertype_dynamic(L, 2, 0, "CGameJournal")); return 0; } @@ -65453,7 +67689,7 @@ static int tolua_function_Pointer_CImportGame__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CImportGame*)tolua_tousertype_dynamic(L, 2, 0, "CImportGame")); + (self->setValue)(*(CImportGame*)tolua_tousertype_dynamic(L, 2, 0, "CImportGame")); return 0; } @@ -65477,7 +67713,7 @@ static int tolua_function_Pointer_CSpawnPointArray__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CSpawnPointArray*)tolua_tousertype_dynamic(L, 2, 0, "CSpawnPointArray")); + (self->setValue)(*(CSpawnPointArray*)tolua_tousertype_dynamic(L, 2, 0, "CSpawnPointArray")); return 0; } @@ -65501,7 +67737,7 @@ static int tolua_function_Pointer_CObList__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CObList*)tolua_tousertype_dynamic(L, 2, 0, "CObList")); + (self->setValue)(*(CObList*)tolua_tousertype_dynamic(L, 2, 0, "CObList")); return 0; } @@ -65525,7 +67761,7 @@ static int tolua_function_Pointer_CMessage__vtbl__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMessage::vtbl*)tolua_tousertype_dynamic(L, 2, 0, "CMessage::vtbl")); + (self->setValue)(*(CMessage::vtbl*)tolua_tousertype_dynamic(L, 2, 0, "CMessage::vtbl")); return 0; } @@ -65549,7 +67785,7 @@ static int tolua_function_Pointer_CMessageWeaponImmumityUpdate__setValue(lua_Sta { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMessageWeaponImmumityUpdate*)tolua_tousertype_dynamic(L, 2, 0, "CMessageWeaponImmumityUpdate")); + (self->setValue)(*(CMessageWeaponImmumityUpdate*)tolua_tousertype_dynamic(L, 2, 0, "CMessageWeaponImmumityUpdate")); return 0; } @@ -65573,7 +67809,7 @@ static int tolua_function_Pointer_CMessageVisualEffect__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMessageVisualEffect*)tolua_tousertype_dynamic(L, 2, 0, "CMessageVisualEffect")); + (self->setValue)(*(CMessageVisualEffect*)tolua_tousertype_dynamic(L, 2, 0, "CMessageVisualEffect")); return 0; } @@ -65597,7 +67833,7 @@ static int tolua_function_Pointer_CMessageVisibilityMapMove__setValue(lua_State* { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMessageVisibilityMapMove*)tolua_tousertype_dynamic(L, 2, 0, "CMessageVisibilityMapMove")); + (self->setValue)(*(CMessageVisibilityMapMove*)tolua_tousertype_dynamic(L, 2, 0, "CMessageVisibilityMapMove")); return 0; } @@ -65621,7 +67857,7 @@ static int tolua_function_Pointer_CMessageVerbalConstant__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMessageVerbalConstant*)tolua_tousertype_dynamic(L, 2, 0, "CMessageVerbalConstant")); + (self->setValue)(*(CMessageVerbalConstant*)tolua_tousertype_dynamic(L, 2, 0, "CMessageVerbalConstant")); return 0; } @@ -65645,7 +67881,7 @@ static int tolua_function_Pointer_CMessageUseItemCharges__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMessageUseItemCharges*)tolua_tousertype_dynamic(L, 2, 0, "CMessageUseItemCharges")); + (self->setValue)(*(CMessageUseItemCharges*)tolua_tousertype_dynamic(L, 2, 0, "CMessageUseItemCharges")); return 0; } @@ -65669,7 +67905,7 @@ static int tolua_function_Pointer_CMessageUpdateStoredPartyLocations__setValue(l { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMessageUpdateStoredPartyLocations*)tolua_tousertype_dynamic(L, 2, 0, "CMessageUpdateStoredPartyLocations")); + (self->setValue)(*(CMessageUpdateStoredPartyLocations*)tolua_tousertype_dynamic(L, 2, 0, "CMessageUpdateStoredPartyLocations")); return 0; } @@ -65693,7 +67929,7 @@ static int tolua_function_Pointer_CMessageUpdateReaction__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMessageUpdateReaction*)tolua_tousertype_dynamic(L, 2, 0, "CMessageUpdateReaction")); + (self->setValue)(*(CMessageUpdateReaction*)tolua_tousertype_dynamic(L, 2, 0, "CMessageUpdateReaction")); return 0; } @@ -65717,7 +67953,7 @@ static int tolua_function_Pointer_CMessageUpdateMachineState__setValue(lua_State { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMessageUpdateMachineState*)tolua_tousertype_dynamic(L, 2, 0, "CMessageUpdateMachineState")); + (self->setValue)(*(CMessageUpdateMachineState*)tolua_tousertype_dynamic(L, 2, 0, "CMessageUpdateMachineState")); return 0; } @@ -65741,7 +67977,7 @@ static int tolua_function_Pointer_CMessageUpdateImmunities__setValue(lua_State* { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMessageUpdateImmunities*)tolua_tousertype_dynamic(L, 2, 0, "CMessageUpdateImmunities")); + (self->setValue)(*(CMessageUpdateImmunities*)tolua_tousertype_dynamic(L, 2, 0, "CMessageUpdateImmunities")); return 0; } @@ -65765,7 +68001,7 @@ static int tolua_function_Pointer_CMessageUnlock__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMessageUnlock*)tolua_tousertype_dynamic(L, 2, 0, "CMessageUnlock")); + (self->setValue)(*(CMessageUnlock*)tolua_tousertype_dynamic(L, 2, 0, "CMessageUnlock")); return 0; } @@ -65789,7 +68025,7 @@ static int tolua_function_Pointer_CMessageTriggerStatus__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMessageTriggerStatus*)tolua_tousertype_dynamic(L, 2, 0, "CMessageTriggerStatus")); + (self->setValue)(*(CMessageTriggerStatus*)tolua_tousertype_dynamic(L, 2, 0, "CMessageTriggerStatus")); return 0; } @@ -65813,7 +68049,7 @@ static int tolua_function_Pointer_CMessageTakeCreatureItems__setValue(lua_State* { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMessageTakeCreatureItems*)tolua_tousertype_dynamic(L, 2, 0, "CMessageTakeCreatureItems")); + (self->setValue)(*(CMessageTakeCreatureItems*)tolua_tousertype_dynamic(L, 2, 0, "CMessageTakeCreatureItems")); return 0; } @@ -65837,7 +68073,7 @@ static int tolua_function_Pointer_CMessageStopFollow__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMessageStopFollow*)tolua_tousertype_dynamic(L, 2, 0, "CMessageStopFollow")); + (self->setValue)(*(CMessageStopFollow*)tolua_tousertype_dynamic(L, 2, 0, "CMessageStopFollow")); return 0; } @@ -65861,7 +68097,7 @@ static int tolua_function_Pointer_CMessageStopEscapeArea__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMessageStopEscapeArea*)tolua_tousertype_dynamic(L, 2, 0, "CMessageStopEscapeArea")); + (self->setValue)(*(CMessageStopEscapeArea*)tolua_tousertype_dynamic(L, 2, 0, "CMessageStopEscapeArea")); return 0; } @@ -65885,7 +68121,7 @@ static int tolua_function_Pointer_CMessageStopActions__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMessageStopActions*)tolua_tousertype_dynamic(L, 2, 0, "CMessageStopActions")); + (self->setValue)(*(CMessageStopActions*)tolua_tousertype_dynamic(L, 2, 0, "CMessageStopActions")); return 0; } @@ -65909,7 +68145,7 @@ static int tolua_function_Pointer_CMessageStaticStart__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMessageStaticStart*)tolua_tousertype_dynamic(L, 2, 0, "CMessageStaticStart")); + (self->setValue)(*(CMessageStaticStart*)tolua_tousertype_dynamic(L, 2, 0, "CMessageStaticStart")); return 0; } @@ -65933,7 +68169,7 @@ static int tolua_function_Pointer_CMessageStaticSequence__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMessageStaticSequence*)tolua_tousertype_dynamic(L, 2, 0, "CMessageStaticSequence")); + (self->setValue)(*(CMessageStaticSequence*)tolua_tousertype_dynamic(L, 2, 0, "CMessageStaticSequence")); return 0; } @@ -65957,7 +68193,7 @@ static int tolua_function_Pointer_CMessageStartSong__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMessageStartSong*)tolua_tousertype_dynamic(L, 2, 0, "CMessageStartSong")); + (self->setValue)(*(CMessageStartSong*)tolua_tousertype_dynamic(L, 2, 0, "CMessageStartSong")); return 0; } @@ -65981,7 +68217,7 @@ static int tolua_function_Pointer_CMessageStartScroll__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMessageStartScroll*)tolua_tousertype_dynamic(L, 2, 0, "CMessageStartScroll")); + (self->setValue)(*(CMessageStartScroll*)tolua_tousertype_dynamic(L, 2, 0, "CMessageStartScroll")); return 0; } @@ -66005,7 +68241,7 @@ static int tolua_function_Pointer_CMessageStartFollow__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMessageStartFollow*)tolua_tousertype_dynamic(L, 2, 0, "CMessageStartFollow")); + (self->setValue)(*(CMessageStartFollow*)tolua_tousertype_dynamic(L, 2, 0, "CMessageStartFollow")); return 0; } @@ -66029,7 +68265,7 @@ static int tolua_function_Pointer_CMessageStartCombatMusic__setValue(lua_State* { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMessageStartCombatMusic*)tolua_tousertype_dynamic(L, 2, 0, "CMessageStartCombatMusic")); + (self->setValue)(*(CMessageStartCombatMusic*)tolua_tousertype_dynamic(L, 2, 0, "CMessageStartCombatMusic")); return 0; } @@ -66053,7 +68289,7 @@ static int tolua_function_Pointer_CMessageSpritePetrify__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMessageSpritePetrify*)tolua_tousertype_dynamic(L, 2, 0, "CMessageSpritePetrify")); + (self->setValue)(*(CMessageSpritePetrify*)tolua_tousertype_dynamic(L, 2, 0, "CMessageSpritePetrify")); return 0; } @@ -66077,7 +68313,7 @@ static int tolua_function_Pointer_CMessageSpriteDeath__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMessageSpriteDeath*)tolua_tousertype_dynamic(L, 2, 0, "CMessageSpriteDeath")); + (self->setValue)(*(CMessageSpriteDeath*)tolua_tousertype_dynamic(L, 2, 0, "CMessageSpriteDeath")); return 0; } @@ -66101,7 +68337,7 @@ static int tolua_function_Pointer_CMessageSpawnPtSpawn__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMessageSpawnPtSpawn*)tolua_tousertype_dynamic(L, 2, 0, "CMessageSpawnPtSpawn")); + (self->setValue)(*(CMessageSpawnPtSpawn*)tolua_tousertype_dynamic(L, 2, 0, "CMessageSpawnPtSpawn")); return 0; } @@ -66125,7 +68361,7 @@ static int tolua_function_Pointer_CMessageSpawnPtActivate__setValue(lua_State* L { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMessageSpawnPtActivate*)tolua_tousertype_dynamic(L, 2, 0, "CMessageSpawnPtActivate")); + (self->setValue)(*(CMessageSpawnPtActivate*)tolua_tousertype_dynamic(L, 2, 0, "CMessageSpawnPtActivate")); return 0; } @@ -66149,7 +68385,7 @@ static int tolua_function_Pointer_CMessageSetVariable__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMessageSetVariable*)tolua_tousertype_dynamic(L, 2, 0, "CMessageSetVariable")); + (self->setValue)(*(CMessageSetVariable*)tolua_tousertype_dynamic(L, 2, 0, "CMessageSetVariable")); return 0; } @@ -66173,7 +68409,7 @@ static int tolua_function_Pointer_CMessageSetTimeStop__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMessageSetTimeStop*)tolua_tousertype_dynamic(L, 2, 0, "CMessageSetTimeStop")); + (self->setValue)(*(CMessageSetTimeStop*)tolua_tousertype_dynamic(L, 2, 0, "CMessageSetTimeStop")); return 0; } @@ -66197,7 +68433,7 @@ static int tolua_function_Pointer_CMessageSetTarget__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMessageSetTarget*)tolua_tousertype_dynamic(L, 2, 0, "CMessageSetTarget")); + (self->setValue)(*(CMessageSetTarget*)tolua_tousertype_dynamic(L, 2, 0, "CMessageSetTarget")); return 0; } @@ -66221,7 +68457,7 @@ static int tolua_function_Pointer_CMessageSetStateOverrideTime__setValue(lua_Sta { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMessageSetStateOverrideTime*)tolua_tousertype_dynamic(L, 2, 0, "CMessageSetStateOverrideTime")); + (self->setValue)(*(CMessageSetStateOverrideTime*)tolua_tousertype_dynamic(L, 2, 0, "CMessageSetStateOverrideTime")); return 0; } @@ -66245,7 +68481,7 @@ static int tolua_function_Pointer_CMessageSetStateOverrideFlag__setValue(lua_Sta { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMessageSetStateOverrideFlag*)tolua_tousertype_dynamic(L, 2, 0, "CMessageSetStateOverrideFlag")); + (self->setValue)(*(CMessageSetStateOverrideFlag*)tolua_tousertype_dynamic(L, 2, 0, "CMessageSetStateOverrideFlag")); return 0; } @@ -66269,7 +68505,7 @@ static int tolua_function_Pointer_CMessageSetSound__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMessageSetSound*)tolua_tousertype_dynamic(L, 2, 0, "CMessageSetSound")); + (self->setValue)(*(CMessageSetSound*)tolua_tousertype_dynamic(L, 2, 0, "CMessageSetSound")); return 0; } @@ -66293,7 +68529,7 @@ static int tolua_function_Pointer_CMessageSetSequence__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMessageSetSequence*)tolua_tousertype_dynamic(L, 2, 0, "CMessageSetSequence")); + (self->setValue)(*(CMessageSetSequence*)tolua_tousertype_dynamic(L, 2, 0, "CMessageSetSequence")); return 0; } @@ -66317,7 +68553,7 @@ static int tolua_function_Pointer_CMessageSetPath__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMessageSetPath*)tolua_tousertype_dynamic(L, 2, 0, "CMessageSetPath")); + (self->setValue)(*(CMessageSetPath*)tolua_tousertype_dynamic(L, 2, 0, "CMessageSetPath")); return 0; } @@ -66341,7 +68577,7 @@ static int tolua_function_Pointer_CMessageSetNumTimesTalkedTo__setValue(lua_Stat { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMessageSetNumTimesTalkedTo*)tolua_tousertype_dynamic(L, 2, 0, "CMessageSetNumTimesTalkedTo")); + (self->setValue)(*(CMessageSetNumTimesTalkedTo*)tolua_tousertype_dynamic(L, 2, 0, "CMessageSetNumTimesTalkedTo")); return 0; } @@ -66365,7 +68601,7 @@ static int tolua_function_Pointer_CMessageSetInStore__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMessageSetInStore*)tolua_tousertype_dynamic(L, 2, 0, "CMessageSetInStore")); + (self->setValue)(*(CMessageSetInStore*)tolua_tousertype_dynamic(L, 2, 0, "CMessageSetInStore")); return 0; } @@ -66389,7 +68625,7 @@ static int tolua_function_Pointer_CMessageSetInDialog__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMessageSetInDialog*)tolua_tousertype_dynamic(L, 2, 0, "CMessageSetInDialog")); + (self->setValue)(*(CMessageSetInDialog*)tolua_tousertype_dynamic(L, 2, 0, "CMessageSetInDialog")); return 0; } @@ -66413,7 +68649,7 @@ static int tolua_function_Pointer_CMessageSetInCutScene__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMessageSetInCutScene*)tolua_tousertype_dynamic(L, 2, 0, "CMessageSetInCutScene")); + (self->setValue)(*(CMessageSetInCutScene*)tolua_tousertype_dynamic(L, 2, 0, "CMessageSetInCutScene")); return 0; } @@ -66437,7 +68673,7 @@ static int tolua_function_Pointer_CMessageSetHappiness__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMessageSetHappiness*)tolua_tousertype_dynamic(L, 2, 0, "CMessageSetHappiness")); + (self->setValue)(*(CMessageSetHappiness*)tolua_tousertype_dynamic(L, 2, 0, "CMessageSetHappiness")); return 0; } @@ -66461,7 +68697,7 @@ static int tolua_function_Pointer_CMessageSetForceActionPick__setValue(lua_State { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMessageSetForceActionPick*)tolua_tousertype_dynamic(L, 2, 0, "CMessageSetForceActionPick")); + (self->setValue)(*(CMessageSetForceActionPick*)tolua_tousertype_dynamic(L, 2, 0, "CMessageSetForceActionPick")); return 0; } @@ -66485,7 +68721,7 @@ static int tolua_function_Pointer_CMessageSetFamiliarSummoner__setValue(lua_Stat { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMessageSetFamiliarSummoner*)tolua_tousertype_dynamic(L, 2, 0, "CMessageSetFamiliarSummoner")); + (self->setValue)(*(CMessageSetFamiliarSummoner*)tolua_tousertype_dynamic(L, 2, 0, "CMessageSetFamiliarSummoner")); return 0; } @@ -66509,7 +68745,7 @@ static int tolua_function_Pointer_CMessageSetDrawPoly__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMessageSetDrawPoly*)tolua_tousertype_dynamic(L, 2, 0, "CMessageSetDrawPoly")); + (self->setValue)(*(CMessageSetDrawPoly*)tolua_tousertype_dynamic(L, 2, 0, "CMessageSetDrawPoly")); return 0; } @@ -66533,7 +68769,7 @@ static int tolua_function_Pointer_CMessageSetDirection__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMessageSetDirection*)tolua_tousertype_dynamic(L, 2, 0, "CMessageSetDirection")); + (self->setValue)(*(CMessageSetDirection*)tolua_tousertype_dynamic(L, 2, 0, "CMessageSetDirection")); return 0; } @@ -66557,7 +68793,7 @@ static int tolua_function_Pointer_CMessageSetDialogWait__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMessageSetDialogWait*)tolua_tousertype_dynamic(L, 2, 0, "CMessageSetDialogWait")); + (self->setValue)(*(CMessageSetDialogWait*)tolua_tousertype_dynamic(L, 2, 0, "CMessageSetDialogWait")); return 0; } @@ -66581,7 +68817,7 @@ static int tolua_function_Pointer_CMessageSetDialogPausing__setValue(lua_State* { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMessageSetDialogPausing*)tolua_tousertype_dynamic(L, 2, 0, "CMessageSetDialogPausing")); + (self->setValue)(*(CMessageSetDialogPausing*)tolua_tousertype_dynamic(L, 2, 0, "CMessageSetDialogPausing")); return 0; } @@ -66605,7 +68841,7 @@ static int tolua_function_Pointer_CMessageSetCurrentActionId__setValue(lua_State { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMessageSetCurrentActionId*)tolua_tousertype_dynamic(L, 2, 0, "CMessageSetCurrentActionId")); + (self->setValue)(*(CMessageSetCurrentActionId*)tolua_tousertype_dynamic(L, 2, 0, "CMessageSetCurrentActionId")); return 0; } @@ -66629,7 +68865,7 @@ static int tolua_function_Pointer_CMessageSetCommandPause__setValue(lua_State* L { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMessageSetCommandPause*)tolua_tousertype_dynamic(L, 2, 0, "CMessageSetCommandPause")); + (self->setValue)(*(CMessageSetCommandPause*)tolua_tousertype_dynamic(L, 2, 0, "CMessageSetCommandPause")); return 0; } @@ -66653,7 +68889,7 @@ static int tolua_function_Pointer_CMessageSetBanterBlockTime__setValue(lua_State { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMessageSetBanterBlockTime*)tolua_tousertype_dynamic(L, 2, 0, "CMessageSetBanterBlockTime")); + (self->setValue)(*(CMessageSetBanterBlockTime*)tolua_tousertype_dynamic(L, 2, 0, "CMessageSetBanterBlockTime")); return 0; } @@ -66677,7 +68913,7 @@ static int tolua_function_Pointer_CMessageSetBanterBlockFlag__setValue(lua_State { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMessageSetBanterBlockFlag*)tolua_tousertype_dynamic(L, 2, 0, "CMessageSetBanterBlockFlag")); + (self->setValue)(*(CMessageSetBanterBlockFlag*)tolua_tousertype_dynamic(L, 2, 0, "CMessageSetBanterBlockFlag")); return 0; } @@ -66701,7 +68937,7 @@ static int tolua_function_Pointer_CMessageSetAreaFlag__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMessageSetAreaFlag*)tolua_tousertype_dynamic(L, 2, 0, "CMessageSetAreaFlag")); + (self->setValue)(*(CMessageSetAreaFlag*)tolua_tousertype_dynamic(L, 2, 0, "CMessageSetAreaFlag")); return 0; } @@ -66725,7 +68961,7 @@ static int tolua_function_Pointer_CMessageSetActiveImprisonment__setValue(lua_St { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMessageSetActiveImprisonment*)tolua_tousertype_dynamic(L, 2, 0, "CMessageSetActiveImprisonment")); + (self->setValue)(*(CMessageSetActiveImprisonment*)tolua_tousertype_dynamic(L, 2, 0, "CMessageSetActiveImprisonment")); return 0; } @@ -66749,7 +68985,7 @@ static int tolua_function_Pointer_CMessageSetActive__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMessageSetActive*)tolua_tousertype_dynamic(L, 2, 0, "CMessageSetActive")); + (self->setValue)(*(CMessageSetActive*)tolua_tousertype_dynamic(L, 2, 0, "CMessageSetActive")); return 0; } @@ -66773,7 +69009,7 @@ static int tolua_function_Pointer_CMessageSetAISpeed__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMessageSetAISpeed*)tolua_tousertype_dynamic(L, 2, 0, "CMessageSetAISpeed")); + (self->setValue)(*(CMessageSetAISpeed*)tolua_tousertype_dynamic(L, 2, 0, "CMessageSetAISpeed")); return 0; } @@ -66797,7 +69033,7 @@ static int tolua_function_Pointer_CMessageScreenShake__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMessageScreenShake*)tolua_tousertype_dynamic(L, 2, 0, "CMessageScreenShake")); + (self->setValue)(*(CMessageScreenShake*)tolua_tousertype_dynamic(L, 2, 0, "CMessageScreenShake")); return 0; } @@ -66821,7 +69057,7 @@ static int tolua_function_Pointer_CMessageSaveGame__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMessageSaveGame*)tolua_tousertype_dynamic(L, 2, 0, "CMessageSaveGame")); + (self->setValue)(*(CMessageSaveGame*)tolua_tousertype_dynamic(L, 2, 0, "CMessageSaveGame")); return 0; } @@ -66845,7 +69081,7 @@ static int tolua_function_Pointer_CMessageResetMorale__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMessageResetMorale*)tolua_tousertype_dynamic(L, 2, 0, "CMessageResetMorale")); + (self->setValue)(*(CMessageResetMorale*)tolua_tousertype_dynamic(L, 2, 0, "CMessageResetMorale")); return 0; } @@ -66869,7 +69105,7 @@ static int tolua_function_Pointer_CMessageReputationChange__setValue(lua_State* { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMessageReputationChange*)tolua_tousertype_dynamic(L, 2, 0, "CMessageReputationChange")); + (self->setValue)(*(CMessageReputationChange*)tolua_tousertype_dynamic(L, 2, 0, "CMessageReputationChange")); return 0; } @@ -66893,7 +69129,7 @@ static int tolua_function_Pointer_CMessageRemoveReplies__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMessageRemoveReplies*)tolua_tousertype_dynamic(L, 2, 0, "CMessageRemoveReplies")); + (self->setValue)(*(CMessageRemoveReplies*)tolua_tousertype_dynamic(L, 2, 0, "CMessageRemoveReplies")); return 0; } @@ -66917,7 +69153,7 @@ static int tolua_function_Pointer_CMessageRemoveItem__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMessageRemoveItem*)tolua_tousertype_dynamic(L, 2, 0, "CMessageRemoveItem")); + (self->setValue)(*(CMessageRemoveItem*)tolua_tousertype_dynamic(L, 2, 0, "CMessageRemoveItem")); return 0; } @@ -66941,7 +69177,7 @@ static int tolua_function_Pointer_CMessagePlaySound__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMessagePlaySound*)tolua_tousertype_dynamic(L, 2, 0, "CMessagePlaySound")); + (self->setValue)(*(CMessagePlaySound*)tolua_tousertype_dynamic(L, 2, 0, "CMessagePlaySound")); return 0; } @@ -66965,7 +69201,7 @@ static int tolua_function_Pointer_CMessagePartyGold__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMessagePartyGold*)tolua_tousertype_dynamic(L, 2, 0, "CMessagePartyGold")); + (self->setValue)(*(CMessagePartyGold*)tolua_tousertype_dynamic(L, 2, 0, "CMessagePartyGold")); return 0; } @@ -66989,7 +69225,7 @@ static int tolua_function_Pointer_CMessageNonControlledDialogStart__setValue(lua { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMessageNonControlledDialogStart*)tolua_tousertype_dynamic(L, 2, 0, "CMessageNonControlledDialogStart")); + (self->setValue)(*(CMessageNonControlledDialogStart*)tolua_tousertype_dynamic(L, 2, 0, "CMessageNonControlledDialogStart")); return 0; } @@ -67013,7 +69249,7 @@ static int tolua_function_Pointer_CMessageNonControlledDialogReturn__setValue(lu { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMessageNonControlledDialogReturn*)tolua_tousertype_dynamic(L, 2, 0, "CMessageNonControlledDialogReturn")); + (self->setValue)(*(CMessageNonControlledDialogReturn*)tolua_tousertype_dynamic(L, 2, 0, "CMessageNonControlledDialogReturn")); return 0; } @@ -67037,7 +69273,7 @@ static int tolua_function_Pointer_CMessageMoveGlobal__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMessageMoveGlobal*)tolua_tousertype_dynamic(L, 2, 0, "CMessageMoveGlobal")); + (self->setValue)(*(CMessageMoveGlobal*)tolua_tousertype_dynamic(L, 2, 0, "CMessageMoveGlobal")); return 0; } @@ -67061,7 +69297,7 @@ static int tolua_function_Pointer_CMessageMakeGlobal__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMessageMakeGlobal*)tolua_tousertype_dynamic(L, 2, 0, "CMessageMakeGlobal")); + (self->setValue)(*(CMessageMakeGlobal*)tolua_tousertype_dynamic(L, 2, 0, "CMessageMakeGlobal")); return 0; } @@ -67085,7 +69321,7 @@ static int tolua_function_Pointer_CMessageLoadDialog__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMessageLoadDialog*)tolua_tousertype_dynamic(L, 2, 0, "CMessageLoadDialog")); + (self->setValue)(*(CMessageLoadDialog*)tolua_tousertype_dynamic(L, 2, 0, "CMessageLoadDialog")); return 0; } @@ -67109,7 +69345,7 @@ static int tolua_function_Pointer_CMessageLeaveParty__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMessageLeaveParty*)tolua_tousertype_dynamic(L, 2, 0, "CMessageLeaveParty")); + (self->setValue)(*(CMessageLeaveParty*)tolua_tousertype_dynamic(L, 2, 0, "CMessageLeaveParty")); return 0; } @@ -67133,7 +69369,7 @@ static int tolua_function_Pointer_CMessageInsertResponse__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMessageInsertResponse*)tolua_tousertype_dynamic(L, 2, 0, "CMessageInsertResponse")); + (self->setValue)(*(CMessageInsertResponse*)tolua_tousertype_dynamic(L, 2, 0, "CMessageInsertResponse")); return 0; } @@ -67157,7 +69393,7 @@ static int tolua_function_Pointer_CMessageHeartbeat__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMessageHeartbeat*)tolua_tousertype_dynamic(L, 2, 0, "CMessageHeartbeat")); + (self->setValue)(*(CMessageHeartbeat*)tolua_tousertype_dynamic(L, 2, 0, "CMessageHeartbeat")); return 0; } @@ -67181,7 +69417,7 @@ static int tolua_function_Pointer_CMessageForcePosition__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMessageForcePosition*)tolua_tousertype_dynamic(L, 2, 0, "CMessageForcePosition")); + (self->setValue)(*(CMessageForcePosition*)tolua_tousertype_dynamic(L, 2, 0, "CMessageForcePosition")); return 0; } @@ -67205,7 +69441,7 @@ static int tolua_function_Pointer_CMessageFireSpell__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMessageFireSpell*)tolua_tousertype_dynamic(L, 2, 0, "CMessageFireSpell")); + (self->setValue)(*(CMessageFireSpell*)tolua_tousertype_dynamic(L, 2, 0, "CMessageFireSpell")); return 0; } @@ -67229,7 +69465,7 @@ static int tolua_function_Pointer_CMessageFireProjectile__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMessageFireProjectile*)tolua_tousertype_dynamic(L, 2, 0, "CMessageFireProjectile")); + (self->setValue)(*(CMessageFireProjectile*)tolua_tousertype_dynamic(L, 2, 0, "CMessageFireProjectile")); return 0; } @@ -67253,7 +69489,7 @@ static int tolua_function_Pointer_CMessageFamiliarAdd__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMessageFamiliarAdd*)tolua_tousertype_dynamic(L, 2, 0, "CMessageFamiliarAdd")); + (self->setValue)(*(CMessageFamiliarAdd*)tolua_tousertype_dynamic(L, 2, 0, "CMessageFamiliarAdd")); return 0; } @@ -67277,7 +69513,7 @@ static int tolua_function_Pointer_CMessageFakeExpireCheck__setValue(lua_State* L { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMessageFakeExpireCheck*)tolua_tousertype_dynamic(L, 2, 0, "CMessageFakeExpireCheck")); + (self->setValue)(*(CMessageFakeExpireCheck*)tolua_tousertype_dynamic(L, 2, 0, "CMessageFakeExpireCheck")); return 0; } @@ -67301,7 +69537,7 @@ static int tolua_function_Pointer_CMessageFadeColor__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMessageFadeColor*)tolua_tousertype_dynamic(L, 2, 0, "CMessageFadeColor")); + (self->setValue)(*(CMessageFadeColor*)tolua_tousertype_dynamic(L, 2, 0, "CMessageFadeColor")); return 0; } @@ -67325,7 +69561,7 @@ static int tolua_function_Pointer_CMessageExploreArea__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMessageExploreArea*)tolua_tousertype_dynamic(L, 2, 0, "CMessageExploreArea")); + (self->setValue)(*(CMessageExploreArea*)tolua_tousertype_dynamic(L, 2, 0, "CMessageExploreArea")); return 0; } @@ -67349,7 +69585,7 @@ static int tolua_function_Pointer_CMessageExitStoreMode__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMessageExitStoreMode*)tolua_tousertype_dynamic(L, 2, 0, "CMessageExitStoreMode")); + (self->setValue)(*(CMessageExitStoreMode*)tolua_tousertype_dynamic(L, 2, 0, "CMessageExitStoreMode")); return 0; } @@ -67373,7 +69609,7 @@ static int tolua_function_Pointer_CMessageExitDialogMode__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMessageExitDialogMode*)tolua_tousertype_dynamic(L, 2, 0, "CMessageExitDialogMode")); + (self->setValue)(*(CMessageExitDialogMode*)tolua_tousertype_dynamic(L, 2, 0, "CMessageExitDialogMode")); return 0; } @@ -67397,7 +69633,7 @@ static int tolua_function_Pointer_CMessageEscapeArea__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMessageEscapeArea*)tolua_tousertype_dynamic(L, 2, 0, "CMessageEscapeArea")); + (self->setValue)(*(CMessageEscapeArea*)tolua_tousertype_dynamic(L, 2, 0, "CMessageEscapeArea")); return 0; } @@ -67421,7 +69657,7 @@ static int tolua_function_Pointer_CMessageEnterDialogMode__setValue(lua_State* L { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMessageEnterDialogMode*)tolua_tousertype_dynamic(L, 2, 0, "CMessageEnterDialogMode")); + (self->setValue)(*(CMessageEnterDialogMode*)tolua_tousertype_dynamic(L, 2, 0, "CMessageEnterDialogMode")); return 0; } @@ -67445,7 +69681,7 @@ static int tolua_function_Pointer_CMessageEnterDialog__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMessageEnterDialog*)tolua_tousertype_dynamic(L, 2, 0, "CMessageEnterDialog")); + (self->setValue)(*(CMessageEnterDialog*)tolua_tousertype_dynamic(L, 2, 0, "CMessageEnterDialog")); return 0; } @@ -67469,7 +69705,7 @@ static int tolua_function_Pointer_CMessageDropPath__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMessageDropPath*)tolua_tousertype_dynamic(L, 2, 0, "CMessageDropPath")); + (self->setValue)(*(CMessageDropPath*)tolua_tousertype_dynamic(L, 2, 0, "CMessageDropPath")); return 0; } @@ -67493,7 +69729,7 @@ static int tolua_function_Pointer_CMessageDoorStatus__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMessageDoorStatus*)tolua_tousertype_dynamic(L, 2, 0, "CMessageDoorStatus")); + (self->setValue)(*(CMessageDoorStatus*)tolua_tousertype_dynamic(L, 2, 0, "CMessageDoorStatus")); return 0; } @@ -67517,7 +69753,7 @@ static int tolua_function_Pointer_CMessageDoorOpen__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMessageDoorOpen*)tolua_tousertype_dynamic(L, 2, 0, "CMessageDoorOpen")); + (self->setValue)(*(CMessageDoorOpen*)tolua_tousertype_dynamic(L, 2, 0, "CMessageDoorOpen")); return 0; } @@ -67541,7 +69777,7 @@ static int tolua_function_Pointer_CMessageDisplayTextRefSend__setValue(lua_State { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMessageDisplayTextRefSend*)tolua_tousertype_dynamic(L, 2, 0, "CMessageDisplayTextRefSend")); + (self->setValue)(*(CMessageDisplayTextRefSend*)tolua_tousertype_dynamic(L, 2, 0, "CMessageDisplayTextRefSend")); return 0; } @@ -67565,7 +69801,7 @@ static int tolua_function_Pointer_CMessageDisplayTextRefPoint__setValue(lua_Stat { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMessageDisplayTextRefPoint*)tolua_tousertype_dynamic(L, 2, 0, "CMessageDisplayTextRefPoint")); + (self->setValue)(*(CMessageDisplayTextRefPoint*)tolua_tousertype_dynamic(L, 2, 0, "CMessageDisplayTextRefPoint")); return 0; } @@ -67589,7 +69825,7 @@ static int tolua_function_Pointer_CMessageDisplayTextRef__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMessageDisplayTextRef*)tolua_tousertype_dynamic(L, 2, 0, "CMessageDisplayTextRef")); + (self->setValue)(*(CMessageDisplayTextRef*)tolua_tousertype_dynamic(L, 2, 0, "CMessageDisplayTextRef")); return 0; } @@ -67613,7 +69849,7 @@ static int tolua_function_Pointer_CMessageDisplayText__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMessageDisplayText*)tolua_tousertype_dynamic(L, 2, 0, "CMessageDisplayText")); + (self->setValue)(*(CMessageDisplayText*)tolua_tousertype_dynamic(L, 2, 0, "CMessageDisplayText")); return 0; } @@ -67637,7 +69873,7 @@ static int tolua_function_Pointer_CMessageDisableAI__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMessageDisableAI*)tolua_tousertype_dynamic(L, 2, 0, "CMessageDisableAI")); + (self->setValue)(*(CMessageDisableAI*)tolua_tousertype_dynamic(L, 2, 0, "CMessageDisableAI")); return 0; } @@ -67661,7 +69897,7 @@ static int tolua_function_Pointer_CMessageCutSceneModeStatus__setValue(lua_State { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMessageCutSceneModeStatus*)tolua_tousertype_dynamic(L, 2, 0, "CMessageCutSceneModeStatus")); + (self->setValue)(*(CMessageCutSceneModeStatus*)tolua_tousertype_dynamic(L, 2, 0, "CMessageCutSceneModeStatus")); return 0; } @@ -67685,7 +69921,7 @@ static int tolua_function_Pointer_CMessageCutSceneLite__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMessageCutSceneLite*)tolua_tousertype_dynamic(L, 2, 0, "CMessageCutSceneLite")); + (self->setValue)(*(CMessageCutSceneLite*)tolua_tousertype_dynamic(L, 2, 0, "CMessageCutSceneLite")); return 0; } @@ -67709,7 +69945,7 @@ static int tolua_function_Pointer_CMessageContainerStatus__setValue(lua_State* L { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMessageContainerStatus*)tolua_tousertype_dynamic(L, 2, 0, "CMessageContainerStatus")); + (self->setValue)(*(CMessageContainerStatus*)tolua_tousertype_dynamic(L, 2, 0, "CMessageContainerStatus")); return 0; } @@ -67733,7 +69969,7 @@ static int tolua_function_Pointer_CMessageContainerItems__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMessageContainerItems*)tolua_tousertype_dynamic(L, 2, 0, "CMessageContainerItems")); + (self->setValue)(*(CMessageContainerItems*)tolua_tousertype_dynamic(L, 2, 0, "CMessageContainerItems")); return 0; } @@ -67757,7 +69993,7 @@ static int tolua_function_Pointer_CMessageColorUpdate__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMessageColorUpdate*)tolua_tousertype_dynamic(L, 2, 0, "CMessageColorUpdate")); + (self->setValue)(*(CMessageColorUpdate*)tolua_tousertype_dynamic(L, 2, 0, "CMessageColorUpdate")); return 0; } @@ -67781,7 +70017,7 @@ static int tolua_function_Pointer_CMessageColorReset__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMessageColorReset*)tolua_tousertype_dynamic(L, 2, 0, "CMessageColorReset")); + (self->setValue)(*(CMessageColorReset*)tolua_tousertype_dynamic(L, 2, 0, "CMessageColorReset")); return 0; } @@ -67805,7 +70041,7 @@ static int tolua_function_Pointer_CMessageClearTriggers__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMessageClearTriggers*)tolua_tousertype_dynamic(L, 2, 0, "CMessageClearTriggers")); + (self->setValue)(*(CMessageClearTriggers*)tolua_tousertype_dynamic(L, 2, 0, "CMessageClearTriggers")); return 0; } @@ -67829,7 +70065,7 @@ static int tolua_function_Pointer_CMessageClearGroupSlot__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMessageClearGroupSlot*)tolua_tousertype_dynamic(L, 2, 0, "CMessageClearGroupSlot")); + (self->setValue)(*(CMessageClearGroupSlot*)tolua_tousertype_dynamic(L, 2, 0, "CMessageClearGroupSlot")); return 0; } @@ -67853,7 +70089,7 @@ static int tolua_function_Pointer_CMessageClearDialogOnMachine__setValue(lua_Sta { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMessageClearDialogOnMachine*)tolua_tousertype_dynamic(L, 2, 0, "CMessageClearDialogOnMachine")); + (self->setValue)(*(CMessageClearDialogOnMachine*)tolua_tousertype_dynamic(L, 2, 0, "CMessageClearDialogOnMachine")); return 0; } @@ -67877,7 +70113,7 @@ static int tolua_function_Pointer_CMessageClearDialogActions__setValue(lua_State { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMessageClearDialogActions*)tolua_tousertype_dynamic(L, 2, 0, "CMessageClearDialogActions")); + (self->setValue)(*(CMessageClearDialogActions*)tolua_tousertype_dynamic(L, 2, 0, "CMessageClearDialogActions")); return 0; } @@ -67901,7 +70137,7 @@ static int tolua_function_Pointer_CMessageClearActions__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMessageClearActions*)tolua_tousertype_dynamic(L, 2, 0, "CMessageClearActions")); + (self->setValue)(*(CMessageClearActions*)tolua_tousertype_dynamic(L, 2, 0, "CMessageClearActions")); return 0; } @@ -67925,7 +70161,7 @@ static int tolua_function_Pointer_CMessageCheckForForcedDialogEnd__setValue(lua_ { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMessageCheckForForcedDialogEnd*)tolua_tousertype_dynamic(L, 2, 0, "CMessageCheckForForcedDialogEnd")); + (self->setValue)(*(CMessageCheckForForcedDialogEnd*)tolua_tousertype_dynamic(L, 2, 0, "CMessageCheckForForcedDialogEnd")); return 0; } @@ -67949,7 +70185,7 @@ static int tolua_function_Pointer_CMessageChangeDirection__setValue(lua_State* L { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMessageChangeDirection*)tolua_tousertype_dynamic(L, 2, 0, "CMessageChangeDirection")); + (self->setValue)(*(CMessageChangeDirection*)tolua_tousertype_dynamic(L, 2, 0, "CMessageChangeDirection")); return 0; } @@ -67973,7 +70209,7 @@ static int tolua_function_Pointer_CMessageAnimationChange__setValue(lua_State* L { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMessageAnimationChange*)tolua_tousertype_dynamic(L, 2, 0, "CMessageAnimationChange")); + (self->setValue)(*(CMessageAnimationChange*)tolua_tousertype_dynamic(L, 2, 0, "CMessageAnimationChange")); return 0; } @@ -67997,7 +70233,7 @@ static int tolua_function_Pointer_CMessageAllowDialogInterrupt__setValue(lua_Sta { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMessageAllowDialogInterrupt*)tolua_tousertype_dynamic(L, 2, 0, "CMessageAllowDialogInterrupt")); + (self->setValue)(*(CMessageAllowDialogInterrupt*)tolua_tousertype_dynamic(L, 2, 0, "CMessageAllowDialogInterrupt")); return 0; } @@ -68021,7 +70257,7 @@ static int tolua_function_Pointer_CMessageAddEffect__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMessageAddEffect*)tolua_tousertype_dynamic(L, 2, 0, "CMessageAddEffect")); + (self->setValue)(*(CMessageAddEffect*)tolua_tousertype_dynamic(L, 2, 0, "CMessageAddEffect")); return 0; } @@ -68045,7 +70281,7 @@ static int tolua_function_Pointer_CMessageAddClairvoyance__setValue(lua_State* L { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMessageAddClairvoyance*)tolua_tousertype_dynamic(L, 2, 0, "CMessageAddClairvoyance")); + (self->setValue)(*(CMessageAddClairvoyance*)tolua_tousertype_dynamic(L, 2, 0, "CMessageAddClairvoyance")); return 0; } @@ -68069,7 +70305,7 @@ static int tolua_function_Pointer_CMemINIValue__vtbl__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMemINIValue::vtbl*)tolua_tousertype_dynamic(L, 2, 0, "CMemINIValue::vtbl")); + (self->setValue)(*(CMemINIValue::vtbl*)tolua_tousertype_dynamic(L, 2, 0, "CMemINIValue::vtbl")); return 0; } @@ -68093,7 +70329,7 @@ static int tolua_function_Pointer_CItem__vtbl__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CItem::vtbl*)tolua_tousertype_dynamic(L, 2, 0, "CItem::vtbl")); + (self->setValue)(*(CItem::vtbl*)tolua_tousertype_dynamic(L, 2, 0, "CItem::vtbl")); return 0; } @@ -68117,7 +70353,7 @@ static int tolua_function_Pointer_CGameObject__vtbl__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CGameObject::vtbl*)tolua_tousertype_dynamic(L, 2, 0, "CGameObject::vtbl")); + (self->setValue)(*(CGameObject::vtbl*)tolua_tousertype_dynamic(L, 2, 0, "CGameObject::vtbl")); return 0; } @@ -68141,7 +70377,7 @@ static int tolua_function_Pointer_CGameEffect__vtbl__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CGameEffect::vtbl*)tolua_tousertype_dynamic(L, 2, 0, "CGameEffect::vtbl")); + (self->setValue)(*(CGameEffect::vtbl*)tolua_tousertype_dynamic(L, 2, 0, "CGameEffect::vtbl")); return 0; } @@ -68165,7 +70401,7 @@ static int tolua_function_Pointer_CContingencyList__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CContingencyList*)tolua_tousertype_dynamic(L, 2, 0, "CContingencyList")); + (self->setValue)(*(CContingencyList*)tolua_tousertype_dynamic(L, 2, 0, "CContingencyList")); return 0; } @@ -68189,7 +70425,7 @@ static int tolua_function_Pointer_CChitin__vtbl__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CChitin::vtbl*)tolua_tousertype_dynamic(L, 2, 0, "CChitin::vtbl")); + (self->setValue)(*(CChitin::vtbl*)tolua_tousertype_dynamic(L, 2, 0, "CChitin::vtbl")); return 0; } @@ -68213,7 +70449,7 @@ static int tolua_function_Pointer_CCallbackBase__vtbl__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CCallbackBase::vtbl*)tolua_tousertype_dynamic(L, 2, 0, "CCallbackBase::vtbl")); + (self->setValue)(*(CCallbackBase::vtbl*)tolua_tousertype_dynamic(L, 2, 0, "CCallbackBase::vtbl")); return 0; } @@ -68237,7 +70473,7 @@ static int tolua_function_Pointer_CCallResult_CSteam_CreateItemResult_t___setVal { Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CCallResult*)tolua_tousertype_dynamic(L, 2, 0, "CCallResult")); + (self->setValue)(*(CCallResult*)tolua_tousertype_dynamic(L, 2, 0, "CCallResult")); return 0; } @@ -68261,7 +70497,7 @@ static int tolua_function_Pointer_CCallResult_CSteam_SteamUGCQueryCompleted_t___ { Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CCallResult*)tolua_tousertype_dynamic(L, 2, 0, "CCallResult")); + (self->setValue)(*(CCallResult*)tolua_tousertype_dynamic(L, 2, 0, "CCallResult")); return 0; } @@ -68285,7 +70521,7 @@ static int tolua_function_Pointer_CCallResult_CSteam_SubmitItemUpdateResult_t___ { Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CCallResult*)tolua_tousertype_dynamic(L, 2, 0, "CCallResult")); + (self->setValue)(*(CCallResult*)tolua_tousertype_dynamic(L, 2, 0, "CCallResult")); return 0; } @@ -68309,7 +70545,7 @@ static int tolua_function_Pointer_CCallResult_CSteam_SteamUGCRequestUGCDetailsRe { Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CCallResult*)tolua_tousertype_dynamic(L, 2, 0, "CCallResult")); + (self->setValue)(*(CCallResult*)tolua_tousertype_dynamic(L, 2, 0, "CCallResult")); return 0; } @@ -68333,7 +70569,7 @@ static int tolua_function_Pointer_CBaldurEngine__vtbl__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CBaldurEngine::vtbl*)tolua_tousertype_dynamic(L, 2, 0, "CBaldurEngine::vtbl")); + (self->setValue)(*(CBaldurEngine::vtbl*)tolua_tousertype_dynamic(L, 2, 0, "CBaldurEngine::vtbl")); return 0; } @@ -68357,7 +70593,7 @@ static int tolua_function_Pointer_CAIIdList__vtbl__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CAIIdList::vtbl*)tolua_tousertype_dynamic(L, 2, 0, "CAIIdList::vtbl")); + (self->setValue)(*(CAIIdList::vtbl*)tolua_tousertype_dynamic(L, 2, 0, "CAIIdList::vtbl")); return 0; } @@ -68381,7 +70617,7 @@ static int tolua_function_Pointer_CAIGroup__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CAIGroup*)tolua_tousertype_dynamic(L, 2, 0, "CAIGroup")); + (self->setValue)(*(CAIGroup*)tolua_tousertype_dynamic(L, 2, 0, "CAIGroup")); return 0; } @@ -68405,7 +70641,7 @@ static int tolua_function_Pointer__BB972E60500CC126FD974613927DE0B4__setValue(lu { Pointer<_BB972E60500CC126FD974613927DE0B4>* self = (Pointer<_BB972E60500CC126FD974613927DE0B4>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer<_BB972E60500CC126FD974613927DE0B4>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(_BB972E60500CC126FD974613927DE0B4*)tolua_tousertype_dynamic(L, 2, 0, "_BB972E60500CC126FD974613927DE0B4")); + (self->setValue)(*(_BB972E60500CC126FD974613927DE0B4*)tolua_tousertype_dynamic(L, 2, 0, "_BB972E60500CC126FD974613927DE0B4")); return 0; } @@ -68429,7 +70665,7 @@ static int tolua_function_Pointer__C0ECD3277D3C6A36B299CABE6156CF21__setValue(lu { Pointer<_C0ECD3277D3C6A36B299CABE6156CF21>* self = (Pointer<_C0ECD3277D3C6A36B299CABE6156CF21>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer<_C0ECD3277D3C6A36B299CABE6156CF21>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(_C0ECD3277D3C6A36B299CABE6156CF21*)tolua_tousertype_dynamic(L, 2, 0, "_C0ECD3277D3C6A36B299CABE6156CF21")); + (self->setValue)(*(_C0ECD3277D3C6A36B299CABE6156CF21*)tolua_tousertype_dynamic(L, 2, 0, "_C0ECD3277D3C6A36B299CABE6156CF21")); return 0; } @@ -68453,7 +70689,7 @@ static int tolua_function_Pointer__E3958E369F0C9F787F3E14F852D69D7E__setValue(lu { Pointer<_E3958E369F0C9F787F3E14F852D69D7E>* self = (Pointer<_E3958E369F0C9F787F3E14F852D69D7E>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer<_E3958E369F0C9F787F3E14F852D69D7E>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(_E3958E369F0C9F787F3E14F852D69D7E*)tolua_tousertype_dynamic(L, 2, 0, "_E3958E369F0C9F787F3E14F852D69D7E")); + (self->setValue)(*(_E3958E369F0C9F787F3E14F852D69D7E*)tolua_tousertype_dynamic(L, 2, 0, "_E3958E369F0C9F787F3E14F852D69D7E")); return 0; } @@ -68477,7 +70713,7 @@ static int tolua_function_Pointer__734DBB4D47315AEC2910FBD1685ECB48__setValue(lu { Pointer<_734DBB4D47315AEC2910FBD1685ECB48>* self = (Pointer<_734DBB4D47315AEC2910FBD1685ECB48>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer<_734DBB4D47315AEC2910FBD1685ECB48>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(_734DBB4D47315AEC2910FBD1685ECB48*)tolua_tousertype_dynamic(L, 2, 0, "_734DBB4D47315AEC2910FBD1685ECB48")); + (self->setValue)(*(_734DBB4D47315AEC2910FBD1685ECB48*)tolua_tousertype_dynamic(L, 2, 0, "_734DBB4D47315AEC2910FBD1685ECB48")); return 0; } @@ -68501,7 +70737,7 @@ static int tolua_function_Pointer_glyphHashTable_t__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(glyphHashTable_t*)tolua_tousertype_dynamic(L, 2, 0, "glyphHashTable_t")); + (self->setValue)(*(glyphHashTable_t*)tolua_tousertype_dynamic(L, 2, 0, "glyphHashTable_t")); return 0; } @@ -68525,7 +70761,7 @@ static int tolua_function_Pointer__SETJMP_FLOAT128__setValue(lua_State* L) { Pointer<_SETJMP_FLOAT128>* self = (Pointer<_SETJMP_FLOAT128>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer<_SETJMP_FLOAT128>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(_SETJMP_FLOAT128*)tolua_tousertype_dynamic(L, 2, 0, "_SETJMP_FLOAT128")); + (self->setValue)(*(_SETJMP_FLOAT128*)tolua_tousertype_dynamic(L, 2, 0, "_SETJMP_FLOAT128")); return 0; } @@ -68549,7 +70785,7 @@ static int tolua_function_Pointer__SETJMP_FLOAT128___getValue(lua_State* L) { Pointer<_SETJMP_FLOAT128*>* self = (Pointer<_SETJMP_FLOAT128*>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer<_SETJMP_FLOAT128*>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - _SETJMP_FLOAT128* returnVal = self->getValue(); + _SETJMP_FLOAT128* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "_SETJMP_FLOAT128"); return 1; } @@ -68558,7 +70794,7 @@ static int tolua_function_Pointer__SETJMP_FLOAT128___setValue(lua_State* L) { Pointer<_SETJMP_FLOAT128*>* self = (Pointer<_SETJMP_FLOAT128*>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer<_SETJMP_FLOAT128*>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((_SETJMP_FLOAT128*)tolua_tousertype_dynamic(L, 2, 0, "_SETJMP_FLOAT128")); + (self->setValue)((_SETJMP_FLOAT128*)tolua_tousertype_dynamic(L, 2, 0, "_SETJMP_FLOAT128")); return 0; } @@ -68582,7 +70818,31 @@ static int tolua_function_Pointer__GUID__setValue(lua_State* L) { Pointer<_GUID>* self = (Pointer<_GUID>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer<_GUID>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(_GUID*)tolua_tousertype_dynamic(L, 2, 0, "_GUID")); + (self->setValue)(*(_GUID*)tolua_tousertype_dynamic(L, 2, 0, "_GUID")); + return 0; +} + +static int tolua_get_Pointer_SDL_VideoDevice__gl_config_t__reference(lua_State* L) +{ + Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'reference'", NULL); + tolua_pushusertype(L, (void*)self->reference, "SDL_VideoDevice::gl_config_t"); + return 1; +} + +static int tolua_set_Pointer_SDL_VideoDevice__gl_config_t__reference(lua_State* L) +{ + Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'reference'", NULL); + self->reference = (SDL_VideoDevice::gl_config_t*)tolua_tousertype_dynamic(L, 2, 0, "SDL_VideoDevice::gl_config_t"); + return 0; +} + +static int tolua_function_Pointer_SDL_VideoDevice__gl_config_t__setValue(lua_State* L) +{ + Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); + (self->setValue)(*(SDL_VideoDevice::gl_config_t*)tolua_tousertype_dynamic(L, 2, 0, "SDL_VideoDevice::gl_config_t")); return 0; } @@ -68606,7 +70866,7 @@ static int tolua_function_Pointer_LClosure__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(LClosure*)tolua_tousertype_dynamic(L, 2, 0, "LClosure")); + (self->setValue)(*(LClosure*)tolua_tousertype_dynamic(L, 2, 0, "LClosure")); return 0; } @@ -68630,7 +70890,7 @@ static int tolua_function_Pointer_LCharString_32___setValue(lua_State* L) { Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(LCharString<32>*)tolua_tousertype_dynamic(L, 2, 0, "LCharString<32>")); + (self->setValue)(*(LCharString<32>*)tolua_tousertype_dynamic(L, 2, 0, "LCharString<32>")); return 0; } @@ -68654,7 +70914,7 @@ static int tolua_function_Pointer_LCharString_4___setValue(lua_State* L) { Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(LCharString<4>*)tolua_tousertype_dynamic(L, 2, 0, "LCharString<4>")); + (self->setValue)(*(LCharString<4>*)tolua_tousertype_dynamic(L, 2, 0, "LCharString<4>")); return 0; } @@ -68678,7 +70938,7 @@ static int tolua_function_Pointer_LCharString_8___setValue(lua_State* L) { Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(LCharString<8>*)tolua_tousertype_dynamic(L, 2, 0, "LCharString<8>")); + (self->setValue)(*(LCharString<8>*)tolua_tousertype_dynamic(L, 2, 0, "LCharString<8>")); return 0; } @@ -68702,7 +70962,7 @@ static int tolua_function_Pointer_LCharString_2___setValue(lua_State* L) { Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(LCharString<2>*)tolua_tousertype_dynamic(L, 2, 0, "LCharString<2>")); + (self->setValue)(*(LCharString<2>*)tolua_tousertype_dynamic(L, 2, 0, "LCharString<2>")); return 0; } @@ -68726,7 +70986,7 @@ static int tolua_function_Pointer_LCharString_260___setValue(lua_State* L) { Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(LCharString<260>*)tolua_tousertype_dynamic(L, 2, 0, "LCharString<260>")); + (self->setValue)(*(LCharString<260>*)tolua_tousertype_dynamic(L, 2, 0, "LCharString<260>")); return 0; } @@ -68750,7 +71010,7 @@ static int tolua_function_Pointer_LCharString_8000___setValue(lua_State* L) { Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(LCharString<8000>*)tolua_tousertype_dynamic(L, 2, 0, "LCharString<8000>")); + (self->setValue)(*(LCharString<8000>*)tolua_tousertype_dynamic(L, 2, 0, "LCharString<8000>")); return 0; } @@ -68774,7 +71034,7 @@ static int tolua_function_Pointer_LCharString_1025___setValue(lua_State* L) { Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(LCharString<1025>*)tolua_tousertype_dynamic(L, 2, 0, "LCharString<1025>")); + (self->setValue)(*(LCharString<1025>*)tolua_tousertype_dynamic(L, 2, 0, "LCharString<1025>")); return 0; } @@ -68798,7 +71058,7 @@ static int tolua_function_Pointer_LCharString_129___setValue(lua_State* L) { Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(LCharString<129>*)tolua_tousertype_dynamic(L, 2, 0, "LCharString<129>")); + (self->setValue)(*(LCharString<129>*)tolua_tousertype_dynamic(L, 2, 0, "LCharString<129>")); return 0; } @@ -68822,7 +71082,7 @@ static int tolua_function_Pointer_LCharString_256___setValue(lua_State* L) { Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(LCharString<256>*)tolua_tousertype_dynamic(L, 2, 0, "LCharString<256>")); + (self->setValue)(*(LCharString<256>*)tolua_tousertype_dynamic(L, 2, 0, "LCharString<256>")); return 0; } @@ -68846,7 +71106,7 @@ static int tolua_function_Pointer_CResBinary__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CResBinary*)tolua_tousertype_dynamic(L, 2, 0, "CResBinary")); + (self->setValue)(*(CResBinary*)tolua_tousertype_dynamic(L, 2, 0, "CResBinary")); return 0; } @@ -68870,7 +71130,7 @@ static int tolua_function_Pointer_CAreaVariable__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CAreaVariable*)tolua_tousertype_dynamic(L, 2, 0, "CAreaVariable")); + (self->setValue)(*(CAreaVariable*)tolua_tousertype_dynamic(L, 2, 0, "CAreaVariable")); return 0; } @@ -68894,7 +71154,7 @@ static int tolua_function_Pointer_CMessageSetVariableAll__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMessageSetVariableAll*)tolua_tousertype_dynamic(L, 2, 0, "CMessageSetVariableAll")); + (self->setValue)(*(CMessageSetVariableAll*)tolua_tousertype_dynamic(L, 2, 0, "CMessageSetVariableAll")); return 0; } @@ -68918,7 +71178,7 @@ static int tolua_function_Pointer_SteamUGCQueryCompleted_t__setValue(lua_State* { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(SteamUGCQueryCompleted_t*)tolua_tousertype_dynamic(L, 2, 0, "SteamUGCQueryCompleted_t")); + (self->setValue)(*(SteamUGCQueryCompleted_t*)tolua_tousertype_dynamic(L, 2, 0, "SteamUGCQueryCompleted_t")); return 0; } @@ -68942,7 +71202,7 @@ static int tolua_function_Pointer_SteamUGCQueryCompleted_t___getValue(lua_State* { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - SteamUGCQueryCompleted_t* returnVal = self->getValue(); + SteamUGCQueryCompleted_t* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "SteamUGCQueryCompleted_t"); return 1; } @@ -68951,7 +71211,7 @@ static int tolua_function_Pointer_SteamUGCQueryCompleted_t___setValue(lua_State* { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((SteamUGCQueryCompleted_t*)tolua_tousertype_dynamic(L, 2, 0, "SteamUGCQueryCompleted_t")); + (self->setValue)((SteamUGCQueryCompleted_t*)tolua_tousertype_dynamic(L, 2, 0, "SteamUGCQueryCompleted_t")); return 0; } @@ -68975,7 +71235,7 @@ static int tolua_function_Pointer_SteamUGCRequestUGCDetailsResult_t__setValue(lu { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(SteamUGCRequestUGCDetailsResult_t*)tolua_tousertype_dynamic(L, 2, 0, "SteamUGCRequestUGCDetailsResult_t")); + (self->setValue)(*(SteamUGCRequestUGCDetailsResult_t*)tolua_tousertype_dynamic(L, 2, 0, "SteamUGCRequestUGCDetailsResult_t")); return 0; } @@ -68999,7 +71259,7 @@ static int tolua_function_Pointer_SteamUGCRequestUGCDetailsResult_t___getValue(l { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - SteamUGCRequestUGCDetailsResult_t* returnVal = self->getValue(); + SteamUGCRequestUGCDetailsResult_t* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "SteamUGCRequestUGCDetailsResult_t"); return 1; } @@ -69008,7 +71268,7 @@ static int tolua_function_Pointer_SteamUGCRequestUGCDetailsResult_t___setValue(l { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((SteamUGCRequestUGCDetailsResult_t*)tolua_tousertype_dynamic(L, 2, 0, "SteamUGCRequestUGCDetailsResult_t")); + (self->setValue)((SteamUGCRequestUGCDetailsResult_t*)tolua_tousertype_dynamic(L, 2, 0, "SteamUGCRequestUGCDetailsResult_t")); return 0; } @@ -69032,7 +71292,7 @@ static int tolua_function_Pointer_SDL_TextInputEvent__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(SDL_TextInputEvent*)tolua_tousertype_dynamic(L, 2, 0, "SDL_TextInputEvent")); + (self->setValue)(*(SDL_TextInputEvent*)tolua_tousertype_dynamic(L, 2, 0, "SDL_TextInputEvent")); return 0; } @@ -69056,7 +71316,7 @@ static int tolua_function_Pointer_SDL_TextEditingEvent__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(SDL_TextEditingEvent*)tolua_tousertype_dynamic(L, 2, 0, "SDL_TextEditingEvent")); + (self->setValue)(*(SDL_TextEditingEvent*)tolua_tousertype_dynamic(L, 2, 0, "SDL_TextEditingEvent")); return 0; } @@ -69080,7 +71340,7 @@ static int tolua_function_Pointer_CVisualEffectBase__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CVisualEffectBase*)tolua_tousertype_dynamic(L, 2, 0, "CVisualEffectBase")); + (self->setValue)(*(CVisualEffectBase*)tolua_tousertype_dynamic(L, 2, 0, "CVisualEffectBase")); return 0; } @@ -69104,7 +71364,7 @@ static int tolua_function_Pointer_CVisibilityMap__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CVisibilityMap*)tolua_tousertype_dynamic(L, 2, 0, "CVisibilityMap")); + (self->setValue)(*(CVisibilityMap*)tolua_tousertype_dynamic(L, 2, 0, "CVisibilityMap")); return 0; } @@ -69128,7 +71388,7 @@ static int tolua_function_Pointer_CVidImage__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CVidImage*)tolua_tousertype_dynamic(L, 2, 0, "CVidImage")); + (self->setValue)(*(CVidImage*)tolua_tousertype_dynamic(L, 2, 0, "CVidImage")); return 0; } @@ -69152,7 +71412,7 @@ static int tolua_function_Pointer_CVidTile__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CVidTile*)tolua_tousertype_dynamic(L, 2, 0, "CVidTile")); + (self->setValue)(*(CVidTile*)tolua_tousertype_dynamic(L, 2, 0, "CVidTile")); return 0; } @@ -69176,7 +71436,7 @@ static int tolua_function_Pointer_CTlkTable__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CTlkTable*)tolua_tousertype_dynamic(L, 2, 0, "CTlkTable")); + (self->setValue)(*(CTlkTable*)tolua_tousertype_dynamic(L, 2, 0, "CTlkTable")); return 0; } @@ -69200,7 +71460,7 @@ static int tolua_function_Pointer_CSteam__SubscribedItems__setValue(lua_State* L { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CSteam::SubscribedItems*)tolua_tousertype_dynamic(L, 2, 0, "CSteam::SubscribedItems")); + (self->setValue)(*(CSteam::SubscribedItems*)tolua_tousertype_dynamic(L, 2, 0, "CSteam::SubscribedItems")); return 0; } @@ -69224,7 +71484,7 @@ static int tolua_function_Pointer_CSteam__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CSteam*)tolua_tousertype_dynamic(L, 2, 0, "CSteam")); + (self->setValue)(*(CSteam*)tolua_tousertype_dynamic(L, 2, 0, "CSteam")); return 0; } @@ -69248,7 +71508,7 @@ static int tolua_function_Pointer_CSteam___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CSteam* returnVal = self->getValue(); + CSteam* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CSteam"); return 1; } @@ -69257,7 +71517,7 @@ static int tolua_function_Pointer_CSteam___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CSteam*)tolua_tousertype_dynamic(L, 2, 0, "CSteam")); + (self->setValue)((CSteam*)tolua_tousertype_dynamic(L, 2, 0, "CSteam")); return 0; } @@ -69281,7 +71541,7 @@ static int tolua_function_Pointer_CGameAnimationType__vtbl__setValue(lua_State* { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CGameAnimationType::vtbl*)tolua_tousertype_dynamic(L, 2, 0, "CGameAnimationType::vtbl")); + (self->setValue)(*(CGameAnimationType::vtbl*)tolua_tousertype_dynamic(L, 2, 0, "CGameAnimationType::vtbl")); return 0; } @@ -69305,7 +71565,7 @@ static int tolua_function_Pointer_CMessageAddVVCInternal__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMessageAddVVCInternal*)tolua_tousertype_dynamic(L, 2, 0, "CMessageAddVVCInternal")); + (self->setValue)(*(CMessageAddVVCInternal*)tolua_tousertype_dynamic(L, 2, 0, "CMessageAddVVCInternal")); return 0; } @@ -69329,7 +71589,7 @@ static int tolua_function_Pointer_CMessageChangeStoreMarkup__setValue(lua_State* { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMessageChangeStoreMarkup*)tolua_tousertype_dynamic(L, 2, 0, "CMessageChangeStoreMarkup")); + (self->setValue)(*(CMessageChangeStoreMarkup*)tolua_tousertype_dynamic(L, 2, 0, "CMessageChangeStoreMarkup")); return 0; } @@ -69353,7 +71613,7 @@ static int tolua_function_Pointer_CMessageCleanAir__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMessageCleanAir*)tolua_tousertype_dynamic(L, 2, 0, "CMessageCleanAir")); + (self->setValue)(*(CMessageCleanAir*)tolua_tousertype_dynamic(L, 2, 0, "CMessageCleanAir")); return 0; } @@ -69377,7 +71637,7 @@ static int tolua_function_Pointer_CMessageDreamScriptResRef__setValue(lua_State* { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMessageDreamScriptResRef*)tolua_tousertype_dynamic(L, 2, 0, "CMessageDreamScriptResRef")); + (self->setValue)(*(CMessageDreamScriptResRef*)tolua_tousertype_dynamic(L, 2, 0, "CMessageDreamScriptResRef")); return 0; } @@ -69401,7 +71661,7 @@ static int tolua_function_Pointer_CMessageFamiliarRemoveResRef__setValue(lua_Sta { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMessageFamiliarRemoveResRef*)tolua_tousertype_dynamic(L, 2, 0, "CMessageFamiliarRemoveResRef")); + (self->setValue)(*(CMessageFamiliarRemoveResRef*)tolua_tousertype_dynamic(L, 2, 0, "CMessageFamiliarRemoveResRef")); return 0; } @@ -69425,7 +71685,7 @@ static int tolua_function_Pointer_CMessageForceRandomEncounter__setValue(lua_Sta { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMessageForceRandomEncounter*)tolua_tousertype_dynamic(L, 2, 0, "CMessageForceRandomEncounter")); + (self->setValue)(*(CMessageForceRandomEncounter*)tolua_tousertype_dynamic(L, 2, 0, "CMessageForceRandomEncounter")); return 0; } @@ -69449,7 +71709,7 @@ static int tolua_function_Pointer_CMessagePlaySoundRef__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMessagePlaySoundRef*)tolua_tousertype_dynamic(L, 2, 0, "CMessagePlaySoundRef")); + (self->setValue)(*(CMessagePlaySoundRef*)tolua_tousertype_dynamic(L, 2, 0, "CMessagePlaySoundRef")); return 0; } @@ -69473,7 +71733,7 @@ static int tolua_function_Pointer_CMessageRemoveVVCInternal__setValue(lua_State* { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMessageRemoveVVCInternal*)tolua_tousertype_dynamic(L, 2, 0, "CMessageRemoveVVCInternal")); + (self->setValue)(*(CMessageRemoveVVCInternal*)tolua_tousertype_dynamic(L, 2, 0, "CMessageRemoveVVCInternal")); return 0; } @@ -69497,7 +71757,7 @@ static int tolua_function_Pointer_CMessageSetAreaScript__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMessageSetAreaScript*)tolua_tousertype_dynamic(L, 2, 0, "CMessageSetAreaScript")); + (self->setValue)(*(CMessageSetAreaScript*)tolua_tousertype_dynamic(L, 2, 0, "CMessageSetAreaScript")); return 0; } @@ -69521,7 +71781,7 @@ static int tolua_function_Pointer_CMessageSetCampaign__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMessageSetCampaign*)tolua_tousertype_dynamic(L, 2, 0, "CMessageSetCampaign")); + (self->setValue)(*(CMessageSetCampaign*)tolua_tousertype_dynamic(L, 2, 0, "CMessageSetCampaign")); return 0; } @@ -69545,7 +71805,7 @@ static int tolua_function_Pointer_CMessageSetCurrentArea__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMessageSetCurrentArea*)tolua_tousertype_dynamic(L, 2, 0, "CMessageSetCurrentArea")); + (self->setValue)(*(CMessageSetCurrentArea*)tolua_tousertype_dynamic(L, 2, 0, "CMessageSetCurrentArea")); return 0; } @@ -69569,7 +71829,7 @@ static int tolua_function_Pointer_CMessageSetDialogResRef__setValue(lua_State* L { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMessageSetDialogResRef*)tolua_tousertype_dynamic(L, 2, 0, "CMessageSetDialogResRef")); + (self->setValue)(*(CMessageSetDialogResRef*)tolua_tousertype_dynamic(L, 2, 0, "CMessageSetDialogResRef")); return 0; } @@ -69593,7 +71853,7 @@ static int tolua_function_Pointer_CMessageSetMusic__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMessageSetMusic*)tolua_tousertype_dynamic(L, 2, 0, "CMessageSetMusic")); + (self->setValue)(*(CMessageSetMusic*)tolua_tousertype_dynamic(L, 2, 0, "CMessageSetMusic")); return 0; } @@ -69617,7 +71877,7 @@ static int tolua_function_Pointer_CMessageSetPortraitLarge__setValue(lua_State* { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMessageSetPortraitLarge*)tolua_tousertype_dynamic(L, 2, 0, "CMessageSetPortraitLarge")); + (self->setValue)(*(CMessageSetPortraitLarge*)tolua_tousertype_dynamic(L, 2, 0, "CMessageSetPortraitLarge")); return 0; } @@ -69641,7 +71901,7 @@ static int tolua_function_Pointer_CMessageSetPortraitSmall__setValue(lua_State* { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMessageSetPortraitSmall*)tolua_tousertype_dynamic(L, 2, 0, "CMessageSetPortraitSmall")); + (self->setValue)(*(CMessageSetPortraitSmall*)tolua_tousertype_dynamic(L, 2, 0, "CMessageSetPortraitSmall")); return 0; } @@ -69665,7 +71925,7 @@ static int tolua_function_Pointer_CMessageSetRestEncounterProbability__setValue( { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMessageSetRestEncounterProbability*)tolua_tousertype_dynamic(L, 2, 0, "CMessageSetRestEncounterProbability")); + (self->setValue)(*(CMessageSetRestEncounterProbability*)tolua_tousertype_dynamic(L, 2, 0, "CMessageSetRestEncounterProbability")); return 0; } @@ -69689,7 +71949,7 @@ static int tolua_function_Pointer_CMessageSetWorldmap__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMessageSetWorldmap*)tolua_tousertype_dynamic(L, 2, 0, "CMessageSetWorldmap")); + (self->setValue)(*(CMessageSetWorldmap*)tolua_tousertype_dynamic(L, 2, 0, "CMessageSetWorldmap")); return 0; } @@ -69713,7 +71973,7 @@ static int tolua_function_Pointer_CMessageSetWorldmapAreaFlag__setValue(lua_Stat { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMessageSetWorldmapAreaFlag*)tolua_tousertype_dynamic(L, 2, 0, "CMessageSetWorldmapAreaFlag")); + (self->setValue)(*(CMessageSetWorldmapAreaFlag*)tolua_tousertype_dynamic(L, 2, 0, "CMessageSetWorldmapAreaFlag")); return 0; } @@ -69737,7 +71997,7 @@ static int tolua_function_Pointer_CMessageStartTextScreen__setValue(lua_State* L { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMessageStartTextScreen*)tolua_tousertype_dynamic(L, 2, 0, "CMessageStartTextScreen")); + (self->setValue)(*(CMessageStartTextScreen*)tolua_tousertype_dynamic(L, 2, 0, "CMessageStartTextScreen")); return 0; } @@ -69761,7 +72021,7 @@ static int tolua_function_Pointer_CMessageStartVEF__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMessageStartVEF*)tolua_tousertype_dynamic(L, 2, 0, "CMessageStartVEF")); + (self->setValue)(*(CMessageStartVEF*)tolua_tousertype_dynamic(L, 2, 0, "CMessageStartVEF")); return 0; } @@ -69785,7 +72045,7 @@ static int tolua_function_Pointer_CMessageStaticPalette__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMessageStaticPalette*)tolua_tousertype_dynamic(L, 2, 0, "CMessageStaticPalette")); + (self->setValue)(*(CMessageStaticPalette*)tolua_tousertype_dynamic(L, 2, 0, "CMessageStaticPalette")); return 0; } @@ -69809,7 +72069,7 @@ static int tolua_function_Pointer_CMessageStoreDemand__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMessageStoreDemand*)tolua_tousertype_dynamic(L, 2, 0, "CMessageStoreDemand")); + (self->setValue)(*(CMessageStoreDemand*)tolua_tousertype_dynamic(L, 2, 0, "CMessageStoreDemand")); return 0; } @@ -69833,7 +72093,7 @@ static int tolua_function_Pointer_CMessageStoreRelease__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMessageStoreRelease*)tolua_tousertype_dynamic(L, 2, 0, "CMessageStoreRelease")); + (self->setValue)(*(CMessageStoreRelease*)tolua_tousertype_dynamic(L, 2, 0, "CMessageStoreRelease")); return 0; } @@ -69857,7 +72117,7 @@ static int tolua_function_Pointer_CMessageStoreRemoveItem__setValue(lua_State* L { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMessageStoreRemoveItem*)tolua_tousertype_dynamic(L, 2, 0, "CMessageStoreRemoveItem")); + (self->setValue)(*(CMessageStoreRemoveItem*)tolua_tousertype_dynamic(L, 2, 0, "CMessageStoreRemoveItem")); return 0; } @@ -69881,7 +72141,7 @@ static int tolua_function_Pointer_CMessageStoreReplaceItem__setValue(lua_State* { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMessageStoreReplaceItem*)tolua_tousertype_dynamic(L, 2, 0, "CMessageStoreReplaceItem")); + (self->setValue)(*(CMessageStoreReplaceItem*)tolua_tousertype_dynamic(L, 2, 0, "CMessageStoreReplaceItem")); return 0; } @@ -69905,7 +72165,7 @@ static int tolua_function_Pointer_CMessageUpdateScript__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMessageUpdateScript*)tolua_tousertype_dynamic(L, 2, 0, "CMessageUpdateScript")); + (self->setValue)(*(CMessageUpdateScript*)tolua_tousertype_dynamic(L, 2, 0, "CMessageUpdateScript")); return 0; } @@ -69929,7 +72189,7 @@ static int tolua_function_Pointer_CResHelper_CResText_1012___setValue(lua_State* { Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CResHelper*)tolua_tousertype_dynamic(L, 2, 0, "CResHelper")); + (self->setValue)(*(CResHelper*)tolua_tousertype_dynamic(L, 2, 0, "CResHelper")); return 0; } @@ -69953,7 +72213,7 @@ static int tolua_function_Pointer_CResHelper_CResText_1008___setValue(lua_State* { Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CResHelper*)tolua_tousertype_dynamic(L, 2, 0, "CResHelper")); + (self->setValue)(*(CResHelper*)tolua_tousertype_dynamic(L, 2, 0, "CResHelper")); return 0; } @@ -69977,7 +72237,7 @@ static int tolua_function_Pointer_CResHelper_CResSpell_1006___setValue(lua_State { Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CResHelper*)tolua_tousertype_dynamic(L, 2, 0, "CResHelper")); + (self->setValue)(*(CResHelper*)tolua_tousertype_dynamic(L, 2, 0, "CResHelper")); return 0; } @@ -70001,7 +72261,7 @@ static int tolua_function_Pointer_CResHelper_CResItem_1005___setValue(lua_State* { Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CResHelper*)tolua_tousertype_dynamic(L, 2, 0, "CResHelper")); + (self->setValue)(*(CResHelper*)tolua_tousertype_dynamic(L, 2, 0, "CResHelper")); return 0; } @@ -70025,7 +72285,7 @@ static int tolua_function_Pointer_CResHelper_CResWave_4___setValue(lua_State* L) { Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CResHelper*)tolua_tousertype_dynamic(L, 2, 0, "CResHelper")); + (self->setValue)(*(CResHelper*)tolua_tousertype_dynamic(L, 2, 0, "CResHelper")); return 0; } @@ -70049,7 +72309,7 @@ static int tolua_function_Pointer_CResHelper_CResBitmap_1___setValue(lua_State* { Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CResHelper*)tolua_tousertype_dynamic(L, 2, 0, "CResHelper")); + (self->setValue)(*(CResHelper*)tolua_tousertype_dynamic(L, 2, 0, "CResHelper")); return 0; } @@ -70073,7 +72333,7 @@ static int tolua_function_Pointer_CResHelper_CResFont_1034___setValue(lua_State* { Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CResHelper*)tolua_tousertype_dynamic(L, 2, 0, "CResHelper")); + (self->setValue)(*(CResHelper*)tolua_tousertype_dynamic(L, 2, 0, "CResHelper")); return 0; } @@ -70097,7 +72357,7 @@ static int tolua_function_Pointer_CResHelper_CResCell_1000___setValue(lua_State* { Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CResHelper*)tolua_tousertype_dynamic(L, 2, 0, "CResHelper")); + (self->setValue)(*(CResHelper*)tolua_tousertype_dynamic(L, 2, 0, "CResHelper")); return 0; } @@ -70121,7 +72381,7 @@ static int tolua_function_Pointer_CResHelper_CResGame_1013___setValue(lua_State* { Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CResHelper*)tolua_tousertype_dynamic(L, 2, 0, "CResHelper")); + (self->setValue)(*(CResHelper*)tolua_tousertype_dynamic(L, 2, 0, "CResHelper")); return 0; } @@ -70145,7 +72405,7 @@ static int tolua_function_Pointer_CResHelper_CResMosaic_1004___setValue(lua_Stat { Pointer>* self = (Pointer>*)tolua_tousertype_dynamic(L, 1, 0, "Pointer>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CResHelper*)tolua_tousertype_dynamic(L, 2, 0, "CResHelper")); + (self->setValue)(*(CResHelper*)tolua_tousertype_dynamic(L, 2, 0, "CResHelper")); return 0; } @@ -70169,7 +72429,7 @@ static int tolua_function_Pointer_CVidMosaic__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CVidMosaic*)tolua_tousertype_dynamic(L, 2, 0, "CVidMosaic")); + (self->setValue)(*(CVidMosaic*)tolua_tousertype_dynamic(L, 2, 0, "CVidMosaic")); return 0; } @@ -70193,7 +72453,7 @@ static int tolua_function_Pointer_CWeather__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CWeather*)tolua_tousertype_dynamic(L, 2, 0, "CWeather")); + (self->setValue)(*(CWeather*)tolua_tousertype_dynamic(L, 2, 0, "CWeather")); return 0; } @@ -70217,7 +72477,7 @@ static int tolua_function_Pointer_CInfButtonSettings__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CInfButtonSettings*)tolua_tousertype_dynamic(L, 2, 0, "CInfButtonSettings")); + (self->setValue)(*(CInfButtonSettings*)tolua_tousertype_dynamic(L, 2, 0, "CInfButtonSettings")); return 0; } @@ -70241,7 +72501,7 @@ static int tolua_function_Pointer_CInfButtonSettings___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CInfButtonSettings* returnVal = self->getValue(); + CInfButtonSettings* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CInfButtonSettings"); return 1; } @@ -70250,7 +72510,7 @@ static int tolua_function_Pointer_CInfButtonSettings___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CInfButtonSettings*)tolua_tousertype_dynamic(L, 2, 0, "CInfButtonSettings")); + (self->setValue)((CInfButtonSettings*)tolua_tousertype_dynamic(L, 2, 0, "CInfButtonSettings")); return 0; } @@ -70274,7 +72534,7 @@ static int tolua_function_Pointer_CVidFont__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CVidFont*)tolua_tousertype_dynamic(L, 2, 0, "CVidFont")); + (self->setValue)(*(CVidFont*)tolua_tousertype_dynamic(L, 2, 0, "CVidFont")); return 0; } @@ -70298,7 +72558,7 @@ static int tolua_function_Pointer_CCacheStatus__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CCacheStatus*)tolua_tousertype_dynamic(L, 2, 0, "CCacheStatus")); + (self->setValue)(*(CCacheStatus*)tolua_tousertype_dynamic(L, 2, 0, "CCacheStatus")); return 0; } @@ -70322,7 +72582,7 @@ static int tolua_function_Pointer_CInfToolTip__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CInfToolTip*)tolua_tousertype_dynamic(L, 2, 0, "EEex_CInfToolTip")); + (self->setValue)(*(CInfToolTip*)tolua_tousertype_dynamic(L, 2, 0, "EEex_CInfToolTip")); return 0; } @@ -70346,7 +72606,7 @@ static int tolua_function_Pointer_CAreaFileHeader__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CAreaFileHeader*)tolua_tousertype_dynamic(L, 2, 0, "CAreaFileHeader")); + (self->setValue)(*(CAreaFileHeader*)tolua_tousertype_dynamic(L, 2, 0, "CAreaFileHeader")); return 0; } @@ -70370,7 +72630,7 @@ static int tolua_function_Pointer_CAreaFileStaticObject__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CAreaFileStaticObject*)tolua_tousertype_dynamic(L, 2, 0, "CAreaFileStaticObject")); + (self->setValue)(*(CAreaFileStaticObject*)tolua_tousertype_dynamic(L, 2, 0, "CAreaFileStaticObject")); return 0; } @@ -70394,7 +72654,7 @@ static int tolua_function_Pointer_CGameStatsRes__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CGameStatsRes*)tolua_tousertype_dynamic(L, 2, 0, "CGameStatsRes")); + (self->setValue)(*(CGameStatsRes*)tolua_tousertype_dynamic(L, 2, 0, "CGameStatsRes")); return 0; } @@ -70418,7 +72678,7 @@ static int tolua_function_Pointer_CGameStatsRes___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CGameStatsRes* returnVal = self->getValue(); + CGameStatsRes* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CGameStatsRes"); return 1; } @@ -70427,7 +72687,7 @@ static int tolua_function_Pointer_CGameStatsRes___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CGameStatsRes*)tolua_tousertype_dynamic(L, 2, 0, "CGameStatsRes")); + (self->setValue)((CGameStatsRes*)tolua_tousertype_dynamic(L, 2, 0, "CGameStatsRes")); return 0; } @@ -70451,7 +72711,7 @@ static int tolua_function_Pointer_CWorldMap__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CWorldMap*)tolua_tousertype_dynamic(L, 2, 0, "CWorldMap")); + (self->setValue)(*(CWorldMap*)tolua_tousertype_dynamic(L, 2, 0, "CWorldMap")); return 0; } @@ -70475,7 +72735,7 @@ static int tolua_function_Pointer_CVEFVidCellBase__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CVEFVidCellBase*)tolua_tousertype_dynamic(L, 2, 0, "CVEFVidCellBase")); + (self->setValue)(*(CVEFVidCellBase*)tolua_tousertype_dynamic(L, 2, 0, "CVEFVidCellBase")); return 0; } @@ -70499,7 +72759,7 @@ static int tolua_function_Pointer_CStoreFileHeader__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CStoreFileHeader*)tolua_tousertype_dynamic(L, 2, 0, "CStoreFileHeader")); + (self->setValue)(*(CStoreFileHeader*)tolua_tousertype_dynamic(L, 2, 0, "CStoreFileHeader")); return 0; } @@ -70523,7 +72783,7 @@ static int tolua_function_Pointer_CRuleTables__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CRuleTables*)tolua_tousertype_dynamic(L, 2, 0, "CRuleTables")); + (self->setValue)(*(CRuleTables*)tolua_tousertype_dynamic(L, 2, 0, "CRuleTables")); return 0; } @@ -70547,7 +72807,7 @@ static int tolua_function_Pointer_CProjectileFileFormat__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CProjectileFileFormat*)tolua_tousertype_dynamic(L, 2, 0, "CProjectileFileFormat")); + (self->setValue)(*(CProjectileFileFormat*)tolua_tousertype_dynamic(L, 2, 0, "CProjectileFileFormat")); return 0; } @@ -70571,7 +72831,7 @@ static int tolua_function_Pointer_CProjectileBAMFileFormat__setValue(lua_State* { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CProjectileBAMFileFormat*)tolua_tousertype_dynamic(L, 2, 0, "CProjectileBAMFileFormat")); + (self->setValue)(*(CProjectileBAMFileFormat*)tolua_tousertype_dynamic(L, 2, 0, "CProjectileBAMFileFormat")); return 0; } @@ -70595,7 +72855,7 @@ static int tolua_function_Pointer_CProjectileAreaFileFormat__setValue(lua_State* { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CProjectileAreaFileFormat*)tolua_tousertype_dynamic(L, 2, 0, "CProjectileAreaFileFormat")); + (self->setValue)(*(CProjectileAreaFileFormat*)tolua_tousertype_dynamic(L, 2, 0, "CProjectileAreaFileFormat")); return 0; } @@ -70619,7 +72879,7 @@ static int tolua_function_Pointer_CProgressBar__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CProgressBar*)tolua_tousertype_dynamic(L, 2, 0, "CProgressBar")); + (self->setValue)(*(CProgressBar*)tolua_tousertype_dynamic(L, 2, 0, "CProgressBar")); return 0; } @@ -70643,7 +72903,7 @@ static int tolua_function_Pointer_CNetworkWindow__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CNetworkWindow*)tolua_tousertype_dynamic(L, 2, 0, "CNetworkWindow")); + (self->setValue)(*(CNetworkWindow*)tolua_tousertype_dynamic(L, 2, 0, "CNetworkWindow")); return 0; } @@ -70667,7 +72927,7 @@ static int tolua_function_Pointer_CNetworkWindow___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CNetworkWindow* returnVal = self->getValue(); + CNetworkWindow* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CNetworkWindow"); return 1; } @@ -70676,7 +72936,7 @@ static int tolua_function_Pointer_CNetworkWindow___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CNetworkWindow*)tolua_tousertype_dynamic(L, 2, 0, "CNetworkWindow")); + (self->setValue)((CNetworkWindow*)tolua_tousertype_dynamic(L, 2, 0, "CNetworkWindow")); return 0; } @@ -70700,7 +72960,7 @@ static int tolua_function_Pointer_CNetwork__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CNetwork*)tolua_tousertype_dynamic(L, 2, 0, "CNetwork")); + (self->setValue)(*(CNetwork*)tolua_tousertype_dynamic(L, 2, 0, "CNetwork")); return 0; } @@ -70724,7 +72984,7 @@ static int tolua_function_Pointer_CMessageSpriteUpdate__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMessageSpriteUpdate*)tolua_tousertype_dynamic(L, 2, 0, "CMessageSpriteUpdate")); + (self->setValue)(*(CMessageSpriteUpdate*)tolua_tousertype_dynamic(L, 2, 0, "CMessageSpriteUpdate")); return 0; } @@ -70748,7 +73008,7 @@ static int tolua_function_Pointer_CMessageColorChange__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMessageColorChange*)tolua_tousertype_dynamic(L, 2, 0, "CMessageColorChange")); + (self->setValue)(*(CMessageColorChange*)tolua_tousertype_dynamic(L, 2, 0, "CMessageColorChange")); return 0; } @@ -70772,7 +73032,7 @@ static int tolua_function_Pointer_CMachineStates__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMachineStates*)tolua_tousertype_dynamic(L, 2, 0, "CMachineStates")); + (self->setValue)(*(CMachineStates*)tolua_tousertype_dynamic(L, 2, 0, "CMachineStates")); return 0; } @@ -70796,7 +73056,7 @@ static int tolua_function_Pointer_CMessageTransformItem__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMessageTransformItem*)tolua_tousertype_dynamic(L, 2, 0, "CMessageTransformItem")); + (self->setValue)(*(CMessageTransformItem*)tolua_tousertype_dynamic(L, 2, 0, "CMessageTransformItem")); return 0; } @@ -70820,7 +73080,7 @@ static int tolua_function_Pointer_CMessageReplaceItem__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMessageReplaceItem*)tolua_tousertype_dynamic(L, 2, 0, "CMessageReplaceItem")); + (self->setValue)(*(CMessageReplaceItem*)tolua_tousertype_dynamic(L, 2, 0, "CMessageReplaceItem")); return 0; } @@ -70844,7 +73104,7 @@ static int tolua_function_Pointer_CMessageContainerAddItem__setValue(lua_State* { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMessageContainerAddItem*)tolua_tousertype_dynamic(L, 2, 0, "CMessageContainerAddItem")); + (self->setValue)(*(CMessageContainerAddItem*)tolua_tousertype_dynamic(L, 2, 0, "CMessageContainerAddItem")); return 0; } @@ -70868,7 +73128,7 @@ static int tolua_function_Pointer_CMessageAddItem__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMessageAddItem*)tolua_tousertype_dynamic(L, 2, 0, "CMessageAddItem")); + (self->setValue)(*(CMessageAddItem*)tolua_tousertype_dynamic(L, 2, 0, "CMessageAddItem")); return 0; } @@ -70892,7 +73152,7 @@ static int tolua_function_Pointer_CInfButtonArray__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CInfButtonArray*)tolua_tousertype_dynamic(L, 2, 0, "EEex_CInfButtonArray")); + (self->setValue)(*(CInfButtonArray*)tolua_tousertype_dynamic(L, 2, 0, "EEex_CInfButtonArray")); return 0; } @@ -70916,7 +73176,7 @@ static int tolua_function_Pointer_CImmunitiesSpellLevelDecrementing__setValue(lu { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CImmunitiesSpellLevelDecrementing*)tolua_tousertype_dynamic(L, 2, 0, "CImmunitiesSpellLevelDecrementing")); + (self->setValue)(*(CImmunitiesSpellLevelDecrementing*)tolua_tousertype_dynamic(L, 2, 0, "CImmunitiesSpellLevelDecrementing")); return 0; } @@ -70940,7 +73200,7 @@ static int tolua_function_Pointer_CImmunitiesSpellLevel__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CImmunitiesSpellLevel*)tolua_tousertype_dynamic(L, 2, 0, "CImmunitiesSpellLevel")); + (self->setValue)(*(CImmunitiesSpellLevel*)tolua_tousertype_dynamic(L, 2, 0, "CImmunitiesSpellLevel")); return 0; } @@ -70964,7 +73224,7 @@ static int tolua_function_Pointer_CGameStatsSprite__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CGameStatsSprite*)tolua_tousertype_dynamic(L, 2, 0, "CGameStatsSprite")); + (self->setValue)(*(CGameStatsSprite*)tolua_tousertype_dynamic(L, 2, 0, "CGameStatsSprite")); return 0; } @@ -70988,7 +73248,7 @@ static int tolua_function_Pointer_CGameSpriteLastUpdate__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CGameSpriteLastUpdate*)tolua_tousertype_dynamic(L, 2, 0, "CGameSpriteLastUpdate")); + (self->setValue)(*(CGameSpriteLastUpdate*)tolua_tousertype_dynamic(L, 2, 0, "CGameSpriteLastUpdate")); return 0; } @@ -71012,7 +73272,7 @@ static int tolua_function_Pointer_CGameSpriteEquipment__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CGameSpriteEquipment*)tolua_tousertype_dynamic(L, 2, 0, "CGameSpriteEquipment")); + (self->setValue)(*(CGameSpriteEquipment*)tolua_tousertype_dynamic(L, 2, 0, "CGameSpriteEquipment")); return 0; } @@ -71036,7 +73296,7 @@ static int tolua_function_Pointer_CMessageSpriteEquipment__setValue(lua_State* L { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMessageSpriteEquipment*)tolua_tousertype_dynamic(L, 2, 0, "CMessageSpriteEquipment")); + (self->setValue)(*(CMessageSpriteEquipment*)tolua_tousertype_dynamic(L, 2, 0, "CMessageSpriteEquipment")); return 0; } @@ -71060,7 +73320,7 @@ static int tolua_function_Pointer_CGameSaveCharacter__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CGameSaveCharacter*)tolua_tousertype_dynamic(L, 2, 0, "CGameSaveCharacter")); + (self->setValue)(*(CGameSaveCharacter*)tolua_tousertype_dynamic(L, 2, 0, "CGameSaveCharacter")); return 0; } @@ -71084,7 +73344,7 @@ static int tolua_function_Pointer_CGameSave__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CGameSave*)tolua_tousertype_dynamic(L, 2, 0, "CGameSave")); + (self->setValue)(*(CGameSave*)tolua_tousertype_dynamic(L, 2, 0, "CGameSave")); return 0; } @@ -71108,7 +73368,7 @@ static int tolua_function_Pointer_CGameRemoteObjectArray__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CGameRemoteObjectArray*)tolua_tousertype_dynamic(L, 2, 0, "CGameRemoteObjectArray")); + (self->setValue)(*(CGameRemoteObjectArray*)tolua_tousertype_dynamic(L, 2, 0, "CGameRemoteObjectArray")); return 0; } @@ -71132,7 +73392,7 @@ static int tolua_function_Pointer_CGamePermission__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CGamePermission*)tolua_tousertype_dynamic(L, 2, 0, "CGamePermission")); + (self->setValue)(*(CGamePermission*)tolua_tousertype_dynamic(L, 2, 0, "CGamePermission")); return 0; } @@ -71156,7 +73416,7 @@ static int tolua_function_Pointer_CGamePermission___getValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getValue'", NULL); - CGamePermission* returnVal = self->getValue(); + CGamePermission* returnVal = (self->getValue)(); tolua_pushusertype(L, (void*)returnVal, "CGamePermission"); return 1; } @@ -71165,7 +73425,7 @@ static int tolua_function_Pointer_CGamePermission___setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue((CGamePermission*)tolua_tousertype_dynamic(L, 2, 0, "CGamePermission")); + (self->setValue)((CGamePermission*)tolua_tousertype_dynamic(L, 2, 0, "CGamePermission")); return 0; } @@ -71189,7 +73449,7 @@ static int tolua_function_Pointer_CMultiplayerSettings__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMultiplayerSettings*)tolua_tousertype_dynamic(L, 2, 0, "CMultiplayerSettings")); + (self->setValue)(*(CMultiplayerSettings*)tolua_tousertype_dynamic(L, 2, 0, "CMultiplayerSettings")); return 0; } @@ -71213,7 +73473,7 @@ static int tolua_function_Pointer_CDerivedStatsTemplate__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CDerivedStatsTemplate*)tolua_tousertype_dynamic(L, 2, 0, "CDerivedStatsTemplate")); + (self->setValue)(*(CDerivedStatsTemplate*)tolua_tousertype_dynamic(L, 2, 0, "CDerivedStatsTemplate")); return 0; } @@ -71237,7 +73497,7 @@ static int tolua_function_Pointer_CMessageStoreAddItem__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMessageStoreAddItem*)tolua_tousertype_dynamic(L, 2, 0, "CMessageStoreAddItem")); + (self->setValue)(*(CMessageStoreAddItem*)tolua_tousertype_dynamic(L, 2, 0, "CMessageStoreAddItem")); return 0; } @@ -71261,7 +73521,7 @@ static int tolua_function_Pointer_CClosure__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CClosure*)tolua_tousertype_dynamic(L, 2, 0, "CClosure")); + (self->setValue)(*(CClosure*)tolua_tousertype_dynamic(L, 2, 0, "CClosure")); return 0; } @@ -71285,7 +73545,7 @@ static int tolua_function_Pointer_CBaldurMessage__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CBaldurMessage*)tolua_tousertype_dynamic(L, 2, 0, "CBaldurMessage")); + (self->setValue)(*(CBaldurMessage*)tolua_tousertype_dynamic(L, 2, 0, "CBaldurMessage")); return 0; } @@ -71309,7 +73569,7 @@ static int tolua_function_Pointer_CGameAreaNotes__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CGameAreaNotes*)tolua_tousertype_dynamic(L, 2, 0, "CGameAreaNotes")); + (self->setValue)(*(CGameAreaNotes*)tolua_tousertype_dynamic(L, 2, 0, "CGameAreaNotes")); return 0; } @@ -71333,7 +73593,7 @@ static int tolua_function_Pointer_CAreaSoundsAndMusic__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CAreaSoundsAndMusic*)tolua_tousertype_dynamic(L, 2, 0, "CAreaSoundsAndMusic")); + (self->setValue)(*(CAreaSoundsAndMusic*)tolua_tousertype_dynamic(L, 2, 0, "CAreaSoundsAndMusic")); return 0; } @@ -71357,7 +73617,7 @@ static int tolua_function_Pointer_CAreaFileSoundObject__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CAreaFileSoundObject*)tolua_tousertype_dynamic(L, 2, 0, "CAreaFileSoundObject")); + (self->setValue)(*(CAreaFileSoundObject*)tolua_tousertype_dynamic(L, 2, 0, "CAreaFileSoundObject")); return 0; } @@ -71381,7 +73641,7 @@ static int tolua_function_Pointer_CAreaFileRestEncounter__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CAreaFileRestEncounter*)tolua_tousertype_dynamic(L, 2, 0, "CAreaFileRestEncounter")); + (self->setValue)(*(CAreaFileRestEncounter*)tolua_tousertype_dynamic(L, 2, 0, "CAreaFileRestEncounter")); return 0; } @@ -71405,7 +73665,7 @@ static int tolua_function_Pointer_CAreaFileRandomMonsterSpawningPoint__setValue( { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CAreaFileRandomMonsterSpawningPoint*)tolua_tousertype_dynamic(L, 2, 0, "CAreaFileRandomMonsterSpawningPoint")); + (self->setValue)(*(CAreaFileRandomMonsterSpawningPoint*)tolua_tousertype_dynamic(L, 2, 0, "CAreaFileRandomMonsterSpawningPoint")); return 0; } @@ -71429,7 +73689,7 @@ static int tolua_function_Pointer_CMessageAddAction__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMessageAddAction*)tolua_tousertype_dynamic(L, 2, 0, "CMessageAddAction")); + (self->setValue)(*(CMessageAddAction*)tolua_tousertype_dynamic(L, 2, 0, "CMessageAddAction")); return 0; } @@ -71453,7 +73713,7 @@ static int tolua_function_Pointer_CMessageInsertAction__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMessageInsertAction*)tolua_tousertype_dynamic(L, 2, 0, "CMessageInsertAction")); + (self->setValue)(*(CMessageInsertAction*)tolua_tousertype_dynamic(L, 2, 0, "CMessageInsertAction")); return 0; } @@ -71477,7 +73737,7 @@ static int tolua_function_Pointer_CMessageSetLastObject__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMessageSetLastObject*)tolua_tousertype_dynamic(L, 2, 0, "CMessageSetLastObject")); + (self->setValue)(*(CMessageSetLastObject*)tolua_tousertype_dynamic(L, 2, 0, "CMessageSetLastObject")); return 0; } @@ -71501,7 +73761,7 @@ static int tolua_function_Pointer_CMessageSetLastAttacker__setValue(lua_State* L { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMessageSetLastAttacker*)tolua_tousertype_dynamic(L, 2, 0, "CMessageSetLastAttacker")); + (self->setValue)(*(CMessageSetLastAttacker*)tolua_tousertype_dynamic(L, 2, 0, "CMessageSetLastAttacker")); return 0; } @@ -71525,7 +73785,7 @@ static int tolua_function_Pointer_CMessageEnterStoreMode__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMessageEnterStoreMode*)tolua_tousertype_dynamic(L, 2, 0, "CMessageEnterStoreMode")); + (self->setValue)(*(CMessageEnterStoreMode*)tolua_tousertype_dynamic(L, 2, 0, "CMessageEnterStoreMode")); return 0; } @@ -71549,7 +73809,7 @@ static int tolua_function_Pointer_CGameChunk__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CGameChunk*)tolua_tousertype_dynamic(L, 2, 0, "CGameChunk")); + (self->setValue)(*(CGameChunk*)tolua_tousertype_dynamic(L, 2, 0, "CGameChunk")); return 0; } @@ -71573,7 +73833,7 @@ static int tolua_function_Pointer_CGameFireball3d__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CGameFireball3d*)tolua_tousertype_dynamic(L, 2, 0, "CGameFireball3d")); + (self->setValue)(*(CGameFireball3d*)tolua_tousertype_dynamic(L, 2, 0, "CGameFireball3d")); return 0; } @@ -71597,7 +73857,7 @@ static int tolua_function_Pointer_CGameAIBase__vtbl__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CGameAIBase::vtbl*)tolua_tousertype_dynamic(L, 2, 0, "CGameAIBase::vtbl")); + (self->setValue)(*(CGameAIBase::vtbl*)tolua_tousertype_dynamic(L, 2, 0, "CGameAIBase::vtbl")); return 0; } @@ -71621,7 +73881,7 @@ static int tolua_function_Pointer_CVisualEffect__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CVisualEffect*)tolua_tousertype_dynamic(L, 2, 0, "CVisualEffect")); + (self->setValue)(*(CVisualEffect*)tolua_tousertype_dynamic(L, 2, 0, "CVisualEffect")); return 0; } @@ -71645,7 +73905,7 @@ static int tolua_function_Pointer_CVEFVidCell__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CVEFVidCell*)tolua_tousertype_dynamic(L, 2, 0, "CVEFVidCell")); + (self->setValue)(*(CVEFVidCell*)tolua_tousertype_dynamic(L, 2, 0, "CVEFVidCell")); return 0; } @@ -71669,7 +73929,7 @@ static int tolua_function_Pointer_CSparkleCluster__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CSparkleCluster*)tolua_tousertype_dynamic(L, 2, 0, "CSparkleCluster")); + (self->setValue)(*(CSparkleCluster*)tolua_tousertype_dynamic(L, 2, 0, "CSparkleCluster")); return 0; } @@ -71693,7 +73953,7 @@ static int tolua_function_Pointer_CProjectile__vtbl__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CProjectile::vtbl*)tolua_tousertype_dynamic(L, 2, 0, "CProjectile::vtbl")); + (self->setValue)(*(CProjectile::vtbl*)tolua_tousertype_dynamic(L, 2, 0, "CProjectile::vtbl")); return 0; } @@ -71717,7 +73977,7 @@ static int tolua_function_Pointer_CProjectileTravelDoor__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CProjectileTravelDoor*)tolua_tousertype_dynamic(L, 2, 0, "CProjectileTravelDoor")); + (self->setValue)(*(CProjectileTravelDoor*)tolua_tousertype_dynamic(L, 2, 0, "CProjectileTravelDoor")); return 0; } @@ -71741,7 +74001,7 @@ static int tolua_function_Pointer_CProjectileSpellHit__vtbl__setValue(lua_State* { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CProjectileSpellHit::vtbl*)tolua_tousertype_dynamic(L, 2, 0, "CProjectileSpellHit::vtbl")); + (self->setValue)(*(CProjectileSpellHit::vtbl*)tolua_tousertype_dynamic(L, 2, 0, "CProjectileSpellHit::vtbl")); return 0; } @@ -71765,7 +74025,7 @@ static int tolua_function_Pointer_CProjectileSpellHit__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CProjectileSpellHit*)tolua_tousertype_dynamic(L, 2, 0, "CProjectileSpellHit")); + (self->setValue)(*(CProjectileSpellHit*)tolua_tousertype_dynamic(L, 2, 0, "CProjectileSpellHit")); return 0; } @@ -71789,7 +74049,7 @@ static int tolua_function_Pointer_CProjectileAmbiant__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CProjectileAmbiant*)tolua_tousertype_dynamic(L, 2, 0, "CProjectileAmbiant")); + (self->setValue)(*(CProjectileAmbiant*)tolua_tousertype_dynamic(L, 2, 0, "CProjectileAmbiant")); return 0; } @@ -71813,7 +74073,7 @@ static int tolua_function_Pointer_CProjectileSkyStrike__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CProjectileSkyStrike*)tolua_tousertype_dynamic(L, 2, 0, "CProjectileSkyStrike")); + (self->setValue)(*(CProjectileSkyStrike*)tolua_tousertype_dynamic(L, 2, 0, "CProjectileSkyStrike")); return 0; } @@ -71837,7 +74097,7 @@ static int tolua_function_Pointer_CProjectileInstant__vtbl__setValue(lua_State* { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CProjectileInstant::vtbl*)tolua_tousertype_dynamic(L, 2, 0, "CProjectileInstant::vtbl")); + (self->setValue)(*(CProjectileInstant::vtbl*)tolua_tousertype_dynamic(L, 2, 0, "CProjectileInstant::vtbl")); return 0; } @@ -71861,7 +74121,7 @@ static int tolua_function_Pointer_CProjectileInstant__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CProjectileInstant*)tolua_tousertype_dynamic(L, 2, 0, "CProjectileInstant")); + (self->setValue)(*(CProjectileInstant*)tolua_tousertype_dynamic(L, 2, 0, "CProjectileInstant")); return 0; } @@ -71885,7 +74145,7 @@ static int tolua_function_Pointer_CProjectileCallLightning__setValue(lua_State* { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CProjectileCallLightning*)tolua_tousertype_dynamic(L, 2, 0, "CProjectileCallLightning")); + (self->setValue)(*(CProjectileCallLightning*)tolua_tousertype_dynamic(L, 2, 0, "CProjectileCallLightning")); return 0; } @@ -71909,7 +74169,7 @@ static int tolua_function_Pointer_CProjectileCastingGlow__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CProjectileCastingGlow*)tolua_tousertype_dynamic(L, 2, 0, "CProjectileCastingGlow")); + (self->setValue)(*(CProjectileCastingGlow*)tolua_tousertype_dynamic(L, 2, 0, "CProjectileCastingGlow")); return 0; } @@ -71933,7 +74193,7 @@ static int tolua_function_Pointer_CProjectileBAM__vtbl__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CProjectileBAM::vtbl*)tolua_tousertype_dynamic(L, 2, 0, "CProjectileBAM::vtbl")); + (self->setValue)(*(CProjectileBAM::vtbl*)tolua_tousertype_dynamic(L, 2, 0, "CProjectileBAM::vtbl")); return 0; } @@ -71957,7 +74217,7 @@ static int tolua_function_Pointer_CProjectileArea__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CProjectileArea*)tolua_tousertype_dynamic(L, 2, 0, "CProjectileArea")); + (self->setValue)(*(CProjectileArea*)tolua_tousertype_dynamic(L, 2, 0, "CProjectileArea")); return 0; } @@ -71981,7 +74241,7 @@ static int tolua_function_Pointer_CProjectileSkyStrikeBAM__setValue(lua_State* L { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CProjectileSkyStrikeBAM*)tolua_tousertype_dynamic(L, 2, 0, "CProjectileSkyStrikeBAM")); + (self->setValue)(*(CProjectileSkyStrikeBAM*)tolua_tousertype_dynamic(L, 2, 0, "CProjectileSkyStrikeBAM")); return 0; } @@ -72005,7 +74265,7 @@ static int tolua_function_Pointer_CProjectileScorcher__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CProjectileScorcher*)tolua_tousertype_dynamic(L, 2, 0, "CProjectileScorcher")); + (self->setValue)(*(CProjectileScorcher*)tolua_tousertype_dynamic(L, 2, 0, "CProjectileScorcher")); return 0; } @@ -72029,7 +74289,7 @@ static int tolua_function_Pointer_CProjectileMulti__vtbl__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CProjectileMulti::vtbl*)tolua_tousertype_dynamic(L, 2, 0, "CProjectileMulti::vtbl")); + (self->setValue)(*(CProjectileMulti::vtbl*)tolua_tousertype_dynamic(L, 2, 0, "CProjectileMulti::vtbl")); return 0; } @@ -72053,7 +74313,7 @@ static int tolua_function_Pointer_CProjectileMulti__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CProjectileMulti*)tolua_tousertype_dynamic(L, 2, 0, "CProjectileMulti")); + (self->setValue)(*(CProjectileMulti*)tolua_tousertype_dynamic(L, 2, 0, "CProjectileMulti")); return 0; } @@ -72077,7 +74337,7 @@ static int tolua_function_Pointer_CProjectileMagicMissileMulti__setValue(lua_Sta { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CProjectileMagicMissileMulti*)tolua_tousertype_dynamic(L, 2, 0, "CProjectileMagicMissileMulti")); + (self->setValue)(*(CProjectileMagicMissileMulti*)tolua_tousertype_dynamic(L, 2, 0, "CProjectileMagicMissileMulti")); return 0; } @@ -72101,7 +74361,7 @@ static int tolua_function_Pointer_CProjectileLightningBounce__setValue(lua_State { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CProjectileLightningBounce*)tolua_tousertype_dynamic(L, 2, 0, "CProjectileLightningBounce")); + (self->setValue)(*(CProjectileLightningBounce*)tolua_tousertype_dynamic(L, 2, 0, "CProjectileLightningBounce")); return 0; } @@ -72125,7 +74385,7 @@ static int tolua_function_Pointer_CProjectileLightningBoltGround__setValue(lua_S { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CProjectileLightningBoltGround*)tolua_tousertype_dynamic(L, 2, 0, "CProjectileLightningBoltGround")); + (self->setValue)(*(CProjectileLightningBoltGround*)tolua_tousertype_dynamic(L, 2, 0, "CProjectileLightningBoltGround")); return 0; } @@ -72149,7 +74409,7 @@ static int tolua_function_Pointer_CProjectileLightningBolt__setValue(lua_State* { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CProjectileLightningBolt*)tolua_tousertype_dynamic(L, 2, 0, "CProjectileLightningBolt")); + (self->setValue)(*(CProjectileLightningBolt*)tolua_tousertype_dynamic(L, 2, 0, "CProjectileLightningBolt")); return 0; } @@ -72173,7 +74433,7 @@ static int tolua_function_Pointer_CProjectileInvisibleTravelling__setValue(lua_S { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CProjectileInvisibleTravelling*)tolua_tousertype_dynamic(L, 2, 0, "CProjectileInvisibleTravelling")); + (self->setValue)(*(CProjectileInvisibleTravelling*)tolua_tousertype_dynamic(L, 2, 0, "CProjectileInvisibleTravelling")); return 0; } @@ -72197,7 +74457,7 @@ static int tolua_function_Pointer_CProjectileFireHands__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CProjectileFireHands*)tolua_tousertype_dynamic(L, 2, 0, "CProjectileFireHands")); + (self->setValue)(*(CProjectileFireHands*)tolua_tousertype_dynamic(L, 2, 0, "CProjectileFireHands")); return 0; } @@ -72221,7 +74481,7 @@ static int tolua_function_Pointer_CProjectileFall__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CProjectileFall*)tolua_tousertype_dynamic(L, 2, 0, "CProjectileFall")); + (self->setValue)(*(CProjectileFall*)tolua_tousertype_dynamic(L, 2, 0, "CProjectileFall")); return 0; } @@ -72245,7 +74505,7 @@ static int tolua_function_Pointer_CProjectileConeOfCold__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CProjectileConeOfCold*)tolua_tousertype_dynamic(L, 2, 0, "CProjectileConeOfCold")); + (self->setValue)(*(CProjectileConeOfCold*)tolua_tousertype_dynamic(L, 2, 0, "CProjectileConeOfCold")); return 0; } @@ -72269,7 +74529,7 @@ static int tolua_function_Pointer_CProjectileColorSpray__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CProjectileColorSpray*)tolua_tousertype_dynamic(L, 2, 0, "CProjectileColorSpray")); + (self->setValue)(*(CProjectileColorSpray*)tolua_tousertype_dynamic(L, 2, 0, "CProjectileColorSpray")); return 0; } @@ -72293,7 +74553,7 @@ static int tolua_function_Pointer_CProjectileChain__vtbl__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CProjectileChain::vtbl*)tolua_tousertype_dynamic(L, 2, 0, "CProjectileChain::vtbl")); + (self->setValue)(*(CProjectileChain::vtbl*)tolua_tousertype_dynamic(L, 2, 0, "CProjectileChain::vtbl")); return 0; } @@ -72317,7 +74577,7 @@ static int tolua_function_Pointer_CProjectileChain__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CProjectileChain*)tolua_tousertype_dynamic(L, 2, 0, "CProjectileChain")); + (self->setValue)(*(CProjectileChain*)tolua_tousertype_dynamic(L, 2, 0, "CProjectileChain")); return 0; } @@ -72341,7 +74601,7 @@ static int tolua_function_Pointer_CProjectileLightningStorm__setValue(lua_State* { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CProjectileLightningStorm*)tolua_tousertype_dynamic(L, 2, 0, "CProjectileLightningStorm")); + (self->setValue)(*(CProjectileLightningStorm*)tolua_tousertype_dynamic(L, 2, 0, "CProjectileLightningStorm")); return 0; } @@ -72365,7 +74625,7 @@ static int tolua_function_Pointer_CGameText__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CGameText*)tolua_tousertype_dynamic(L, 2, 0, "CGameText")); + (self->setValue)(*(CGameText*)tolua_tousertype_dynamic(L, 2, 0, "CGameText")); return 0; } @@ -72389,7 +74649,7 @@ static int tolua_function_Pointer_CGameTemporal__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CGameTemporal*)tolua_tousertype_dynamic(L, 2, 0, "CGameTemporal")); + (self->setValue)(*(CGameTemporal*)tolua_tousertype_dynamic(L, 2, 0, "CGameTemporal")); return 0; } @@ -72413,7 +74673,7 @@ static int tolua_function_Pointer_CGameStatic__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CGameStatic*)tolua_tousertype_dynamic(L, 2, 0, "CGameStatic")); + (self->setValue)(*(CGameStatic*)tolua_tousertype_dynamic(L, 2, 0, "CGameStatic")); return 0; } @@ -72437,7 +74697,7 @@ static int tolua_function_Pointer_CGameSpawning__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CGameSpawning*)tolua_tousertype_dynamic(L, 2, 0, "CGameSpawning")); + (self->setValue)(*(CGameSpawning*)tolua_tousertype_dynamic(L, 2, 0, "CGameSpawning")); return 0; } @@ -72461,7 +74721,7 @@ static int tolua_function_Pointer_CGameSound__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CGameSound*)tolua_tousertype_dynamic(L, 2, 0, "CGameSound")); + (self->setValue)(*(CGameSound*)tolua_tousertype_dynamic(L, 2, 0, "CGameSound")); return 0; } @@ -72485,7 +74745,7 @@ static int tolua_function_Pointer_CMessageSetTrigger__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CMessageSetTrigger*)tolua_tousertype_dynamic(L, 2, 0, "CMessageSetTrigger")); + (self->setValue)(*(CMessageSetTrigger*)tolua_tousertype_dynamic(L, 2, 0, "CMessageSetTrigger")); return 0; } @@ -72509,7 +74769,7 @@ static int tolua_function_Pointer_CGameTiledObject__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CGameTiledObject*)tolua_tousertype_dynamic(L, 2, 0, "CGameTiledObject")); + (self->setValue)(*(CGameTiledObject*)tolua_tousertype_dynamic(L, 2, 0, "CGameTiledObject")); return 0; } @@ -72533,7 +74793,7 @@ static int tolua_function_Pointer_CGameDoor__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CGameDoor*)tolua_tousertype_dynamic(L, 2, 0, "CGameDoor")); + (self->setValue)(*(CGameDoor*)tolua_tousertype_dynamic(L, 2, 0, "CGameDoor")); return 0; } @@ -72557,7 +74817,7 @@ static int tolua_function_Pointer_CGameAIGame__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CGameAIGame*)tolua_tousertype_dynamic(L, 2, 0, "CGameAIGame")); + (self->setValue)(*(CGameAIGame*)tolua_tousertype_dynamic(L, 2, 0, "CGameAIGame")); return 0; } @@ -72581,7 +74841,7 @@ static int tolua_function_Pointer_CGameAIArea__setValue(lua_State* L) { Pointer* self = (Pointer*)tolua_tousertype_dynamic(L, 1, 0, "Pointer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setValue'", NULL); - self->setValue(*(CGameAIArea*)tolua_tousertype_dynamic(L, 2, 0, "CGameAIArea")); + (self->setValue)(*(CGameAIArea*)tolua_tousertype_dynamic(L, 2, 0, "CGameAIArea")); return 0; } @@ -72589,7 +74849,7 @@ static int tolua_function_ISteamUGC_virtual_CreateQueryUserUGCRequest(lua_State* { ISteamUGC* self = (ISteamUGC*)tolua_tousertype_dynamic(L, 1, 0, "ISteamUGC"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_CreateQueryUserUGCRequest'", NULL); - unsigned __int64 returnVal = self->virtual_CreateQueryUserUGCRequest(tolua_function_tointeger(L, 2, "virtual_CreateQueryUserUGCRequest"), (EUserUGCList)tolua_function_tointeger<__int32>(L, 3, "virtual_CreateQueryUserUGCRequest"), (EUGCMatchingUGCType)tolua_function_tointeger<__int32>(L, 4, "virtual_CreateQueryUserUGCRequest"), (EUserUGCListSortOrder)tolua_function_tointeger<__int32>(L, 5, "virtual_CreateQueryUserUGCRequest"), tolua_function_tointeger(L, 6, "virtual_CreateQueryUserUGCRequest"), tolua_function_tointeger(L, 7, "virtual_CreateQueryUserUGCRequest"), tolua_function_tointeger(L, 8, "virtual_CreateQueryUserUGCRequest")); + unsigned __int64 returnVal = (self->virtual_CreateQueryUserUGCRequest)(tolua_function_tointeger(L, 2, "virtual_CreateQueryUserUGCRequest"), (EUserUGCList)tolua_function_tointeger<__int32>(L, 3, "virtual_CreateQueryUserUGCRequest"), (EUGCMatchingUGCType)tolua_function_tointeger<__int32>(L, 4, "virtual_CreateQueryUserUGCRequest"), (EUserUGCListSortOrder)tolua_function_tointeger<__int32>(L, 5, "virtual_CreateQueryUserUGCRequest"), tolua_function_tointeger(L, 6, "virtual_CreateQueryUserUGCRequest"), tolua_function_tointeger(L, 7, "virtual_CreateQueryUserUGCRequest"), tolua_function_tointeger(L, 8, "virtual_CreateQueryUserUGCRequest")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -72598,7 +74858,7 @@ static int tolua_function_ISteamUGC_virtual_CreateQueryAllUGCRequest(lua_State* { ISteamUGC* self = (ISteamUGC*)tolua_tousertype_dynamic(L, 1, 0, "ISteamUGC"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_CreateQueryAllUGCRequest'", NULL); - unsigned __int64 returnVal = self->virtual_CreateQueryAllUGCRequest((EUGCQuery)tolua_function_tointeger<__int32>(L, 2, "virtual_CreateQueryAllUGCRequest"), (EUGCMatchingUGCType)tolua_function_tointeger<__int32>(L, 3, "virtual_CreateQueryAllUGCRequest"), tolua_function_tointeger(L, 4, "virtual_CreateQueryAllUGCRequest"), tolua_function_tointeger(L, 5, "virtual_CreateQueryAllUGCRequest"), *(const char**)tolua_tousertype_dynamic(L, 6, 0, "ConstCharString")); + unsigned __int64 returnVal = (self->virtual_CreateQueryAllUGCRequest)((EUGCQuery)tolua_function_tointeger<__int32>(L, 2, "virtual_CreateQueryAllUGCRequest"), (EUGCMatchingUGCType)tolua_function_tointeger<__int32>(L, 3, "virtual_CreateQueryAllUGCRequest"), tolua_function_tointeger(L, 4, "virtual_CreateQueryAllUGCRequest"), tolua_function_tointeger(L, 5, "virtual_CreateQueryAllUGCRequest"), *(const char**)tolua_tousertype_dynamic(L, 6, 0, "ConstCharString")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -72607,7 +74867,7 @@ static int tolua_function_ISteamUGC_virtual_CreateQueryAllUGCRequest_2(lua_State { ISteamUGC* self = (ISteamUGC*)tolua_tousertype_dynamic(L, 1, 0, "ISteamUGC"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_CreateQueryAllUGCRequest_2'", NULL); - unsigned __int64 returnVal = self->virtual_CreateQueryAllUGCRequest_2((EUGCQuery)tolua_function_tointeger<__int32>(L, 2, "virtual_CreateQueryAllUGCRequest_2"), (EUGCMatchingUGCType)tolua_function_tointeger<__int32>(L, 3, "virtual_CreateQueryAllUGCRequest_2"), tolua_function_tointeger(L, 4, "virtual_CreateQueryAllUGCRequest_2"), tolua_function_tointeger(L, 5, "virtual_CreateQueryAllUGCRequest_2"), tolua_function_tointeger(L, 6, "virtual_CreateQueryAllUGCRequest_2")); + unsigned __int64 returnVal = (self->virtual_CreateQueryAllUGCRequest_2)((EUGCQuery)tolua_function_tointeger<__int32>(L, 2, "virtual_CreateQueryAllUGCRequest_2"), (EUGCMatchingUGCType)tolua_function_tointeger<__int32>(L, 3, "virtual_CreateQueryAllUGCRequest_2"), tolua_function_tointeger(L, 4, "virtual_CreateQueryAllUGCRequest_2"), tolua_function_tointeger(L, 5, "virtual_CreateQueryAllUGCRequest_2"), tolua_function_tointeger(L, 6, "virtual_CreateQueryAllUGCRequest_2")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -72616,7 +74876,7 @@ static int tolua_function_ISteamUGC_virtual_CreateQueryUGCDetailsRequest(lua_Sta { ISteamUGC* self = (ISteamUGC*)tolua_tousertype_dynamic(L, 1, 0, "ISteamUGC"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_CreateQueryUGCDetailsRequest'", NULL); - unsigned __int64 returnVal = self->virtual_CreateQueryUGCDetailsRequest((unsigned __int64*)tolua_tousertype_dynamic(L, 2, 0, "Primitive<__int64>"), tolua_function_tointeger(L, 3, "virtual_CreateQueryUGCDetailsRequest")); + unsigned __int64 returnVal = (self->virtual_CreateQueryUGCDetailsRequest)((unsigned __int64*)tolua_tousertype_dynamic(L, 2, 0, "Primitive<__int64>"), tolua_function_tointeger(L, 3, "virtual_CreateQueryUGCDetailsRequest")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -72625,7 +74885,7 @@ static int tolua_function_ISteamUGC_virtual_SendQueryUGCRequest(lua_State* L) { ISteamUGC* self = (ISteamUGC*)tolua_tousertype_dynamic(L, 1, 0, "ISteamUGC"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_SendQueryUGCRequest'", NULL); - unsigned __int64 returnVal = self->virtual_SendQueryUGCRequest(tolua_function_tointeger(L, 2, "virtual_SendQueryUGCRequest")); + unsigned __int64 returnVal = (self->virtual_SendQueryUGCRequest)(tolua_function_tointeger(L, 2, "virtual_SendQueryUGCRequest")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -72634,7 +74894,7 @@ static int tolua_function_ISteamUGC_virtual_GetQueryUGCResult(lua_State* L) { ISteamUGC* self = (ISteamUGC*)tolua_tousertype_dynamic(L, 1, 0, "ISteamUGC"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_GetQueryUGCResult'", NULL); - bool returnVal = self->virtual_GetQueryUGCResult(tolua_function_tointeger(L, 2, "virtual_GetQueryUGCResult"), tolua_function_tointeger(L, 3, "virtual_GetQueryUGCResult"), (SteamUGCDetails_t*)tolua_tousertype_dynamic(L, 4, 0, "SteamUGCDetails_t")); + bool returnVal = (self->virtual_GetQueryUGCResult)(tolua_function_tointeger(L, 2, "virtual_GetQueryUGCResult"), tolua_function_tointeger(L, 3, "virtual_GetQueryUGCResult"), (SteamUGCDetails_t*)tolua_tousertype_dynamic(L, 4, 0, "SteamUGCDetails_t")); tolua_pushboolean(L, (bool)returnVal); return 1; } @@ -72643,7 +74903,7 @@ static int tolua_function_ISteamUGC_virtual_GetQueryUGCPreviewURL(lua_State* L) { ISteamUGC* self = (ISteamUGC*)tolua_tousertype_dynamic(L, 1, 0, "ISteamUGC"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_GetQueryUGCPreviewURL'", NULL); - bool returnVal = self->virtual_GetQueryUGCPreviewURL(tolua_function_tointeger(L, 2, "virtual_GetQueryUGCPreviewURL"), tolua_function_tointeger(L, 3, "virtual_GetQueryUGCPreviewURL"), *(char**)tolua_tousertype_dynamic(L, 4, 0, "CharString"), tolua_function_tointeger(L, 5, "virtual_GetQueryUGCPreviewURL")); + bool returnVal = (self->virtual_GetQueryUGCPreviewURL)(tolua_function_tointeger(L, 2, "virtual_GetQueryUGCPreviewURL"), tolua_function_tointeger(L, 3, "virtual_GetQueryUGCPreviewURL"), *(char**)tolua_tousertype_dynamic(L, 4, 0, "CharString"), tolua_function_tointeger(L, 5, "virtual_GetQueryUGCPreviewURL")); tolua_pushboolean(L, (bool)returnVal); return 1; } @@ -72652,7 +74912,7 @@ static int tolua_function_ISteamUGC_virtual_GetQueryUGCMetadata(lua_State* L) { ISteamUGC* self = (ISteamUGC*)tolua_tousertype_dynamic(L, 1, 0, "ISteamUGC"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_GetQueryUGCMetadata'", NULL); - bool returnVal = self->virtual_GetQueryUGCMetadata(tolua_function_tointeger(L, 2, "virtual_GetQueryUGCMetadata"), tolua_function_tointeger(L, 3, "virtual_GetQueryUGCMetadata"), *(char**)tolua_tousertype_dynamic(L, 4, 0, "CharString"), tolua_function_tointeger(L, 5, "virtual_GetQueryUGCMetadata")); + bool returnVal = (self->virtual_GetQueryUGCMetadata)(tolua_function_tointeger(L, 2, "virtual_GetQueryUGCMetadata"), tolua_function_tointeger(L, 3, "virtual_GetQueryUGCMetadata"), *(char**)tolua_tousertype_dynamic(L, 4, 0, "CharString"), tolua_function_tointeger(L, 5, "virtual_GetQueryUGCMetadata")); tolua_pushboolean(L, (bool)returnVal); return 1; } @@ -72661,7 +74921,7 @@ static int tolua_function_ISteamUGC_virtual_GetQueryUGCChildren(lua_State* L) { ISteamUGC* self = (ISteamUGC*)tolua_tousertype_dynamic(L, 1, 0, "ISteamUGC"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_GetQueryUGCChildren'", NULL); - bool returnVal = self->virtual_GetQueryUGCChildren(tolua_function_tointeger(L, 2, "virtual_GetQueryUGCChildren"), tolua_function_tointeger(L, 3, "virtual_GetQueryUGCChildren"), (unsigned __int64*)tolua_tousertype_dynamic(L, 4, 0, "Primitive<__int64>"), tolua_function_tointeger(L, 5, "virtual_GetQueryUGCChildren")); + bool returnVal = (self->virtual_GetQueryUGCChildren)(tolua_function_tointeger(L, 2, "virtual_GetQueryUGCChildren"), tolua_function_tointeger(L, 3, "virtual_GetQueryUGCChildren"), (unsigned __int64*)tolua_tousertype_dynamic(L, 4, 0, "Primitive<__int64>"), tolua_function_tointeger(L, 5, "virtual_GetQueryUGCChildren")); tolua_pushboolean(L, (bool)returnVal); return 1; } @@ -72670,7 +74930,7 @@ static int tolua_function_ISteamUGC_virtual_GetQueryUGCStatistic(lua_State* L) { ISteamUGC* self = (ISteamUGC*)tolua_tousertype_dynamic(L, 1, 0, "ISteamUGC"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_GetQueryUGCStatistic'", NULL); - bool returnVal = self->virtual_GetQueryUGCStatistic(tolua_function_tointeger(L, 2, "virtual_GetQueryUGCStatistic"), tolua_function_tointeger(L, 3, "virtual_GetQueryUGCStatistic"), (EItemStatistic)tolua_function_tointeger<__int32>(L, 4, "virtual_GetQueryUGCStatistic"), (unsigned __int64*)tolua_tousertype_dynamic(L, 5, 0, "Primitive<__int64>")); + bool returnVal = (self->virtual_GetQueryUGCStatistic)(tolua_function_tointeger(L, 2, "virtual_GetQueryUGCStatistic"), tolua_function_tointeger(L, 3, "virtual_GetQueryUGCStatistic"), (EItemStatistic)tolua_function_tointeger<__int32>(L, 4, "virtual_GetQueryUGCStatistic"), (unsigned __int64*)tolua_tousertype_dynamic(L, 5, 0, "Primitive<__int64>")); tolua_pushboolean(L, (bool)returnVal); return 1; } @@ -72679,7 +74939,7 @@ static int tolua_function_ISteamUGC_virtual_GetQueryUGCNumAdditionalPreviews(lua { ISteamUGC* self = (ISteamUGC*)tolua_tousertype_dynamic(L, 1, 0, "ISteamUGC"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_GetQueryUGCNumAdditionalPreviews'", NULL); - unsigned int returnVal = self->virtual_GetQueryUGCNumAdditionalPreviews(tolua_function_tointeger(L, 2, "virtual_GetQueryUGCNumAdditionalPreviews"), tolua_function_tointeger(L, 3, "virtual_GetQueryUGCNumAdditionalPreviews")); + unsigned int returnVal = (self->virtual_GetQueryUGCNumAdditionalPreviews)(tolua_function_tointeger(L, 2, "virtual_GetQueryUGCNumAdditionalPreviews"), tolua_function_tointeger(L, 3, "virtual_GetQueryUGCNumAdditionalPreviews")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -72688,7 +74948,7 @@ static int tolua_function_ISteamUGC_virtual_GetQueryUGCAdditionalPreview(lua_Sta { ISteamUGC* self = (ISteamUGC*)tolua_tousertype_dynamic(L, 1, 0, "ISteamUGC"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_GetQueryUGCAdditionalPreview'", NULL); - bool returnVal = self->virtual_GetQueryUGCAdditionalPreview(tolua_function_tointeger(L, 2, "virtual_GetQueryUGCAdditionalPreview"), tolua_function_tointeger(L, 3, "virtual_GetQueryUGCAdditionalPreview"), tolua_function_tointeger(L, 4, "virtual_GetQueryUGCAdditionalPreview"), *(char**)tolua_tousertype_dynamic(L, 5, 0, "CharString"), tolua_function_tointeger(L, 6, "virtual_GetQueryUGCAdditionalPreview"), *(char**)tolua_tousertype_dynamic(L, 7, 0, "CharString"), tolua_function_tointeger(L, 8, "virtual_GetQueryUGCAdditionalPreview"), (EItemPreviewType*)tolua_tousertype_dynamic(L, 9, 0, "Primitive")); + bool returnVal = (self->virtual_GetQueryUGCAdditionalPreview)(tolua_function_tointeger(L, 2, "virtual_GetQueryUGCAdditionalPreview"), tolua_function_tointeger(L, 3, "virtual_GetQueryUGCAdditionalPreview"), tolua_function_tointeger(L, 4, "virtual_GetQueryUGCAdditionalPreview"), *(char**)tolua_tousertype_dynamic(L, 5, 0, "CharString"), tolua_function_tointeger(L, 6, "virtual_GetQueryUGCAdditionalPreview"), *(char**)tolua_tousertype_dynamic(L, 7, 0, "CharString"), tolua_function_tointeger(L, 8, "virtual_GetQueryUGCAdditionalPreview"), (EItemPreviewType*)tolua_tousertype_dynamic(L, 9, 0, "Primitive")); tolua_pushboolean(L, (bool)returnVal); return 1; } @@ -72697,7 +74957,7 @@ static int tolua_function_ISteamUGC_virtual_GetQueryUGCNumKeyValueTags(lua_State { ISteamUGC* self = (ISteamUGC*)tolua_tousertype_dynamic(L, 1, 0, "ISteamUGC"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_GetQueryUGCNumKeyValueTags'", NULL); - unsigned int returnVal = self->virtual_GetQueryUGCNumKeyValueTags(tolua_function_tointeger(L, 2, "virtual_GetQueryUGCNumKeyValueTags"), tolua_function_tointeger(L, 3, "virtual_GetQueryUGCNumKeyValueTags")); + unsigned int returnVal = (self->virtual_GetQueryUGCNumKeyValueTags)(tolua_function_tointeger(L, 2, "virtual_GetQueryUGCNumKeyValueTags"), tolua_function_tointeger(L, 3, "virtual_GetQueryUGCNumKeyValueTags")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -72706,7 +74966,7 @@ static int tolua_function_ISteamUGC_virtual_GetQueryUGCKeyValueTag(lua_State* L) { ISteamUGC* self = (ISteamUGC*)tolua_tousertype_dynamic(L, 1, 0, "ISteamUGC"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_GetQueryUGCKeyValueTag'", NULL); - bool returnVal = self->virtual_GetQueryUGCKeyValueTag(tolua_function_tointeger(L, 2, "virtual_GetQueryUGCKeyValueTag"), tolua_function_tointeger(L, 3, "virtual_GetQueryUGCKeyValueTag"), *(const char**)tolua_tousertype_dynamic(L, 4, 0, "ConstCharString"), *(char**)tolua_tousertype_dynamic(L, 5, 0, "CharString"), tolua_function_tointeger(L, 6, "virtual_GetQueryUGCKeyValueTag")); + bool returnVal = (self->virtual_GetQueryUGCKeyValueTag)(tolua_function_tointeger(L, 2, "virtual_GetQueryUGCKeyValueTag"), tolua_function_tointeger(L, 3, "virtual_GetQueryUGCKeyValueTag"), *(const char**)tolua_tousertype_dynamic(L, 4, 0, "ConstCharString"), *(char**)tolua_tousertype_dynamic(L, 5, 0, "CharString"), tolua_function_tointeger(L, 6, "virtual_GetQueryUGCKeyValueTag")); tolua_pushboolean(L, (bool)returnVal); return 1; } @@ -72715,7 +74975,7 @@ static int tolua_function_ISteamUGC_virtual_GetQueryUGCKeyValueTag_2(lua_State* { ISteamUGC* self = (ISteamUGC*)tolua_tousertype_dynamic(L, 1, 0, "ISteamUGC"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_GetQueryUGCKeyValueTag_2'", NULL); - bool returnVal = self->virtual_GetQueryUGCKeyValueTag_2(tolua_function_tointeger(L, 2, "virtual_GetQueryUGCKeyValueTag_2"), tolua_function_tointeger(L, 3, "virtual_GetQueryUGCKeyValueTag_2"), tolua_function_tointeger(L, 4, "virtual_GetQueryUGCKeyValueTag_2"), *(char**)tolua_tousertype_dynamic(L, 5, 0, "CharString"), tolua_function_tointeger(L, 6, "virtual_GetQueryUGCKeyValueTag_2"), *(char**)tolua_tousertype_dynamic(L, 7, 0, "CharString"), tolua_function_tointeger(L, 8, "virtual_GetQueryUGCKeyValueTag_2")); + bool returnVal = (self->virtual_GetQueryUGCKeyValueTag_2)(tolua_function_tointeger(L, 2, "virtual_GetQueryUGCKeyValueTag_2"), tolua_function_tointeger(L, 3, "virtual_GetQueryUGCKeyValueTag_2"), tolua_function_tointeger(L, 4, "virtual_GetQueryUGCKeyValueTag_2"), *(char**)tolua_tousertype_dynamic(L, 5, 0, "CharString"), tolua_function_tointeger(L, 6, "virtual_GetQueryUGCKeyValueTag_2"), *(char**)tolua_tousertype_dynamic(L, 7, 0, "CharString"), tolua_function_tointeger(L, 8, "virtual_GetQueryUGCKeyValueTag_2")); tolua_pushboolean(L, (bool)returnVal); return 1; } @@ -72724,7 +74984,7 @@ static int tolua_function_ISteamUGC_virtual_ReleaseQueryUGCRequest(lua_State* L) { ISteamUGC* self = (ISteamUGC*)tolua_tousertype_dynamic(L, 1, 0, "ISteamUGC"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_ReleaseQueryUGCRequest'", NULL); - bool returnVal = self->virtual_ReleaseQueryUGCRequest(tolua_function_tointeger(L, 2, "virtual_ReleaseQueryUGCRequest")); + bool returnVal = (self->virtual_ReleaseQueryUGCRequest)(tolua_function_tointeger(L, 2, "virtual_ReleaseQueryUGCRequest")); tolua_pushboolean(L, (bool)returnVal); return 1; } @@ -72733,7 +74993,7 @@ static int tolua_function_ISteamUGC_virtual_AddRequiredTag(lua_State* L) { ISteamUGC* self = (ISteamUGC*)tolua_tousertype_dynamic(L, 1, 0, "ISteamUGC"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_AddRequiredTag'", NULL); - bool returnVal = self->virtual_AddRequiredTag(tolua_function_tointeger(L, 2, "virtual_AddRequiredTag"), *(const char**)tolua_tousertype_dynamic(L, 3, 0, "ConstCharString")); + bool returnVal = (self->virtual_AddRequiredTag)(tolua_function_tointeger(L, 2, "virtual_AddRequiredTag"), *(const char**)tolua_tousertype_dynamic(L, 3, 0, "ConstCharString")); tolua_pushboolean(L, (bool)returnVal); return 1; } @@ -72742,7 +75002,7 @@ static int tolua_function_ISteamUGC_virtual_AddRequiredTagGroup(lua_State* L) { ISteamUGC* self = (ISteamUGC*)tolua_tousertype_dynamic(L, 1, 0, "ISteamUGC"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_AddRequiredTagGroup'", NULL); - bool returnVal = self->virtual_AddRequiredTagGroup(tolua_function_tointeger(L, 2, "virtual_AddRequiredTagGroup"), (const SteamParamStringArray_t*)tolua_tousertype_dynamic(L, 3, 0, "SteamParamStringArray_t")); + bool returnVal = (self->virtual_AddRequiredTagGroup)(tolua_function_tointeger(L, 2, "virtual_AddRequiredTagGroup"), (const SteamParamStringArray_t*)tolua_tousertype_dynamic(L, 3, 0, "SteamParamStringArray_t")); tolua_pushboolean(L, (bool)returnVal); return 1; } @@ -72751,7 +75011,7 @@ static int tolua_function_ISteamUGC_virtual_AddExcludedTag(lua_State* L) { ISteamUGC* self = (ISteamUGC*)tolua_tousertype_dynamic(L, 1, 0, "ISteamUGC"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_AddExcludedTag'", NULL); - bool returnVal = self->virtual_AddExcludedTag(tolua_function_tointeger(L, 2, "virtual_AddExcludedTag"), *(const char**)tolua_tousertype_dynamic(L, 3, 0, "ConstCharString")); + bool returnVal = (self->virtual_AddExcludedTag)(tolua_function_tointeger(L, 2, "virtual_AddExcludedTag"), *(const char**)tolua_tousertype_dynamic(L, 3, 0, "ConstCharString")); tolua_pushboolean(L, (bool)returnVal); return 1; } @@ -72760,7 +75020,7 @@ static int tolua_function_ISteamUGC_virtual_SetReturnOnlyIDs(lua_State* L) { ISteamUGC* self = (ISteamUGC*)tolua_tousertype_dynamic(L, 1, 0, "ISteamUGC"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_SetReturnOnlyIDs'", NULL); - bool returnVal = self->virtual_SetReturnOnlyIDs(tolua_function_tointeger(L, 2, "virtual_SetReturnOnlyIDs"), tolua_function_toboolean(L, 3, "virtual_SetReturnOnlyIDs")); + bool returnVal = (self->virtual_SetReturnOnlyIDs)(tolua_function_tointeger(L, 2, "virtual_SetReturnOnlyIDs"), tolua_function_toboolean(L, 3, "virtual_SetReturnOnlyIDs")); tolua_pushboolean(L, (bool)returnVal); return 1; } @@ -72769,7 +75029,7 @@ static int tolua_function_ISteamUGC_virtual_SetReturnKeyValueTags(lua_State* L) { ISteamUGC* self = (ISteamUGC*)tolua_tousertype_dynamic(L, 1, 0, "ISteamUGC"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_SetReturnKeyValueTags'", NULL); - bool returnVal = self->virtual_SetReturnKeyValueTags(tolua_function_tointeger(L, 2, "virtual_SetReturnKeyValueTags"), tolua_function_toboolean(L, 3, "virtual_SetReturnKeyValueTags")); + bool returnVal = (self->virtual_SetReturnKeyValueTags)(tolua_function_tointeger(L, 2, "virtual_SetReturnKeyValueTags"), tolua_function_toboolean(L, 3, "virtual_SetReturnKeyValueTags")); tolua_pushboolean(L, (bool)returnVal); return 1; } @@ -72778,7 +75038,7 @@ static int tolua_function_ISteamUGC_virtual_SetReturnLongDescription(lua_State* { ISteamUGC* self = (ISteamUGC*)tolua_tousertype_dynamic(L, 1, 0, "ISteamUGC"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_SetReturnLongDescription'", NULL); - bool returnVal = self->virtual_SetReturnLongDescription(tolua_function_tointeger(L, 2, "virtual_SetReturnLongDescription"), tolua_function_toboolean(L, 3, "virtual_SetReturnLongDescription")); + bool returnVal = (self->virtual_SetReturnLongDescription)(tolua_function_tointeger(L, 2, "virtual_SetReturnLongDescription"), tolua_function_toboolean(L, 3, "virtual_SetReturnLongDescription")); tolua_pushboolean(L, (bool)returnVal); return 1; } @@ -72787,7 +75047,7 @@ static int tolua_function_ISteamUGC_virtual_SetReturnMetadata(lua_State* L) { ISteamUGC* self = (ISteamUGC*)tolua_tousertype_dynamic(L, 1, 0, "ISteamUGC"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_SetReturnMetadata'", NULL); - bool returnVal = self->virtual_SetReturnMetadata(tolua_function_tointeger(L, 2, "virtual_SetReturnMetadata"), tolua_function_toboolean(L, 3, "virtual_SetReturnMetadata")); + bool returnVal = (self->virtual_SetReturnMetadata)(tolua_function_tointeger(L, 2, "virtual_SetReturnMetadata"), tolua_function_toboolean(L, 3, "virtual_SetReturnMetadata")); tolua_pushboolean(L, (bool)returnVal); return 1; } @@ -72796,7 +75056,7 @@ static int tolua_function_ISteamUGC_virtual_SetReturnChildren(lua_State* L) { ISteamUGC* self = (ISteamUGC*)tolua_tousertype_dynamic(L, 1, 0, "ISteamUGC"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_SetReturnChildren'", NULL); - bool returnVal = self->virtual_SetReturnChildren(tolua_function_tointeger(L, 2, "virtual_SetReturnChildren"), tolua_function_toboolean(L, 3, "virtual_SetReturnChildren")); + bool returnVal = (self->virtual_SetReturnChildren)(tolua_function_tointeger(L, 2, "virtual_SetReturnChildren"), tolua_function_toboolean(L, 3, "virtual_SetReturnChildren")); tolua_pushboolean(L, (bool)returnVal); return 1; } @@ -72805,7 +75065,7 @@ static int tolua_function_ISteamUGC_virtual_SetReturnAdditionalPreviews(lua_Stat { ISteamUGC* self = (ISteamUGC*)tolua_tousertype_dynamic(L, 1, 0, "ISteamUGC"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_SetReturnAdditionalPreviews'", NULL); - bool returnVal = self->virtual_SetReturnAdditionalPreviews(tolua_function_tointeger(L, 2, "virtual_SetReturnAdditionalPreviews"), tolua_function_toboolean(L, 3, "virtual_SetReturnAdditionalPreviews")); + bool returnVal = (self->virtual_SetReturnAdditionalPreviews)(tolua_function_tointeger(L, 2, "virtual_SetReturnAdditionalPreviews"), tolua_function_toboolean(L, 3, "virtual_SetReturnAdditionalPreviews")); tolua_pushboolean(L, (bool)returnVal); return 1; } @@ -72814,7 +75074,7 @@ static int tolua_function_ISteamUGC_virtual_SetReturnTotalOnly(lua_State* L) { ISteamUGC* self = (ISteamUGC*)tolua_tousertype_dynamic(L, 1, 0, "ISteamUGC"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_SetReturnTotalOnly'", NULL); - bool returnVal = self->virtual_SetReturnTotalOnly(tolua_function_tointeger(L, 2, "virtual_SetReturnTotalOnly"), tolua_function_toboolean(L, 3, "virtual_SetReturnTotalOnly")); + bool returnVal = (self->virtual_SetReturnTotalOnly)(tolua_function_tointeger(L, 2, "virtual_SetReturnTotalOnly"), tolua_function_toboolean(L, 3, "virtual_SetReturnTotalOnly")); tolua_pushboolean(L, (bool)returnVal); return 1; } @@ -72823,7 +75083,7 @@ static int tolua_function_ISteamUGC_virtual_SetReturnPlaytimeStats(lua_State* L) { ISteamUGC* self = (ISteamUGC*)tolua_tousertype_dynamic(L, 1, 0, "ISteamUGC"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_SetReturnPlaytimeStats'", NULL); - bool returnVal = self->virtual_SetReturnPlaytimeStats(tolua_function_tointeger(L, 2, "virtual_SetReturnPlaytimeStats"), tolua_function_tointeger(L, 3, "virtual_SetReturnPlaytimeStats")); + bool returnVal = (self->virtual_SetReturnPlaytimeStats)(tolua_function_tointeger(L, 2, "virtual_SetReturnPlaytimeStats"), tolua_function_tointeger(L, 3, "virtual_SetReturnPlaytimeStats")); tolua_pushboolean(L, (bool)returnVal); return 1; } @@ -72832,7 +75092,7 @@ static int tolua_function_ISteamUGC_virtual_SetLanguage(lua_State* L) { ISteamUGC* self = (ISteamUGC*)tolua_tousertype_dynamic(L, 1, 0, "ISteamUGC"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_SetLanguage'", NULL); - bool returnVal = self->virtual_SetLanguage(tolua_function_tointeger(L, 2, "virtual_SetLanguage"), *(const char**)tolua_tousertype_dynamic(L, 3, 0, "ConstCharString")); + bool returnVal = (self->virtual_SetLanguage)(tolua_function_tointeger(L, 2, "virtual_SetLanguage"), *(const char**)tolua_tousertype_dynamic(L, 3, 0, "ConstCharString")); tolua_pushboolean(L, (bool)returnVal); return 1; } @@ -72841,7 +75101,7 @@ static int tolua_function_ISteamUGC_virtual_SetAllowCachedResponse(lua_State* L) { ISteamUGC* self = (ISteamUGC*)tolua_tousertype_dynamic(L, 1, 0, "ISteamUGC"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_SetAllowCachedResponse'", NULL); - bool returnVal = self->virtual_SetAllowCachedResponse(tolua_function_tointeger(L, 2, "virtual_SetAllowCachedResponse"), tolua_function_tointeger(L, 3, "virtual_SetAllowCachedResponse")); + bool returnVal = (self->virtual_SetAllowCachedResponse)(tolua_function_tointeger(L, 2, "virtual_SetAllowCachedResponse"), tolua_function_tointeger(L, 3, "virtual_SetAllowCachedResponse")); tolua_pushboolean(L, (bool)returnVal); return 1; } @@ -72850,7 +75110,7 @@ static int tolua_function_ISteamUGC_virtual_SetCloudFileNameFilter(lua_State* L) { ISteamUGC* self = (ISteamUGC*)tolua_tousertype_dynamic(L, 1, 0, "ISteamUGC"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_SetCloudFileNameFilter'", NULL); - bool returnVal = self->virtual_SetCloudFileNameFilter(tolua_function_tointeger(L, 2, "virtual_SetCloudFileNameFilter"), *(const char**)tolua_tousertype_dynamic(L, 3, 0, "ConstCharString")); + bool returnVal = (self->virtual_SetCloudFileNameFilter)(tolua_function_tointeger(L, 2, "virtual_SetCloudFileNameFilter"), *(const char**)tolua_tousertype_dynamic(L, 3, 0, "ConstCharString")); tolua_pushboolean(L, (bool)returnVal); return 1; } @@ -72859,7 +75119,7 @@ static int tolua_function_ISteamUGC_virtual_SetMatchAnyTag(lua_State* L) { ISteamUGC* self = (ISteamUGC*)tolua_tousertype_dynamic(L, 1, 0, "ISteamUGC"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_SetMatchAnyTag'", NULL); - bool returnVal = self->virtual_SetMatchAnyTag(tolua_function_tointeger(L, 2, "virtual_SetMatchAnyTag"), tolua_function_toboolean(L, 3, "virtual_SetMatchAnyTag")); + bool returnVal = (self->virtual_SetMatchAnyTag)(tolua_function_tointeger(L, 2, "virtual_SetMatchAnyTag"), tolua_function_toboolean(L, 3, "virtual_SetMatchAnyTag")); tolua_pushboolean(L, (bool)returnVal); return 1; } @@ -72868,7 +75128,7 @@ static int tolua_function_ISteamUGC_virtual_SetSearchText(lua_State* L) { ISteamUGC* self = (ISteamUGC*)tolua_tousertype_dynamic(L, 1, 0, "ISteamUGC"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_SetSearchText'", NULL); - bool returnVal = self->virtual_SetSearchText(tolua_function_tointeger(L, 2, "virtual_SetSearchText"), *(const char**)tolua_tousertype_dynamic(L, 3, 0, "ConstCharString")); + bool returnVal = (self->virtual_SetSearchText)(tolua_function_tointeger(L, 2, "virtual_SetSearchText"), *(const char**)tolua_tousertype_dynamic(L, 3, 0, "ConstCharString")); tolua_pushboolean(L, (bool)returnVal); return 1; } @@ -72877,7 +75137,7 @@ static int tolua_function_ISteamUGC_virtual_SetRankedByTrendDays(lua_State* L) { ISteamUGC* self = (ISteamUGC*)tolua_tousertype_dynamic(L, 1, 0, "ISteamUGC"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_SetRankedByTrendDays'", NULL); - bool returnVal = self->virtual_SetRankedByTrendDays(tolua_function_tointeger(L, 2, "virtual_SetRankedByTrendDays"), tolua_function_tointeger(L, 3, "virtual_SetRankedByTrendDays")); + bool returnVal = (self->virtual_SetRankedByTrendDays)(tolua_function_tointeger(L, 2, "virtual_SetRankedByTrendDays"), tolua_function_tointeger(L, 3, "virtual_SetRankedByTrendDays")); tolua_pushboolean(L, (bool)returnVal); return 1; } @@ -72886,7 +75146,7 @@ static int tolua_function_ISteamUGC_virtual_AddRequiredKeyValueTag(lua_State* L) { ISteamUGC* self = (ISteamUGC*)tolua_tousertype_dynamic(L, 1, 0, "ISteamUGC"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_AddRequiredKeyValueTag'", NULL); - bool returnVal = self->virtual_AddRequiredKeyValueTag(tolua_function_tointeger(L, 2, "virtual_AddRequiredKeyValueTag"), *(const char**)tolua_tousertype_dynamic(L, 3, 0, "ConstCharString"), *(const char**)tolua_tousertype_dynamic(L, 4, 0, "ConstCharString")); + bool returnVal = (self->virtual_AddRequiredKeyValueTag)(tolua_function_tointeger(L, 2, "virtual_AddRequiredKeyValueTag"), *(const char**)tolua_tousertype_dynamic(L, 3, 0, "ConstCharString"), *(const char**)tolua_tousertype_dynamic(L, 4, 0, "ConstCharString")); tolua_pushboolean(L, (bool)returnVal); return 1; } @@ -72895,7 +75155,7 @@ static int tolua_function_ISteamUGC_virtual_RequestUGCDetails(lua_State* L) { ISteamUGC* self = (ISteamUGC*)tolua_tousertype_dynamic(L, 1, 0, "ISteamUGC"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_RequestUGCDetails'", NULL); - unsigned __int64 returnVal = self->virtual_RequestUGCDetails(tolua_function_tointeger(L, 2, "virtual_RequestUGCDetails"), tolua_function_tointeger(L, 3, "virtual_RequestUGCDetails")); + unsigned __int64 returnVal = (self->virtual_RequestUGCDetails)(tolua_function_tointeger(L, 2, "virtual_RequestUGCDetails"), tolua_function_tointeger(L, 3, "virtual_RequestUGCDetails")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -72904,7 +75164,7 @@ static int tolua_function_ISteamUGC_virtual_CreateItem(lua_State* L) { ISteamUGC* self = (ISteamUGC*)tolua_tousertype_dynamic(L, 1, 0, "ISteamUGC"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_CreateItem'", NULL); - unsigned __int64 returnVal = self->virtual_CreateItem(tolua_function_tointeger(L, 2, "virtual_CreateItem"), (EWorkshopFileType)tolua_function_tointeger<__int32>(L, 3, "virtual_CreateItem")); + unsigned __int64 returnVal = (self->virtual_CreateItem)(tolua_function_tointeger(L, 2, "virtual_CreateItem"), (EWorkshopFileType)tolua_function_tointeger<__int32>(L, 3, "virtual_CreateItem")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -72913,7 +75173,7 @@ static int tolua_function_ISteamUGC_virtual_StartItemUpdate(lua_State* L) { ISteamUGC* self = (ISteamUGC*)tolua_tousertype_dynamic(L, 1, 0, "ISteamUGC"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_StartItemUpdate'", NULL); - unsigned __int64 returnVal = self->virtual_StartItemUpdate(tolua_function_tointeger(L, 2, "virtual_StartItemUpdate"), tolua_function_tointeger(L, 3, "virtual_StartItemUpdate")); + unsigned __int64 returnVal = (self->virtual_StartItemUpdate)(tolua_function_tointeger(L, 2, "virtual_StartItemUpdate"), tolua_function_tointeger(L, 3, "virtual_StartItemUpdate")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -72922,7 +75182,7 @@ static int tolua_function_ISteamUGC_virtual_SetItemTitle(lua_State* L) { ISteamUGC* self = (ISteamUGC*)tolua_tousertype_dynamic(L, 1, 0, "ISteamUGC"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_SetItemTitle'", NULL); - bool returnVal = self->virtual_SetItemTitle(tolua_function_tointeger(L, 2, "virtual_SetItemTitle"), *(const char**)tolua_tousertype_dynamic(L, 3, 0, "ConstCharString")); + bool returnVal = (self->virtual_SetItemTitle)(tolua_function_tointeger(L, 2, "virtual_SetItemTitle"), *(const char**)tolua_tousertype_dynamic(L, 3, 0, "ConstCharString")); tolua_pushboolean(L, (bool)returnVal); return 1; } @@ -72931,7 +75191,7 @@ static int tolua_function_ISteamUGC_virtual_SetItemDescription(lua_State* L) { ISteamUGC* self = (ISteamUGC*)tolua_tousertype_dynamic(L, 1, 0, "ISteamUGC"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_SetItemDescription'", NULL); - bool returnVal = self->virtual_SetItemDescription(tolua_function_tointeger(L, 2, "virtual_SetItemDescription"), *(const char**)tolua_tousertype_dynamic(L, 3, 0, "ConstCharString")); + bool returnVal = (self->virtual_SetItemDescription)(tolua_function_tointeger(L, 2, "virtual_SetItemDescription"), *(const char**)tolua_tousertype_dynamic(L, 3, 0, "ConstCharString")); tolua_pushboolean(L, (bool)returnVal); return 1; } @@ -72940,7 +75200,7 @@ static int tolua_function_ISteamUGC_virtual_SetItemUpdateLanguage(lua_State* L) { ISteamUGC* self = (ISteamUGC*)tolua_tousertype_dynamic(L, 1, 0, "ISteamUGC"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_SetItemUpdateLanguage'", NULL); - bool returnVal = self->virtual_SetItemUpdateLanguage(tolua_function_tointeger(L, 2, "virtual_SetItemUpdateLanguage"), *(const char**)tolua_tousertype_dynamic(L, 3, 0, "ConstCharString")); + bool returnVal = (self->virtual_SetItemUpdateLanguage)(tolua_function_tointeger(L, 2, "virtual_SetItemUpdateLanguage"), *(const char**)tolua_tousertype_dynamic(L, 3, 0, "ConstCharString")); tolua_pushboolean(L, (bool)returnVal); return 1; } @@ -72949,7 +75209,7 @@ static int tolua_function_ISteamUGC_virtual_SetItemMetadata(lua_State* L) { ISteamUGC* self = (ISteamUGC*)tolua_tousertype_dynamic(L, 1, 0, "ISteamUGC"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_SetItemMetadata'", NULL); - bool returnVal = self->virtual_SetItemMetadata(tolua_function_tointeger(L, 2, "virtual_SetItemMetadata"), *(const char**)tolua_tousertype_dynamic(L, 3, 0, "ConstCharString")); + bool returnVal = (self->virtual_SetItemMetadata)(tolua_function_tointeger(L, 2, "virtual_SetItemMetadata"), *(const char**)tolua_tousertype_dynamic(L, 3, 0, "ConstCharString")); tolua_pushboolean(L, (bool)returnVal); return 1; } @@ -72958,7 +75218,7 @@ static int tolua_function_ISteamUGC_virtual_SetItemVisibility(lua_State* L) { ISteamUGC* self = (ISteamUGC*)tolua_tousertype_dynamic(L, 1, 0, "ISteamUGC"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_SetItemVisibility'", NULL); - bool returnVal = self->virtual_SetItemVisibility(tolua_function_tointeger(L, 2, "virtual_SetItemVisibility"), (ERemoteStoragePublishedFileVisibility)tolua_function_tointeger<__int32>(L, 3, "virtual_SetItemVisibility")); + bool returnVal = (self->virtual_SetItemVisibility)(tolua_function_tointeger(L, 2, "virtual_SetItemVisibility"), (ERemoteStoragePublishedFileVisibility)tolua_function_tointeger<__int32>(L, 3, "virtual_SetItemVisibility")); tolua_pushboolean(L, (bool)returnVal); return 1; } @@ -72967,7 +75227,7 @@ static int tolua_function_ISteamUGC_virtual_SetItemTags(lua_State* L) { ISteamUGC* self = (ISteamUGC*)tolua_tousertype_dynamic(L, 1, 0, "ISteamUGC"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_SetItemTags'", NULL); - bool returnVal = self->virtual_SetItemTags(tolua_function_tointeger(L, 2, "virtual_SetItemTags"), (const SteamParamStringArray_t*)tolua_tousertype_dynamic(L, 3, 0, "SteamParamStringArray_t")); + bool returnVal = (self->virtual_SetItemTags)(tolua_function_tointeger(L, 2, "virtual_SetItemTags"), (const SteamParamStringArray_t*)tolua_tousertype_dynamic(L, 3, 0, "SteamParamStringArray_t")); tolua_pushboolean(L, (bool)returnVal); return 1; } @@ -72976,7 +75236,7 @@ static int tolua_function_ISteamUGC_virtual_SetItemContent(lua_State* L) { ISteamUGC* self = (ISteamUGC*)tolua_tousertype_dynamic(L, 1, 0, "ISteamUGC"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_SetItemContent'", NULL); - bool returnVal = self->virtual_SetItemContent(tolua_function_tointeger(L, 2, "virtual_SetItemContent"), *(const char**)tolua_tousertype_dynamic(L, 3, 0, "ConstCharString")); + bool returnVal = (self->virtual_SetItemContent)(tolua_function_tointeger(L, 2, "virtual_SetItemContent"), *(const char**)tolua_tousertype_dynamic(L, 3, 0, "ConstCharString")); tolua_pushboolean(L, (bool)returnVal); return 1; } @@ -72985,7 +75245,7 @@ static int tolua_function_ISteamUGC_virtual_SetItemPreview(lua_State* L) { ISteamUGC* self = (ISteamUGC*)tolua_tousertype_dynamic(L, 1, 0, "ISteamUGC"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_SetItemPreview'", NULL); - bool returnVal = self->virtual_SetItemPreview(tolua_function_tointeger(L, 2, "virtual_SetItemPreview"), *(const char**)tolua_tousertype_dynamic(L, 3, 0, "ConstCharString")); + bool returnVal = (self->virtual_SetItemPreview)(tolua_function_tointeger(L, 2, "virtual_SetItemPreview"), *(const char**)tolua_tousertype_dynamic(L, 3, 0, "ConstCharString")); tolua_pushboolean(L, (bool)returnVal); return 1; } @@ -72994,7 +75254,7 @@ static int tolua_function_ISteamUGC_virtual_SetAllowLegacyUpload(lua_State* L) { ISteamUGC* self = (ISteamUGC*)tolua_tousertype_dynamic(L, 1, 0, "ISteamUGC"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_SetAllowLegacyUpload'", NULL); - bool returnVal = self->virtual_SetAllowLegacyUpload(tolua_function_tointeger(L, 2, "virtual_SetAllowLegacyUpload"), tolua_function_toboolean(L, 3, "virtual_SetAllowLegacyUpload")); + bool returnVal = (self->virtual_SetAllowLegacyUpload)(tolua_function_tointeger(L, 2, "virtual_SetAllowLegacyUpload"), tolua_function_toboolean(L, 3, "virtual_SetAllowLegacyUpload")); tolua_pushboolean(L, (bool)returnVal); return 1; } @@ -73003,7 +75263,7 @@ static int tolua_function_ISteamUGC_virtual_RemoveAllItemKeyValueTags(lua_State* { ISteamUGC* self = (ISteamUGC*)tolua_tousertype_dynamic(L, 1, 0, "ISteamUGC"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_RemoveAllItemKeyValueTags'", NULL); - bool returnVal = self->virtual_RemoveAllItemKeyValueTags(tolua_function_tointeger(L, 2, "virtual_RemoveAllItemKeyValueTags")); + bool returnVal = (self->virtual_RemoveAllItemKeyValueTags)(tolua_function_tointeger(L, 2, "virtual_RemoveAllItemKeyValueTags")); tolua_pushboolean(L, (bool)returnVal); return 1; } @@ -73012,7 +75272,7 @@ static int tolua_function_ISteamUGC_virtual_RemoveItemKeyValueTags(lua_State* L) { ISteamUGC* self = (ISteamUGC*)tolua_tousertype_dynamic(L, 1, 0, "ISteamUGC"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_RemoveItemKeyValueTags'", NULL); - bool returnVal = self->virtual_RemoveItemKeyValueTags(tolua_function_tointeger(L, 2, "virtual_RemoveItemKeyValueTags"), *(const char**)tolua_tousertype_dynamic(L, 3, 0, "ConstCharString")); + bool returnVal = (self->virtual_RemoveItemKeyValueTags)(tolua_function_tointeger(L, 2, "virtual_RemoveItemKeyValueTags"), *(const char**)tolua_tousertype_dynamic(L, 3, 0, "ConstCharString")); tolua_pushboolean(L, (bool)returnVal); return 1; } @@ -73021,7 +75281,7 @@ static int tolua_function_ISteamUGC_virtual_AddItemKeyValueTag(lua_State* L) { ISteamUGC* self = (ISteamUGC*)tolua_tousertype_dynamic(L, 1, 0, "ISteamUGC"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_AddItemKeyValueTag'", NULL); - bool returnVal = self->virtual_AddItemKeyValueTag(tolua_function_tointeger(L, 2, "virtual_AddItemKeyValueTag"), *(const char**)tolua_tousertype_dynamic(L, 3, 0, "ConstCharString"), *(const char**)tolua_tousertype_dynamic(L, 4, 0, "ConstCharString")); + bool returnVal = (self->virtual_AddItemKeyValueTag)(tolua_function_tointeger(L, 2, "virtual_AddItemKeyValueTag"), *(const char**)tolua_tousertype_dynamic(L, 3, 0, "ConstCharString"), *(const char**)tolua_tousertype_dynamic(L, 4, 0, "ConstCharString")); tolua_pushboolean(L, (bool)returnVal); return 1; } @@ -73030,7 +75290,7 @@ static int tolua_function_ISteamUGC_virtual_AddItemPreviewFile(lua_State* L) { ISteamUGC* self = (ISteamUGC*)tolua_tousertype_dynamic(L, 1, 0, "ISteamUGC"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_AddItemPreviewFile'", NULL); - bool returnVal = self->virtual_AddItemPreviewFile(tolua_function_tointeger(L, 2, "virtual_AddItemPreviewFile"), *(const char**)tolua_tousertype_dynamic(L, 3, 0, "ConstCharString"), (EItemPreviewType)tolua_function_tointeger<__int32>(L, 4, "virtual_AddItemPreviewFile")); + bool returnVal = (self->virtual_AddItemPreviewFile)(tolua_function_tointeger(L, 2, "virtual_AddItemPreviewFile"), *(const char**)tolua_tousertype_dynamic(L, 3, 0, "ConstCharString"), (EItemPreviewType)tolua_function_tointeger<__int32>(L, 4, "virtual_AddItemPreviewFile")); tolua_pushboolean(L, (bool)returnVal); return 1; } @@ -73039,7 +75299,7 @@ static int tolua_function_ISteamUGC_virtual_AddItemPreviewVideo(lua_State* L) { ISteamUGC* self = (ISteamUGC*)tolua_tousertype_dynamic(L, 1, 0, "ISteamUGC"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_AddItemPreviewVideo'", NULL); - bool returnVal = self->virtual_AddItemPreviewVideo(tolua_function_tointeger(L, 2, "virtual_AddItemPreviewVideo"), *(const char**)tolua_tousertype_dynamic(L, 3, 0, "ConstCharString")); + bool returnVal = (self->virtual_AddItemPreviewVideo)(tolua_function_tointeger(L, 2, "virtual_AddItemPreviewVideo"), *(const char**)tolua_tousertype_dynamic(L, 3, 0, "ConstCharString")); tolua_pushboolean(L, (bool)returnVal); return 1; } @@ -73048,7 +75308,7 @@ static int tolua_function_ISteamUGC_virtual_UpdateItemPreviewFile(lua_State* L) { ISteamUGC* self = (ISteamUGC*)tolua_tousertype_dynamic(L, 1, 0, "ISteamUGC"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_UpdateItemPreviewFile'", NULL); - bool returnVal = self->virtual_UpdateItemPreviewFile(tolua_function_tointeger(L, 2, "virtual_UpdateItemPreviewFile"), tolua_function_tointeger(L, 3, "virtual_UpdateItemPreviewFile"), *(const char**)tolua_tousertype_dynamic(L, 4, 0, "ConstCharString")); + bool returnVal = (self->virtual_UpdateItemPreviewFile)(tolua_function_tointeger(L, 2, "virtual_UpdateItemPreviewFile"), tolua_function_tointeger(L, 3, "virtual_UpdateItemPreviewFile"), *(const char**)tolua_tousertype_dynamic(L, 4, 0, "ConstCharString")); tolua_pushboolean(L, (bool)returnVal); return 1; } @@ -73057,7 +75317,7 @@ static int tolua_function_ISteamUGC_virtual_UpdateItemPreviewVideo(lua_State* L) { ISteamUGC* self = (ISteamUGC*)tolua_tousertype_dynamic(L, 1, 0, "ISteamUGC"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_UpdateItemPreviewVideo'", NULL); - bool returnVal = self->virtual_UpdateItemPreviewVideo(tolua_function_tointeger(L, 2, "virtual_UpdateItemPreviewVideo"), tolua_function_tointeger(L, 3, "virtual_UpdateItemPreviewVideo"), *(const char**)tolua_tousertype_dynamic(L, 4, 0, "ConstCharString")); + bool returnVal = (self->virtual_UpdateItemPreviewVideo)(tolua_function_tointeger(L, 2, "virtual_UpdateItemPreviewVideo"), tolua_function_tointeger(L, 3, "virtual_UpdateItemPreviewVideo"), *(const char**)tolua_tousertype_dynamic(L, 4, 0, "ConstCharString")); tolua_pushboolean(L, (bool)returnVal); return 1; } @@ -73066,7 +75326,7 @@ static int tolua_function_ISteamUGC_virtual_RemoveItemPreview(lua_State* L) { ISteamUGC* self = (ISteamUGC*)tolua_tousertype_dynamic(L, 1, 0, "ISteamUGC"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_RemoveItemPreview'", NULL); - bool returnVal = self->virtual_RemoveItemPreview(tolua_function_tointeger(L, 2, "virtual_RemoveItemPreview"), tolua_function_tointeger(L, 3, "virtual_RemoveItemPreview")); + bool returnVal = (self->virtual_RemoveItemPreview)(tolua_function_tointeger(L, 2, "virtual_RemoveItemPreview"), tolua_function_tointeger(L, 3, "virtual_RemoveItemPreview")); tolua_pushboolean(L, (bool)returnVal); return 1; } @@ -73075,7 +75335,7 @@ static int tolua_function_ISteamUGC_virtual_SubmitItemUpdate(lua_State* L) { ISteamUGC* self = (ISteamUGC*)tolua_tousertype_dynamic(L, 1, 0, "ISteamUGC"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_SubmitItemUpdate'", NULL); - unsigned __int64 returnVal = self->virtual_SubmitItemUpdate(tolua_function_tointeger(L, 2, "virtual_SubmitItemUpdate"), *(const char**)tolua_tousertype_dynamic(L, 3, 0, "ConstCharString")); + unsigned __int64 returnVal = (self->virtual_SubmitItemUpdate)(tolua_function_tointeger(L, 2, "virtual_SubmitItemUpdate"), *(const char**)tolua_tousertype_dynamic(L, 3, 0, "ConstCharString")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -73084,7 +75344,7 @@ static int tolua_function_ISteamUGC_virtual_GetItemUpdateProgress(lua_State* L) { ISteamUGC* self = (ISteamUGC*)tolua_tousertype_dynamic(L, 1, 0, "ISteamUGC"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_GetItemUpdateProgress'", NULL); - EItemUpdateStatus returnVal = self->virtual_GetItemUpdateProgress(tolua_function_tointeger(L, 2, "virtual_GetItemUpdateProgress"), (unsigned __int64*)tolua_tousertype_dynamic(L, 3, 0, "Primitive<__int64>"), (unsigned __int64*)tolua_tousertype_dynamic(L, 4, 0, "Primitive<__int64>")); + EItemUpdateStatus returnVal = (self->virtual_GetItemUpdateProgress)(tolua_function_tointeger(L, 2, "virtual_GetItemUpdateProgress"), (unsigned __int64*)tolua_tousertype_dynamic(L, 3, 0, "Primitive<__int64>"), (unsigned __int64*)tolua_tousertype_dynamic(L, 4, 0, "Primitive<__int64>")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -73093,7 +75353,7 @@ static int tolua_function_ISteamUGC_virtual_SetUserItemVote(lua_State* L) { ISteamUGC* self = (ISteamUGC*)tolua_tousertype_dynamic(L, 1, 0, "ISteamUGC"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_SetUserItemVote'", NULL); - unsigned __int64 returnVal = self->virtual_SetUserItemVote(tolua_function_tointeger(L, 2, "virtual_SetUserItemVote"), tolua_function_toboolean(L, 3, "virtual_SetUserItemVote")); + unsigned __int64 returnVal = (self->virtual_SetUserItemVote)(tolua_function_tointeger(L, 2, "virtual_SetUserItemVote"), tolua_function_toboolean(L, 3, "virtual_SetUserItemVote")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -73102,7 +75362,7 @@ static int tolua_function_ISteamUGC_virtual_GetUserItemVote(lua_State* L) { ISteamUGC* self = (ISteamUGC*)tolua_tousertype_dynamic(L, 1, 0, "ISteamUGC"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_GetUserItemVote'", NULL); - unsigned __int64 returnVal = self->virtual_GetUserItemVote(tolua_function_tointeger(L, 2, "virtual_GetUserItemVote")); + unsigned __int64 returnVal = (self->virtual_GetUserItemVote)(tolua_function_tointeger(L, 2, "virtual_GetUserItemVote")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -73111,7 +75371,7 @@ static int tolua_function_ISteamUGC_virtual_AddItemToFavorites(lua_State* L) { ISteamUGC* self = (ISteamUGC*)tolua_tousertype_dynamic(L, 1, 0, "ISteamUGC"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_AddItemToFavorites'", NULL); - unsigned __int64 returnVal = self->virtual_AddItemToFavorites(tolua_function_tointeger(L, 2, "virtual_AddItemToFavorites"), tolua_function_tointeger(L, 3, "virtual_AddItemToFavorites")); + unsigned __int64 returnVal = (self->virtual_AddItemToFavorites)(tolua_function_tointeger(L, 2, "virtual_AddItemToFavorites"), tolua_function_tointeger(L, 3, "virtual_AddItemToFavorites")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -73120,7 +75380,7 @@ static int tolua_function_ISteamUGC_virtual_RemoveItemFromFavorites(lua_State* L { ISteamUGC* self = (ISteamUGC*)tolua_tousertype_dynamic(L, 1, 0, "ISteamUGC"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_RemoveItemFromFavorites'", NULL); - unsigned __int64 returnVal = self->virtual_RemoveItemFromFavorites(tolua_function_tointeger(L, 2, "virtual_RemoveItemFromFavorites"), tolua_function_tointeger(L, 3, "virtual_RemoveItemFromFavorites")); + unsigned __int64 returnVal = (self->virtual_RemoveItemFromFavorites)(tolua_function_tointeger(L, 2, "virtual_RemoveItemFromFavorites"), tolua_function_tointeger(L, 3, "virtual_RemoveItemFromFavorites")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -73129,7 +75389,7 @@ static int tolua_function_ISteamUGC_virtual_SubscribeItem(lua_State* L) { ISteamUGC* self = (ISteamUGC*)tolua_tousertype_dynamic(L, 1, 0, "ISteamUGC"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_SubscribeItem'", NULL); - unsigned __int64 returnVal = self->virtual_SubscribeItem(tolua_function_tointeger(L, 2, "virtual_SubscribeItem")); + unsigned __int64 returnVal = (self->virtual_SubscribeItem)(tolua_function_tointeger(L, 2, "virtual_SubscribeItem")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -73138,7 +75398,7 @@ static int tolua_function_ISteamUGC_virtual_UnsubscribeItem(lua_State* L) { ISteamUGC* self = (ISteamUGC*)tolua_tousertype_dynamic(L, 1, 0, "ISteamUGC"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_UnsubscribeItem'", NULL); - unsigned __int64 returnVal = self->virtual_UnsubscribeItem(tolua_function_tointeger(L, 2, "virtual_UnsubscribeItem")); + unsigned __int64 returnVal = (self->virtual_UnsubscribeItem)(tolua_function_tointeger(L, 2, "virtual_UnsubscribeItem")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -73147,7 +75407,7 @@ static int tolua_function_ISteamUGC_virtual_GetNumSubscribedItems(lua_State* L) { ISteamUGC* self = (ISteamUGC*)tolua_tousertype_dynamic(L, 1, 0, "ISteamUGC"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_GetNumSubscribedItems'", NULL); - unsigned int returnVal = self->virtual_GetNumSubscribedItems(); + unsigned int returnVal = (self->virtual_GetNumSubscribedItems)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -73156,7 +75416,7 @@ static int tolua_function_ISteamUGC_virtual_GetSubscribedItems(lua_State* L) { ISteamUGC* self = (ISteamUGC*)tolua_tousertype_dynamic(L, 1, 0, "ISteamUGC"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_GetSubscribedItems'", NULL); - unsigned int returnVal = self->virtual_GetSubscribedItems((unsigned __int64*)tolua_tousertype_dynamic(L, 2, 0, "Primitive<__int64>"), tolua_function_tointeger(L, 3, "virtual_GetSubscribedItems")); + unsigned int returnVal = (self->virtual_GetSubscribedItems)((unsigned __int64*)tolua_tousertype_dynamic(L, 2, 0, "Primitive<__int64>"), tolua_function_tointeger(L, 3, "virtual_GetSubscribedItems")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -73165,7 +75425,7 @@ static int tolua_function_ISteamUGC_virtual_GetItemState(lua_State* L) { ISteamUGC* self = (ISteamUGC*)tolua_tousertype_dynamic(L, 1, 0, "ISteamUGC"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_GetItemState'", NULL); - unsigned int returnVal = self->virtual_GetItemState(tolua_function_tointeger(L, 2, "virtual_GetItemState")); + unsigned int returnVal = (self->virtual_GetItemState)(tolua_function_tointeger(L, 2, "virtual_GetItemState")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -73174,7 +75434,7 @@ static int tolua_function_ISteamUGC_virtual_GetItemInstallInfo(lua_State* L) { ISteamUGC* self = (ISteamUGC*)tolua_tousertype_dynamic(L, 1, 0, "ISteamUGC"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_GetItemInstallInfo'", NULL); - bool returnVal = self->virtual_GetItemInstallInfo(tolua_function_tointeger(L, 2, "virtual_GetItemInstallInfo"), (unsigned __int64*)tolua_tousertype_dynamic(L, 3, 0, "Primitive<__int64>"), *(char**)tolua_tousertype_dynamic(L, 4, 0, "CharString"), tolua_function_tointeger(L, 5, "virtual_GetItemInstallInfo"), (unsigned int*)tolua_tousertype_dynamic(L, 6, 0, "Primitive")); + bool returnVal = (self->virtual_GetItemInstallInfo)(tolua_function_tointeger(L, 2, "virtual_GetItemInstallInfo"), (unsigned __int64*)tolua_tousertype_dynamic(L, 3, 0, "Primitive<__int64>"), *(char**)tolua_tousertype_dynamic(L, 4, 0, "CharString"), tolua_function_tointeger(L, 5, "virtual_GetItemInstallInfo"), (unsigned int*)tolua_tousertype_dynamic(L, 6, 0, "Primitive")); tolua_pushboolean(L, (bool)returnVal); return 1; } @@ -73183,7 +75443,7 @@ static int tolua_function_ISteamUGC_virtual_GetItemDownloadInfo(lua_State* L) { ISteamUGC* self = (ISteamUGC*)tolua_tousertype_dynamic(L, 1, 0, "ISteamUGC"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_GetItemDownloadInfo'", NULL); - bool returnVal = self->virtual_GetItemDownloadInfo(tolua_function_tointeger(L, 2, "virtual_GetItemDownloadInfo"), (unsigned __int64*)tolua_tousertype_dynamic(L, 3, 0, "Primitive<__int64>"), (unsigned __int64*)tolua_tousertype_dynamic(L, 4, 0, "Primitive<__int64>")); + bool returnVal = (self->virtual_GetItemDownloadInfo)(tolua_function_tointeger(L, 2, "virtual_GetItemDownloadInfo"), (unsigned __int64*)tolua_tousertype_dynamic(L, 3, 0, "Primitive<__int64>"), (unsigned __int64*)tolua_tousertype_dynamic(L, 4, 0, "Primitive<__int64>")); tolua_pushboolean(L, (bool)returnVal); return 1; } @@ -73192,7 +75452,7 @@ static int tolua_function_ISteamUGC_virtual_DownloadItem(lua_State* L) { ISteamUGC* self = (ISteamUGC*)tolua_tousertype_dynamic(L, 1, 0, "ISteamUGC"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_DownloadItem'", NULL); - bool returnVal = self->virtual_DownloadItem(tolua_function_tointeger(L, 2, "virtual_DownloadItem"), tolua_function_toboolean(L, 3, "virtual_DownloadItem")); + bool returnVal = (self->virtual_DownloadItem)(tolua_function_tointeger(L, 2, "virtual_DownloadItem"), tolua_function_toboolean(L, 3, "virtual_DownloadItem")); tolua_pushboolean(L, (bool)returnVal); return 1; } @@ -73201,7 +75461,7 @@ static int tolua_function_ISteamUGC_virtual_BInitWorkshopForGameServer(lua_State { ISteamUGC* self = (ISteamUGC*)tolua_tousertype_dynamic(L, 1, 0, "ISteamUGC"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_BInitWorkshopForGameServer'", NULL); - bool returnVal = self->virtual_BInitWorkshopForGameServer(tolua_function_tointeger(L, 2, "virtual_BInitWorkshopForGameServer"), *(const char**)tolua_tousertype_dynamic(L, 3, 0, "ConstCharString")); + bool returnVal = (self->virtual_BInitWorkshopForGameServer)(tolua_function_tointeger(L, 2, "virtual_BInitWorkshopForGameServer"), *(const char**)tolua_tousertype_dynamic(L, 3, 0, "ConstCharString")); tolua_pushboolean(L, (bool)returnVal); return 1; } @@ -73210,7 +75470,7 @@ static int tolua_function_ISteamUGC_virtual_SuspendDownloads(lua_State* L) { ISteamUGC* self = (ISteamUGC*)tolua_tousertype_dynamic(L, 1, 0, "ISteamUGC"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_SuspendDownloads'", NULL); - self->virtual_SuspendDownloads(tolua_function_toboolean(L, 2, "virtual_SuspendDownloads")); + (self->virtual_SuspendDownloads)(tolua_function_toboolean(L, 2, "virtual_SuspendDownloads")); return 0; } @@ -73218,7 +75478,7 @@ static int tolua_function_ISteamUGC_virtual_StartPlaytimeTracking(lua_State* L) { ISteamUGC* self = (ISteamUGC*)tolua_tousertype_dynamic(L, 1, 0, "ISteamUGC"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_StartPlaytimeTracking'", NULL); - unsigned __int64 returnVal = self->virtual_StartPlaytimeTracking((unsigned __int64*)tolua_tousertype_dynamic(L, 2, 0, "Primitive<__int64>"), tolua_function_tointeger(L, 3, "virtual_StartPlaytimeTracking")); + unsigned __int64 returnVal = (self->virtual_StartPlaytimeTracking)((unsigned __int64*)tolua_tousertype_dynamic(L, 2, 0, "Primitive<__int64>"), tolua_function_tointeger(L, 3, "virtual_StartPlaytimeTracking")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -73227,7 +75487,7 @@ static int tolua_function_ISteamUGC_virtual_StopPlaytimeTracking(lua_State* L) { ISteamUGC* self = (ISteamUGC*)tolua_tousertype_dynamic(L, 1, 0, "ISteamUGC"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_StopPlaytimeTracking'", NULL); - unsigned __int64 returnVal = self->virtual_StopPlaytimeTracking((unsigned __int64*)tolua_tousertype_dynamic(L, 2, 0, "Primitive<__int64>"), tolua_function_tointeger(L, 3, "virtual_StopPlaytimeTracking")); + unsigned __int64 returnVal = (self->virtual_StopPlaytimeTracking)((unsigned __int64*)tolua_tousertype_dynamic(L, 2, 0, "Primitive<__int64>"), tolua_function_tointeger(L, 3, "virtual_StopPlaytimeTracking")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -73236,7 +75496,7 @@ static int tolua_function_ISteamUGC_virtual_StopPlaytimeTrackingForAllItems(lua_ { ISteamUGC* self = (ISteamUGC*)tolua_tousertype_dynamic(L, 1, 0, "ISteamUGC"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_StopPlaytimeTrackingForAllItems'", NULL); - unsigned __int64 returnVal = self->virtual_StopPlaytimeTrackingForAllItems(); + unsigned __int64 returnVal = (self->virtual_StopPlaytimeTrackingForAllItems)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -73245,7 +75505,7 @@ static int tolua_function_ISteamUGC_virtual_AddDependency(lua_State* L) { ISteamUGC* self = (ISteamUGC*)tolua_tousertype_dynamic(L, 1, 0, "ISteamUGC"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_AddDependency'", NULL); - unsigned __int64 returnVal = self->virtual_AddDependency(tolua_function_tointeger(L, 2, "virtual_AddDependency"), tolua_function_tointeger(L, 3, "virtual_AddDependency")); + unsigned __int64 returnVal = (self->virtual_AddDependency)(tolua_function_tointeger(L, 2, "virtual_AddDependency"), tolua_function_tointeger(L, 3, "virtual_AddDependency")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -73254,7 +75514,7 @@ static int tolua_function_ISteamUGC_virtual_RemoveDependency(lua_State* L) { ISteamUGC* self = (ISteamUGC*)tolua_tousertype_dynamic(L, 1, 0, "ISteamUGC"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_RemoveDependency'", NULL); - unsigned __int64 returnVal = self->virtual_RemoveDependency(tolua_function_tointeger(L, 2, "virtual_RemoveDependency"), tolua_function_tointeger(L, 3, "virtual_RemoveDependency")); + unsigned __int64 returnVal = (self->virtual_RemoveDependency)(tolua_function_tointeger(L, 2, "virtual_RemoveDependency"), tolua_function_tointeger(L, 3, "virtual_RemoveDependency")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -73263,7 +75523,7 @@ static int tolua_function_ISteamUGC_virtual_AddAppDependency(lua_State* L) { ISteamUGC* self = (ISteamUGC*)tolua_tousertype_dynamic(L, 1, 0, "ISteamUGC"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_AddAppDependency'", NULL); - unsigned __int64 returnVal = self->virtual_AddAppDependency(tolua_function_tointeger(L, 2, "virtual_AddAppDependency"), tolua_function_tointeger(L, 3, "virtual_AddAppDependency")); + unsigned __int64 returnVal = (self->virtual_AddAppDependency)(tolua_function_tointeger(L, 2, "virtual_AddAppDependency"), tolua_function_tointeger(L, 3, "virtual_AddAppDependency")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -73272,7 +75532,7 @@ static int tolua_function_ISteamUGC_virtual_RemoveAppDependency(lua_State* L) { ISteamUGC* self = (ISteamUGC*)tolua_tousertype_dynamic(L, 1, 0, "ISteamUGC"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_RemoveAppDependency'", NULL); - unsigned __int64 returnVal = self->virtual_RemoveAppDependency(tolua_function_tointeger(L, 2, "virtual_RemoveAppDependency"), tolua_function_tointeger(L, 3, "virtual_RemoveAppDependency")); + unsigned __int64 returnVal = (self->virtual_RemoveAppDependency)(tolua_function_tointeger(L, 2, "virtual_RemoveAppDependency"), tolua_function_tointeger(L, 3, "virtual_RemoveAppDependency")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -73281,7 +75541,7 @@ static int tolua_function_ISteamUGC_virtual_GetAppDependencies(lua_State* L) { ISteamUGC* self = (ISteamUGC*)tolua_tousertype_dynamic(L, 1, 0, "ISteamUGC"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_GetAppDependencies'", NULL); - unsigned __int64 returnVal = self->virtual_GetAppDependencies(tolua_function_tointeger(L, 2, "virtual_GetAppDependencies")); + unsigned __int64 returnVal = (self->virtual_GetAppDependencies)(tolua_function_tointeger(L, 2, "virtual_GetAppDependencies")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -73290,7 +75550,7 @@ static int tolua_function_ISteamUGC_virtual_DeleteItem(lua_State* L) { ISteamUGC* self = (ISteamUGC*)tolua_tousertype_dynamic(L, 1, 0, "ISteamUGC"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_DeleteItem'", NULL); - unsigned __int64 returnVal = self->virtual_DeleteItem(tolua_function_tointeger(L, 2, "virtual_DeleteItem")); + unsigned __int64 returnVal = (self->virtual_DeleteItem)(tolua_function_tointeger(L, 2, "virtual_DeleteItem")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -74721,7 +76981,7 @@ static int tolua_function_ISteamRemoteStorage_virtual_FileWrite(lua_State* L) { ISteamRemoteStorage* self = (ISteamRemoteStorage*)tolua_tousertype_dynamic(L, 1, 0, "ISteamRemoteStorage"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_FileWrite'", NULL); - bool returnVal = self->virtual_FileWrite(*(const char**)tolua_tousertype_dynamic(L, 2, 0, "ConstCharString"), (const void*)tolua_tousertype_dynamic(L, 3, 0, "UnmappedUserType"), tolua_function_tointeger(L, 4, "virtual_FileWrite")); + bool returnVal = (self->virtual_FileWrite)(*(const char**)tolua_tousertype_dynamic(L, 2, 0, "ConstCharString"), (const void*)tolua_tousertype_dynamic(L, 3, 0, "UnmappedUserType"), tolua_function_tointeger(L, 4, "virtual_FileWrite")); tolua_pushboolean(L, (bool)returnVal); return 1; } @@ -74730,7 +76990,7 @@ static int tolua_function_ISteamRemoteStorage_virtual_FileRead(lua_State* L) { ISteamRemoteStorage* self = (ISteamRemoteStorage*)tolua_tousertype_dynamic(L, 1, 0, "ISteamRemoteStorage"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_FileRead'", NULL); - int returnVal = self->virtual_FileRead(*(const char**)tolua_tousertype_dynamic(L, 2, 0, "ConstCharString"), (void*)tolua_tousertype_dynamic(L, 3, 0, "UnmappedUserType"), tolua_function_tointeger(L, 4, "virtual_FileRead")); + int returnVal = (self->virtual_FileRead)(*(const char**)tolua_tousertype_dynamic(L, 2, 0, "ConstCharString"), (void*)tolua_tousertype_dynamic(L, 3, 0, "UnmappedUserType"), tolua_function_tointeger(L, 4, "virtual_FileRead")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -74739,7 +76999,7 @@ static int tolua_function_ISteamRemoteStorage_virtual_FileWriteAsync(lua_State* { ISteamRemoteStorage* self = (ISteamRemoteStorage*)tolua_tousertype_dynamic(L, 1, 0, "ISteamRemoteStorage"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_FileWriteAsync'", NULL); - unsigned __int64 returnVal = self->virtual_FileWriteAsync(*(const char**)tolua_tousertype_dynamic(L, 2, 0, "ConstCharString"), (const void*)tolua_tousertype_dynamic(L, 3, 0, "UnmappedUserType"), tolua_function_tointeger(L, 4, "virtual_FileWriteAsync")); + unsigned __int64 returnVal = (self->virtual_FileWriteAsync)(*(const char**)tolua_tousertype_dynamic(L, 2, 0, "ConstCharString"), (const void*)tolua_tousertype_dynamic(L, 3, 0, "UnmappedUserType"), tolua_function_tointeger(L, 4, "virtual_FileWriteAsync")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -74748,7 +77008,7 @@ static int tolua_function_ISteamRemoteStorage_virtual_FileReadAsync(lua_State* L { ISteamRemoteStorage* self = (ISteamRemoteStorage*)tolua_tousertype_dynamic(L, 1, 0, "ISteamRemoteStorage"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_FileReadAsync'", NULL); - unsigned __int64 returnVal = self->virtual_FileReadAsync(*(const char**)tolua_tousertype_dynamic(L, 2, 0, "ConstCharString"), tolua_function_tointeger(L, 3, "virtual_FileReadAsync"), tolua_function_tointeger(L, 4, "virtual_FileReadAsync")); + unsigned __int64 returnVal = (self->virtual_FileReadAsync)(*(const char**)tolua_tousertype_dynamic(L, 2, 0, "ConstCharString"), tolua_function_tointeger(L, 3, "virtual_FileReadAsync"), tolua_function_tointeger(L, 4, "virtual_FileReadAsync")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -74757,7 +77017,7 @@ static int tolua_function_ISteamRemoteStorage_virtual_FileReadAsyncComplete(lua_ { ISteamRemoteStorage* self = (ISteamRemoteStorage*)tolua_tousertype_dynamic(L, 1, 0, "ISteamRemoteStorage"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_FileReadAsyncComplete'", NULL); - bool returnVal = self->virtual_FileReadAsyncComplete(tolua_function_tointeger(L, 2, "virtual_FileReadAsyncComplete"), (void*)tolua_tousertype_dynamic(L, 3, 0, "UnmappedUserType"), tolua_function_tointeger(L, 4, "virtual_FileReadAsyncComplete")); + bool returnVal = (self->virtual_FileReadAsyncComplete)(tolua_function_tointeger(L, 2, "virtual_FileReadAsyncComplete"), (void*)tolua_tousertype_dynamic(L, 3, 0, "UnmappedUserType"), tolua_function_tointeger(L, 4, "virtual_FileReadAsyncComplete")); tolua_pushboolean(L, (bool)returnVal); return 1; } @@ -74766,7 +77026,7 @@ static int tolua_function_ISteamRemoteStorage_virtual_FileForget(lua_State* L) { ISteamRemoteStorage* self = (ISteamRemoteStorage*)tolua_tousertype_dynamic(L, 1, 0, "ISteamRemoteStorage"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_FileForget'", NULL); - bool returnVal = self->virtual_FileForget(*(const char**)tolua_tousertype_dynamic(L, 2, 0, "ConstCharString")); + bool returnVal = (self->virtual_FileForget)(*(const char**)tolua_tousertype_dynamic(L, 2, 0, "ConstCharString")); tolua_pushboolean(L, (bool)returnVal); return 1; } @@ -74775,7 +77035,7 @@ static int tolua_function_ISteamRemoteStorage_virtual_FileDelete(lua_State* L) { ISteamRemoteStorage* self = (ISteamRemoteStorage*)tolua_tousertype_dynamic(L, 1, 0, "ISteamRemoteStorage"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_FileDelete'", NULL); - bool returnVal = self->virtual_FileDelete(*(const char**)tolua_tousertype_dynamic(L, 2, 0, "ConstCharString")); + bool returnVal = (self->virtual_FileDelete)(*(const char**)tolua_tousertype_dynamic(L, 2, 0, "ConstCharString")); tolua_pushboolean(L, (bool)returnVal); return 1; } @@ -74784,7 +77044,7 @@ static int tolua_function_ISteamRemoteStorage_virtual_FileShare(lua_State* L) { ISteamRemoteStorage* self = (ISteamRemoteStorage*)tolua_tousertype_dynamic(L, 1, 0, "ISteamRemoteStorage"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_FileShare'", NULL); - unsigned __int64 returnVal = self->virtual_FileShare(*(const char**)tolua_tousertype_dynamic(L, 2, 0, "ConstCharString")); + unsigned __int64 returnVal = (self->virtual_FileShare)(*(const char**)tolua_tousertype_dynamic(L, 2, 0, "ConstCharString")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -74793,7 +77053,7 @@ static int tolua_function_ISteamRemoteStorage_virtual_SetSyncPlatforms(lua_State { ISteamRemoteStorage* self = (ISteamRemoteStorage*)tolua_tousertype_dynamic(L, 1, 0, "ISteamRemoteStorage"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_SetSyncPlatforms'", NULL); - bool returnVal = self->virtual_SetSyncPlatforms(*(const char**)tolua_tousertype_dynamic(L, 2, 0, "ConstCharString"), (ERemoteStoragePlatform)tolua_function_tointeger<__int32>(L, 3, "virtual_SetSyncPlatforms")); + bool returnVal = (self->virtual_SetSyncPlatforms)(*(const char**)tolua_tousertype_dynamic(L, 2, 0, "ConstCharString"), (ERemoteStoragePlatform)tolua_function_tointeger<__int32>(L, 3, "virtual_SetSyncPlatforms")); tolua_pushboolean(L, (bool)returnVal); return 1; } @@ -74802,7 +77062,7 @@ static int tolua_function_ISteamRemoteStorage_virtual_FileWriteStreamOpen(lua_St { ISteamRemoteStorage* self = (ISteamRemoteStorage*)tolua_tousertype_dynamic(L, 1, 0, "ISteamRemoteStorage"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_FileWriteStreamOpen'", NULL); - unsigned __int64 returnVal = self->virtual_FileWriteStreamOpen(*(const char**)tolua_tousertype_dynamic(L, 2, 0, "ConstCharString")); + unsigned __int64 returnVal = (self->virtual_FileWriteStreamOpen)(*(const char**)tolua_tousertype_dynamic(L, 2, 0, "ConstCharString")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -74811,7 +77071,7 @@ static int tolua_function_ISteamRemoteStorage_virtual_FileWriteStreamWriteChunk( { ISteamRemoteStorage* self = (ISteamRemoteStorage*)tolua_tousertype_dynamic(L, 1, 0, "ISteamRemoteStorage"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_FileWriteStreamWriteChunk'", NULL); - bool returnVal = self->virtual_FileWriteStreamWriteChunk(tolua_function_tointeger(L, 2, "virtual_FileWriteStreamWriteChunk"), (const void*)tolua_tousertype_dynamic(L, 3, 0, "UnmappedUserType"), tolua_function_tointeger(L, 4, "virtual_FileWriteStreamWriteChunk")); + bool returnVal = (self->virtual_FileWriteStreamWriteChunk)(tolua_function_tointeger(L, 2, "virtual_FileWriteStreamWriteChunk"), (const void*)tolua_tousertype_dynamic(L, 3, 0, "UnmappedUserType"), tolua_function_tointeger(L, 4, "virtual_FileWriteStreamWriteChunk")); tolua_pushboolean(L, (bool)returnVal); return 1; } @@ -74820,7 +77080,7 @@ static int tolua_function_ISteamRemoteStorage_virtual_FileWriteStreamClose(lua_S { ISteamRemoteStorage* self = (ISteamRemoteStorage*)tolua_tousertype_dynamic(L, 1, 0, "ISteamRemoteStorage"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_FileWriteStreamClose'", NULL); - bool returnVal = self->virtual_FileWriteStreamClose(tolua_function_tointeger(L, 2, "virtual_FileWriteStreamClose")); + bool returnVal = (self->virtual_FileWriteStreamClose)(tolua_function_tointeger(L, 2, "virtual_FileWriteStreamClose")); tolua_pushboolean(L, (bool)returnVal); return 1; } @@ -74829,7 +77089,7 @@ static int tolua_function_ISteamRemoteStorage_virtual_FileWriteStreamCancel(lua_ { ISteamRemoteStorage* self = (ISteamRemoteStorage*)tolua_tousertype_dynamic(L, 1, 0, "ISteamRemoteStorage"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_FileWriteStreamCancel'", NULL); - bool returnVal = self->virtual_FileWriteStreamCancel(tolua_function_tointeger(L, 2, "virtual_FileWriteStreamCancel")); + bool returnVal = (self->virtual_FileWriteStreamCancel)(tolua_function_tointeger(L, 2, "virtual_FileWriteStreamCancel")); tolua_pushboolean(L, (bool)returnVal); return 1; } @@ -74838,7 +77098,7 @@ static int tolua_function_ISteamRemoteStorage_virtual_FileExists(lua_State* L) { ISteamRemoteStorage* self = (ISteamRemoteStorage*)tolua_tousertype_dynamic(L, 1, 0, "ISteamRemoteStorage"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_FileExists'", NULL); - bool returnVal = self->virtual_FileExists(*(const char**)tolua_tousertype_dynamic(L, 2, 0, "ConstCharString")); + bool returnVal = (self->virtual_FileExists)(*(const char**)tolua_tousertype_dynamic(L, 2, 0, "ConstCharString")); tolua_pushboolean(L, (bool)returnVal); return 1; } @@ -74847,7 +77107,7 @@ static int tolua_function_ISteamRemoteStorage_virtual_FilePersisted(lua_State* L { ISteamRemoteStorage* self = (ISteamRemoteStorage*)tolua_tousertype_dynamic(L, 1, 0, "ISteamRemoteStorage"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_FilePersisted'", NULL); - bool returnVal = self->virtual_FilePersisted(*(const char**)tolua_tousertype_dynamic(L, 2, 0, "ConstCharString")); + bool returnVal = (self->virtual_FilePersisted)(*(const char**)tolua_tousertype_dynamic(L, 2, 0, "ConstCharString")); tolua_pushboolean(L, (bool)returnVal); return 1; } @@ -74856,7 +77116,7 @@ static int tolua_function_ISteamRemoteStorage_virtual_GetFileSize(lua_State* L) { ISteamRemoteStorage* self = (ISteamRemoteStorage*)tolua_tousertype_dynamic(L, 1, 0, "ISteamRemoteStorage"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_GetFileSize'", NULL); - int returnVal = self->virtual_GetFileSize(*(const char**)tolua_tousertype_dynamic(L, 2, 0, "ConstCharString")); + int returnVal = (self->virtual_GetFileSize)(*(const char**)tolua_tousertype_dynamic(L, 2, 0, "ConstCharString")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -74865,7 +77125,7 @@ static int tolua_function_ISteamRemoteStorage_virtual_GetFileTimestamp(lua_State { ISteamRemoteStorage* self = (ISteamRemoteStorage*)tolua_tousertype_dynamic(L, 1, 0, "ISteamRemoteStorage"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_GetFileTimestamp'", NULL); - __int64 returnVal = self->virtual_GetFileTimestamp(*(const char**)tolua_tousertype_dynamic(L, 2, 0, "ConstCharString")); + __int64 returnVal = (self->virtual_GetFileTimestamp)(*(const char**)tolua_tousertype_dynamic(L, 2, 0, "ConstCharString")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -74874,7 +77134,7 @@ static int tolua_function_ISteamRemoteStorage_virtual_GetSyncPlatforms(lua_State { ISteamRemoteStorage* self = (ISteamRemoteStorage*)tolua_tousertype_dynamic(L, 1, 0, "ISteamRemoteStorage"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_GetSyncPlatforms'", NULL); - ERemoteStoragePlatform returnVal = self->virtual_GetSyncPlatforms(*(const char**)tolua_tousertype_dynamic(L, 2, 0, "ConstCharString")); + ERemoteStoragePlatform returnVal = (self->virtual_GetSyncPlatforms)(*(const char**)tolua_tousertype_dynamic(L, 2, 0, "ConstCharString")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -74883,7 +77143,7 @@ static int tolua_function_ISteamRemoteStorage_virtual_GetFileCount(lua_State* L) { ISteamRemoteStorage* self = (ISteamRemoteStorage*)tolua_tousertype_dynamic(L, 1, 0, "ISteamRemoteStorage"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_GetFileCount'", NULL); - int returnVal = self->virtual_GetFileCount(); + int returnVal = (self->virtual_GetFileCount)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -74892,7 +77152,7 @@ static int tolua_function_ISteamRemoteStorage_virtual_GetQuota(lua_State* L) { ISteamRemoteStorage* self = (ISteamRemoteStorage*)tolua_tousertype_dynamic(L, 1, 0, "ISteamRemoteStorage"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_GetQuota'", NULL); - bool returnVal = self->virtual_GetQuota((unsigned __int64*)tolua_tousertype_dynamic(L, 2, 0, "Primitive<__int64>"), (unsigned __int64*)tolua_tousertype_dynamic(L, 3, 0, "Primitive<__int64>")); + bool returnVal = (self->virtual_GetQuota)((unsigned __int64*)tolua_tousertype_dynamic(L, 2, 0, "Primitive<__int64>"), (unsigned __int64*)tolua_tousertype_dynamic(L, 3, 0, "Primitive<__int64>")); tolua_pushboolean(L, (bool)returnVal); return 1; } @@ -74901,7 +77161,7 @@ static int tolua_function_ISteamRemoteStorage_virtual_IsCloudEnabledForAccount(l { ISteamRemoteStorage* self = (ISteamRemoteStorage*)tolua_tousertype_dynamic(L, 1, 0, "ISteamRemoteStorage"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_IsCloudEnabledForAccount'", NULL); - bool returnVal = self->virtual_IsCloudEnabledForAccount(); + bool returnVal = (self->virtual_IsCloudEnabledForAccount)(); tolua_pushboolean(L, (bool)returnVal); return 1; } @@ -74910,7 +77170,7 @@ static int tolua_function_ISteamRemoteStorage_virtual_IsCloudEnabledForApp(lua_S { ISteamRemoteStorage* self = (ISteamRemoteStorage*)tolua_tousertype_dynamic(L, 1, 0, "ISteamRemoteStorage"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_IsCloudEnabledForApp'", NULL); - bool returnVal = self->virtual_IsCloudEnabledForApp(); + bool returnVal = (self->virtual_IsCloudEnabledForApp)(); tolua_pushboolean(L, (bool)returnVal); return 1; } @@ -74919,7 +77179,7 @@ static int tolua_function_ISteamRemoteStorage_virtual_SetCloudEnabledForApp(lua_ { ISteamRemoteStorage* self = (ISteamRemoteStorage*)tolua_tousertype_dynamic(L, 1, 0, "ISteamRemoteStorage"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_SetCloudEnabledForApp'", NULL); - self->virtual_SetCloudEnabledForApp(tolua_function_toboolean(L, 2, "virtual_SetCloudEnabledForApp")); + (self->virtual_SetCloudEnabledForApp)(tolua_function_toboolean(L, 2, "virtual_SetCloudEnabledForApp")); return 0; } @@ -74927,7 +77187,7 @@ static int tolua_function_ISteamRemoteStorage_virtual_UGCDownload(lua_State* L) { ISteamRemoteStorage* self = (ISteamRemoteStorage*)tolua_tousertype_dynamic(L, 1, 0, "ISteamRemoteStorage"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_UGCDownload'", NULL); - unsigned __int64 returnVal = self->virtual_UGCDownload(tolua_function_tointeger(L, 2, "virtual_UGCDownload"), tolua_function_tointeger(L, 3, "virtual_UGCDownload")); + unsigned __int64 returnVal = (self->virtual_UGCDownload)(tolua_function_tointeger(L, 2, "virtual_UGCDownload"), tolua_function_tointeger(L, 3, "virtual_UGCDownload")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -74936,7 +77196,7 @@ static int tolua_function_ISteamRemoteStorage_virtual_GetUGCDownloadProgress(lua { ISteamRemoteStorage* self = (ISteamRemoteStorage*)tolua_tousertype_dynamic(L, 1, 0, "ISteamRemoteStorage"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_GetUGCDownloadProgress'", NULL); - bool returnVal = self->virtual_GetUGCDownloadProgress(tolua_function_tointeger(L, 2, "virtual_GetUGCDownloadProgress"), (int*)tolua_tousertype_dynamic(L, 3, 0, "Primitive"), (int*)tolua_tousertype_dynamic(L, 4, 0, "Primitive")); + bool returnVal = (self->virtual_GetUGCDownloadProgress)(tolua_function_tointeger(L, 2, "virtual_GetUGCDownloadProgress"), (int*)tolua_tousertype_dynamic(L, 3, 0, "Primitive"), (int*)tolua_tousertype_dynamic(L, 4, 0, "Primitive")); tolua_pushboolean(L, (bool)returnVal); return 1; } @@ -74945,7 +77205,7 @@ static int tolua_function_ISteamRemoteStorage_virtual_GetUGCDetails(lua_State* L { ISteamRemoteStorage* self = (ISteamRemoteStorage*)tolua_tousertype_dynamic(L, 1, 0, "ISteamRemoteStorage"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_GetUGCDetails'", NULL); - bool returnVal = self->virtual_GetUGCDetails(tolua_function_tointeger(L, 2, "virtual_GetUGCDetails"), (unsigned int*)tolua_tousertype_dynamic(L, 3, 0, "Primitive"), (char**)tolua_tousertype_dynamic(L, 4, 0, "CharString"), (int*)tolua_tousertype_dynamic(L, 5, 0, "Primitive"), (CSteamID*)tolua_tousertype_dynamic(L, 6, 0, "CSteamID")); + bool returnVal = (self->virtual_GetUGCDetails)(tolua_function_tointeger(L, 2, "virtual_GetUGCDetails"), (unsigned int*)tolua_tousertype_dynamic(L, 3, 0, "Primitive"), (char**)tolua_tousertype_dynamic(L, 4, 0, "CharString"), (int*)tolua_tousertype_dynamic(L, 5, 0, "Primitive"), (CSteamID*)tolua_tousertype_dynamic(L, 6, 0, "CSteamID")); tolua_pushboolean(L, (bool)returnVal); return 1; } @@ -74954,7 +77214,7 @@ static int tolua_function_ISteamRemoteStorage_virtual_UGCRead(lua_State* L) { ISteamRemoteStorage* self = (ISteamRemoteStorage*)tolua_tousertype_dynamic(L, 1, 0, "ISteamRemoteStorage"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_UGCRead'", NULL); - int returnVal = self->virtual_UGCRead(tolua_function_tointeger(L, 2, "virtual_UGCRead"), (void*)tolua_tousertype_dynamic(L, 3, 0, "UnmappedUserType"), tolua_function_tointeger(L, 4, "virtual_UGCRead"), tolua_function_tointeger(L, 5, "virtual_UGCRead"), (EUGCReadAction)tolua_function_tointeger<__int32>(L, 6, "virtual_UGCRead")); + int returnVal = (self->virtual_UGCRead)(tolua_function_tointeger(L, 2, "virtual_UGCRead"), (void*)tolua_tousertype_dynamic(L, 3, 0, "UnmappedUserType"), tolua_function_tointeger(L, 4, "virtual_UGCRead"), tolua_function_tointeger(L, 5, "virtual_UGCRead"), (EUGCReadAction)tolua_function_tointeger<__int32>(L, 6, "virtual_UGCRead")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -74963,7 +77223,7 @@ static int tolua_function_ISteamRemoteStorage_virtual_GetCachedUGCCount(lua_Stat { ISteamRemoteStorage* self = (ISteamRemoteStorage*)tolua_tousertype_dynamic(L, 1, 0, "ISteamRemoteStorage"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_GetCachedUGCCount'", NULL); - int returnVal = self->virtual_GetCachedUGCCount(); + int returnVal = (self->virtual_GetCachedUGCCount)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -74972,7 +77232,7 @@ static int tolua_function_ISteamRemoteStorage_virtual_GetCachedUGCHandle(lua_Sta { ISteamRemoteStorage* self = (ISteamRemoteStorage*)tolua_tousertype_dynamic(L, 1, 0, "ISteamRemoteStorage"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_GetCachedUGCHandle'", NULL); - unsigned __int64 returnVal = self->virtual_GetCachedUGCHandle(tolua_function_tointeger(L, 2, "virtual_GetCachedUGCHandle")); + unsigned __int64 returnVal = (self->virtual_GetCachedUGCHandle)(tolua_function_tointeger(L, 2, "virtual_GetCachedUGCHandle")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -74981,7 +77241,7 @@ static int tolua_function_ISteamRemoteStorage_virtual_PublishWorkshopFile(lua_St { ISteamRemoteStorage* self = (ISteamRemoteStorage*)tolua_tousertype_dynamic(L, 1, 0, "ISteamRemoteStorage"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_PublishWorkshopFile'", NULL); - unsigned __int64 returnVal = self->virtual_PublishWorkshopFile(*(const char**)tolua_tousertype_dynamic(L, 2, 0, "ConstCharString"), *(const char**)tolua_tousertype_dynamic(L, 3, 0, "ConstCharString"), tolua_function_tointeger(L, 4, "virtual_PublishWorkshopFile"), *(const char**)tolua_tousertype_dynamic(L, 5, 0, "ConstCharString"), *(const char**)tolua_tousertype_dynamic(L, 6, 0, "ConstCharString"), (ERemoteStoragePublishedFileVisibility)tolua_function_tointeger<__int32>(L, 7, "virtual_PublishWorkshopFile"), (SteamParamStringArray_t*)tolua_tousertype_dynamic(L, 8, 0, "SteamParamStringArray_t"), (EWorkshopFileType)tolua_function_tointeger<__int32>(L, 9, "virtual_PublishWorkshopFile")); + unsigned __int64 returnVal = (self->virtual_PublishWorkshopFile)(*(const char**)tolua_tousertype_dynamic(L, 2, 0, "ConstCharString"), *(const char**)tolua_tousertype_dynamic(L, 3, 0, "ConstCharString"), tolua_function_tointeger(L, 4, "virtual_PublishWorkshopFile"), *(const char**)tolua_tousertype_dynamic(L, 5, 0, "ConstCharString"), *(const char**)tolua_tousertype_dynamic(L, 6, 0, "ConstCharString"), (ERemoteStoragePublishedFileVisibility)tolua_function_tointeger<__int32>(L, 7, "virtual_PublishWorkshopFile"), (SteamParamStringArray_t*)tolua_tousertype_dynamic(L, 8, 0, "SteamParamStringArray_t"), (EWorkshopFileType)tolua_function_tointeger<__int32>(L, 9, "virtual_PublishWorkshopFile")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -74990,7 +77250,7 @@ static int tolua_function_ISteamRemoteStorage_virtual_CreatePublishedFileUpdateR { ISteamRemoteStorage* self = (ISteamRemoteStorage*)tolua_tousertype_dynamic(L, 1, 0, "ISteamRemoteStorage"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_CreatePublishedFileUpdateRequest'", NULL); - unsigned __int64 returnVal = self->virtual_CreatePublishedFileUpdateRequest(tolua_function_tointeger(L, 2, "virtual_CreatePublishedFileUpdateRequest")); + unsigned __int64 returnVal = (self->virtual_CreatePublishedFileUpdateRequest)(tolua_function_tointeger(L, 2, "virtual_CreatePublishedFileUpdateRequest")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -74999,7 +77259,7 @@ static int tolua_function_ISteamRemoteStorage_virtual_UpdatePublishedFileFile(lu { ISteamRemoteStorage* self = (ISteamRemoteStorage*)tolua_tousertype_dynamic(L, 1, 0, "ISteamRemoteStorage"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_UpdatePublishedFileFile'", NULL); - bool returnVal = self->virtual_UpdatePublishedFileFile(tolua_function_tointeger(L, 2, "virtual_UpdatePublishedFileFile"), *(const char**)tolua_tousertype_dynamic(L, 3, 0, "ConstCharString")); + bool returnVal = (self->virtual_UpdatePublishedFileFile)(tolua_function_tointeger(L, 2, "virtual_UpdatePublishedFileFile"), *(const char**)tolua_tousertype_dynamic(L, 3, 0, "ConstCharString")); tolua_pushboolean(L, (bool)returnVal); return 1; } @@ -75008,7 +77268,7 @@ static int tolua_function_ISteamRemoteStorage_virtual_UpdatePublishedFilePreview { ISteamRemoteStorage* self = (ISteamRemoteStorage*)tolua_tousertype_dynamic(L, 1, 0, "ISteamRemoteStorage"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_UpdatePublishedFilePreviewFile'", NULL); - bool returnVal = self->virtual_UpdatePublishedFilePreviewFile(tolua_function_tointeger(L, 2, "virtual_UpdatePublishedFilePreviewFile"), *(const char**)tolua_tousertype_dynamic(L, 3, 0, "ConstCharString")); + bool returnVal = (self->virtual_UpdatePublishedFilePreviewFile)(tolua_function_tointeger(L, 2, "virtual_UpdatePublishedFilePreviewFile"), *(const char**)tolua_tousertype_dynamic(L, 3, 0, "ConstCharString")); tolua_pushboolean(L, (bool)returnVal); return 1; } @@ -75017,7 +77277,7 @@ static int tolua_function_ISteamRemoteStorage_virtual_UpdatePublishedFileTitle(l { ISteamRemoteStorage* self = (ISteamRemoteStorage*)tolua_tousertype_dynamic(L, 1, 0, "ISteamRemoteStorage"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_UpdatePublishedFileTitle'", NULL); - bool returnVal = self->virtual_UpdatePublishedFileTitle(tolua_function_tointeger(L, 2, "virtual_UpdatePublishedFileTitle"), *(const char**)tolua_tousertype_dynamic(L, 3, 0, "ConstCharString")); + bool returnVal = (self->virtual_UpdatePublishedFileTitle)(tolua_function_tointeger(L, 2, "virtual_UpdatePublishedFileTitle"), *(const char**)tolua_tousertype_dynamic(L, 3, 0, "ConstCharString")); tolua_pushboolean(L, (bool)returnVal); return 1; } @@ -75026,7 +77286,7 @@ static int tolua_function_ISteamRemoteStorage_virtual_UpdatePublishedFileDescrip { ISteamRemoteStorage* self = (ISteamRemoteStorage*)tolua_tousertype_dynamic(L, 1, 0, "ISteamRemoteStorage"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_UpdatePublishedFileDescription'", NULL); - bool returnVal = self->virtual_UpdatePublishedFileDescription(tolua_function_tointeger(L, 2, "virtual_UpdatePublishedFileDescription"), *(const char**)tolua_tousertype_dynamic(L, 3, 0, "ConstCharString")); + bool returnVal = (self->virtual_UpdatePublishedFileDescription)(tolua_function_tointeger(L, 2, "virtual_UpdatePublishedFileDescription"), *(const char**)tolua_tousertype_dynamic(L, 3, 0, "ConstCharString")); tolua_pushboolean(L, (bool)returnVal); return 1; } @@ -75035,7 +77295,7 @@ static int tolua_function_ISteamRemoteStorage_virtual_UpdatePublishedFileVisibil { ISteamRemoteStorage* self = (ISteamRemoteStorage*)tolua_tousertype_dynamic(L, 1, 0, "ISteamRemoteStorage"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_UpdatePublishedFileVisibility'", NULL); - bool returnVal = self->virtual_UpdatePublishedFileVisibility(tolua_function_tointeger(L, 2, "virtual_UpdatePublishedFileVisibility"), (ERemoteStoragePublishedFileVisibility)tolua_function_tointeger<__int32>(L, 3, "virtual_UpdatePublishedFileVisibility")); + bool returnVal = (self->virtual_UpdatePublishedFileVisibility)(tolua_function_tointeger(L, 2, "virtual_UpdatePublishedFileVisibility"), (ERemoteStoragePublishedFileVisibility)tolua_function_tointeger<__int32>(L, 3, "virtual_UpdatePublishedFileVisibility")); tolua_pushboolean(L, (bool)returnVal); return 1; } @@ -75044,7 +77304,7 @@ static int tolua_function_ISteamRemoteStorage_virtual_UpdatePublishedFileTags(lu { ISteamRemoteStorage* self = (ISteamRemoteStorage*)tolua_tousertype_dynamic(L, 1, 0, "ISteamRemoteStorage"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_UpdatePublishedFileTags'", NULL); - bool returnVal = self->virtual_UpdatePublishedFileTags(tolua_function_tointeger(L, 2, "virtual_UpdatePublishedFileTags"), (SteamParamStringArray_t*)tolua_tousertype_dynamic(L, 3, 0, "SteamParamStringArray_t")); + bool returnVal = (self->virtual_UpdatePublishedFileTags)(tolua_function_tointeger(L, 2, "virtual_UpdatePublishedFileTags"), (SteamParamStringArray_t*)tolua_tousertype_dynamic(L, 3, 0, "SteamParamStringArray_t")); tolua_pushboolean(L, (bool)returnVal); return 1; } @@ -75053,7 +77313,7 @@ static int tolua_function_ISteamRemoteStorage_virtual_CommitPublishedFileUpdate( { ISteamRemoteStorage* self = (ISteamRemoteStorage*)tolua_tousertype_dynamic(L, 1, 0, "ISteamRemoteStorage"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_CommitPublishedFileUpdate'", NULL); - unsigned __int64 returnVal = self->virtual_CommitPublishedFileUpdate(tolua_function_tointeger(L, 2, "virtual_CommitPublishedFileUpdate")); + unsigned __int64 returnVal = (self->virtual_CommitPublishedFileUpdate)(tolua_function_tointeger(L, 2, "virtual_CommitPublishedFileUpdate")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -75062,7 +77322,7 @@ static int tolua_function_ISteamRemoteStorage_virtual_GetPublishedFileDetails(lu { ISteamRemoteStorage* self = (ISteamRemoteStorage*)tolua_tousertype_dynamic(L, 1, 0, "ISteamRemoteStorage"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_GetPublishedFileDetails'", NULL); - unsigned __int64 returnVal = self->virtual_GetPublishedFileDetails(tolua_function_tointeger(L, 2, "virtual_GetPublishedFileDetails"), tolua_function_tointeger(L, 3, "virtual_GetPublishedFileDetails")); + unsigned __int64 returnVal = (self->virtual_GetPublishedFileDetails)(tolua_function_tointeger(L, 2, "virtual_GetPublishedFileDetails"), tolua_function_tointeger(L, 3, "virtual_GetPublishedFileDetails")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -75071,7 +77331,7 @@ static int tolua_function_ISteamRemoteStorage_virtual_DeletePublishedFile(lua_St { ISteamRemoteStorage* self = (ISteamRemoteStorage*)tolua_tousertype_dynamic(L, 1, 0, "ISteamRemoteStorage"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_DeletePublishedFile'", NULL); - unsigned __int64 returnVal = self->virtual_DeletePublishedFile(tolua_function_tointeger(L, 2, "virtual_DeletePublishedFile")); + unsigned __int64 returnVal = (self->virtual_DeletePublishedFile)(tolua_function_tointeger(L, 2, "virtual_DeletePublishedFile")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -75080,7 +77340,7 @@ static int tolua_function_ISteamRemoteStorage_virtual_EnumerateUserPublishedFile { ISteamRemoteStorage* self = (ISteamRemoteStorage*)tolua_tousertype_dynamic(L, 1, 0, "ISteamRemoteStorage"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_EnumerateUserPublishedFiles'", NULL); - unsigned __int64 returnVal = self->virtual_EnumerateUserPublishedFiles(tolua_function_tointeger(L, 2, "virtual_EnumerateUserPublishedFiles")); + unsigned __int64 returnVal = (self->virtual_EnumerateUserPublishedFiles)(tolua_function_tointeger(L, 2, "virtual_EnumerateUserPublishedFiles")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -75089,7 +77349,7 @@ static int tolua_function_ISteamRemoteStorage_virtual_SubscribePublishedFile(lua { ISteamRemoteStorage* self = (ISteamRemoteStorage*)tolua_tousertype_dynamic(L, 1, 0, "ISteamRemoteStorage"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_SubscribePublishedFile'", NULL); - unsigned __int64 returnVal = self->virtual_SubscribePublishedFile(tolua_function_tointeger(L, 2, "virtual_SubscribePublishedFile")); + unsigned __int64 returnVal = (self->virtual_SubscribePublishedFile)(tolua_function_tointeger(L, 2, "virtual_SubscribePublishedFile")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -75098,7 +77358,7 @@ static int tolua_function_ISteamRemoteStorage_virtual_EnumerateUserSubscribedFil { ISteamRemoteStorage* self = (ISteamRemoteStorage*)tolua_tousertype_dynamic(L, 1, 0, "ISteamRemoteStorage"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_EnumerateUserSubscribedFiles'", NULL); - unsigned __int64 returnVal = self->virtual_EnumerateUserSubscribedFiles(tolua_function_tointeger(L, 2, "virtual_EnumerateUserSubscribedFiles")); + unsigned __int64 returnVal = (self->virtual_EnumerateUserSubscribedFiles)(tolua_function_tointeger(L, 2, "virtual_EnumerateUserSubscribedFiles")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -75107,7 +77367,7 @@ static int tolua_function_ISteamRemoteStorage_virtual_UnsubscribePublishedFile(l { ISteamRemoteStorage* self = (ISteamRemoteStorage*)tolua_tousertype_dynamic(L, 1, 0, "ISteamRemoteStorage"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_UnsubscribePublishedFile'", NULL); - unsigned __int64 returnVal = self->virtual_UnsubscribePublishedFile(tolua_function_tointeger(L, 2, "virtual_UnsubscribePublishedFile")); + unsigned __int64 returnVal = (self->virtual_UnsubscribePublishedFile)(tolua_function_tointeger(L, 2, "virtual_UnsubscribePublishedFile")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -75116,7 +77376,7 @@ static int tolua_function_ISteamRemoteStorage_virtual_UpdatePublishedFileSetChan { ISteamRemoteStorage* self = (ISteamRemoteStorage*)tolua_tousertype_dynamic(L, 1, 0, "ISteamRemoteStorage"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_UpdatePublishedFileSetChangeDescription'", NULL); - bool returnVal = self->virtual_UpdatePublishedFileSetChangeDescription(tolua_function_tointeger(L, 2, "virtual_UpdatePublishedFileSetChangeDescription"), *(const char**)tolua_tousertype_dynamic(L, 3, 0, "ConstCharString")); + bool returnVal = (self->virtual_UpdatePublishedFileSetChangeDescription)(tolua_function_tointeger(L, 2, "virtual_UpdatePublishedFileSetChangeDescription"), *(const char**)tolua_tousertype_dynamic(L, 3, 0, "ConstCharString")); tolua_pushboolean(L, (bool)returnVal); return 1; } @@ -75125,7 +77385,7 @@ static int tolua_function_ISteamRemoteStorage_virtual_GetPublishedItemVoteDetail { ISteamRemoteStorage* self = (ISteamRemoteStorage*)tolua_tousertype_dynamic(L, 1, 0, "ISteamRemoteStorage"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_GetPublishedItemVoteDetails'", NULL); - unsigned __int64 returnVal = self->virtual_GetPublishedItemVoteDetails(tolua_function_tointeger(L, 2, "virtual_GetPublishedItemVoteDetails")); + unsigned __int64 returnVal = (self->virtual_GetPublishedItemVoteDetails)(tolua_function_tointeger(L, 2, "virtual_GetPublishedItemVoteDetails")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -75134,7 +77394,7 @@ static int tolua_function_ISteamRemoteStorage_virtual_UpdateUserPublishedItemVot { ISteamRemoteStorage* self = (ISteamRemoteStorage*)tolua_tousertype_dynamic(L, 1, 0, "ISteamRemoteStorage"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_UpdateUserPublishedItemVote'", NULL); - unsigned __int64 returnVal = self->virtual_UpdateUserPublishedItemVote(tolua_function_tointeger(L, 2, "virtual_UpdateUserPublishedItemVote"), tolua_function_toboolean(L, 3, "virtual_UpdateUserPublishedItemVote")); + unsigned __int64 returnVal = (self->virtual_UpdateUserPublishedItemVote)(tolua_function_tointeger(L, 2, "virtual_UpdateUserPublishedItemVote"), tolua_function_toboolean(L, 3, "virtual_UpdateUserPublishedItemVote")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -75143,7 +77403,7 @@ static int tolua_function_ISteamRemoteStorage_virtual_GetUserPublishedItemVoteDe { ISteamRemoteStorage* self = (ISteamRemoteStorage*)tolua_tousertype_dynamic(L, 1, 0, "ISteamRemoteStorage"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_GetUserPublishedItemVoteDetails'", NULL); - unsigned __int64 returnVal = self->virtual_GetUserPublishedItemVoteDetails(tolua_function_tointeger(L, 2, "virtual_GetUserPublishedItemVoteDetails")); + unsigned __int64 returnVal = (self->virtual_GetUserPublishedItemVoteDetails)(tolua_function_tointeger(L, 2, "virtual_GetUserPublishedItemVoteDetails")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -75152,7 +77412,7 @@ static int tolua_function_ISteamRemoteStorage_virtual_EnumerateUserSharedWorksho { ISteamRemoteStorage* self = (ISteamRemoteStorage*)tolua_tousertype_dynamic(L, 1, 0, "ISteamRemoteStorage"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_EnumerateUserSharedWorkshopFiles'", NULL); - unsigned __int64 returnVal = self->virtual_EnumerateUserSharedWorkshopFiles(*(CSteamID*)tolua_tousertype_dynamic(L, 2, 0, "CSteamID"), tolua_function_tointeger(L, 3, "virtual_EnumerateUserSharedWorkshopFiles"), (SteamParamStringArray_t*)tolua_tousertype_dynamic(L, 4, 0, "SteamParamStringArray_t"), (SteamParamStringArray_t*)tolua_tousertype_dynamic(L, 5, 0, "SteamParamStringArray_t")); + unsigned __int64 returnVal = (self->virtual_EnumerateUserSharedWorkshopFiles)(*(CSteamID*)tolua_tousertype_dynamic(L, 2, 0, "CSteamID"), tolua_function_tointeger(L, 3, "virtual_EnumerateUserSharedWorkshopFiles"), (SteamParamStringArray_t*)tolua_tousertype_dynamic(L, 4, 0, "SteamParamStringArray_t"), (SteamParamStringArray_t*)tolua_tousertype_dynamic(L, 5, 0, "SteamParamStringArray_t")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -75161,7 +77421,7 @@ static int tolua_function_ISteamRemoteStorage_virtual_PublishVideo(lua_State* L) { ISteamRemoteStorage* self = (ISteamRemoteStorage*)tolua_tousertype_dynamic(L, 1, 0, "ISteamRemoteStorage"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_PublishVideo'", NULL); - unsigned __int64 returnVal = self->virtual_PublishVideo((EWorkshopVideoProvider)tolua_function_tointeger<__int32>(L, 2, "virtual_PublishVideo"), *(const char**)tolua_tousertype_dynamic(L, 3, 0, "ConstCharString"), *(const char**)tolua_tousertype_dynamic(L, 4, 0, "ConstCharString"), *(const char**)tolua_tousertype_dynamic(L, 5, 0, "ConstCharString"), tolua_function_tointeger(L, 6, "virtual_PublishVideo"), *(const char**)tolua_tousertype_dynamic(L, 7, 0, "ConstCharString"), *(const char**)tolua_tousertype_dynamic(L, 8, 0, "ConstCharString"), (ERemoteStoragePublishedFileVisibility)tolua_function_tointeger<__int32>(L, 9, "virtual_PublishVideo"), (SteamParamStringArray_t*)tolua_tousertype_dynamic(L, 10, 0, "SteamParamStringArray_t")); + unsigned __int64 returnVal = (self->virtual_PublishVideo)((EWorkshopVideoProvider)tolua_function_tointeger<__int32>(L, 2, "virtual_PublishVideo"), *(const char**)tolua_tousertype_dynamic(L, 3, 0, "ConstCharString"), *(const char**)tolua_tousertype_dynamic(L, 4, 0, "ConstCharString"), *(const char**)tolua_tousertype_dynamic(L, 5, 0, "ConstCharString"), tolua_function_tointeger(L, 6, "virtual_PublishVideo"), *(const char**)tolua_tousertype_dynamic(L, 7, 0, "ConstCharString"), *(const char**)tolua_tousertype_dynamic(L, 8, 0, "ConstCharString"), (ERemoteStoragePublishedFileVisibility)tolua_function_tointeger<__int32>(L, 9, "virtual_PublishVideo"), (SteamParamStringArray_t*)tolua_tousertype_dynamic(L, 10, 0, "SteamParamStringArray_t")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -75170,7 +77430,7 @@ static int tolua_function_ISteamRemoteStorage_virtual_SetUserPublishedFileAction { ISteamRemoteStorage* self = (ISteamRemoteStorage*)tolua_tousertype_dynamic(L, 1, 0, "ISteamRemoteStorage"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_SetUserPublishedFileAction'", NULL); - unsigned __int64 returnVal = self->virtual_SetUserPublishedFileAction(tolua_function_tointeger(L, 2, "virtual_SetUserPublishedFileAction"), (EWorkshopFileAction)tolua_function_tointeger<__int32>(L, 3, "virtual_SetUserPublishedFileAction")); + unsigned __int64 returnVal = (self->virtual_SetUserPublishedFileAction)(tolua_function_tointeger(L, 2, "virtual_SetUserPublishedFileAction"), (EWorkshopFileAction)tolua_function_tointeger<__int32>(L, 3, "virtual_SetUserPublishedFileAction")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -75179,7 +77439,7 @@ static int tolua_function_ISteamRemoteStorage_virtual_EnumeratePublishedFilesByU { ISteamRemoteStorage* self = (ISteamRemoteStorage*)tolua_tousertype_dynamic(L, 1, 0, "ISteamRemoteStorage"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_EnumeratePublishedFilesByUserAction'", NULL); - unsigned __int64 returnVal = self->virtual_EnumeratePublishedFilesByUserAction((EWorkshopFileAction)tolua_function_tointeger<__int32>(L, 2, "virtual_EnumeratePublishedFilesByUserAction"), tolua_function_tointeger(L, 3, "virtual_EnumeratePublishedFilesByUserAction")); + unsigned __int64 returnVal = (self->virtual_EnumeratePublishedFilesByUserAction)((EWorkshopFileAction)tolua_function_tointeger<__int32>(L, 2, "virtual_EnumeratePublishedFilesByUserAction"), tolua_function_tointeger(L, 3, "virtual_EnumeratePublishedFilesByUserAction")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -75188,7 +77448,7 @@ static int tolua_function_ISteamRemoteStorage_virtual_EnumeratePublishedWorkshop { ISteamRemoteStorage* self = (ISteamRemoteStorage*)tolua_tousertype_dynamic(L, 1, 0, "ISteamRemoteStorage"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_EnumeratePublishedWorkshopFiles'", NULL); - unsigned __int64 returnVal = self->virtual_EnumeratePublishedWorkshopFiles((EWorkshopEnumerationType)tolua_function_tointeger<__int32>(L, 2, "virtual_EnumeratePublishedWorkshopFiles"), tolua_function_tointeger(L, 3, "virtual_EnumeratePublishedWorkshopFiles"), tolua_function_tointeger(L, 4, "virtual_EnumeratePublishedWorkshopFiles"), tolua_function_tointeger(L, 5, "virtual_EnumeratePublishedWorkshopFiles"), (SteamParamStringArray_t*)tolua_tousertype_dynamic(L, 6, 0, "SteamParamStringArray_t"), (SteamParamStringArray_t*)tolua_tousertype_dynamic(L, 7, 0, "SteamParamStringArray_t")); + unsigned __int64 returnVal = (self->virtual_EnumeratePublishedWorkshopFiles)((EWorkshopEnumerationType)tolua_function_tointeger<__int32>(L, 2, "virtual_EnumeratePublishedWorkshopFiles"), tolua_function_tointeger(L, 3, "virtual_EnumeratePublishedWorkshopFiles"), tolua_function_tointeger(L, 4, "virtual_EnumeratePublishedWorkshopFiles"), tolua_function_tointeger(L, 5, "virtual_EnumeratePublishedWorkshopFiles"), (SteamParamStringArray_t*)tolua_tousertype_dynamic(L, 6, 0, "SteamParamStringArray_t"), (SteamParamStringArray_t*)tolua_tousertype_dynamic(L, 7, 0, "SteamParamStringArray_t")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -75197,7 +77457,7 @@ static int tolua_function_ISteamRemoteStorage_virtual_UGCDownloadToLocation(lua_ { ISteamRemoteStorage* self = (ISteamRemoteStorage*)tolua_tousertype_dynamic(L, 1, 0, "ISteamRemoteStorage"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_UGCDownloadToLocation'", NULL); - unsigned __int64 returnVal = self->virtual_UGCDownloadToLocation(tolua_function_tointeger(L, 2, "virtual_UGCDownloadToLocation"), *(const char**)tolua_tousertype_dynamic(L, 3, 0, "ConstCharString"), tolua_function_tointeger(L, 4, "virtual_UGCDownloadToLocation")); + unsigned __int64 returnVal = (self->virtual_UGCDownloadToLocation)(tolua_function_tointeger(L, 2, "virtual_UGCDownloadToLocation"), *(const char**)tolua_tousertype_dynamic(L, 3, 0, "ConstCharString"), tolua_function_tointeger(L, 4, "virtual_UGCDownloadToLocation")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -76196,7 +78456,7 @@ static int tolua_function_IDPProvider_virtual_Connect(lua_State* L) { IDPProvider* self = (IDPProvider*)tolua_tousertype_dynamic(L, 1, 0, "IDPProvider"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_Connect'", NULL); - self->virtual_Connect(tolua_function_tointeger(L, 2, "virtual_Connect"), *(const char**)tolua_tousertype_dynamic(L, 3, 0, "ConstCharString")); + (self->virtual_Connect)(tolua_function_tointeger(L, 2, "virtual_Connect"), *(const char**)tolua_tousertype_dynamic(L, 3, 0, "ConstCharString")); return 0; } @@ -76204,7 +78464,7 @@ static int tolua_function_IDPProvider_virtual_IsConnected(lua_State* L) { IDPProvider* self = (IDPProvider*)tolua_tousertype_dynamic(L, 1, 0, "IDPProvider"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_IsConnected'", NULL); - bool returnVal = self->virtual_IsConnected(); + bool returnVal = (self->virtual_IsConnected)(); tolua_pushboolean(L, (bool)returnVal); return 1; } @@ -76213,7 +78473,7 @@ static int tolua_function_IDPProvider_virtual_Listen(lua_State* L) { IDPProvider* self = (IDPProvider*)tolua_tousertype_dynamic(L, 1, 0, "IDPProvider"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_Listen'", NULL); - self->virtual_Listen(tolua_function_tointeger(L, 2, "virtual_Listen"), *(const char**)tolua_tousertype_dynamic(L, 3, 0, "ConstCharString")); + (self->virtual_Listen)(tolua_function_tointeger(L, 2, "virtual_Listen"), *(const char**)tolua_tousertype_dynamic(L, 3, 0, "ConstCharString")); return 0; } @@ -76221,7 +78481,7 @@ static int tolua_function_IDPProvider_virtual_Pump(lua_State* L) { IDPProvider* self = (IDPProvider*)tolua_tousertype_dynamic(L, 1, 0, "IDPProvider"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_Pump'", NULL); - bool returnVal = self->virtual_Pump((DP_Event*)tolua_tousertype_dynamic(L, 2, 0, "DP_Event")); + bool returnVal = (self->virtual_Pump)((DP_Event*)tolua_tousertype_dynamic(L, 2, 0, "DP_Event")); tolua_pushboolean(L, (bool)returnVal); return 1; } @@ -76230,7 +78490,7 @@ static int tolua_function_IDPProvider_virtual_Close(lua_State* L) { IDPProvider* self = (IDPProvider*)tolua_tousertype_dynamic(L, 1, 0, "IDPProvider"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_Close'", NULL); - self->virtual_Close(); + (self->virtual_Close)(); return 0; } @@ -76238,7 +78498,7 @@ static int tolua_function_IDPProvider_virtual_RequestSessionDetails(lua_State* L { IDPProvider* self = (IDPProvider*)tolua_tousertype_dynamic(L, 1, 0, "IDPProvider"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_RequestSessionDetails'", NULL); - self->virtual_RequestSessionDetails(tolua_function_tointeger(L, 2, "virtual_RequestSessionDetails")); + (self->virtual_RequestSessionDetails)(tolua_function_tointeger(L, 2, "virtual_RequestSessionDetails")); return 0; } @@ -76246,7 +78506,7 @@ static int tolua_function_IDPProvider_virtual_AllowJoin(lua_State* L) { IDPProvider* self = (IDPProvider*)tolua_tousertype_dynamic(L, 1, 0, "IDPProvider"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_AllowJoin'", NULL); - self->virtual_AllowJoin(tolua_function_toboolean(L, 2, "virtual_AllowJoin")); + (self->virtual_AllowJoin)(tolua_function_toboolean(L, 2, "virtual_AllowJoin")); return 0; } @@ -76254,7 +78514,7 @@ static int tolua_function_IDPProvider_virtual_SetVersion(lua_State* L) { IDPProvider* self = (IDPProvider*)tolua_tousertype_dynamic(L, 1, 0, "IDPProvider"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_SetVersion'", NULL); - self->virtual_SetVersion(*(const char**)tolua_tousertype_dynamic(L, 2, 0, "ConstCharString")); + (self->virtual_SetVersion)(*(const char**)tolua_tousertype_dynamic(L, 2, 0, "ConstCharString")); return 0; } @@ -76262,7 +78522,7 @@ static int tolua_function_IDPProvider_virtual_IsBackendConnected(lua_State* L) { IDPProvider* self = (IDPProvider*)tolua_tousertype_dynamic(L, 1, 0, "IDPProvider"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_IsBackendConnected'", NULL); - bool returnVal = self->virtual_IsBackendConnected(); + bool returnVal = (self->virtual_IsBackendConnected)(); tolua_pushboolean(L, (bool)returnVal); return 1; } @@ -76271,7 +78531,7 @@ static int tolua_function_IDPProvider_virtual_Destruct(lua_State* L) { IDPProvider* self = (IDPProvider*)tolua_tousertype_dynamic(L, 1, 0, "IDPProvider"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_Destruct'", NULL); - self->virtual_Destruct(); + (self->virtual_Destruct)(); return 0; } @@ -76507,7 +78767,7 @@ static int tolua_function_IDPPeer_virtual_Send(lua_State* L) { IDPPeer* self = (IDPPeer*)tolua_tousertype_dynamic(L, 1, 0, "IDPPeer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_Send'", NULL); - self->virtual_Send((DP_Packet*)tolua_tousertype_dynamic(L, 2, 0, "DP_Packet"), tolua_function_tointeger(L, 3, "virtual_Send")); + (self->virtual_Send)((DP_Packet*)tolua_tousertype_dynamic(L, 2, 0, "DP_Packet"), tolua_function_tointeger(L, 3, "virtual_Send")); return 0; } @@ -76515,7 +78775,7 @@ static int tolua_function_IDPPeer_virtual_GetFrontPacket(lua_State* L) { IDPPeer* self = (IDPPeer*)tolua_tousertype_dynamic(L, 1, 0, "IDPPeer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_GetFrontPacket'", NULL); - DP_Packet* returnVal = self->virtual_GetFrontPacket(); + DP_Packet* returnVal = (self->virtual_GetFrontPacket)(); tolua_pushusertype(L, (void*)returnVal, "DP_Packet"); return 1; } @@ -76524,7 +78784,7 @@ static int tolua_function_IDPPeer_virtual_HasData(lua_State* L) { IDPPeer* self = (IDPPeer*)tolua_tousertype_dynamic(L, 1, 0, "IDPPeer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_HasData'", NULL); - int returnVal = self->virtual_HasData(); + int returnVal = (self->virtual_HasData)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -76533,7 +78793,7 @@ static int tolua_function_IDPPeer_virtual_Disconnect(lua_State* L) { IDPPeer* self = (IDPPeer*)tolua_tousertype_dynamic(L, 1, 0, "IDPPeer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_Disconnect'", NULL); - self->virtual_Disconnect(); + (self->virtual_Disconnect)(); return 0; } @@ -76541,7 +78801,7 @@ static int tolua_function_IDPPeer_virtual_GetAddress(lua_State* L) { IDPPeer* self = (IDPPeer*)tolua_tousertype_dynamic(L, 1, 0, "IDPPeer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_GetAddress'", NULL); - self->virtual_GetAddress(*(char**)tolua_tousertype_dynamic(L, 2, 0, "CharString"), tolua_function_tointeger(L, 3, "virtual_GetAddress")); + (self->virtual_GetAddress)(*(char**)tolua_tousertype_dynamic(L, 2, 0, "CharString"), tolua_function_tointeger(L, 3, "virtual_GetAddress")); return 0; } @@ -76549,7 +78809,7 @@ static int tolua_function_IDPPeer_virtual_Destruct(lua_State* L) { IDPPeer* self = (IDPPeer*)tolua_tousertype_dynamic(L, 1, 0, "IDPPeer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_Destruct'", NULL); - self->virtual_Destruct(); + (self->virtual_Destruct)(); return 0; } @@ -76665,7 +78925,7 @@ static int tolua_function_ConstCharString_getChar(lua_State* L) { ConstCharString* self = (ConstCharString*)tolua_tousertype_dynamic(L, 1, 0, "ConstCharString"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getChar'", NULL); - char returnVal = self->getChar(tolua_function_tointeger(L, 2, "getChar")); + char returnVal = (self->getChar)(tolua_function_tointeger(L, 2, "getChar")); lua_pushlstring(L, (const char*)&returnVal, 1); return 1; } @@ -76674,7 +78934,7 @@ static int tolua_function_ConstCharString_set(lua_State* L) { ConstCharString* self = (ConstCharString*)tolua_tousertype_dynamic(L, 1, 0, "ConstCharString"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tostring(L, 2, "set")); + (self->set)(tolua_function_tostring(L, 2, "set")); return 0; } @@ -76682,7 +78942,7 @@ static int tolua_function_ConstCharString_setL(lua_State* L) { ConstCharString* self = (ConstCharString*)tolua_tousertype_dynamic(L, 1, 0, "ConstCharString"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setL'", NULL); - self->setL(tolua_function_tostring(L, 2, "setL"), tolua_function_tointeger(L, 3, "setL")); + (self->setL)(tolua_function_tostring(L, 2, "setL"), tolua_function_tointeger(L, 3, "setL")); return 0; } @@ -76690,7 +78950,7 @@ static int tolua_function_ConstCharString_setReference(lua_State* L) { ConstCharString* self = (ConstCharString*)tolua_tousertype_dynamic(L, 1, 0, "ConstCharString"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setReference'", NULL); - self->setReference((ConstCharString*)tolua_tousertype_dynamic(L, 2, 0, "ConstCharString")); + (self->setReference)((ConstCharString*)tolua_tousertype_dynamic(L, 2, 0, "ConstCharString")); return 0; } @@ -76698,7 +78958,7 @@ static int tolua_function_ConstCharString_pointTo(lua_State* L) { ConstCharString* self = (ConstCharString*)tolua_tousertype_dynamic(L, 1, 0, "ConstCharString"); if (!self) tolua_error(L, "invalid 'self' in calling function 'pointTo'", NULL); - self->pointTo(tolua_function_tointeger(L, 2, "pointTo")); + (self->pointTo)(tolua_function_tointeger(L, 2, "pointTo")); return 0; } @@ -76706,7 +78966,7 @@ static int tolua_function_ConstCharString_get(lua_State* L) { ConstCharString* self = (ConstCharString*)tolua_tousertype_dynamic(L, 1, 0, "ConstCharString"); if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); - const char* returnVal = self->get(); + const char* returnVal = (self->get)(); tolua_pushstring(L, (const char*)returnVal); return 1; } @@ -76715,7 +78975,7 @@ static int tolua_function_ConstCharString_free(lua_State* L) { ConstCharString* self = (ConstCharString*)tolua_tousertype_dynamic(L, 1, 0, "ConstCharString"); if (!self) tolua_error(L, "invalid 'self' in calling function 'free'", NULL); - self->free(); + (self->free)(); return 0; } @@ -76723,7 +78983,7 @@ static int tolua_function_CharString_getChar(lua_State* L) { CharString* self = (CharString*)tolua_tousertype_dynamic(L, 1, 0, "CharString"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getChar'", NULL); - char returnVal = self->getChar(tolua_function_tointeger(L, 2, "getChar")); + char returnVal = (self->getChar)(tolua_function_tointeger(L, 2, "getChar")); lua_pushlstring(L, (const char*)&returnVal, 1); return 1; } @@ -76732,7 +78992,7 @@ static int tolua_function_CharString_setChar(lua_State* L) { CharString* self = (CharString*)tolua_tousertype_dynamic(L, 1, 0, "CharString"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setChar'", NULL); - self->setChar(tolua_function_tointeger(L, 2, "setChar"), tolua_function_tochar(L, 3, "setChar")); + (self->setChar)(tolua_function_tointeger(L, 2, "setChar"), tolua_function_tochar(L, 3, "setChar")); return 0; } @@ -76740,7 +79000,7 @@ static int tolua_function_CharString_set(lua_State* L) { CharString* self = (CharString*)tolua_tousertype_dynamic(L, 1, 0, "CharString"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tostring(L, 2, "set")); + (self->set)(tolua_function_tostring(L, 2, "set")); return 0; } @@ -76748,7 +79008,7 @@ static int tolua_function_CharString_setL(lua_State* L) { CharString* self = (CharString*)tolua_tousertype_dynamic(L, 1, 0, "CharString"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setL'", NULL); - self->setL(tolua_function_tostring(L, 2, "setL"), tolua_function_tointeger(L, 3, "setL")); + (self->setL)(tolua_function_tostring(L, 2, "setL"), tolua_function_tointeger(L, 3, "setL")); return 0; } @@ -76756,7 +79016,7 @@ static int tolua_function_CharString_write(lua_State* L) { CharString* self = (CharString*)tolua_tousertype_dynamic(L, 1, 0, "CharString"); if (!self) tolua_error(L, "invalid 'self' in calling function 'write'", NULL); - self->write(tolua_function_tostring(L, 2, "write")); + (self->write)(tolua_function_tostring(L, 2, "write")); return 0; } @@ -76764,7 +79024,7 @@ static int tolua_function_CharString_writeL(lua_State* L) { CharString* self = (CharString*)tolua_tousertype_dynamic(L, 1, 0, "CharString"); if (!self) tolua_error(L, "invalid 'self' in calling function 'writeL'", NULL); - self->writeL(tolua_function_tostring(L, 2, "writeL"), tolua_function_tointeger(L, 3, "writeL")); + (self->writeL)(tolua_function_tostring(L, 2, "writeL"), tolua_function_tointeger(L, 3, "writeL")); return 0; } @@ -76772,7 +79032,7 @@ static int tolua_function_CharString_setReference(lua_State* L) { CharString* self = (CharString*)tolua_tousertype_dynamic(L, 1, 0, "CharString"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setReference'", NULL); - self->setReference((CharString*)tolua_tousertype_dynamic(L, 2, 0, "CharString")); + (self->setReference)((CharString*)tolua_tousertype_dynamic(L, 2, 0, "CharString")); return 0; } @@ -76780,7 +79040,7 @@ static int tolua_function_CharString_pointTo(lua_State* L) { CharString* self = (CharString*)tolua_tousertype_dynamic(L, 1, 0, "CharString"); if (!self) tolua_error(L, "invalid 'self' in calling function 'pointTo'", NULL); - self->pointTo(tolua_function_tointeger(L, 2, "pointTo")); + (self->pointTo)(tolua_function_tointeger(L, 2, "pointTo")); return 0; } @@ -76788,7 +79048,7 @@ static int tolua_function_CharString_get(lua_State* L) { CharString* self = (CharString*)tolua_tousertype_dynamic(L, 1, 0, "CharString"); if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); - char* returnVal = self->get(); + char* returnVal = (self->get)(); tolua_pushstring(L, (const char*)returnVal); return 1; } @@ -76797,7 +79057,7 @@ static int tolua_function_CharString_getL(lua_State* L) { CharString* self = (CharString*)tolua_tousertype_dynamic(L, 1, 0, "CharString"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getL'", NULL); - self->getL(L, tolua_function_tointeger(L, 2, "getL")); + (self->getL)(L, tolua_function_tointeger(L, 2, "getL")); return 1; } @@ -76805,7 +79065,7 @@ static int tolua_function_CharString_free(lua_State* L) { CharString* self = (CharString*)tolua_tousertype_dynamic(L, 1, 0, "CharString"); if (!self) tolua_error(L, "invalid 'self' in calling function 'free'", NULL); - self->free(); + (self->free)(); return 0; } @@ -76909,7 +79169,7 @@ static int tolua_function_CVidPoly_m_pDrawHLineFunction(lua_State* L) { CVidPoly* self = (CVidPoly*)tolua_tousertype_dynamic(L, 1, 0, "CVidPoly"); if (!self) tolua_error(L, "invalid 'self' in calling function 'm_pDrawHLineFunction'", NULL); - self->m_pDrawHLineFunction(self, (void*)tolua_tousertype_dynamic(L, 2, 0, "UnmappedUserType"), tolua_function_tointeger(L, 3, "m_pDrawHLineFunction"), tolua_function_tointeger(L, 4, "m_pDrawHLineFunction"), tolua_function_tointeger(L, 5, "m_pDrawHLineFunction"), (const CRect*)tolua_tousertype_dynamic(L, 6, 0, "CRect"), (const CPoint*)tolua_tousertype_dynamic(L, 7, 0, "CPoint")); + (self->m_pDrawHLineFunction)(self, (void*)tolua_tousertype_dynamic(L, 2, 0, "UnmappedUserType"), tolua_function_tointeger(L, 3, "m_pDrawHLineFunction"), tolua_function_tointeger(L, 4, "m_pDrawHLineFunction"), tolua_function_tointeger(L, 5, "m_pDrawHLineFunction"), (const CRect*)tolua_tousertype_dynamic(L, 6, 0, "CRect"), (const CPoint*)tolua_tousertype_dynamic(L, 7, 0, "CPoint")); return 0; } @@ -77013,7 +79273,7 @@ static int tolua_function_CString_Destruct(lua_State* L) { CString* self = (CString*)tolua_tousertype_dynamic(L, 1, 0, "CString"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Destruct'", NULL); - self->Destruct(); + (self->Destruct)(); return 0; } @@ -77029,7 +79289,7 @@ static int tolua_function_CString_MakeUpper(lua_State* L) { CString* self = (CString*)tolua_tousertype_dynamic(L, 1, 0, "CString"); if (!self) tolua_error(L, "invalid 'self' in calling function 'MakeUpper'", NULL); - self->MakeUpper(); + (self->MakeUpper)(); return 0; } @@ -77037,7 +79297,7 @@ static int tolua_function_CString_AssignmentOperator_Overload_String(lua_State* { CString* self = (CString*)tolua_tousertype_dynamic(L, 1, 0, "CString"); if (!self) tolua_error(L, "invalid 'self' in calling function 'AssignmentOperator_Overload_String'", NULL); - self->operator=(tolua_function_tostring(L, 2, "AssignmentOperator_Overload_String")); + (self->operator=)(tolua_function_tostring(L, 2, "AssignmentOperator_Overload_String")); return 0; } @@ -77045,7 +79305,7 @@ static int tolua_function_CString_AssignmentOperator_Overload_CString(lua_State* { CString* self = (CString*)tolua_tousertype_dynamic(L, 1, 0, "CString"); if (!self) tolua_error(L, "invalid 'self' in calling function 'AssignmentOperator_Overload_CString'", NULL); - self->operator=((const CString*)tolua_tousertype_dynamic(L, 2, 0, "CString")); + (self->operator=)((const CString*)tolua_tousertype_dynamic(L, 2, 0, "CString")); return 0; } @@ -77341,7 +79601,7 @@ static int tolua_function_CSoundMixer_GetListenPosition(lua_State* L) { CSoundMixer* self = (CSoundMixer*)tolua_tousertype_dynamic(L, 1, 0, "EEex_CSoundMixer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'GetListenPosition'", NULL); - self->GetListenPosition((CPoint*)tolua_tousertype_dynamic(L, 2, 0, "CPoint"), (int*)tolua_tousertype_dynamic(L, 3, 0, "Primitive")); + (self->GetListenPosition)((CPoint*)tolua_tousertype_dynamic(L, 2, 0, "CPoint"), (int*)tolua_tousertype_dynamic(L, 3, 0, "Primitive")); return 0; } @@ -77589,7 +79849,7 @@ static int tolua_function_CRes_Destruct(lua_State* L) { CRes* self = (CRes*)tolua_tousertype_dynamic(L, 1, 0, "CRes"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Destruct'", NULL); - self->Destruct(); + (self->Destruct)(); return 0; } @@ -77597,7 +79857,7 @@ static int tolua_function_CRes_Demand(lua_State* L) { CRes* self = (CRes*)tolua_tousertype_dynamic(L, 1, 0, "CRes"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Demand'", NULL); - void* returnVal = self->Demand(); + void* returnVal = (self->Demand)(); tolua_pushusertype(L, (void*)returnVal, "UnmappedUserType"); return 1; } @@ -77606,7 +79866,7 @@ static int tolua_function_CRes_virtual_Parse(lua_State* L) { CRes* self = (CRes*)tolua_tousertype_dynamic(L, 1, 0, "CRes"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_Parse'", NULL); - bool returnVal = self->virtual_Parse((void*)tolua_tousertype_dynamic(L, 2, 0, "UnmappedUserType")); + bool returnVal = (self->virtual_Parse)((void*)tolua_tousertype_dynamic(L, 2, 0, "UnmappedUserType")); tolua_pushboolean(L, (bool)returnVal); return 1; } @@ -77615,7 +79875,7 @@ static int tolua_function_CRes_virtual_Dump(lua_State* L) { CRes* self = (CRes*)tolua_tousertype_dynamic(L, 1, 0, "CRes"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_Dump'", NULL); - self->virtual_Dump(); + (self->virtual_Dump)(); return 0; } @@ -77623,7 +79883,7 @@ static int tolua_function_CRes_virtual_GetResRef(lua_State* L) { CRes* self = (CRes*)tolua_tousertype_dynamic(L, 1, 0, "CRes"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_GetResRef'", NULL); - CResRef* returnVal = self->virtual_GetResRef(); + CResRef* returnVal = (self->virtual_GetResRef)(); tolua_pushusertype(L, (void*)returnVal, "CResRef"); return 1; } @@ -78262,7 +80522,7 @@ static int tolua_function_CResPVR_Demand(lua_State* L) { CResPVR* self = (CResPVR*)tolua_tousertype_dynamic(L, 1, 0, "CResPVR"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Demand'", NULL); - void* returnVal = self->Demand(); + void* returnVal = (self->Demand)(); tolua_pushusertype(L, (void*)returnVal, "UnmappedUserType"); return 1; } @@ -80879,7 +83139,7 @@ static int tolua_function_CSpawnPoint_virtual_Destruct(lua_State* L) { CSpawnPoint* self = (CSpawnPoint*)tolua_tousertype_dynamic(L, 1, 0, "CSpawnPoint"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_Destruct'", NULL); - self->virtual_Destruct(); + (self->virtual_Destruct)(); return 0; } @@ -81097,7 +83357,7 @@ static int tolua_function_CPersistantEffect_virtual_Destruct(lua_State* L) { CPersistantEffect* self = (CPersistantEffect*)tolua_tousertype_dynamic(L, 1, 0, "CPersistantEffect"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_Destruct'", NULL); - self->virtual_Destruct(); + (self->virtual_Destruct)(); return 0; } @@ -81105,7 +83365,7 @@ static int tolua_function_CPersistantEffect_virtual_AIUpdate(lua_State* L) { CPersistantEffect* self = (CPersistantEffect*)tolua_tousertype_dynamic(L, 1, 0, "CPersistantEffect"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_AIUpdate'", NULL); - self->virtual_AIUpdate((CGameSprite*)tolua_tousertype_dynamic(L, 2, 0, "CGameSprite"), tolua_function_tointeger(L, 3, "virtual_AIUpdate")); + (self->virtual_AIUpdate)((CGameSprite*)tolua_tousertype_dynamic(L, 2, 0, "CGameSprite"), tolua_function_tointeger(L, 3, "virtual_AIUpdate")); return 0; } @@ -81113,7 +83373,7 @@ static int tolua_function_CPersistantEffect_virtual_Copy(lua_State* L) { CPersistantEffect* self = (CPersistantEffect*)tolua_tousertype_dynamic(L, 1, 0, "CPersistantEffect"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_Copy'", NULL); - CPersistantEffect* returnVal = self->virtual_Copy(); + CPersistantEffect* returnVal = (self->virtual_Copy)(); tolua_pushusertype(L, (void*)returnVal, "CPersistantEffect"); return 1; } @@ -81176,7 +83436,7 @@ static int tolua_function_CObject_virtual_Destruct(lua_State* L) { CObject* self = (CObject*)tolua_tousertype_dynamic(L, 1, 0, "CObject"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_Destruct'", NULL); - self->virtual_Destruct(tolua_function_tointeger(L, 2, "virtual_Destruct")); + (self->virtual_Destruct)(tolua_function_tointeger(L, 2, "virtual_Destruct")); return 0; } @@ -81442,7 +83702,7 @@ static int tolua_function_CException_virtual_GetErrorMessage(lua_State* L) { CException* self = (CException*)tolua_tousertype_dynamic(L, 1, 0, "CException"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_GetErrorMessage'", NULL); - int returnVal = self->virtual_GetErrorMessage(*(char**)tolua_tousertype_dynamic(L, 2, 0, "CharString"), tolua_function_tointeger(L, 3, "virtual_GetErrorMessage"), (unsigned int*)tolua_tousertype_dynamic(L, 4, 0, "Primitive")); + int returnVal = (self->virtual_GetErrorMessage)(*(char**)tolua_tousertype_dynamic(L, 2, 0, "CharString"), tolua_function_tointeger(L, 3, "virtual_GetErrorMessage"), (unsigned int*)tolua_tousertype_dynamic(L, 4, 0, "Primitive")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -82461,7 +84721,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CAIId___AddTail(lua_State* L) { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'AddTail'", NULL); - CTypedPtrList::CNode* returnVal = self->AddTail((CAIId*)tolua_tousertype_dynamic(L, 2, 0, "CAIId")); + CTypedPtrList::CNode* returnVal = (self->AddTail)((CAIId*)tolua_tousertype_dynamic(L, 2, 0, "CAIId")); tolua_pushusertype(L, (void*)returnVal, "CTypedPtrList::CNode"); return 1; } @@ -82470,7 +84730,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CAIId___Find(lua_State* L) { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Find'", NULL); - CTypedPtrList::CNode* returnVal = self->Find((CAIId*)tolua_tousertype_dynamic(L, 2, 0, "CAIId"), (CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 3, 0, "CTypedPtrList::CNode")); + CTypedPtrList::CNode* returnVal = (self->Find)((CAIId*)tolua_tousertype_dynamic(L, 2, 0, "CAIId"), (CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 3, 0, "CTypedPtrList::CNode")); tolua_pushusertype(L, (void*)returnVal, "CTypedPtrList::CNode"); return 1; } @@ -82479,7 +84739,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CAIId___RemoveHead(lua_State* L { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveHead'", NULL); - CAIId* returnVal = self->RemoveHead(); + CAIId* returnVal = (self->RemoveHead)(); tolua_pushusertype(L, (void*)returnVal, "CAIId"); return 1; } @@ -82488,7 +84748,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CAIId___RemoveAt(lua_State* L) { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveAt'", NULL); - self->RemoveAt((CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::CNode")); + (self->RemoveAt)((CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::CNode")); return 0; } @@ -82496,7 +84756,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CAIId___Destruct(lua_State* L) { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Destruct'", NULL); - self->Destruct(); + (self->Destruct)(); return 0; } @@ -82504,7 +84764,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CAIId___RemoveAll(lua_State* L) { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveAll'", NULL); - self->RemoveAll(); + (self->RemoveAll)(); return 0; } @@ -82736,7 +84996,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CAreaUserNote___AddTail(lua_Sta { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'AddTail'", NULL); - CTypedPtrList::CNode* returnVal = self->AddTail((CAreaUserNote*)tolua_tousertype_dynamic(L, 2, 0, "CAreaUserNote")); + CTypedPtrList::CNode* returnVal = (self->AddTail)((CAreaUserNote*)tolua_tousertype_dynamic(L, 2, 0, "CAreaUserNote")); tolua_pushusertype(L, (void*)returnVal, "CTypedPtrList::CNode"); return 1; } @@ -82745,7 +85005,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CAreaUserNote___Find(lua_State* { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Find'", NULL); - CTypedPtrList::CNode* returnVal = self->Find((CAreaUserNote*)tolua_tousertype_dynamic(L, 2, 0, "CAreaUserNote"), (CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 3, 0, "CTypedPtrList::CNode")); + CTypedPtrList::CNode* returnVal = (self->Find)((CAreaUserNote*)tolua_tousertype_dynamic(L, 2, 0, "CAreaUserNote"), (CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 3, 0, "CTypedPtrList::CNode")); tolua_pushusertype(L, (void*)returnVal, "CTypedPtrList::CNode"); return 1; } @@ -82754,7 +85014,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CAreaUserNote___RemoveHead(lua_ { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveHead'", NULL); - CAreaUserNote* returnVal = self->RemoveHead(); + CAreaUserNote* returnVal = (self->RemoveHead)(); tolua_pushusertype(L, (void*)returnVal, "CAreaUserNote"); return 1; } @@ -82763,7 +85023,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CAreaUserNote___RemoveAt(lua_St { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveAt'", NULL); - self->RemoveAt((CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::CNode")); + (self->RemoveAt)((CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::CNode")); return 0; } @@ -82771,7 +85031,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CAreaUserNote___Destruct(lua_St { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Destruct'", NULL); - self->Destruct(); + (self->Destruct)(); return 0; } @@ -82779,7 +85039,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CAreaUserNote___RemoveAll(lua_S { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveAll'", NULL); - self->RemoveAll(); + (self->RemoveAll)(); return 0; } @@ -83011,7 +85271,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CAIAction___AddTail(lua_State* { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'AddTail'", NULL); - CTypedPtrList::CNode* returnVal = self->AddTail((CAIAction*)tolua_tousertype_dynamic(L, 2, 0, "CAIAction")); + CTypedPtrList::CNode* returnVal = (self->AddTail)((CAIAction*)tolua_tousertype_dynamic(L, 2, 0, "CAIAction")); tolua_pushusertype(L, (void*)returnVal, "CTypedPtrList::CNode"); return 1; } @@ -83020,7 +85280,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CAIAction___Find(lua_State* L) { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Find'", NULL); - CTypedPtrList::CNode* returnVal = self->Find((CAIAction*)tolua_tousertype_dynamic(L, 2, 0, "CAIAction"), (CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 3, 0, "CTypedPtrList::CNode")); + CTypedPtrList::CNode* returnVal = (self->Find)((CAIAction*)tolua_tousertype_dynamic(L, 2, 0, "CAIAction"), (CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 3, 0, "CTypedPtrList::CNode")); tolua_pushusertype(L, (void*)returnVal, "CTypedPtrList::CNode"); return 1; } @@ -83029,7 +85289,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CAIAction___RemoveHead(lua_Stat { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveHead'", NULL); - CAIAction* returnVal = self->RemoveHead(); + CAIAction* returnVal = (self->RemoveHead)(); tolua_pushusertype(L, (void*)returnVal, "CAIAction"); return 1; } @@ -83038,7 +85298,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CAIAction___RemoveAt(lua_State* { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveAt'", NULL); - self->RemoveAt((CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::CNode")); + (self->RemoveAt)((CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::CNode")); return 0; } @@ -83046,7 +85306,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CAIAction___Destruct(lua_State* { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Destruct'", NULL); - self->Destruct(); + (self->Destruct)(); return 0; } @@ -83054,7 +85314,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CAIAction___RemoveAll(lua_State { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveAll'", NULL); - self->RemoveAll(); + (self->RemoveAll)(); return 0; } @@ -83286,7 +85546,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CAITrigger___AddTail(lua_State* { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'AddTail'", NULL); - CTypedPtrList::CNode* returnVal = self->AddTail((CAITrigger*)tolua_tousertype_dynamic(L, 2, 0, "CAITrigger")); + CTypedPtrList::CNode* returnVal = (self->AddTail)((CAITrigger*)tolua_tousertype_dynamic(L, 2, 0, "CAITrigger")); tolua_pushusertype(L, (void*)returnVal, "CTypedPtrList::CNode"); return 1; } @@ -83295,7 +85555,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CAITrigger___Find(lua_State* L) { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Find'", NULL); - CTypedPtrList::CNode* returnVal = self->Find((CAITrigger*)tolua_tousertype_dynamic(L, 2, 0, "CAITrigger"), (CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 3, 0, "CTypedPtrList::CNode")); + CTypedPtrList::CNode* returnVal = (self->Find)((CAITrigger*)tolua_tousertype_dynamic(L, 2, 0, "CAITrigger"), (CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 3, 0, "CTypedPtrList::CNode")); tolua_pushusertype(L, (void*)returnVal, "CTypedPtrList::CNode"); return 1; } @@ -83304,7 +85564,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CAITrigger___RemoveHead(lua_Sta { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveHead'", NULL); - CAITrigger* returnVal = self->RemoveHead(); + CAITrigger* returnVal = (self->RemoveHead)(); tolua_pushusertype(L, (void*)returnVal, "CAITrigger"); return 1; } @@ -83313,7 +85573,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CAITrigger___RemoveAt(lua_State { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveAt'", NULL); - self->RemoveAt((CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::CNode")); + (self->RemoveAt)((CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::CNode")); return 0; } @@ -83321,7 +85581,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CAITrigger___Destruct(lua_State { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Destruct'", NULL); - self->Destruct(); + (self->Destruct)(); return 0; } @@ -83329,7 +85589,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CAITrigger___RemoveAll(lua_Stat { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveAll'", NULL); - self->RemoveAll(); + (self->RemoveAll)(); return 0; } @@ -83561,7 +85821,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CGameTimer___AddTail(lua_State* { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'AddTail'", NULL); - CTypedPtrList::CNode* returnVal = self->AddTail((CGameTimer*)tolua_tousertype_dynamic(L, 2, 0, "CGameTimer")); + CTypedPtrList::CNode* returnVal = (self->AddTail)((CGameTimer*)tolua_tousertype_dynamic(L, 2, 0, "CGameTimer")); tolua_pushusertype(L, (void*)returnVal, "CTypedPtrList::CNode"); return 1; } @@ -83570,7 +85830,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CGameTimer___Find(lua_State* L) { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Find'", NULL); - CTypedPtrList::CNode* returnVal = self->Find((CGameTimer*)tolua_tousertype_dynamic(L, 2, 0, "CGameTimer"), (CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 3, 0, "CTypedPtrList::CNode")); + CTypedPtrList::CNode* returnVal = (self->Find)((CGameTimer*)tolua_tousertype_dynamic(L, 2, 0, "CGameTimer"), (CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 3, 0, "CTypedPtrList::CNode")); tolua_pushusertype(L, (void*)returnVal, "CTypedPtrList::CNode"); return 1; } @@ -83579,7 +85839,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CGameTimer___RemoveHead(lua_Sta { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveHead'", NULL); - CGameTimer* returnVal = self->RemoveHead(); + CGameTimer* returnVal = (self->RemoveHead)(); tolua_pushusertype(L, (void*)returnVal, "CGameTimer"); return 1; } @@ -83588,7 +85848,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CGameTimer___RemoveAt(lua_State { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveAt'", NULL); - self->RemoveAt((CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::CNode")); + (self->RemoveAt)((CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::CNode")); return 0; } @@ -83596,7 +85856,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CGameTimer___Destruct(lua_State { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Destruct'", NULL); - self->Destruct(); + (self->Destruct)(); return 0; } @@ -83604,7 +85864,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CGameTimer___RemoveAll(lua_Stat { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveAll'", NULL); - self->RemoveAll(); + (self->RemoveAll)(); return 0; } @@ -83836,7 +86096,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CCreatureFileKnownSpell___AddTa { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'AddTail'", NULL); - CTypedPtrList::CNode* returnVal = self->AddTail((CCreatureFileKnownSpell*)tolua_tousertype_dynamic(L, 2, 0, "CCreatureFileKnownSpell")); + CTypedPtrList::CNode* returnVal = (self->AddTail)((CCreatureFileKnownSpell*)tolua_tousertype_dynamic(L, 2, 0, "CCreatureFileKnownSpell")); tolua_pushusertype(L, (void*)returnVal, "CTypedPtrList::CNode"); return 1; } @@ -83845,7 +86105,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CCreatureFileKnownSpell___Find( { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Find'", NULL); - CTypedPtrList::CNode* returnVal = self->Find((CCreatureFileKnownSpell*)tolua_tousertype_dynamic(L, 2, 0, "CCreatureFileKnownSpell"), (CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 3, 0, "CTypedPtrList::CNode")); + CTypedPtrList::CNode* returnVal = (self->Find)((CCreatureFileKnownSpell*)tolua_tousertype_dynamic(L, 2, 0, "CCreatureFileKnownSpell"), (CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 3, 0, "CTypedPtrList::CNode")); tolua_pushusertype(L, (void*)returnVal, "CTypedPtrList::CNode"); return 1; } @@ -83854,7 +86114,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CCreatureFileKnownSpell___Remov { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveHead'", NULL); - CCreatureFileKnownSpell* returnVal = self->RemoveHead(); + CCreatureFileKnownSpell* returnVal = (self->RemoveHead)(); tolua_pushusertype(L, (void*)returnVal, "CCreatureFileKnownSpell"); return 1; } @@ -83863,7 +86123,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CCreatureFileKnownSpell___Remov { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveAt'", NULL); - self->RemoveAt((CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::CNode")); + (self->RemoveAt)((CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::CNode")); return 0; } @@ -83871,7 +86131,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CCreatureFileKnownSpell___Destr { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Destruct'", NULL); - self->Destruct(); + (self->Destruct)(); return 0; } @@ -83879,7 +86139,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CCreatureFileKnownSpell___Remov { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveAll'", NULL); - self->RemoveAll(); + (self->RemoveAll)(); return 0; } @@ -84111,7 +86371,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CCreatureFileMemorizedSpell___A { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'AddTail'", NULL); - CTypedPtrList::CNode* returnVal = self->AddTail((CCreatureFileMemorizedSpell*)tolua_tousertype_dynamic(L, 2, 0, "CCreatureFileMemorizedSpell")); + CTypedPtrList::CNode* returnVal = (self->AddTail)((CCreatureFileMemorizedSpell*)tolua_tousertype_dynamic(L, 2, 0, "CCreatureFileMemorizedSpell")); tolua_pushusertype(L, (void*)returnVal, "CTypedPtrList::CNode"); return 1; } @@ -84120,7 +86380,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CCreatureFileMemorizedSpell___F { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Find'", NULL); - CTypedPtrList::CNode* returnVal = self->Find((CCreatureFileMemorizedSpell*)tolua_tousertype_dynamic(L, 2, 0, "CCreatureFileMemorizedSpell"), (CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 3, 0, "CTypedPtrList::CNode")); + CTypedPtrList::CNode* returnVal = (self->Find)((CCreatureFileMemorizedSpell*)tolua_tousertype_dynamic(L, 2, 0, "CCreatureFileMemorizedSpell"), (CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 3, 0, "CTypedPtrList::CNode")); tolua_pushusertype(L, (void*)returnVal, "CTypedPtrList::CNode"); return 1; } @@ -84129,7 +86389,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CCreatureFileMemorizedSpell___R { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveHead'", NULL); - CCreatureFileMemorizedSpell* returnVal = self->RemoveHead(); + CCreatureFileMemorizedSpell* returnVal = (self->RemoveHead)(); tolua_pushusertype(L, (void*)returnVal, "CCreatureFileMemorizedSpell"); return 1; } @@ -84138,7 +86398,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CCreatureFileMemorizedSpell___R { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveAt'", NULL); - self->RemoveAt((CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::CNode")); + (self->RemoveAt)((CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::CNode")); return 0; } @@ -84146,7 +86406,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CCreatureFileMemorizedSpell___D { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Destruct'", NULL); - self->Destruct(); + (self->Destruct)(); return 0; } @@ -84154,7 +86414,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CCreatureFileMemorizedSpell___R { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveAll'", NULL); - self->RemoveAll(); + (self->RemoveAll)(); return 0; } @@ -84386,7 +86646,7 @@ static int tolua_function_CTypedPtrList_CPtrList_long___AddTail(lua_State* L) { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'AddTail'", NULL); - CTypedPtrList::CNode* returnVal = self->AddTail((long*)tolua_tousertype_dynamic(L, 2, 0, "Primitive")); + CTypedPtrList::CNode* returnVal = (self->AddTail)((long*)tolua_tousertype_dynamic(L, 2, 0, "Primitive")); tolua_pushusertype(L, (void*)returnVal, "CTypedPtrList::CNode"); return 1; } @@ -84395,7 +86655,7 @@ static int tolua_function_CTypedPtrList_CPtrList_long___Find(lua_State* L) { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Find'", NULL); - CTypedPtrList::CNode* returnVal = self->Find((long*)tolua_tousertype_dynamic(L, 2, 0, "Primitive"), (CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 3, 0, "CTypedPtrList::CNode")); + CTypedPtrList::CNode* returnVal = (self->Find)((long*)tolua_tousertype_dynamic(L, 2, 0, "Primitive"), (CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 3, 0, "CTypedPtrList::CNode")); tolua_pushusertype(L, (void*)returnVal, "CTypedPtrList::CNode"); return 1; } @@ -84404,7 +86664,7 @@ static int tolua_function_CTypedPtrList_CPtrList_long___RemoveHead(lua_State* L) { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveHead'", NULL); - long* returnVal = self->RemoveHead(); + long* returnVal = (self->RemoveHead)(); tolua_pushusertype(L, (void*)returnVal, "Primitive"); return 1; } @@ -84413,7 +86673,7 @@ static int tolua_function_CTypedPtrList_CPtrList_long___RemoveAt(lua_State* L) { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveAt'", NULL); - self->RemoveAt((CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::CNode")); + (self->RemoveAt)((CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::CNode")); return 0; } @@ -84421,7 +86681,7 @@ static int tolua_function_CTypedPtrList_CPtrList_long___Destruct(lua_State* L) { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Destruct'", NULL); - self->Destruct(); + (self->Destruct)(); return 0; } @@ -84429,7 +86689,7 @@ static int tolua_function_CTypedPtrList_CPtrList_long___RemoveAll(lua_State* L) { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveAll'", NULL); - self->RemoveAll(); + (self->RemoveAll)(); return 0; } @@ -84661,7 +86921,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CBlood___AddTail(lua_State* L) { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'AddTail'", NULL); - CTypedPtrList::CNode* returnVal = self->AddTail((CBlood*)tolua_tousertype_dynamic(L, 2, 0, "CBlood")); + CTypedPtrList::CNode* returnVal = (self->AddTail)((CBlood*)tolua_tousertype_dynamic(L, 2, 0, "CBlood")); tolua_pushusertype(L, (void*)returnVal, "CTypedPtrList::CNode"); return 1; } @@ -84670,7 +86930,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CBlood___Find(lua_State* L) { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Find'", NULL); - CTypedPtrList::CNode* returnVal = self->Find((CBlood*)tolua_tousertype_dynamic(L, 2, 0, "CBlood"), (CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 3, 0, "CTypedPtrList::CNode")); + CTypedPtrList::CNode* returnVal = (self->Find)((CBlood*)tolua_tousertype_dynamic(L, 2, 0, "CBlood"), (CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 3, 0, "CTypedPtrList::CNode")); tolua_pushusertype(L, (void*)returnVal, "CTypedPtrList::CNode"); return 1; } @@ -84679,7 +86939,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CBlood___RemoveHead(lua_State* { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveHead'", NULL); - CBlood* returnVal = self->RemoveHead(); + CBlood* returnVal = (self->RemoveHead)(); tolua_pushusertype(L, (void*)returnVal, "CBlood"); return 1; } @@ -84688,7 +86948,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CBlood___RemoveAt(lua_State* L) { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveAt'", NULL); - self->RemoveAt((CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::CNode")); + (self->RemoveAt)((CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::CNode")); return 0; } @@ -84696,7 +86956,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CBlood___Destruct(lua_State* L) { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Destruct'", NULL); - self->Destruct(); + (self->Destruct)(); return 0; } @@ -84704,7 +86964,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CBlood___RemoveAll(lua_State* L { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveAll'", NULL); - self->RemoveAll(); + (self->RemoveAll)(); return 0; } @@ -84936,7 +87196,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CPortraitIcon___AddTail(lua_Sta { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'AddTail'", NULL); - CTypedPtrList::CNode* returnVal = self->AddTail((CPortraitIcon*)tolua_tousertype_dynamic(L, 2, 0, "CPortraitIcon")); + CTypedPtrList::CNode* returnVal = (self->AddTail)((CPortraitIcon*)tolua_tousertype_dynamic(L, 2, 0, "CPortraitIcon")); tolua_pushusertype(L, (void*)returnVal, "CTypedPtrList::CNode"); return 1; } @@ -84945,7 +87205,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CPortraitIcon___Find(lua_State* { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Find'", NULL); - CTypedPtrList::CNode* returnVal = self->Find((CPortraitIcon*)tolua_tousertype_dynamic(L, 2, 0, "CPortraitIcon"), (CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 3, 0, "CTypedPtrList::CNode")); + CTypedPtrList::CNode* returnVal = (self->Find)((CPortraitIcon*)tolua_tousertype_dynamic(L, 2, 0, "CPortraitIcon"), (CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 3, 0, "CTypedPtrList::CNode")); tolua_pushusertype(L, (void*)returnVal, "CTypedPtrList::CNode"); return 1; } @@ -84954,7 +87214,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CPortraitIcon___RemoveHead(lua_ { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveHead'", NULL); - CPortraitIcon* returnVal = self->RemoveHead(); + CPortraitIcon* returnVal = (self->RemoveHead)(); tolua_pushusertype(L, (void*)returnVal, "CPortraitIcon"); return 1; } @@ -84963,7 +87223,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CPortraitIcon___RemoveAt(lua_St { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveAt'", NULL); - self->RemoveAt((CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::CNode")); + (self->RemoveAt)((CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::CNode")); return 0; } @@ -84971,7 +87231,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CPortraitIcon___Destruct(lua_St { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Destruct'", NULL); - self->Destruct(); + (self->Destruct)(); return 0; } @@ -84979,7 +87239,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CPortraitIcon___RemoveAll(lua_S { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveAll'", NULL); - self->RemoveAll(); + (self->RemoveAll)(); return 0; } @@ -85211,7 +87471,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CPoint___AddTail(lua_State* L) { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'AddTail'", NULL); - CTypedPtrList::CNode* returnVal = self->AddTail((CPoint*)tolua_tousertype_dynamic(L, 2, 0, "CPoint")); + CTypedPtrList::CNode* returnVal = (self->AddTail)((CPoint*)tolua_tousertype_dynamic(L, 2, 0, "CPoint")); tolua_pushusertype(L, (void*)returnVal, "CTypedPtrList::CNode"); return 1; } @@ -85220,7 +87480,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CPoint___Find(lua_State* L) { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Find'", NULL); - CTypedPtrList::CNode* returnVal = self->Find((CPoint*)tolua_tousertype_dynamic(L, 2, 0, "CPoint"), (CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 3, 0, "CTypedPtrList::CNode")); + CTypedPtrList::CNode* returnVal = (self->Find)((CPoint*)tolua_tousertype_dynamic(L, 2, 0, "CPoint"), (CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 3, 0, "CTypedPtrList::CNode")); tolua_pushusertype(L, (void*)returnVal, "CTypedPtrList::CNode"); return 1; } @@ -85229,7 +87489,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CPoint___RemoveHead(lua_State* { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveHead'", NULL); - CPoint* returnVal = self->RemoveHead(); + CPoint* returnVal = (self->RemoveHead)(); tolua_pushusertype(L, (void*)returnVal, "CPoint"); return 1; } @@ -85238,7 +87498,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CPoint___RemoveAt(lua_State* L) { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveAt'", NULL); - self->RemoveAt((CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::CNode")); + (self->RemoveAt)((CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::CNode")); return 0; } @@ -85246,7 +87506,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CPoint___Destruct(lua_State* L) { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Destruct'", NULL); - self->Destruct(); + (self->Destruct)(); return 0; } @@ -85254,7 +87514,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CPoint___RemoveAll(lua_State* L { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveAll'", NULL); - self->RemoveAll(); + (self->RemoveAll)(); return 0; } @@ -85486,7 +87746,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CFeedbackEntry___AddTail(lua_St { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'AddTail'", NULL); - CTypedPtrList::CNode* returnVal = self->AddTail((CFeedbackEntry*)tolua_tousertype_dynamic(L, 2, 0, "CFeedbackEntry")); + CTypedPtrList::CNode* returnVal = (self->AddTail)((CFeedbackEntry*)tolua_tousertype_dynamic(L, 2, 0, "CFeedbackEntry")); tolua_pushusertype(L, (void*)returnVal, "CTypedPtrList::CNode"); return 1; } @@ -85495,7 +87755,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CFeedbackEntry___Find(lua_State { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Find'", NULL); - CTypedPtrList::CNode* returnVal = self->Find((CFeedbackEntry*)tolua_tousertype_dynamic(L, 2, 0, "CFeedbackEntry"), (CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 3, 0, "CTypedPtrList::CNode")); + CTypedPtrList::CNode* returnVal = (self->Find)((CFeedbackEntry*)tolua_tousertype_dynamic(L, 2, 0, "CFeedbackEntry"), (CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 3, 0, "CTypedPtrList::CNode")); tolua_pushusertype(L, (void*)returnVal, "CTypedPtrList::CNode"); return 1; } @@ -85504,7 +87764,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CFeedbackEntry___RemoveHead(lua { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveHead'", NULL); - CFeedbackEntry* returnVal = self->RemoveHead(); + CFeedbackEntry* returnVal = (self->RemoveHead)(); tolua_pushusertype(L, (void*)returnVal, "CFeedbackEntry"); return 1; } @@ -85513,7 +87773,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CFeedbackEntry___RemoveAt(lua_S { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveAt'", NULL); - self->RemoveAt((CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::CNode")); + (self->RemoveAt)((CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::CNode")); return 0; } @@ -85521,7 +87781,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CFeedbackEntry___Destruct(lua_S { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Destruct'", NULL); - self->Destruct(); + (self->Destruct)(); return 0; } @@ -85529,7 +87789,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CFeedbackEntry___RemoveAll(lua_ { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveAll'", NULL); - self->RemoveAll(); + (self->RemoveAll)(); return 0; } @@ -85761,7 +88021,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CGameSprite__GroundItem___AddTa { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'AddTail'", NULL); - CTypedPtrList::CNode* returnVal = self->AddTail((CGameSprite::GroundItem*)tolua_tousertype_dynamic(L, 2, 0, "CGameSprite::GroundItem")); + CTypedPtrList::CNode* returnVal = (self->AddTail)((CGameSprite::GroundItem*)tolua_tousertype_dynamic(L, 2, 0, "CGameSprite::GroundItem")); tolua_pushusertype(L, (void*)returnVal, "CTypedPtrList::CNode"); return 1; } @@ -85770,7 +88030,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CGameSprite__GroundItem___Find( { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Find'", NULL); - CTypedPtrList::CNode* returnVal = self->Find((CGameSprite::GroundItem*)tolua_tousertype_dynamic(L, 2, 0, "CGameSprite::GroundItem"), (CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 3, 0, "CTypedPtrList::CNode")); + CTypedPtrList::CNode* returnVal = (self->Find)((CGameSprite::GroundItem*)tolua_tousertype_dynamic(L, 2, 0, "CGameSprite::GroundItem"), (CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 3, 0, "CTypedPtrList::CNode")); tolua_pushusertype(L, (void*)returnVal, "CTypedPtrList::CNode"); return 1; } @@ -85779,7 +88039,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CGameSprite__GroundItem___Remov { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveHead'", NULL); - CGameSprite::GroundItem* returnVal = self->RemoveHead(); + CGameSprite::GroundItem* returnVal = (self->RemoveHead)(); tolua_pushusertype(L, (void*)returnVal, "CGameSprite::GroundItem"); return 1; } @@ -85788,7 +88048,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CGameSprite__GroundItem___Remov { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveAt'", NULL); - self->RemoveAt((CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::CNode")); + (self->RemoveAt)((CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::CNode")); return 0; } @@ -85796,7 +88056,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CGameSprite__GroundItem___Destr { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Destruct'", NULL); - self->Destruct(); + (self->Destruct)(); return 0; } @@ -85804,7 +88064,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CGameSprite__GroundItem___Remov { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveAll'", NULL); - self->RemoveAll(); + (self->RemoveAll)(); return 0; } @@ -86036,7 +88296,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CResRef___AddTail(lua_State* L) { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'AddTail'", NULL); - CTypedPtrList::CNode* returnVal = self->AddTail((CResRef*)tolua_tousertype_dynamic(L, 2, 0, "CResRef")); + CTypedPtrList::CNode* returnVal = (self->AddTail)((CResRef*)tolua_tousertype_dynamic(L, 2, 0, "CResRef")); tolua_pushusertype(L, (void*)returnVal, "CTypedPtrList::CNode"); return 1; } @@ -86045,7 +88305,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CResRef___Find(lua_State* L) { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Find'", NULL); - CTypedPtrList::CNode* returnVal = self->Find((CResRef*)tolua_tousertype_dynamic(L, 2, 0, "CResRef"), (CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 3, 0, "CTypedPtrList::CNode")); + CTypedPtrList::CNode* returnVal = (self->Find)((CResRef*)tolua_tousertype_dynamic(L, 2, 0, "CResRef"), (CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 3, 0, "CTypedPtrList::CNode")); tolua_pushusertype(L, (void*)returnVal, "CTypedPtrList::CNode"); return 1; } @@ -86054,7 +88314,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CResRef___RemoveHead(lua_State* { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveHead'", NULL); - CResRef* returnVal = self->RemoveHead(); + CResRef* returnVal = (self->RemoveHead)(); tolua_pushusertype(L, (void*)returnVal, "CResRef"); return 1; } @@ -86063,7 +88323,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CResRef___RemoveAt(lua_State* L { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveAt'", NULL); - self->RemoveAt((CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::CNode")); + (self->RemoveAt)((CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::CNode")); return 0; } @@ -86071,7 +88331,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CResRef___Destruct(lua_State* L { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Destruct'", NULL); - self->Destruct(); + (self->Destruct)(); return 0; } @@ -86079,7 +88339,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CResRef___RemoveAll(lua_State* { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveAll'", NULL); - self->RemoveAll(); + (self->RemoveAll)(); return 0; } @@ -86311,7 +88571,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CSearchRequest___AddTail(lua_St { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'AddTail'", NULL); - CTypedPtrList::CNode* returnVal = self->AddTail((CSearchRequest*)tolua_tousertype_dynamic(L, 2, 0, "CSearchRequest")); + CTypedPtrList::CNode* returnVal = (self->AddTail)((CSearchRequest*)tolua_tousertype_dynamic(L, 2, 0, "CSearchRequest")); tolua_pushusertype(L, (void*)returnVal, "CTypedPtrList::CNode"); return 1; } @@ -86320,7 +88580,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CSearchRequest___Find(lua_State { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Find'", NULL); - CTypedPtrList::CNode* returnVal = self->Find((CSearchRequest*)tolua_tousertype_dynamic(L, 2, 0, "CSearchRequest"), (CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 3, 0, "CTypedPtrList::CNode")); + CTypedPtrList::CNode* returnVal = (self->Find)((CSearchRequest*)tolua_tousertype_dynamic(L, 2, 0, "CSearchRequest"), (CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 3, 0, "CTypedPtrList::CNode")); tolua_pushusertype(L, (void*)returnVal, "CTypedPtrList::CNode"); return 1; } @@ -86329,7 +88589,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CSearchRequest___RemoveHead(lua { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveHead'", NULL); - CSearchRequest* returnVal = self->RemoveHead(); + CSearchRequest* returnVal = (self->RemoveHead)(); tolua_pushusertype(L, (void*)returnVal, "CSearchRequest"); return 1; } @@ -86338,7 +88598,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CSearchRequest___RemoveAt(lua_S { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveAt'", NULL); - self->RemoveAt((CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::CNode")); + (self->RemoveAt)((CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::CNode")); return 0; } @@ -86346,7 +88606,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CSearchRequest___Destruct(lua_S { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Destruct'", NULL); - self->Destruct(); + (self->Destruct)(); return 0; } @@ -86354,7 +88614,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CSearchRequest___RemoveAll(lua_ { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveAll'", NULL); - self->RemoveAll(); + (self->RemoveAll)(); return 0; } @@ -86586,7 +88846,7 @@ static int tolua_function_CTypedPtrList_CPtrList_SAreaFileWrapper___AddTail(lua_ { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'AddTail'", NULL); - CTypedPtrList::CNode* returnVal = self->AddTail((SAreaFileWrapper*)tolua_tousertype_dynamic(L, 2, 0, "SAreaFileWrapper")); + CTypedPtrList::CNode* returnVal = (self->AddTail)((SAreaFileWrapper*)tolua_tousertype_dynamic(L, 2, 0, "SAreaFileWrapper")); tolua_pushusertype(L, (void*)returnVal, "CTypedPtrList::CNode"); return 1; } @@ -86595,7 +88855,7 @@ static int tolua_function_CTypedPtrList_CPtrList_SAreaFileWrapper___Find(lua_Sta { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Find'", NULL); - CTypedPtrList::CNode* returnVal = self->Find((SAreaFileWrapper*)tolua_tousertype_dynamic(L, 2, 0, "SAreaFileWrapper"), (CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 3, 0, "CTypedPtrList::CNode")); + CTypedPtrList::CNode* returnVal = (self->Find)((SAreaFileWrapper*)tolua_tousertype_dynamic(L, 2, 0, "SAreaFileWrapper"), (CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 3, 0, "CTypedPtrList::CNode")); tolua_pushusertype(L, (void*)returnVal, "CTypedPtrList::CNode"); return 1; } @@ -86604,7 +88864,7 @@ static int tolua_function_CTypedPtrList_CPtrList_SAreaFileWrapper___RemoveHead(l { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveHead'", NULL); - SAreaFileWrapper* returnVal = self->RemoveHead(); + SAreaFileWrapper* returnVal = (self->RemoveHead)(); tolua_pushusertype(L, (void*)returnVal, "SAreaFileWrapper"); return 1; } @@ -86613,7 +88873,7 @@ static int tolua_function_CTypedPtrList_CPtrList_SAreaFileWrapper___RemoveAt(lua { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveAt'", NULL); - self->RemoveAt((CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::CNode")); + (self->RemoveAt)((CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::CNode")); return 0; } @@ -86621,7 +88881,7 @@ static int tolua_function_CTypedPtrList_CPtrList_SAreaFileWrapper___Destruct(lua { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Destruct'", NULL); - self->Destruct(); + (self->Destruct)(); return 0; } @@ -86629,7 +88889,7 @@ static int tolua_function_CTypedPtrList_CPtrList_SAreaFileWrapper___RemoveAll(lu { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveAll'", NULL); - self->RemoveAll(); + (self->RemoveAll)(); return 0; } @@ -86861,7 +89121,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CSavedGameStoredLocation___AddT { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'AddTail'", NULL); - CTypedPtrList::CNode* returnVal = self->AddTail((CSavedGameStoredLocation*)tolua_tousertype_dynamic(L, 2, 0, "CSavedGameStoredLocation")); + CTypedPtrList::CNode* returnVal = (self->AddTail)((CSavedGameStoredLocation*)tolua_tousertype_dynamic(L, 2, 0, "CSavedGameStoredLocation")); tolua_pushusertype(L, (void*)returnVal, "CTypedPtrList::CNode"); return 1; } @@ -86870,7 +89130,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CSavedGameStoredLocation___Find { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Find'", NULL); - CTypedPtrList::CNode* returnVal = self->Find((CSavedGameStoredLocation*)tolua_tousertype_dynamic(L, 2, 0, "CSavedGameStoredLocation"), (CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 3, 0, "CTypedPtrList::CNode")); + CTypedPtrList::CNode* returnVal = (self->Find)((CSavedGameStoredLocation*)tolua_tousertype_dynamic(L, 2, 0, "CSavedGameStoredLocation"), (CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 3, 0, "CTypedPtrList::CNode")); tolua_pushusertype(L, (void*)returnVal, "CTypedPtrList::CNode"); return 1; } @@ -86879,7 +89139,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CSavedGameStoredLocation___Remo { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveHead'", NULL); - CSavedGameStoredLocation* returnVal = self->RemoveHead(); + CSavedGameStoredLocation* returnVal = (self->RemoveHead)(); tolua_pushusertype(L, (void*)returnVal, "CSavedGameStoredLocation"); return 1; } @@ -86888,7 +89148,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CSavedGameStoredLocation___Remo { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveAt'", NULL); - self->RemoveAt((CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::CNode")); + (self->RemoveAt)((CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::CNode")); return 0; } @@ -86896,7 +89156,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CSavedGameStoredLocation___Dest { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Destruct'", NULL); - self->Destruct(); + (self->Destruct)(); return 0; } @@ -86904,7 +89164,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CSavedGameStoredLocation___Remo { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveAll'", NULL); - self->RemoveAll(); + (self->RemoveAll)(); return 0; } @@ -87136,7 +89396,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CAOEEntry___AddTail(lua_State* { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'AddTail'", NULL); - CTypedPtrList::CNode* returnVal = self->AddTail((CAOEEntry*)tolua_tousertype_dynamic(L, 2, 0, "CAOEEntry")); + CTypedPtrList::CNode* returnVal = (self->AddTail)((CAOEEntry*)tolua_tousertype_dynamic(L, 2, 0, "CAOEEntry")); tolua_pushusertype(L, (void*)returnVal, "CTypedPtrList::CNode"); return 1; } @@ -87145,7 +89405,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CAOEEntry___Find(lua_State* L) { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Find'", NULL); - CTypedPtrList::CNode* returnVal = self->Find((CAOEEntry*)tolua_tousertype_dynamic(L, 2, 0, "CAOEEntry"), (CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 3, 0, "CTypedPtrList::CNode")); + CTypedPtrList::CNode* returnVal = (self->Find)((CAOEEntry*)tolua_tousertype_dynamic(L, 2, 0, "CAOEEntry"), (CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 3, 0, "CTypedPtrList::CNode")); tolua_pushusertype(L, (void*)returnVal, "CTypedPtrList::CNode"); return 1; } @@ -87154,7 +89414,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CAOEEntry___RemoveHead(lua_Stat { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveHead'", NULL); - CAOEEntry* returnVal = self->RemoveHead(); + CAOEEntry* returnVal = (self->RemoveHead)(); tolua_pushusertype(L, (void*)returnVal, "CAOEEntry"); return 1; } @@ -87163,7 +89423,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CAOEEntry___RemoveAt(lua_State* { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveAt'", NULL); - self->RemoveAt((CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::CNode")); + (self->RemoveAt)((CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::CNode")); return 0; } @@ -87171,7 +89431,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CAOEEntry___Destruct(lua_State* { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Destruct'", NULL); - self->Destruct(); + (self->Destruct)(); return 0; } @@ -87179,7 +89439,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CAOEEntry___RemoveAll(lua_State { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveAll'", NULL); - self->RemoveAll(); + (self->RemoveAll)(); return 0; } @@ -87411,7 +89671,7 @@ static int tolua_function_CTypedPtrList_CPtrList_long__AddTail(lua_State* L) { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'AddTail'", NULL); - CTypedPtrList::CNode* returnVal = self->AddTail(tolua_function_tointeger(L, 2, "AddTail")); + CTypedPtrList::CNode* returnVal = (self->AddTail)(tolua_function_tointeger(L, 2, "AddTail")); tolua_pushusertype(L, (void*)returnVal, "CTypedPtrList::CNode"); return 1; } @@ -87420,7 +89680,7 @@ static int tolua_function_CTypedPtrList_CPtrList_long__Find(lua_State* L) { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Find'", NULL); - CTypedPtrList::CNode* returnVal = self->Find(tolua_function_tointeger(L, 2, "Find"), (CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 3, 0, "CTypedPtrList::CNode")); + CTypedPtrList::CNode* returnVal = (self->Find)(tolua_function_tointeger(L, 2, "Find"), (CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 3, 0, "CTypedPtrList::CNode")); tolua_pushusertype(L, (void*)returnVal, "CTypedPtrList::CNode"); return 1; } @@ -87429,7 +89689,7 @@ static int tolua_function_CTypedPtrList_CPtrList_long__RemoveHead(lua_State* L) { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveHead'", NULL); - long returnVal = self->RemoveHead(); + long returnVal = (self->RemoveHead)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -87438,7 +89698,7 @@ static int tolua_function_CTypedPtrList_CPtrList_long__RemoveAt(lua_State* L) { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveAt'", NULL); - self->RemoveAt((CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::CNode")); + (self->RemoveAt)((CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::CNode")); return 0; } @@ -87446,7 +89706,7 @@ static int tolua_function_CTypedPtrList_CPtrList_long__Destruct(lua_State* L) { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Destruct'", NULL); - self->Destruct(); + (self->Destruct)(); return 0; } @@ -87454,7 +89714,7 @@ static int tolua_function_CTypedPtrList_CPtrList_long__RemoveAll(lua_State* L) { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveAll'", NULL); - self->RemoveAll(); + (self->RemoveAll)(); return 0; } @@ -87686,7 +89946,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CAreaFileCharacterEntryPoint___ { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'AddTail'", NULL); - CTypedPtrList::CNode* returnVal = self->AddTail((CAreaFileCharacterEntryPoint*)tolua_tousertype_dynamic(L, 2, 0, "CAreaFileCharacterEntryPoint")); + CTypedPtrList::CNode* returnVal = (self->AddTail)((CAreaFileCharacterEntryPoint*)tolua_tousertype_dynamic(L, 2, 0, "CAreaFileCharacterEntryPoint")); tolua_pushusertype(L, (void*)returnVal, "CTypedPtrList::CNode"); return 1; } @@ -87695,7 +89955,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CAreaFileCharacterEntryPoint___ { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Find'", NULL); - CTypedPtrList::CNode* returnVal = self->Find((CAreaFileCharacterEntryPoint*)tolua_tousertype_dynamic(L, 2, 0, "CAreaFileCharacterEntryPoint"), (CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 3, 0, "CTypedPtrList::CNode")); + CTypedPtrList::CNode* returnVal = (self->Find)((CAreaFileCharacterEntryPoint*)tolua_tousertype_dynamic(L, 2, 0, "CAreaFileCharacterEntryPoint"), (CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 3, 0, "CTypedPtrList::CNode")); tolua_pushusertype(L, (void*)returnVal, "CTypedPtrList::CNode"); return 1; } @@ -87704,7 +89964,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CAreaFileCharacterEntryPoint___ { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveHead'", NULL); - CAreaFileCharacterEntryPoint* returnVal = self->RemoveHead(); + CAreaFileCharacterEntryPoint* returnVal = (self->RemoveHead)(); tolua_pushusertype(L, (void*)returnVal, "CAreaFileCharacterEntryPoint"); return 1; } @@ -87713,7 +89973,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CAreaFileCharacterEntryPoint___ { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveAt'", NULL); - self->RemoveAt((CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::CNode")); + (self->RemoveAt)((CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::CNode")); return 0; } @@ -87721,7 +89981,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CAreaFileCharacterEntryPoint___ { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Destruct'", NULL); - self->Destruct(); + (self->Destruct)(); return 0; } @@ -87729,7 +89989,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CAreaFileCharacterEntryPoint___ { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveAll'", NULL); - self->RemoveAll(); + (self->RemoveAll)(); return 0; } @@ -87961,7 +90221,7 @@ static int tolua_function_CTypedPtrList_CPtrList___POSITION___AddTail(lua_State* { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'AddTail'", NULL); - CTypedPtrList::CNode* returnVal = self->AddTail((__POSITION*)tolua_tousertype_dynamic(L, 2, 0, "__POSITION")); + CTypedPtrList::CNode* returnVal = (self->AddTail)((__POSITION*)tolua_tousertype_dynamic(L, 2, 0, "__POSITION")); tolua_pushusertype(L, (void*)returnVal, "CTypedPtrList::CNode"); return 1; } @@ -87970,7 +90230,7 @@ static int tolua_function_CTypedPtrList_CPtrList___POSITION___Find(lua_State* L) { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Find'", NULL); - CTypedPtrList::CNode* returnVal = self->Find((__POSITION*)tolua_tousertype_dynamic(L, 2, 0, "__POSITION"), (CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 3, 0, "CTypedPtrList::CNode")); + CTypedPtrList::CNode* returnVal = (self->Find)((__POSITION*)tolua_tousertype_dynamic(L, 2, 0, "__POSITION"), (CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 3, 0, "CTypedPtrList::CNode")); tolua_pushusertype(L, (void*)returnVal, "CTypedPtrList::CNode"); return 1; } @@ -87979,7 +90239,7 @@ static int tolua_function_CTypedPtrList_CPtrList___POSITION___RemoveHead(lua_Sta { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveHead'", NULL); - __POSITION* returnVal = self->RemoveHead(); + __POSITION* returnVal = (self->RemoveHead)(); tolua_pushusertype(L, (void*)returnVal, "__POSITION"); return 1; } @@ -87988,7 +90248,7 @@ static int tolua_function_CTypedPtrList_CPtrList___POSITION___RemoveAt(lua_State { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveAt'", NULL); - self->RemoveAt((CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::CNode")); + (self->RemoveAt)((CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::CNode")); return 0; } @@ -87996,7 +90256,7 @@ static int tolua_function_CTypedPtrList_CPtrList___POSITION___Destruct(lua_State { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Destruct'", NULL); - self->Destruct(); + (self->Destruct)(); return 0; } @@ -88004,7 +90264,7 @@ static int tolua_function_CTypedPtrList_CPtrList___POSITION___RemoveAll(lua_Stat { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveAll'", NULL); - self->RemoveAll(); + (self->RemoveAll)(); return 0; } @@ -88236,7 +90496,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CTiledObject___AddTail(lua_Stat { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'AddTail'", NULL); - CTypedPtrList::CNode* returnVal = self->AddTail((CTiledObject*)tolua_tousertype_dynamic(L, 2, 0, "CTiledObject")); + CTypedPtrList::CNode* returnVal = (self->AddTail)((CTiledObject*)tolua_tousertype_dynamic(L, 2, 0, "CTiledObject")); tolua_pushusertype(L, (void*)returnVal, "CTypedPtrList::CNode"); return 1; } @@ -88245,7 +90505,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CTiledObject___Find(lua_State* { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Find'", NULL); - CTypedPtrList::CNode* returnVal = self->Find((CTiledObject*)tolua_tousertype_dynamic(L, 2, 0, "CTiledObject"), (CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 3, 0, "CTypedPtrList::CNode")); + CTypedPtrList::CNode* returnVal = (self->Find)((CTiledObject*)tolua_tousertype_dynamic(L, 2, 0, "CTiledObject"), (CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 3, 0, "CTypedPtrList::CNode")); tolua_pushusertype(L, (void*)returnVal, "CTypedPtrList::CNode"); return 1; } @@ -88254,7 +90514,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CTiledObject___RemoveHead(lua_S { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveHead'", NULL); - CTiledObject* returnVal = self->RemoveHead(); + CTiledObject* returnVal = (self->RemoveHead)(); tolua_pushusertype(L, (void*)returnVal, "CTiledObject"); return 1; } @@ -88263,7 +90523,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CTiledObject___RemoveAt(lua_Sta { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveAt'", NULL); - self->RemoveAt((CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::CNode")); + (self->RemoveAt)((CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::CNode")); return 0; } @@ -88271,7 +90531,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CTiledObject___Destruct(lua_Sta { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Destruct'", NULL); - self->Destruct(); + (self->Destruct)(); return 0; } @@ -88279,7 +90539,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CTiledObject___RemoveAll(lua_St { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveAll'", NULL); - self->RemoveAll(); + (self->RemoveAll)(); return 0; } @@ -88511,7 +90771,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CGameAreaClairvoyanceEntry___Ad { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'AddTail'", NULL); - CTypedPtrList::CNode* returnVal = self->AddTail((CGameAreaClairvoyanceEntry*)tolua_tousertype_dynamic(L, 2, 0, "CGameAreaClairvoyanceEntry")); + CTypedPtrList::CNode* returnVal = (self->AddTail)((CGameAreaClairvoyanceEntry*)tolua_tousertype_dynamic(L, 2, 0, "CGameAreaClairvoyanceEntry")); tolua_pushusertype(L, (void*)returnVal, "CTypedPtrList::CNode"); return 1; } @@ -88520,7 +90780,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CGameAreaClairvoyanceEntry___Fi { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Find'", NULL); - CTypedPtrList::CNode* returnVal = self->Find((CGameAreaClairvoyanceEntry*)tolua_tousertype_dynamic(L, 2, 0, "CGameAreaClairvoyanceEntry"), (CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 3, 0, "CTypedPtrList::CNode")); + CTypedPtrList::CNode* returnVal = (self->Find)((CGameAreaClairvoyanceEntry*)tolua_tousertype_dynamic(L, 2, 0, "CGameAreaClairvoyanceEntry"), (CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 3, 0, "CTypedPtrList::CNode")); tolua_pushusertype(L, (void*)returnVal, "CTypedPtrList::CNode"); return 1; } @@ -88529,7 +90789,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CGameAreaClairvoyanceEntry___Re { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveHead'", NULL); - CGameAreaClairvoyanceEntry* returnVal = self->RemoveHead(); + CGameAreaClairvoyanceEntry* returnVal = (self->RemoveHead)(); tolua_pushusertype(L, (void*)returnVal, "CGameAreaClairvoyanceEntry"); return 1; } @@ -88538,7 +90798,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CGameAreaClairvoyanceEntry___Re { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveAt'", NULL); - self->RemoveAt((CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::CNode")); + (self->RemoveAt)((CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::CNode")); return 0; } @@ -88546,7 +90806,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CGameAreaClairvoyanceEntry___De { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Destruct'", NULL); - self->Destruct(); + (self->Destruct)(); return 0; } @@ -88554,7 +90814,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CGameAreaClairvoyanceEntry___Re { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveAll'", NULL); - self->RemoveAll(); + (self->RemoveAll)(); return 0; } @@ -88786,7 +91046,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CVEFEvent___AddTail(lua_State* { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'AddTail'", NULL); - CTypedPtrList::CNode* returnVal = self->AddTail((CVEFEvent*)tolua_tousertype_dynamic(L, 2, 0, "CVEFEvent")); + CTypedPtrList::CNode* returnVal = (self->AddTail)((CVEFEvent*)tolua_tousertype_dynamic(L, 2, 0, "CVEFEvent")); tolua_pushusertype(L, (void*)returnVal, "CTypedPtrList::CNode"); return 1; } @@ -88795,7 +91055,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CVEFEvent___Find(lua_State* L) { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Find'", NULL); - CTypedPtrList::CNode* returnVal = self->Find((CVEFEvent*)tolua_tousertype_dynamic(L, 2, 0, "CVEFEvent"), (CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 3, 0, "CTypedPtrList::CNode")); + CTypedPtrList::CNode* returnVal = (self->Find)((CVEFEvent*)tolua_tousertype_dynamic(L, 2, 0, "CVEFEvent"), (CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 3, 0, "CTypedPtrList::CNode")); tolua_pushusertype(L, (void*)returnVal, "CTypedPtrList::CNode"); return 1; } @@ -88804,7 +91064,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CVEFEvent___RemoveHead(lua_Stat { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveHead'", NULL); - CVEFEvent* returnVal = self->RemoveHead(); + CVEFEvent* returnVal = (self->RemoveHead)(); tolua_pushusertype(L, (void*)returnVal, "CVEFEvent"); return 1; } @@ -88813,7 +91073,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CVEFEvent___RemoveAt(lua_State* { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveAt'", NULL); - self->RemoveAt((CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::CNode")); + (self->RemoveAt)((CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::CNode")); return 0; } @@ -88821,7 +91081,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CVEFEvent___Destruct(lua_State* { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Destruct'", NULL); - self->Destruct(); + (self->Destruct)(); return 0; } @@ -88829,7 +91089,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CVEFEvent___RemoveAll(lua_State { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveAll'", NULL); - self->RemoveAll(); + (self->RemoveAll)(); return 0; } @@ -89061,7 +91321,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CAIObjectType___AddTail(lua_Sta { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'AddTail'", NULL); - CTypedPtrList::CNode* returnVal = self->AddTail((CAIObjectType*)tolua_tousertype_dynamic(L, 2, 0, "CAIObjectType")); + CTypedPtrList::CNode* returnVal = (self->AddTail)((CAIObjectType*)tolua_tousertype_dynamic(L, 2, 0, "CAIObjectType")); tolua_pushusertype(L, (void*)returnVal, "CTypedPtrList::CNode"); return 1; } @@ -89070,7 +91330,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CAIObjectType___Find(lua_State* { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Find'", NULL); - CTypedPtrList::CNode* returnVal = self->Find((CAIObjectType*)tolua_tousertype_dynamic(L, 2, 0, "CAIObjectType"), (CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 3, 0, "CTypedPtrList::CNode")); + CTypedPtrList::CNode* returnVal = (self->Find)((CAIObjectType*)tolua_tousertype_dynamic(L, 2, 0, "CAIObjectType"), (CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 3, 0, "CTypedPtrList::CNode")); tolua_pushusertype(L, (void*)returnVal, "CTypedPtrList::CNode"); return 1; } @@ -89079,7 +91339,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CAIObjectType___RemoveHead(lua_ { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveHead'", NULL); - CAIObjectType* returnVal = self->RemoveHead(); + CAIObjectType* returnVal = (self->RemoveHead)(); tolua_pushusertype(L, (void*)returnVal, "CAIObjectType"); return 1; } @@ -89088,7 +91348,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CAIObjectType___RemoveAt(lua_St { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveAt'", NULL); - self->RemoveAt((CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::CNode")); + (self->RemoveAt)((CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::CNode")); return 0; } @@ -89096,7 +91356,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CAIObjectType___Destruct(lua_St { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Destruct'", NULL); - self->Destruct(); + (self->Destruct)(); return 0; } @@ -89104,7 +91364,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CAIObjectType___RemoveAll(lua_S { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveAll'", NULL); - self->RemoveAll(); + (self->RemoveAll)(); return 0; } @@ -89336,7 +91596,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CAIConditionResponse___AddTail( { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'AddTail'", NULL); - CTypedPtrList::CNode* returnVal = self->AddTail((CAIConditionResponse*)tolua_tousertype_dynamic(L, 2, 0, "CAIConditionResponse")); + CTypedPtrList::CNode* returnVal = (self->AddTail)((CAIConditionResponse*)tolua_tousertype_dynamic(L, 2, 0, "CAIConditionResponse")); tolua_pushusertype(L, (void*)returnVal, "CTypedPtrList::CNode"); return 1; } @@ -89345,7 +91605,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CAIConditionResponse___Find(lua { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Find'", NULL); - CTypedPtrList::CNode* returnVal = self->Find((CAIConditionResponse*)tolua_tousertype_dynamic(L, 2, 0, "CAIConditionResponse"), (CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 3, 0, "CTypedPtrList::CNode")); + CTypedPtrList::CNode* returnVal = (self->Find)((CAIConditionResponse*)tolua_tousertype_dynamic(L, 2, 0, "CAIConditionResponse"), (CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 3, 0, "CTypedPtrList::CNode")); tolua_pushusertype(L, (void*)returnVal, "CTypedPtrList::CNode"); return 1; } @@ -89354,7 +91614,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CAIConditionResponse___RemoveHe { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveHead'", NULL); - CAIConditionResponse* returnVal = self->RemoveHead(); + CAIConditionResponse* returnVal = (self->RemoveHead)(); tolua_pushusertype(L, (void*)returnVal, "CAIConditionResponse"); return 1; } @@ -89363,7 +91623,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CAIConditionResponse___RemoveAt { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveAt'", NULL); - self->RemoveAt((CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::CNode")); + (self->RemoveAt)((CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::CNode")); return 0; } @@ -89371,7 +91631,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CAIConditionResponse___Destruct { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Destruct'", NULL); - self->Destruct(); + (self->Destruct)(); return 0; } @@ -89379,7 +91639,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CAIConditionResponse___RemoveAl { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveAll'", NULL); - self->RemoveAll(); + (self->RemoveAll)(); return 0; } @@ -89611,7 +91871,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CMessage___AddTail(lua_State* L { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'AddTail'", NULL); - CTypedPtrList::CNode* returnVal = self->AddTail((CMessage*)tolua_tousertype_dynamic(L, 2, 0, "CMessage")); + CTypedPtrList::CNode* returnVal = (self->AddTail)((CMessage*)tolua_tousertype_dynamic(L, 2, 0, "CMessage")); tolua_pushusertype(L, (void*)returnVal, "CTypedPtrList::CNode"); return 1; } @@ -89620,7 +91880,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CMessage___Find(lua_State* L) { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Find'", NULL); - CTypedPtrList::CNode* returnVal = self->Find((CMessage*)tolua_tousertype_dynamic(L, 2, 0, "CMessage"), (CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 3, 0, "CTypedPtrList::CNode")); + CTypedPtrList::CNode* returnVal = (self->Find)((CMessage*)tolua_tousertype_dynamic(L, 2, 0, "CMessage"), (CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 3, 0, "CTypedPtrList::CNode")); tolua_pushusertype(L, (void*)returnVal, "CTypedPtrList::CNode"); return 1; } @@ -89629,7 +91889,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CMessage___RemoveHead(lua_State { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveHead'", NULL); - CMessage* returnVal = self->RemoveHead(); + CMessage* returnVal = (self->RemoveHead)(); tolua_pushusertype(L, (void*)returnVal, "CMessage"); return 1; } @@ -89638,7 +91898,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CMessage___RemoveAt(lua_State* { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveAt'", NULL); - self->RemoveAt((CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::CNode")); + (self->RemoveAt)((CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::CNode")); return 0; } @@ -89646,7 +91906,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CMessage___Destruct(lua_State* { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Destruct'", NULL); - self->Destruct(); + (self->Destruct)(); return 0; } @@ -89654,7 +91914,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CMessage___RemoveAll(lua_State* { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveAll'", NULL); - self->RemoveAll(); + (self->RemoveAll)(); return 0; } @@ -89886,7 +92146,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CDeathSound___AddTail(lua_State { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'AddTail'", NULL); - CTypedPtrList::CNode* returnVal = self->AddTail((CDeathSound*)tolua_tousertype_dynamic(L, 2, 0, "CDeathSound")); + CTypedPtrList::CNode* returnVal = (self->AddTail)((CDeathSound*)tolua_tousertype_dynamic(L, 2, 0, "CDeathSound")); tolua_pushusertype(L, (void*)returnVal, "CTypedPtrList::CNode"); return 1; } @@ -89895,7 +92155,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CDeathSound___Find(lua_State* L { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Find'", NULL); - CTypedPtrList::CNode* returnVal = self->Find((CDeathSound*)tolua_tousertype_dynamic(L, 2, 0, "CDeathSound"), (CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 3, 0, "CTypedPtrList::CNode")); + CTypedPtrList::CNode* returnVal = (self->Find)((CDeathSound*)tolua_tousertype_dynamic(L, 2, 0, "CDeathSound"), (CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 3, 0, "CTypedPtrList::CNode")); tolua_pushusertype(L, (void*)returnVal, "CTypedPtrList::CNode"); return 1; } @@ -89904,7 +92164,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CDeathSound___RemoveHead(lua_St { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveHead'", NULL); - CDeathSound* returnVal = self->RemoveHead(); + CDeathSound* returnVal = (self->RemoveHead)(); tolua_pushusertype(L, (void*)returnVal, "CDeathSound"); return 1; } @@ -89913,7 +92173,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CDeathSound___RemoveAt(lua_Stat { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveAt'", NULL); - self->RemoveAt((CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::CNode")); + (self->RemoveAt)((CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::CNode")); return 0; } @@ -89921,7 +92181,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CDeathSound___Destruct(lua_Stat { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Destruct'", NULL); - self->Destruct(); + (self->Destruct)(); return 0; } @@ -89929,7 +92189,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CDeathSound___RemoveAll(lua_Sta { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveAll'", NULL); - self->RemoveAll(); + (self->RemoveAll)(); return 0; } @@ -90161,7 +92421,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CItem___AddTail(lua_State* L) { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'AddTail'", NULL); - CTypedPtrList::CNode* returnVal = self->AddTail((CItem*)tolua_tousertype_dynamic(L, 2, 0, "CItem")); + CTypedPtrList::CNode* returnVal = (self->AddTail)((CItem*)tolua_tousertype_dynamic(L, 2, 0, "CItem")); tolua_pushusertype(L, (void*)returnVal, "CTypedPtrList::CNode"); return 1; } @@ -90170,7 +92430,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CItem___Find(lua_State* L) { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Find'", NULL); - CTypedPtrList::CNode* returnVal = self->Find((CItem*)tolua_tousertype_dynamic(L, 2, 0, "CItem"), (CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 3, 0, "CTypedPtrList::CNode")); + CTypedPtrList::CNode* returnVal = (self->Find)((CItem*)tolua_tousertype_dynamic(L, 2, 0, "CItem"), (CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 3, 0, "CTypedPtrList::CNode")); tolua_pushusertype(L, (void*)returnVal, "CTypedPtrList::CNode"); return 1; } @@ -90179,7 +92439,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CItem___RemoveHead(lua_State* L { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveHead'", NULL); - CItem* returnVal = self->RemoveHead(); + CItem* returnVal = (self->RemoveHead)(); tolua_pushusertype(L, (void*)returnVal, "CItem"); return 1; } @@ -90188,7 +92448,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CItem___RemoveAt(lua_State* L) { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveAt'", NULL); - self->RemoveAt((CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::CNode")); + (self->RemoveAt)((CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::CNode")); return 0; } @@ -90196,7 +92456,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CItem___Destruct(lua_State* L) { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Destruct'", NULL); - self->Destruct(); + (self->Destruct)(); return 0; } @@ -90204,7 +92464,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CItem___RemoveAll(lua_State* L) { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveAll'", NULL); - self->RemoveAll(); + (self->RemoveAll)(); return 0; } @@ -90436,7 +92696,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CContingency___AddTail(lua_Stat { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'AddTail'", NULL); - CTypedPtrList::CNode* returnVal = self->AddTail((CContingency*)tolua_tousertype_dynamic(L, 2, 0, "CContingency")); + CTypedPtrList::CNode* returnVal = (self->AddTail)((CContingency*)tolua_tousertype_dynamic(L, 2, 0, "CContingency")); tolua_pushusertype(L, (void*)returnVal, "CTypedPtrList::CNode"); return 1; } @@ -90445,7 +92705,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CContingency___Find(lua_State* { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Find'", NULL); - CTypedPtrList::CNode* returnVal = self->Find((CContingency*)tolua_tousertype_dynamic(L, 2, 0, "CContingency"), (CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 3, 0, "CTypedPtrList::CNode")); + CTypedPtrList::CNode* returnVal = (self->Find)((CContingency*)tolua_tousertype_dynamic(L, 2, 0, "CContingency"), (CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 3, 0, "CTypedPtrList::CNode")); tolua_pushusertype(L, (void*)returnVal, "CTypedPtrList::CNode"); return 1; } @@ -90454,7 +92714,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CContingency___RemoveHead(lua_S { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveHead'", NULL); - CContingency* returnVal = self->RemoveHead(); + CContingency* returnVal = (self->RemoveHead)(); tolua_pushusertype(L, (void*)returnVal, "CContingency"); return 1; } @@ -90463,7 +92723,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CContingency___RemoveAt(lua_Sta { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveAt'", NULL); - self->RemoveAt((CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::CNode")); + (self->RemoveAt)((CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::CNode")); return 0; } @@ -90471,7 +92731,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CContingency___Destruct(lua_Sta { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Destruct'", NULL); - self->Destruct(); + (self->Destruct)(); return 0; } @@ -90479,7 +92739,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CContingency___RemoveAll(lua_St { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveAll'", NULL); - self->RemoveAll(); + (self->RemoveAll)(); return 0; } @@ -90711,7 +92971,7 @@ static int tolua_function_CTypedPtrList_CPtrList_cnetworkwindow_queueentry_st___ { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'AddTail'", NULL); - CTypedPtrList::CNode* returnVal = self->AddTail((cnetworkwindow_queueentry_st*)tolua_tousertype_dynamic(L, 2, 0, "cnetworkwindow_queueentry_st")); + CTypedPtrList::CNode* returnVal = (self->AddTail)((cnetworkwindow_queueentry_st*)tolua_tousertype_dynamic(L, 2, 0, "cnetworkwindow_queueentry_st")); tolua_pushusertype(L, (void*)returnVal, "CTypedPtrList::CNode"); return 1; } @@ -90720,7 +92980,7 @@ static int tolua_function_CTypedPtrList_CPtrList_cnetworkwindow_queueentry_st___ { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Find'", NULL); - CTypedPtrList::CNode* returnVal = self->Find((cnetworkwindow_queueentry_st*)tolua_tousertype_dynamic(L, 2, 0, "cnetworkwindow_queueentry_st"), (CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 3, 0, "CTypedPtrList::CNode")); + CTypedPtrList::CNode* returnVal = (self->Find)((cnetworkwindow_queueentry_st*)tolua_tousertype_dynamic(L, 2, 0, "cnetworkwindow_queueentry_st"), (CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 3, 0, "CTypedPtrList::CNode")); tolua_pushusertype(L, (void*)returnVal, "CTypedPtrList::CNode"); return 1; } @@ -90729,7 +92989,7 @@ static int tolua_function_CTypedPtrList_CPtrList_cnetworkwindow_queueentry_st___ { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveHead'", NULL); - cnetworkwindow_queueentry_st* returnVal = self->RemoveHead(); + cnetworkwindow_queueentry_st* returnVal = (self->RemoveHead)(); tolua_pushusertype(L, (void*)returnVal, "cnetworkwindow_queueentry_st"); return 1; } @@ -90738,7 +92998,7 @@ static int tolua_function_CTypedPtrList_CPtrList_cnetworkwindow_queueentry_st___ { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveAt'", NULL); - self->RemoveAt((CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::CNode")); + (self->RemoveAt)((CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::CNode")); return 0; } @@ -90746,7 +93006,7 @@ static int tolua_function_CTypedPtrList_CPtrList_cnetworkwindow_queueentry_st___ { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Destruct'", NULL); - self->Destruct(); + (self->Destruct)(); return 0; } @@ -90754,7 +93014,7 @@ static int tolua_function_CTypedPtrList_CPtrList_cnetworkwindow_queueentry_st___ { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveAll'", NULL); - self->RemoveAll(); + (self->RemoveAll)(); return 0; } @@ -90986,7 +93246,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CMusicPosition___AddTail(lua_St { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'AddTail'", NULL); - CTypedPtrList::CNode* returnVal = self->AddTail((CMusicPosition*)tolua_tousertype_dynamic(L, 2, 0, "CMusicPosition")); + CTypedPtrList::CNode* returnVal = (self->AddTail)((CMusicPosition*)tolua_tousertype_dynamic(L, 2, 0, "CMusicPosition")); tolua_pushusertype(L, (void*)returnVal, "CTypedPtrList::CNode"); return 1; } @@ -90995,7 +93255,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CMusicPosition___Find(lua_State { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Find'", NULL); - CTypedPtrList::CNode* returnVal = self->Find((CMusicPosition*)tolua_tousertype_dynamic(L, 2, 0, "CMusicPosition"), (CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 3, 0, "CTypedPtrList::CNode")); + CTypedPtrList::CNode* returnVal = (self->Find)((CMusicPosition*)tolua_tousertype_dynamic(L, 2, 0, "CMusicPosition"), (CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 3, 0, "CTypedPtrList::CNode")); tolua_pushusertype(L, (void*)returnVal, "CTypedPtrList::CNode"); return 1; } @@ -91004,7 +93264,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CMusicPosition___RemoveHead(lua { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveHead'", NULL); - CMusicPosition* returnVal = self->RemoveHead(); + CMusicPosition* returnVal = (self->RemoveHead)(); tolua_pushusertype(L, (void*)returnVal, "CMusicPosition"); return 1; } @@ -91013,7 +93273,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CMusicPosition___RemoveAt(lua_S { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveAt'", NULL); - self->RemoveAt((CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::CNode")); + (self->RemoveAt)((CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::CNode")); return 0; } @@ -91021,7 +93281,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CMusicPosition___Destruct(lua_S { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Destruct'", NULL); - self->Destruct(); + (self->Destruct)(); return 0; } @@ -91029,7 +93289,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CMusicPosition___RemoveAll(lua_ { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveAll'", NULL); - self->RemoveAll(); + (self->RemoveAll)(); return 0; } @@ -91261,7 +93521,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CGameJournalEntry___AddTail(lua { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'AddTail'", NULL); - CTypedPtrList::CNode* returnVal = self->AddTail((CGameJournalEntry*)tolua_tousertype_dynamic(L, 2, 0, "CGameJournalEntry")); + CTypedPtrList::CNode* returnVal = (self->AddTail)((CGameJournalEntry*)tolua_tousertype_dynamic(L, 2, 0, "CGameJournalEntry")); tolua_pushusertype(L, (void*)returnVal, "CTypedPtrList::CNode"); return 1; } @@ -91270,7 +93530,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CGameJournalEntry___Find(lua_St { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Find'", NULL); - CTypedPtrList::CNode* returnVal = self->Find((CGameJournalEntry*)tolua_tousertype_dynamic(L, 2, 0, "CGameJournalEntry"), (CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 3, 0, "CTypedPtrList::CNode")); + CTypedPtrList::CNode* returnVal = (self->Find)((CGameJournalEntry*)tolua_tousertype_dynamic(L, 2, 0, "CGameJournalEntry"), (CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 3, 0, "CTypedPtrList::CNode")); tolua_pushusertype(L, (void*)returnVal, "CTypedPtrList::CNode"); return 1; } @@ -91279,7 +93539,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CGameJournalEntry___RemoveHead( { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveHead'", NULL); - CGameJournalEntry* returnVal = self->RemoveHead(); + CGameJournalEntry* returnVal = (self->RemoveHead)(); tolua_pushusertype(L, (void*)returnVal, "CGameJournalEntry"); return 1; } @@ -91288,7 +93548,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CGameJournalEntry___RemoveAt(lu { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveAt'", NULL); - self->RemoveAt((CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::CNode")); + (self->RemoveAt)((CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::CNode")); return 0; } @@ -91296,7 +93556,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CGameJournalEntry___Destruct(lu { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Destruct'", NULL); - self->Destruct(); + (self->Destruct)(); return 0; } @@ -91304,7 +93564,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CGameJournalEntry___RemoveAll(l { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveAll'", NULL); - self->RemoveAll(); + (self->RemoveAll)(); return 0; } @@ -91536,7 +93796,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CMoveListEntry___AddTail(lua_St { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'AddTail'", NULL); - CTypedPtrList::CNode* returnVal = self->AddTail((CMoveListEntry*)tolua_tousertype_dynamic(L, 2, 0, "CMoveListEntry")); + CTypedPtrList::CNode* returnVal = (self->AddTail)((CMoveListEntry*)tolua_tousertype_dynamic(L, 2, 0, "CMoveListEntry")); tolua_pushusertype(L, (void*)returnVal, "CTypedPtrList::CNode"); return 1; } @@ -91545,7 +93805,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CMoveListEntry___Find(lua_State { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Find'", NULL); - CTypedPtrList::CNode* returnVal = self->Find((CMoveListEntry*)tolua_tousertype_dynamic(L, 2, 0, "CMoveListEntry"), (CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 3, 0, "CTypedPtrList::CNode")); + CTypedPtrList::CNode* returnVal = (self->Find)((CMoveListEntry*)tolua_tousertype_dynamic(L, 2, 0, "CMoveListEntry"), (CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 3, 0, "CTypedPtrList::CNode")); tolua_pushusertype(L, (void*)returnVal, "CTypedPtrList::CNode"); return 1; } @@ -91554,7 +93814,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CMoveListEntry___RemoveHead(lua { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveHead'", NULL); - CMoveListEntry* returnVal = self->RemoveHead(); + CMoveListEntry* returnVal = (self->RemoveHead)(); tolua_pushusertype(L, (void*)returnVal, "CMoveListEntry"); return 1; } @@ -91563,7 +93823,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CMoveListEntry___RemoveAt(lua_S { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveAt'", NULL); - self->RemoveAt((CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::CNode")); + (self->RemoveAt)((CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::CNode")); return 0; } @@ -91571,7 +93831,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CMoveListEntry___Destruct(lua_S { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Destruct'", NULL); - self->Destruct(); + (self->Destruct)(); return 0; } @@ -91579,7 +93839,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CMoveListEntry___RemoveAll(lua_ { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveAll'", NULL); - self->RemoveAll(); + (self->RemoveAll)(); return 0; } @@ -91811,7 +94071,7 @@ static int tolua_function_CTypedPtrList_CPtrList_void___AddTail(lua_State* L) { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'AddTail'", NULL); - CTypedPtrList::CNode* returnVal = self->AddTail((void*)tolua_tousertype_dynamic(L, 2, 0, "UnmappedUserType")); + CTypedPtrList::CNode* returnVal = (self->AddTail)((void*)tolua_tousertype_dynamic(L, 2, 0, "UnmappedUserType")); tolua_pushusertype(L, (void*)returnVal, "CTypedPtrList::CNode"); return 1; } @@ -91820,7 +94080,7 @@ static int tolua_function_CTypedPtrList_CPtrList_void___Find(lua_State* L) { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Find'", NULL); - CTypedPtrList::CNode* returnVal = self->Find((void*)tolua_tousertype_dynamic(L, 2, 0, "UnmappedUserType"), (CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 3, 0, "CTypedPtrList::CNode")); + CTypedPtrList::CNode* returnVal = (self->Find)((void*)tolua_tousertype_dynamic(L, 2, 0, "UnmappedUserType"), (CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 3, 0, "CTypedPtrList::CNode")); tolua_pushusertype(L, (void*)returnVal, "CTypedPtrList::CNode"); return 1; } @@ -91829,7 +94089,7 @@ static int tolua_function_CTypedPtrList_CPtrList_void___RemoveHead(lua_State* L) { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveHead'", NULL); - void* returnVal = self->RemoveHead(); + void* returnVal = (self->RemoveHead)(); tolua_pushusertype(L, (void*)returnVal, "UnmappedUserType"); return 1; } @@ -91838,7 +94098,7 @@ static int tolua_function_CTypedPtrList_CPtrList_void___RemoveAt(lua_State* L) { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveAt'", NULL); - self->RemoveAt((CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::CNode")); + (self->RemoveAt)((CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::CNode")); return 0; } @@ -91846,7 +94106,7 @@ static int tolua_function_CTypedPtrList_CPtrList_void___Destruct(lua_State* L) { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Destruct'", NULL); - self->Destruct(); + (self->Destruct)(); return 0; } @@ -91854,7 +94114,7 @@ static int tolua_function_CTypedPtrList_CPtrList_void___RemoveAll(lua_State* L) { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveAll'", NULL); - self->RemoveAll(); + (self->RemoveAll)(); return 0; } @@ -92086,7 +94346,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CGameEffectUsability___AddTail( { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'AddTail'", NULL); - CTypedPtrList::CNode* returnVal = self->AddTail((CGameEffectUsability*)tolua_tousertype_dynamic(L, 2, 0, "CGameEffectUsability")); + CTypedPtrList::CNode* returnVal = (self->AddTail)((CGameEffectUsability*)tolua_tousertype_dynamic(L, 2, 0, "CGameEffectUsability")); tolua_pushusertype(L, (void*)returnVal, "CTypedPtrList::CNode"); return 1; } @@ -92095,7 +94355,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CGameEffectUsability___Find(lua { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Find'", NULL); - CTypedPtrList::CNode* returnVal = self->Find((CGameEffectUsability*)tolua_tousertype_dynamic(L, 2, 0, "CGameEffectUsability"), (CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 3, 0, "CTypedPtrList::CNode")); + CTypedPtrList::CNode* returnVal = (self->Find)((CGameEffectUsability*)tolua_tousertype_dynamic(L, 2, 0, "CGameEffectUsability"), (CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 3, 0, "CTypedPtrList::CNode")); tolua_pushusertype(L, (void*)returnVal, "CTypedPtrList::CNode"); return 1; } @@ -92104,7 +94364,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CGameEffectUsability___RemoveHe { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveHead'", NULL); - CGameEffectUsability* returnVal = self->RemoveHead(); + CGameEffectUsability* returnVal = (self->RemoveHead)(); tolua_pushusertype(L, (void*)returnVal, "CGameEffectUsability"); return 1; } @@ -92113,7 +94373,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CGameEffectUsability___RemoveAt { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveAt'", NULL); - self->RemoveAt((CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::CNode")); + (self->RemoveAt)((CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::CNode")); return 0; } @@ -92121,7 +94381,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CGameEffectUsability___Destruct { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Destruct'", NULL); - self->Destruct(); + (self->Destruct)(); return 0; } @@ -92129,7 +94389,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CGameEffectUsability___RemoveAl { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveAll'", NULL); - self->RemoveAll(); + (self->RemoveAll)(); return 0; } @@ -92361,7 +94621,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CStoreFileItem___AddTail(lua_St { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'AddTail'", NULL); - CTypedPtrList::CNode* returnVal = self->AddTail((CStoreFileItem*)tolua_tousertype_dynamic(L, 2, 0, "CStoreFileItem")); + CTypedPtrList::CNode* returnVal = (self->AddTail)((CStoreFileItem*)tolua_tousertype_dynamic(L, 2, 0, "CStoreFileItem")); tolua_pushusertype(L, (void*)returnVal, "CTypedPtrList::CNode"); return 1; } @@ -92370,7 +94630,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CStoreFileItem___Find(lua_State { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Find'", NULL); - CTypedPtrList::CNode* returnVal = self->Find((CStoreFileItem*)tolua_tousertype_dynamic(L, 2, 0, "CStoreFileItem"), (CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 3, 0, "CTypedPtrList::CNode")); + CTypedPtrList::CNode* returnVal = (self->Find)((CStoreFileItem*)tolua_tousertype_dynamic(L, 2, 0, "CStoreFileItem"), (CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 3, 0, "CTypedPtrList::CNode")); tolua_pushusertype(L, (void*)returnVal, "CTypedPtrList::CNode"); return 1; } @@ -92379,7 +94639,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CStoreFileItem___RemoveHead(lua { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveHead'", NULL); - CStoreFileItem* returnVal = self->RemoveHead(); + CStoreFileItem* returnVal = (self->RemoveHead)(); tolua_pushusertype(L, (void*)returnVal, "CStoreFileItem"); return 1; } @@ -92388,7 +94648,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CStoreFileItem___RemoveAt(lua_S { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveAt'", NULL); - self->RemoveAt((CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::CNode")); + (self->RemoveAt)((CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::CNode")); return 0; } @@ -92396,7 +94656,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CStoreFileItem___Destruct(lua_S { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Destruct'", NULL); - self->Destruct(); + (self->Destruct)(); return 0; } @@ -92404,7 +94664,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CStoreFileItem___RemoveAll(lua_ { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveAll'", NULL); - self->RemoveAll(); + (self->RemoveAll)(); return 0; } @@ -92636,7 +94896,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CMemINIValue___AddTail(lua_Stat { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'AddTail'", NULL); - CTypedPtrList::CNode* returnVal = self->AddTail((CMemINIValue*)tolua_tousertype_dynamic(L, 2, 0, "CMemINIValue")); + CTypedPtrList::CNode* returnVal = (self->AddTail)((CMemINIValue*)tolua_tousertype_dynamic(L, 2, 0, "CMemINIValue")); tolua_pushusertype(L, (void*)returnVal, "CTypedPtrList::CNode"); return 1; } @@ -92645,7 +94905,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CMemINIValue___Find(lua_State* { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Find'", NULL); - CTypedPtrList::CNode* returnVal = self->Find((CMemINIValue*)tolua_tousertype_dynamic(L, 2, 0, "CMemINIValue"), (CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 3, 0, "CTypedPtrList::CNode")); + CTypedPtrList::CNode* returnVal = (self->Find)((CMemINIValue*)tolua_tousertype_dynamic(L, 2, 0, "CMemINIValue"), (CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 3, 0, "CTypedPtrList::CNode")); tolua_pushusertype(L, (void*)returnVal, "CTypedPtrList::CNode"); return 1; } @@ -92654,7 +94914,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CMemINIValue___RemoveHead(lua_S { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveHead'", NULL); - CMemINIValue* returnVal = self->RemoveHead(); + CMemINIValue* returnVal = (self->RemoveHead)(); tolua_pushusertype(L, (void*)returnVal, "CMemINIValue"); return 1; } @@ -92663,7 +94923,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CMemINIValue___RemoveAt(lua_Sta { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveAt'", NULL); - self->RemoveAt((CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::CNode")); + (self->RemoveAt)((CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::CNode")); return 0; } @@ -92671,7 +94931,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CMemINIValue___Destruct(lua_Sta { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Destruct'", NULL); - self->Destruct(); + (self->Destruct)(); return 0; } @@ -92679,7 +94939,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CMemINIValue___RemoveAll(lua_St { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveAll'", NULL); - self->RemoveAll(); + (self->RemoveAll)(); return 0; } @@ -92911,7 +95171,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CAIResponse___AddTail(lua_State { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'AddTail'", NULL); - CTypedPtrList::CNode* returnVal = self->AddTail((CAIResponse*)tolua_tousertype_dynamic(L, 2, 0, "CAIResponse")); + CTypedPtrList::CNode* returnVal = (self->AddTail)((CAIResponse*)tolua_tousertype_dynamic(L, 2, 0, "CAIResponse")); tolua_pushusertype(L, (void*)returnVal, "CTypedPtrList::CNode"); return 1; } @@ -92920,7 +95180,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CAIResponse___Find(lua_State* L { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Find'", NULL); - CTypedPtrList::CNode* returnVal = self->Find((CAIResponse*)tolua_tousertype_dynamic(L, 2, 0, "CAIResponse"), (CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 3, 0, "CTypedPtrList::CNode")); + CTypedPtrList::CNode* returnVal = (self->Find)((CAIResponse*)tolua_tousertype_dynamic(L, 2, 0, "CAIResponse"), (CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 3, 0, "CTypedPtrList::CNode")); tolua_pushusertype(L, (void*)returnVal, "CTypedPtrList::CNode"); return 1; } @@ -92929,7 +95189,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CAIResponse___RemoveHead(lua_St { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveHead'", NULL); - CAIResponse* returnVal = self->RemoveHead(); + CAIResponse* returnVal = (self->RemoveHead)(); tolua_pushusertype(L, (void*)returnVal, "CAIResponse"); return 1; } @@ -92938,7 +95198,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CAIResponse___RemoveAt(lua_Stat { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveAt'", NULL); - self->RemoveAt((CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::CNode")); + (self->RemoveAt)((CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::CNode")); return 0; } @@ -92946,7 +95206,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CAIResponse___Destruct(lua_Stat { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Destruct'", NULL); - self->Destruct(); + (self->Destruct)(); return 0; } @@ -92954,7 +95214,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CAIResponse___RemoveAll(lua_Sta { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveAll'", NULL); - self->RemoveAll(); + (self->RemoveAll)(); return 0; } @@ -93186,7 +95446,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CSpawn___AddTail(lua_State* L) { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'AddTail'", NULL); - CTypedPtrList::CNode* returnVal = self->AddTail((CSpawn*)tolua_tousertype_dynamic(L, 2, 0, "CSpawn")); + CTypedPtrList::CNode* returnVal = (self->AddTail)((CSpawn*)tolua_tousertype_dynamic(L, 2, 0, "CSpawn")); tolua_pushusertype(L, (void*)returnVal, "CTypedPtrList::CNode"); return 1; } @@ -93195,7 +95455,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CSpawn___Find(lua_State* L) { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Find'", NULL); - CTypedPtrList::CNode* returnVal = self->Find((CSpawn*)tolua_tousertype_dynamic(L, 2, 0, "CSpawn"), (CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 3, 0, "CTypedPtrList::CNode")); + CTypedPtrList::CNode* returnVal = (self->Find)((CSpawn*)tolua_tousertype_dynamic(L, 2, 0, "CSpawn"), (CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 3, 0, "CTypedPtrList::CNode")); tolua_pushusertype(L, (void*)returnVal, "CTypedPtrList::CNode"); return 1; } @@ -93204,7 +95464,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CSpawn___RemoveHead(lua_State* { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveHead'", NULL); - CSpawn* returnVal = self->RemoveHead(); + CSpawn* returnVal = (self->RemoveHead)(); tolua_pushusertype(L, (void*)returnVal, "CSpawn"); return 1; } @@ -93213,7 +95473,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CSpawn___RemoveAt(lua_State* L) { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveAt'", NULL); - self->RemoveAt((CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::CNode")); + (self->RemoveAt)((CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::CNode")); return 0; } @@ -93221,7 +95481,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CSpawn___Destruct(lua_State* L) { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Destruct'", NULL); - self->Destruct(); + (self->Destruct)(); return 0; } @@ -93229,7 +95489,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CSpawn___RemoveAll(lua_State* L { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveAll'", NULL); - self->RemoveAll(); + (self->RemoveAll)(); return 0; } @@ -93461,7 +95721,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CGameEffect___AddTail(lua_State { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'AddTail'", NULL); - CTypedPtrList::CNode* returnVal = self->AddTail((CGameEffect*)tolua_tousertype_dynamic(L, 2, 0, "CGameEffect")); + CTypedPtrList::CNode* returnVal = (self->AddTail)((CGameEffect*)tolua_tousertype_dynamic(L, 2, 0, "CGameEffect")); tolua_pushusertype(L, (void*)returnVal, "CTypedPtrList::CNode"); return 1; } @@ -93470,7 +95730,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CGameEffect___Find(lua_State* L { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Find'", NULL); - CTypedPtrList::CNode* returnVal = self->Find((CGameEffect*)tolua_tousertype_dynamic(L, 2, 0, "CGameEffect"), (CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 3, 0, "CTypedPtrList::CNode")); + CTypedPtrList::CNode* returnVal = (self->Find)((CGameEffect*)tolua_tousertype_dynamic(L, 2, 0, "CGameEffect"), (CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 3, 0, "CTypedPtrList::CNode")); tolua_pushusertype(L, (void*)returnVal, "CTypedPtrList::CNode"); return 1; } @@ -93479,7 +95739,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CGameEffect___RemoveHead(lua_St { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveHead'", NULL); - CGameEffect* returnVal = self->RemoveHead(); + CGameEffect* returnVal = (self->RemoveHead)(); tolua_pushusertype(L, (void*)returnVal, "CGameEffect"); return 1; } @@ -93488,7 +95748,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CGameEffect___RemoveAt(lua_Stat { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveAt'", NULL); - self->RemoveAt((CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::CNode")); + (self->RemoveAt)((CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::CNode")); return 0; } @@ -93496,7 +95756,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CGameEffect___Destruct(lua_Stat { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Destruct'", NULL); - self->Destruct(); + (self->Destruct)(); return 0; } @@ -93504,7 +95764,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CGameEffect___RemoveAll(lua_Sta { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveAll'", NULL); - self->RemoveAll(); + (self->RemoveAll)(); return 0; } @@ -93736,7 +95996,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CWeaponIdentification___AddTail { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'AddTail'", NULL); - CTypedPtrList::CNode* returnVal = self->AddTail((CWeaponIdentification*)tolua_tousertype_dynamic(L, 2, 0, "CWeaponIdentification")); + CTypedPtrList::CNode* returnVal = (self->AddTail)((CWeaponIdentification*)tolua_tousertype_dynamic(L, 2, 0, "CWeaponIdentification")); tolua_pushusertype(L, (void*)returnVal, "CTypedPtrList::CNode"); return 1; } @@ -93745,7 +96005,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CWeaponIdentification___Find(lu { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Find'", NULL); - CTypedPtrList::CNode* returnVal = self->Find((CWeaponIdentification*)tolua_tousertype_dynamic(L, 2, 0, "CWeaponIdentification"), (CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 3, 0, "CTypedPtrList::CNode")); + CTypedPtrList::CNode* returnVal = (self->Find)((CWeaponIdentification*)tolua_tousertype_dynamic(L, 2, 0, "CWeaponIdentification"), (CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 3, 0, "CTypedPtrList::CNode")); tolua_pushusertype(L, (void*)returnVal, "CTypedPtrList::CNode"); return 1; } @@ -93754,7 +96014,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CWeaponIdentification___RemoveH { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveHead'", NULL); - CWeaponIdentification* returnVal = self->RemoveHead(); + CWeaponIdentification* returnVal = (self->RemoveHead)(); tolua_pushusertype(L, (void*)returnVal, "CWeaponIdentification"); return 1; } @@ -93763,7 +96023,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CWeaponIdentification___RemoveA { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveAt'", NULL); - self->RemoveAt((CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::CNode")); + (self->RemoveAt)((CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::CNode")); return 0; } @@ -93771,7 +96031,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CWeaponIdentification___Destruc { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Destruct'", NULL); - self->Destruct(); + (self->Destruct)(); return 0; } @@ -93779,7 +96039,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CWeaponIdentification___RemoveA { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveAll'", NULL); - self->RemoveAll(); + (self->RemoveAll)(); return 0; } @@ -94011,7 +96271,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CSelectiveBonus___AddTail(lua_S { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'AddTail'", NULL); - CTypedPtrList::CNode* returnVal = self->AddTail((CSelectiveBonus*)tolua_tousertype_dynamic(L, 2, 0, "CSelectiveBonus")); + CTypedPtrList::CNode* returnVal = (self->AddTail)((CSelectiveBonus*)tolua_tousertype_dynamic(L, 2, 0, "CSelectiveBonus")); tolua_pushusertype(L, (void*)returnVal, "CTypedPtrList::CNode"); return 1; } @@ -94020,7 +96280,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CSelectiveBonus___Find(lua_Stat { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Find'", NULL); - CTypedPtrList::CNode* returnVal = self->Find((CSelectiveBonus*)tolua_tousertype_dynamic(L, 2, 0, "CSelectiveBonus"), (CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 3, 0, "CTypedPtrList::CNode")); + CTypedPtrList::CNode* returnVal = (self->Find)((CSelectiveBonus*)tolua_tousertype_dynamic(L, 2, 0, "CSelectiveBonus"), (CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 3, 0, "CTypedPtrList::CNode")); tolua_pushusertype(L, (void*)returnVal, "CTypedPtrList::CNode"); return 1; } @@ -94029,7 +96289,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CSelectiveBonus___RemoveHead(lu { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveHead'", NULL); - CSelectiveBonus* returnVal = self->RemoveHead(); + CSelectiveBonus* returnVal = (self->RemoveHead)(); tolua_pushusertype(L, (void*)returnVal, "CSelectiveBonus"); return 1; } @@ -94038,7 +96298,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CSelectiveBonus___RemoveAt(lua_ { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveAt'", NULL); - self->RemoveAt((CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::CNode")); + (self->RemoveAt)((CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::CNode")); return 0; } @@ -94046,7 +96306,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CSelectiveBonus___Destruct(lua_ { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Destruct'", NULL); - self->Destruct(); + (self->Destruct)(); return 0; } @@ -94054,7 +96314,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CSelectiveBonus___RemoveAll(lua { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveAll'", NULL); - self->RemoveAll(); + (self->RemoveAll)(); return 0; } @@ -94286,7 +96546,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CImmunitiesItemEquip___AddTail( { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'AddTail'", NULL); - CTypedPtrList::CNode* returnVal = self->AddTail((CImmunitiesItemEquip*)tolua_tousertype_dynamic(L, 2, 0, "CImmunitiesItemEquip")); + CTypedPtrList::CNode* returnVal = (self->AddTail)((CImmunitiesItemEquip*)tolua_tousertype_dynamic(L, 2, 0, "CImmunitiesItemEquip")); tolua_pushusertype(L, (void*)returnVal, "CTypedPtrList::CNode"); return 1; } @@ -94295,7 +96555,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CImmunitiesItemEquip___Find(lua { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Find'", NULL); - CTypedPtrList::CNode* returnVal = self->Find((CImmunitiesItemEquip*)tolua_tousertype_dynamic(L, 2, 0, "CImmunitiesItemEquip"), (CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 3, 0, "CTypedPtrList::CNode")); + CTypedPtrList::CNode* returnVal = (self->Find)((CImmunitiesItemEquip*)tolua_tousertype_dynamic(L, 2, 0, "CImmunitiesItemEquip"), (CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 3, 0, "CTypedPtrList::CNode")); tolua_pushusertype(L, (void*)returnVal, "CTypedPtrList::CNode"); return 1; } @@ -94304,7 +96564,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CImmunitiesItemEquip___RemoveHe { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveHead'", NULL); - CImmunitiesItemEquip* returnVal = self->RemoveHead(); + CImmunitiesItemEquip* returnVal = (self->RemoveHead)(); tolua_pushusertype(L, (void*)returnVal, "CImmunitiesItemEquip"); return 1; } @@ -94313,7 +96573,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CImmunitiesItemEquip___RemoveAt { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveAt'", NULL); - self->RemoveAt((CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::CNode")); + (self->RemoveAt)((CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::CNode")); return 0; } @@ -94321,7 +96581,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CImmunitiesItemEquip___Destruct { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Destruct'", NULL); - self->Destruct(); + (self->Destruct)(); return 0; } @@ -94329,7 +96589,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CImmunitiesItemEquip___RemoveAl { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveAll'", NULL); - self->RemoveAll(); + (self->RemoveAll)(); return 0; } @@ -94561,7 +96821,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CImmunitiesItemTypeEquip___AddT { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'AddTail'", NULL); - CTypedPtrList::CNode* returnVal = self->AddTail((CImmunitiesItemTypeEquip*)tolua_tousertype_dynamic(L, 2, 0, "CImmunitiesItemTypeEquip")); + CTypedPtrList::CNode* returnVal = (self->AddTail)((CImmunitiesItemTypeEquip*)tolua_tousertype_dynamic(L, 2, 0, "CImmunitiesItemTypeEquip")); tolua_pushusertype(L, (void*)returnVal, "CTypedPtrList::CNode"); return 1; } @@ -94570,7 +96830,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CImmunitiesItemTypeEquip___Find { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Find'", NULL); - CTypedPtrList::CNode* returnVal = self->Find((CImmunitiesItemTypeEquip*)tolua_tousertype_dynamic(L, 2, 0, "CImmunitiesItemTypeEquip"), (CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 3, 0, "CTypedPtrList::CNode")); + CTypedPtrList::CNode* returnVal = (self->Find)((CImmunitiesItemTypeEquip*)tolua_tousertype_dynamic(L, 2, 0, "CImmunitiesItemTypeEquip"), (CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 3, 0, "CTypedPtrList::CNode")); tolua_pushusertype(L, (void*)returnVal, "CTypedPtrList::CNode"); return 1; } @@ -94579,7 +96839,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CImmunitiesItemTypeEquip___Remo { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveHead'", NULL); - CImmunitiesItemTypeEquip* returnVal = self->RemoveHead(); + CImmunitiesItemTypeEquip* returnVal = (self->RemoveHead)(); tolua_pushusertype(L, (void*)returnVal, "CImmunitiesItemTypeEquip"); return 1; } @@ -94588,7 +96848,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CImmunitiesItemTypeEquip___Remo { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveAt'", NULL); - self->RemoveAt((CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::CNode")); + (self->RemoveAt)((CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::CNode")); return 0; } @@ -94596,7 +96856,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CImmunitiesItemTypeEquip___Dest { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Destruct'", NULL); - self->Destruct(); + (self->Destruct)(); return 0; } @@ -94604,7 +96864,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CImmunitiesItemTypeEquip___Remo { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveAll'", NULL); - self->RemoveAll(); + (self->RemoveAll)(); return 0; } @@ -94836,7 +97096,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CImmunitySpell___AddTail(lua_St { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'AddTail'", NULL); - CTypedPtrList::CNode* returnVal = self->AddTail((CImmunitySpell*)tolua_tousertype_dynamic(L, 2, 0, "CImmunitySpell")); + CTypedPtrList::CNode* returnVal = (self->AddTail)((CImmunitySpell*)tolua_tousertype_dynamic(L, 2, 0, "CImmunitySpell")); tolua_pushusertype(L, (void*)returnVal, "CTypedPtrList::CNode"); return 1; } @@ -94845,7 +97105,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CImmunitySpell___Find(lua_State { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Find'", NULL); - CTypedPtrList::CNode* returnVal = self->Find((CImmunitySpell*)tolua_tousertype_dynamic(L, 2, 0, "CImmunitySpell"), (CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 3, 0, "CTypedPtrList::CNode")); + CTypedPtrList::CNode* returnVal = (self->Find)((CImmunitySpell*)tolua_tousertype_dynamic(L, 2, 0, "CImmunitySpell"), (CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 3, 0, "CTypedPtrList::CNode")); tolua_pushusertype(L, (void*)returnVal, "CTypedPtrList::CNode"); return 1; } @@ -94854,7 +97114,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CImmunitySpell___RemoveHead(lua { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveHead'", NULL); - CImmunitySpell* returnVal = self->RemoveHead(); + CImmunitySpell* returnVal = (self->RemoveHead)(); tolua_pushusertype(L, (void*)returnVal, "CImmunitySpell"); return 1; } @@ -94863,7 +97123,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CImmunitySpell___RemoveAt(lua_S { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveAt'", NULL); - self->RemoveAt((CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::CNode")); + (self->RemoveAt)((CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::CNode")); return 0; } @@ -94871,7 +97131,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CImmunitySpell___Destruct(lua_S { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Destruct'", NULL); - self->Destruct(); + (self->Destruct)(); return 0; } @@ -94879,7 +97139,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CImmunitySpell___RemoveAll(lua_ { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveAll'", NULL); - self->RemoveAll(); + (self->RemoveAll)(); return 0; } @@ -95111,7 +97371,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CSchoolAndSecondaryDecrementing { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'AddTail'", NULL); - CTypedPtrList::CNode* returnVal = self->AddTail((CSchoolAndSecondaryDecrementing*)tolua_tousertype_dynamic(L, 2, 0, "CSchoolAndSecondaryDecrementing")); + CTypedPtrList::CNode* returnVal = (self->AddTail)((CSchoolAndSecondaryDecrementing*)tolua_tousertype_dynamic(L, 2, 0, "CSchoolAndSecondaryDecrementing")); tolua_pushusertype(L, (void*)returnVal, "CTypedPtrList::CNode"); return 1; } @@ -95120,7 +97380,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CSchoolAndSecondaryDecrementing { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Find'", NULL); - CTypedPtrList::CNode* returnVal = self->Find((CSchoolAndSecondaryDecrementing*)tolua_tousertype_dynamic(L, 2, 0, "CSchoolAndSecondaryDecrementing"), (CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 3, 0, "CTypedPtrList::CNode")); + CTypedPtrList::CNode* returnVal = (self->Find)((CSchoolAndSecondaryDecrementing*)tolua_tousertype_dynamic(L, 2, 0, "CSchoolAndSecondaryDecrementing"), (CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 3, 0, "CTypedPtrList::CNode")); tolua_pushusertype(L, (void*)returnVal, "CTypedPtrList::CNode"); return 1; } @@ -95129,7 +97389,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CSchoolAndSecondaryDecrementing { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveHead'", NULL); - CSchoolAndSecondaryDecrementing* returnVal = self->RemoveHead(); + CSchoolAndSecondaryDecrementing* returnVal = (self->RemoveHead)(); tolua_pushusertype(L, (void*)returnVal, "CSchoolAndSecondaryDecrementing"); return 1; } @@ -95138,7 +97398,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CSchoolAndSecondaryDecrementing { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveAt'", NULL); - self->RemoveAt((CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::CNode")); + (self->RemoveAt)((CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::CNode")); return 0; } @@ -95146,7 +97406,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CSchoolAndSecondaryDecrementing { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Destruct'", NULL); - self->Destruct(); + (self->Destruct)(); return 0; } @@ -95154,7 +97414,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CSchoolAndSecondaryDecrementing { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveAll'", NULL); - self->RemoveAll(); + (self->RemoveAll)(); return 0; } @@ -95386,7 +97646,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CPersistantEffect___AddTail(lua { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'AddTail'", NULL); - CTypedPtrList::CNode* returnVal = self->AddTail((CPersistantEffect*)tolua_tousertype_dynamic(L, 2, 0, "CPersistantEffect")); + CTypedPtrList::CNode* returnVal = (self->AddTail)((CPersistantEffect*)tolua_tousertype_dynamic(L, 2, 0, "CPersistantEffect")); tolua_pushusertype(L, (void*)returnVal, "CTypedPtrList::CNode"); return 1; } @@ -95395,7 +97655,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CPersistantEffect___Find(lua_St { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Find'", NULL); - CTypedPtrList::CNode* returnVal = self->Find((CPersistantEffect*)tolua_tousertype_dynamic(L, 2, 0, "CPersistantEffect"), (CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 3, 0, "CTypedPtrList::CNode")); + CTypedPtrList::CNode* returnVal = (self->Find)((CPersistantEffect*)tolua_tousertype_dynamic(L, 2, 0, "CPersistantEffect"), (CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 3, 0, "CTypedPtrList::CNode")); tolua_pushusertype(L, (void*)returnVal, "CTypedPtrList::CNode"); return 1; } @@ -95404,7 +97664,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CPersistantEffect___RemoveHead( { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveHead'", NULL); - CPersistantEffect* returnVal = self->RemoveHead(); + CPersistantEffect* returnVal = (self->RemoveHead)(); tolua_pushusertype(L, (void*)returnVal, "CPersistantEffect"); return 1; } @@ -95413,7 +97673,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CPersistantEffect___RemoveAt(lu { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveAt'", NULL); - self->RemoveAt((CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::CNode")); + (self->RemoveAt)((CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::CNode")); return 0; } @@ -95421,7 +97681,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CPersistantEffect___Destruct(lu { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Destruct'", NULL); - self->Destruct(); + (self->Destruct)(); return 0; } @@ -95429,7 +97689,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CPersistantEffect___RemoveAll(l { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveAll'", NULL); - self->RemoveAll(); + (self->RemoveAll)(); return 0; } @@ -95661,7 +97921,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CColorRange___AddTail(lua_State { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'AddTail'", NULL); - CTypedPtrList::CNode* returnVal = self->AddTail((CColorRange*)tolua_tousertype_dynamic(L, 2, 0, "CColorRange")); + CTypedPtrList::CNode* returnVal = (self->AddTail)((CColorRange*)tolua_tousertype_dynamic(L, 2, 0, "CColorRange")); tolua_pushusertype(L, (void*)returnVal, "CTypedPtrList::CNode"); return 1; } @@ -95670,7 +97930,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CColorRange___Find(lua_State* L { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Find'", NULL); - CTypedPtrList::CNode* returnVal = self->Find((CColorRange*)tolua_tousertype_dynamic(L, 2, 0, "CColorRange"), (CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 3, 0, "CTypedPtrList::CNode")); + CTypedPtrList::CNode* returnVal = (self->Find)((CColorRange*)tolua_tousertype_dynamic(L, 2, 0, "CColorRange"), (CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 3, 0, "CTypedPtrList::CNode")); tolua_pushusertype(L, (void*)returnVal, "CTypedPtrList::CNode"); return 1; } @@ -95679,7 +97939,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CColorRange___RemoveHead(lua_St { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveHead'", NULL); - CColorRange* returnVal = self->RemoveHead(); + CColorRange* returnVal = (self->RemoveHead)(); tolua_pushusertype(L, (void*)returnVal, "CColorRange"); return 1; } @@ -95688,7 +97948,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CColorRange___RemoveAt(lua_Stat { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveAt'", NULL); - self->RemoveAt((CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::CNode")); + (self->RemoveAt)((CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::CNode")); return 0; } @@ -95696,7 +97956,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CColorRange___Destruct(lua_Stat { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Destruct'", NULL); - self->Destruct(); + (self->Destruct)(); return 0; } @@ -95704,7 +97964,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CColorRange___RemoveAll(lua_Sta { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveAll'", NULL); - self->RemoveAll(); + (self->RemoveAll)(); return 0; } @@ -95936,7 +98196,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CColorEffect___AddTail(lua_Stat { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'AddTail'", NULL); - CTypedPtrList::CNode* returnVal = self->AddTail((CColorEffect*)tolua_tousertype_dynamic(L, 2, 0, "CColorEffect")); + CTypedPtrList::CNode* returnVal = (self->AddTail)((CColorEffect*)tolua_tousertype_dynamic(L, 2, 0, "CColorEffect")); tolua_pushusertype(L, (void*)returnVal, "CTypedPtrList::CNode"); return 1; } @@ -95945,7 +98205,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CColorEffect___Find(lua_State* { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Find'", NULL); - CTypedPtrList::CNode* returnVal = self->Find((CColorEffect*)tolua_tousertype_dynamic(L, 2, 0, "CColorEffect"), (CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 3, 0, "CTypedPtrList::CNode")); + CTypedPtrList::CNode* returnVal = (self->Find)((CColorEffect*)tolua_tousertype_dynamic(L, 2, 0, "CColorEffect"), (CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 3, 0, "CTypedPtrList::CNode")); tolua_pushusertype(L, (void*)returnVal, "CTypedPtrList::CNode"); return 1; } @@ -95954,7 +98214,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CColorEffect___RemoveHead(lua_S { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveHead'", NULL); - CColorEffect* returnVal = self->RemoveHead(); + CColorEffect* returnVal = (self->RemoveHead)(); tolua_pushusertype(L, (void*)returnVal, "CColorEffect"); return 1; } @@ -95963,7 +98223,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CColorEffect___RemoveAt(lua_Sta { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveAt'", NULL); - self->RemoveAt((CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::CNode")); + (self->RemoveAt)((CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::CNode")); return 0; } @@ -95971,7 +98231,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CColorEffect___Destruct(lua_Sta { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Destruct'", NULL); - self->Destruct(); + (self->Destruct)(); return 0; } @@ -95979,7 +98239,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CColorEffect___RemoveAll(lua_St { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveAll'", NULL); - self->RemoveAll(); + (self->RemoveAll)(); return 0; } @@ -96211,7 +98471,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CSelectiveWeaponType___AddTail( { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'AddTail'", NULL); - CTypedPtrList::CNode* returnVal = self->AddTail((CSelectiveWeaponType*)tolua_tousertype_dynamic(L, 2, 0, "CSelectiveWeaponType")); + CTypedPtrList::CNode* returnVal = (self->AddTail)((CSelectiveWeaponType*)tolua_tousertype_dynamic(L, 2, 0, "CSelectiveWeaponType")); tolua_pushusertype(L, (void*)returnVal, "CTypedPtrList::CNode"); return 1; } @@ -96220,7 +98480,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CSelectiveWeaponType___Find(lua { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Find'", NULL); - CTypedPtrList::CNode* returnVal = self->Find((CSelectiveWeaponType*)tolua_tousertype_dynamic(L, 2, 0, "CSelectiveWeaponType"), (CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 3, 0, "CTypedPtrList::CNode")); + CTypedPtrList::CNode* returnVal = (self->Find)((CSelectiveWeaponType*)tolua_tousertype_dynamic(L, 2, 0, "CSelectiveWeaponType"), (CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 3, 0, "CTypedPtrList::CNode")); tolua_pushusertype(L, (void*)returnVal, "CTypedPtrList::CNode"); return 1; } @@ -96229,7 +98489,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CSelectiveWeaponType___RemoveHe { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveHead'", NULL); - CSelectiveWeaponType* returnVal = self->RemoveHead(); + CSelectiveWeaponType* returnVal = (self->RemoveHead)(); tolua_pushusertype(L, (void*)returnVal, "CSelectiveWeaponType"); return 1; } @@ -96238,7 +98498,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CSelectiveWeaponType___RemoveAt { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveAt'", NULL); - self->RemoveAt((CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::CNode")); + (self->RemoveAt)((CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::CNode")); return 0; } @@ -96246,7 +98506,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CSelectiveWeaponType___Destruct { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Destruct'", NULL); - self->Destruct(); + (self->Destruct)(); return 0; } @@ -96254,7 +98514,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CSelectiveWeaponType___RemoveAl { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveAll'", NULL); - self->RemoveAll(); + (self->RemoveAll)(); return 0; } @@ -96486,7 +98746,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CCriticalEntry___AddTail(lua_St { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'AddTail'", NULL); - CTypedPtrList::CNode* returnVal = self->AddTail((CCriticalEntry*)tolua_tousertype_dynamic(L, 2, 0, "CCriticalEntry")); + CTypedPtrList::CNode* returnVal = (self->AddTail)((CCriticalEntry*)tolua_tousertype_dynamic(L, 2, 0, "CCriticalEntry")); tolua_pushusertype(L, (void*)returnVal, "CTypedPtrList::CNode"); return 1; } @@ -96495,7 +98755,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CCriticalEntry___Find(lua_State { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Find'", NULL); - CTypedPtrList::CNode* returnVal = self->Find((CCriticalEntry*)tolua_tousertype_dynamic(L, 2, 0, "CCriticalEntry"), (CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 3, 0, "CTypedPtrList::CNode")); + CTypedPtrList::CNode* returnVal = (self->Find)((CCriticalEntry*)tolua_tousertype_dynamic(L, 2, 0, "CCriticalEntry"), (CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 3, 0, "CTypedPtrList::CNode")); tolua_pushusertype(L, (void*)returnVal, "CTypedPtrList::CNode"); return 1; } @@ -96504,7 +98764,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CCriticalEntry___RemoveHead(lua { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveHead'", NULL); - CCriticalEntry* returnVal = self->RemoveHead(); + CCriticalEntry* returnVal = (self->RemoveHead)(); tolua_pushusertype(L, (void*)returnVal, "CCriticalEntry"); return 1; } @@ -96513,7 +98773,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CCriticalEntry___RemoveAt(lua_S { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveAt'", NULL); - self->RemoveAt((CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::CNode")); + (self->RemoveAt)((CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::CNode")); return 0; } @@ -96521,7 +98781,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CCriticalEntry___Destruct(lua_S { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Destruct'", NULL); - self->Destruct(); + (self->Destruct)(); return 0; } @@ -96529,7 +98789,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CCriticalEntry___RemoveAll(lua_ { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveAll'", NULL); - self->RemoveAll(); + (self->RemoveAll)(); return 0; } @@ -96761,7 +99021,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CGameOptions___AddTail(lua_Stat { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'AddTail'", NULL); - CTypedPtrList::CNode* returnVal = self->AddTail((CGameOptions*)tolua_tousertype_dynamic(L, 2, 0, "EEex_CGameOptions")); + CTypedPtrList::CNode* returnVal = (self->AddTail)((CGameOptions*)tolua_tousertype_dynamic(L, 2, 0, "EEex_CGameOptions")); tolua_pushusertype(L, (void*)returnVal, "CTypedPtrList::CNode"); return 1; } @@ -96770,7 +99030,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CGameOptions___Find(lua_State* { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Find'", NULL); - CTypedPtrList::CNode* returnVal = self->Find((CGameOptions*)tolua_tousertype_dynamic(L, 2, 0, "EEex_CGameOptions"), (CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 3, 0, "CTypedPtrList::CNode")); + CTypedPtrList::CNode* returnVal = (self->Find)((CGameOptions*)tolua_tousertype_dynamic(L, 2, 0, "EEex_CGameOptions"), (CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 3, 0, "CTypedPtrList::CNode")); tolua_pushusertype(L, (void*)returnVal, "CTypedPtrList::CNode"); return 1; } @@ -96779,7 +99039,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CGameOptions___RemoveHead(lua_S { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveHead'", NULL); - CGameOptions* returnVal = self->RemoveHead(); + CGameOptions* returnVal = (self->RemoveHead)(); tolua_pushusertype(L, (void*)returnVal, "EEex_CGameOptions"); return 1; } @@ -96788,7 +99048,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CGameOptions___RemoveAt(lua_Sta { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveAt'", NULL); - self->RemoveAt((CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::CNode")); + (self->RemoveAt)((CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::CNode")); return 0; } @@ -96796,7 +99056,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CGameOptions___Destruct(lua_Sta { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Destruct'", NULL); - self->Destruct(); + (self->Destruct)(); return 0; } @@ -96804,7 +99064,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CGameOptions___RemoveAll(lua_St { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveAll'", NULL); - self->RemoveAll(); + (self->RemoveAll)(); return 0; } @@ -97036,7 +99296,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CString___AddTail(lua_State* L) { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'AddTail'", NULL); - CTypedPtrList::CNode* returnVal = self->AddTail((CString*)tolua_tousertype_dynamic(L, 2, 0, "CString")); + CTypedPtrList::CNode* returnVal = (self->AddTail)((CString*)tolua_tousertype_dynamic(L, 2, 0, "CString")); tolua_pushusertype(L, (void*)returnVal, "CTypedPtrList::CNode"); return 1; } @@ -97045,7 +99305,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CString___Find(lua_State* L) { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Find'", NULL); - CTypedPtrList::CNode* returnVal = self->Find((CString*)tolua_tousertype_dynamic(L, 2, 0, "CString"), (CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 3, 0, "CTypedPtrList::CNode")); + CTypedPtrList::CNode* returnVal = (self->Find)((CString*)tolua_tousertype_dynamic(L, 2, 0, "CString"), (CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 3, 0, "CTypedPtrList::CNode")); tolua_pushusertype(L, (void*)returnVal, "CTypedPtrList::CNode"); return 1; } @@ -97054,7 +99314,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CString___RemoveHead(lua_State* { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveHead'", NULL); - CString* returnVal = self->RemoveHead(); + CString* returnVal = (self->RemoveHead)(); tolua_pushusertype(L, (void*)returnVal, "CString"); return 1; } @@ -97063,7 +99323,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CString___RemoveAt(lua_State* L { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveAt'", NULL); - self->RemoveAt((CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::CNode")); + (self->RemoveAt)((CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::CNode")); return 0; } @@ -97071,7 +99331,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CString___Destruct(lua_State* L { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Destruct'", NULL); - self->Destruct(); + (self->Destruct)(); return 0; } @@ -97079,7 +99339,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CString___RemoveAll(lua_State* { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveAll'", NULL); - self->RemoveAll(); + (self->RemoveAll)(); return 0; } @@ -97311,7 +99571,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CBounceEntry___AddTail(lua_Stat { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'AddTail'", NULL); - CTypedPtrList::CNode* returnVal = self->AddTail((CBounceEntry*)tolua_tousertype_dynamic(L, 2, 0, "CBounceEntry")); + CTypedPtrList::CNode* returnVal = (self->AddTail)((CBounceEntry*)tolua_tousertype_dynamic(L, 2, 0, "CBounceEntry")); tolua_pushusertype(L, (void*)returnVal, "CTypedPtrList::CNode"); return 1; } @@ -97320,7 +99580,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CBounceEntry___Find(lua_State* { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Find'", NULL); - CTypedPtrList::CNode* returnVal = self->Find((CBounceEntry*)tolua_tousertype_dynamic(L, 2, 0, "CBounceEntry"), (CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 3, 0, "CTypedPtrList::CNode")); + CTypedPtrList::CNode* returnVal = (self->Find)((CBounceEntry*)tolua_tousertype_dynamic(L, 2, 0, "CBounceEntry"), (CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 3, 0, "CTypedPtrList::CNode")); tolua_pushusertype(L, (void*)returnVal, "CTypedPtrList::CNode"); return 1; } @@ -97329,7 +99589,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CBounceEntry___RemoveHead(lua_S { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveHead'", NULL); - CBounceEntry* returnVal = self->RemoveHead(); + CBounceEntry* returnVal = (self->RemoveHead)(); tolua_pushusertype(L, (void*)returnVal, "CBounceEntry"); return 1; } @@ -97338,7 +99598,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CBounceEntry___RemoveAt(lua_Sta { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveAt'", NULL); - self->RemoveAt((CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::CNode")); + (self->RemoveAt)((CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::CNode")); return 0; } @@ -97346,7 +99606,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CBounceEntry___Destruct(lua_Sta { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Destruct'", NULL); - self->Destruct(); + (self->Destruct)(); return 0; } @@ -97354,7 +99614,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CBounceEntry___RemoveAll(lua_St { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveAll'", NULL); - self->RemoveAll(); + (self->RemoveAll)(); return 0; } @@ -97586,7 +99846,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CSequenceSound___AddTail(lua_St { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'AddTail'", NULL); - CTypedPtrList::CNode* returnVal = self->AddTail((CSequenceSound*)tolua_tousertype_dynamic(L, 2, 0, "CSequenceSound")); + CTypedPtrList::CNode* returnVal = (self->AddTail)((CSequenceSound*)tolua_tousertype_dynamic(L, 2, 0, "CSequenceSound")); tolua_pushusertype(L, (void*)returnVal, "CTypedPtrList::CNode"); return 1; } @@ -97595,7 +99855,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CSequenceSound___Find(lua_State { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Find'", NULL); - CTypedPtrList::CNode* returnVal = self->Find((CSequenceSound*)tolua_tousertype_dynamic(L, 2, 0, "CSequenceSound"), (CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 3, 0, "CTypedPtrList::CNode")); + CTypedPtrList::CNode* returnVal = (self->Find)((CSequenceSound*)tolua_tousertype_dynamic(L, 2, 0, "CSequenceSound"), (CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 3, 0, "CTypedPtrList::CNode")); tolua_pushusertype(L, (void*)returnVal, "CTypedPtrList::CNode"); return 1; } @@ -97604,7 +99864,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CSequenceSound___RemoveHead(lua { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveHead'", NULL); - CSequenceSound* returnVal = self->RemoveHead(); + CSequenceSound* returnVal = (self->RemoveHead)(); tolua_pushusertype(L, (void*)returnVal, "CSequenceSound"); return 1; } @@ -97613,7 +99873,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CSequenceSound___RemoveAt(lua_S { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveAt'", NULL); - self->RemoveAt((CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::CNode")); + (self->RemoveAt)((CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::CNode")); return 0; } @@ -97621,7 +99881,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CSequenceSound___Destruct(lua_S { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Destruct'", NULL); - self->Destruct(); + (self->Destruct)(); return 0; } @@ -97629,7 +99889,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CSequenceSound___RemoveAll(lua_ { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveAll'", NULL); - self->RemoveAll(); + (self->RemoveAll)(); return 0; } @@ -97861,7 +100121,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CButtonData___AddTail(lua_State { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'AddTail'", NULL); - CTypedPtrList::CNode* returnVal = self->AddTail((CButtonData*)tolua_tousertype_dynamic(L, 2, 0, "CButtonData")); + CTypedPtrList::CNode* returnVal = (self->AddTail)((CButtonData*)tolua_tousertype_dynamic(L, 2, 0, "CButtonData")); tolua_pushusertype(L, (void*)returnVal, "CTypedPtrList::CNode"); return 1; } @@ -97870,7 +100130,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CButtonData___Find(lua_State* L { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Find'", NULL); - CTypedPtrList::CNode* returnVal = self->Find((CButtonData*)tolua_tousertype_dynamic(L, 2, 0, "CButtonData"), (CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 3, 0, "CTypedPtrList::CNode")); + CTypedPtrList::CNode* returnVal = (self->Find)((CButtonData*)tolua_tousertype_dynamic(L, 2, 0, "CButtonData"), (CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 3, 0, "CTypedPtrList::CNode")); tolua_pushusertype(L, (void*)returnVal, "CTypedPtrList::CNode"); return 1; } @@ -97879,7 +100139,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CButtonData___RemoveHead(lua_St { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveHead'", NULL); - CButtonData* returnVal = self->RemoveHead(); + CButtonData* returnVal = (self->RemoveHead)(); tolua_pushusertype(L, (void*)returnVal, "CButtonData"); return 1; } @@ -97888,7 +100148,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CButtonData___RemoveAt(lua_Stat { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveAt'", NULL); - self->RemoveAt((CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::CNode")); + (self->RemoveAt)((CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::CNode")); return 0; } @@ -97896,7 +100156,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CButtonData___Destruct(lua_Stat { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Destruct'", NULL); - self->Destruct(); + (self->Destruct)(); return 0; } @@ -97904,7 +100164,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CButtonData___RemoveAll(lua_Sta { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveAll'", NULL); - self->RemoveAll(); + (self->RemoveAll)(); return 0; } @@ -98136,7 +100396,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CParticle___AddTail(lua_State* { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'AddTail'", NULL); - CTypedPtrList::CNode* returnVal = self->AddTail((CParticle*)tolua_tousertype_dynamic(L, 2, 0, "CParticle")); + CTypedPtrList::CNode* returnVal = (self->AddTail)((CParticle*)tolua_tousertype_dynamic(L, 2, 0, "CParticle")); tolua_pushusertype(L, (void*)returnVal, "CTypedPtrList::CNode"); return 1; } @@ -98145,7 +100405,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CParticle___Find(lua_State* L) { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Find'", NULL); - CTypedPtrList::CNode* returnVal = self->Find((CParticle*)tolua_tousertype_dynamic(L, 2, 0, "CParticle"), (CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 3, 0, "CTypedPtrList::CNode")); + CTypedPtrList::CNode* returnVal = (self->Find)((CParticle*)tolua_tousertype_dynamic(L, 2, 0, "CParticle"), (CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 3, 0, "CTypedPtrList::CNode")); tolua_pushusertype(L, (void*)returnVal, "CTypedPtrList::CNode"); return 1; } @@ -98154,7 +100414,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CParticle___RemoveHead(lua_Stat { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveHead'", NULL); - CParticle* returnVal = self->RemoveHead(); + CParticle* returnVal = (self->RemoveHead)(); tolua_pushusertype(L, (void*)returnVal, "CParticle"); return 1; } @@ -98163,7 +100423,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CParticle___RemoveAt(lua_State* { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveAt'", NULL); - self->RemoveAt((CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::CNode")); + (self->RemoveAt)((CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::CNode")); return 0; } @@ -98171,7 +100431,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CParticle___Destruct(lua_State* { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Destruct'", NULL); - self->Destruct(); + (self->Destruct)(); return 0; } @@ -98179,7 +100439,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CParticle___RemoveAll(lua_State { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveAll'", NULL); - self->RemoveAll(); + (self->RemoveAll)(); return 0; } @@ -98411,7 +100671,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CVidCell___AddTail(lua_State* L { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'AddTail'", NULL); - CTypedPtrList::CNode* returnVal = self->AddTail((CVidCell*)tolua_tousertype_dynamic(L, 2, 0, "CVidCell")); + CTypedPtrList::CNode* returnVal = (self->AddTail)((CVidCell*)tolua_tousertype_dynamic(L, 2, 0, "CVidCell")); tolua_pushusertype(L, (void*)returnVal, "CTypedPtrList::CNode"); return 1; } @@ -98420,7 +100680,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CVidCell___Find(lua_State* L) { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Find'", NULL); - CTypedPtrList::CNode* returnVal = self->Find((CVidCell*)tolua_tousertype_dynamic(L, 2, 0, "CVidCell"), (CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 3, 0, "CTypedPtrList::CNode")); + CTypedPtrList::CNode* returnVal = (self->Find)((CVidCell*)tolua_tousertype_dynamic(L, 2, 0, "CVidCell"), (CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 3, 0, "CTypedPtrList::CNode")); tolua_pushusertype(L, (void*)returnVal, "CTypedPtrList::CNode"); return 1; } @@ -98429,7 +100689,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CVidCell___RemoveHead(lua_State { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveHead'", NULL); - CVidCell* returnVal = self->RemoveHead(); + CVidCell* returnVal = (self->RemoveHead)(); tolua_pushusertype(L, (void*)returnVal, "CVidCell"); return 1; } @@ -98438,7 +100698,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CVidCell___RemoveAt(lua_State* { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveAt'", NULL); - self->RemoveAt((CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::CNode")); + (self->RemoveAt)((CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::CNode")); return 0; } @@ -98446,7 +100706,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CVidCell___Destruct(lua_State* { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Destruct'", NULL); - self->Destruct(); + (self->Destruct)(); return 0; } @@ -98454,7 +100714,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CVidCell___RemoveAll(lua_State* { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveAll'", NULL); - self->RemoveAll(); + (self->RemoveAll)(); return 0; } @@ -98686,7 +100946,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CProjectile___AddTail(lua_State { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'AddTail'", NULL); - CTypedPtrList::CNode* returnVal = self->AddTail((CProjectile*)tolua_tousertype_dynamic(L, 2, 0, "CProjectile")); + CTypedPtrList::CNode* returnVal = (self->AddTail)((CProjectile*)tolua_tousertype_dynamic(L, 2, 0, "CProjectile")); tolua_pushusertype(L, (void*)returnVal, "CTypedPtrList::CNode"); return 1; } @@ -98695,7 +100955,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CProjectile___Find(lua_State* L { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Find'", NULL); - CTypedPtrList::CNode* returnVal = self->Find((CProjectile*)tolua_tousertype_dynamic(L, 2, 0, "CProjectile"), (CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 3, 0, "CTypedPtrList::CNode")); + CTypedPtrList::CNode* returnVal = (self->Find)((CProjectile*)tolua_tousertype_dynamic(L, 2, 0, "CProjectile"), (CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 3, 0, "CTypedPtrList::CNode")); tolua_pushusertype(L, (void*)returnVal, "CTypedPtrList::CNode"); return 1; } @@ -98704,7 +100964,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CProjectile___RemoveHead(lua_St { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveHead'", NULL); - CProjectile* returnVal = self->RemoveHead(); + CProjectile* returnVal = (self->RemoveHead)(); tolua_pushusertype(L, (void*)returnVal, "CProjectile"); return 1; } @@ -98713,7 +100973,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CProjectile___RemoveAt(lua_Stat { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveAt'", NULL); - self->RemoveAt((CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::CNode")); + (self->RemoveAt)((CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::CNode")); return 0; } @@ -98721,7 +100981,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CProjectile___Destruct(lua_Stat { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Destruct'", NULL); - self->Destruct(); + (self->Destruct)(); return 0; } @@ -98729,7 +100989,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CProjectile___RemoveAll(lua_Sta { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveAll'", NULL); - self->RemoveAll(); + (self->RemoveAll)(); return 0; } @@ -98961,7 +101221,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CWarp___AddTail(lua_State* L) { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'AddTail'", NULL); - CTypedPtrList::CNode* returnVal = self->AddTail((CWarp*)tolua_tousertype_dynamic(L, 2, 0, "EEex_CWarp")); + CTypedPtrList::CNode* returnVal = (self->AddTail)((CWarp*)tolua_tousertype_dynamic(L, 2, 0, "EEex_CWarp")); tolua_pushusertype(L, (void*)returnVal, "CTypedPtrList::CNode"); return 1; } @@ -98970,7 +101230,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CWarp___Find(lua_State* L) { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Find'", NULL); - CTypedPtrList::CNode* returnVal = self->Find((CWarp*)tolua_tousertype_dynamic(L, 2, 0, "EEex_CWarp"), (CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 3, 0, "CTypedPtrList::CNode")); + CTypedPtrList::CNode* returnVal = (self->Find)((CWarp*)tolua_tousertype_dynamic(L, 2, 0, "EEex_CWarp"), (CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 3, 0, "CTypedPtrList::CNode")); tolua_pushusertype(L, (void*)returnVal, "CTypedPtrList::CNode"); return 1; } @@ -98979,7 +101239,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CWarp___RemoveHead(lua_State* L { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveHead'", NULL); - CWarp* returnVal = self->RemoveHead(); + CWarp* returnVal = (self->RemoveHead)(); tolua_pushusertype(L, (void*)returnVal, "EEex_CWarp"); return 1; } @@ -98988,7 +101248,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CWarp___RemoveAt(lua_State* L) { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveAt'", NULL); - self->RemoveAt((CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::CNode")); + (self->RemoveAt)((CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::CNode")); return 0; } @@ -98996,7 +101256,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CWarp___Destruct(lua_State* L) { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Destruct'", NULL); - self->Destruct(); + (self->Destruct)(); return 0; } @@ -99004,7 +101264,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CWarp___RemoveAll(lua_State* L) { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveAll'", NULL); - self->RemoveAll(); + (self->RemoveAll)(); return 0; } @@ -99236,7 +101496,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CScreenStoreItem___AddTail(lua_ { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'AddTail'", NULL); - CTypedPtrList::CNode* returnVal = self->AddTail((CScreenStoreItem*)tolua_tousertype_dynamic(L, 2, 0, "CScreenStoreItem")); + CTypedPtrList::CNode* returnVal = (self->AddTail)((CScreenStoreItem*)tolua_tousertype_dynamic(L, 2, 0, "CScreenStoreItem")); tolua_pushusertype(L, (void*)returnVal, "CTypedPtrList::CNode"); return 1; } @@ -99245,7 +101505,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CScreenStoreItem___Find(lua_Sta { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Find'", NULL); - CTypedPtrList::CNode* returnVal = self->Find((CScreenStoreItem*)tolua_tousertype_dynamic(L, 2, 0, "CScreenStoreItem"), (CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 3, 0, "CTypedPtrList::CNode")); + CTypedPtrList::CNode* returnVal = (self->Find)((CScreenStoreItem*)tolua_tousertype_dynamic(L, 2, 0, "CScreenStoreItem"), (CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 3, 0, "CTypedPtrList::CNode")); tolua_pushusertype(L, (void*)returnVal, "CTypedPtrList::CNode"); return 1; } @@ -99254,7 +101514,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CScreenStoreItem___RemoveHead(l { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveHead'", NULL); - CScreenStoreItem* returnVal = self->RemoveHead(); + CScreenStoreItem* returnVal = (self->RemoveHead)(); tolua_pushusertype(L, (void*)returnVal, "CScreenStoreItem"); return 1; } @@ -99263,7 +101523,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CScreenStoreItem___RemoveAt(lua { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveAt'", NULL); - self->RemoveAt((CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::CNode")); + (self->RemoveAt)((CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::CNode")); return 0; } @@ -99271,7 +101531,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CScreenStoreItem___Destruct(lua { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Destruct'", NULL); - self->Destruct(); + (self->Destruct)(); return 0; } @@ -99279,7 +101539,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CScreenStoreItem___RemoveAll(lu { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveAll'", NULL); - self->RemoveAll(); + (self->RemoveAll)(); return 0; } @@ -99511,7 +101771,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CSound___AddTail(lua_State* L) { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'AddTail'", NULL); - CTypedPtrList::CNode* returnVal = self->AddTail((CSound*)tolua_tousertype_dynamic(L, 2, 0, "CSound")); + CTypedPtrList::CNode* returnVal = (self->AddTail)((CSound*)tolua_tousertype_dynamic(L, 2, 0, "CSound")); tolua_pushusertype(L, (void*)returnVal, "CTypedPtrList::CNode"); return 1; } @@ -99520,7 +101780,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CSound___Find(lua_State* L) { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Find'", NULL); - CTypedPtrList::CNode* returnVal = self->Find((CSound*)tolua_tousertype_dynamic(L, 2, 0, "CSound"), (CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 3, 0, "CTypedPtrList::CNode")); + CTypedPtrList::CNode* returnVal = (self->Find)((CSound*)tolua_tousertype_dynamic(L, 2, 0, "CSound"), (CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 3, 0, "CTypedPtrList::CNode")); tolua_pushusertype(L, (void*)returnVal, "CTypedPtrList::CNode"); return 1; } @@ -99529,7 +101789,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CSound___RemoveHead(lua_State* { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveHead'", NULL); - CSound* returnVal = self->RemoveHead(); + CSound* returnVal = (self->RemoveHead)(); tolua_pushusertype(L, (void*)returnVal, "CSound"); return 1; } @@ -99538,7 +101798,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CSound___RemoveAt(lua_State* L) { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveAt'", NULL); - self->RemoveAt((CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::CNode")); + (self->RemoveAt)((CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::CNode")); return 0; } @@ -99546,7 +101806,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CSound___Destruct(lua_State* L) { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Destruct'", NULL); - self->Destruct(); + (self->Destruct)(); return 0; } @@ -99554,7 +101814,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CSound___RemoveAll(lua_State* L { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveAll'", NULL); - self->RemoveAll(); + (self->RemoveAll)(); return 0; } @@ -99786,7 +102046,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CVoice___AddTail(lua_State* L) { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'AddTail'", NULL); - CTypedPtrList::CNode* returnVal = self->AddTail((CVoice*)tolua_tousertype_dynamic(L, 2, 0, "CVoice")); + CTypedPtrList::CNode* returnVal = (self->AddTail)((CVoice*)tolua_tousertype_dynamic(L, 2, 0, "CVoice")); tolua_pushusertype(L, (void*)returnVal, "CTypedPtrList::CNode"); return 1; } @@ -99795,7 +102055,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CVoice___Find(lua_State* L) { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Find'", NULL); - CTypedPtrList::CNode* returnVal = self->Find((CVoice*)tolua_tousertype_dynamic(L, 2, 0, "CVoice"), (CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 3, 0, "CTypedPtrList::CNode")); + CTypedPtrList::CNode* returnVal = (self->Find)((CVoice*)tolua_tousertype_dynamic(L, 2, 0, "CVoice"), (CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 3, 0, "CTypedPtrList::CNode")); tolua_pushusertype(L, (void*)returnVal, "CTypedPtrList::CNode"); return 1; } @@ -99804,7 +102064,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CVoice___RemoveHead(lua_State* { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveHead'", NULL); - CVoice* returnVal = self->RemoveHead(); + CVoice* returnVal = (self->RemoveHead)(); tolua_pushusertype(L, (void*)returnVal, "CVoice"); return 1; } @@ -99813,7 +102073,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CVoice___RemoveAt(lua_State* L) { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveAt'", NULL); - self->RemoveAt((CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::CNode")); + (self->RemoveAt)((CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::CNode")); return 0; } @@ -99821,7 +102081,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CVoice___Destruct(lua_State* L) { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Destruct'", NULL); - self->Destruct(); + (self->Destruct)(); return 0; } @@ -99829,7 +102089,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CVoice___RemoveAll(lua_State* L { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveAll'", NULL); - self->RemoveAll(); + (self->RemoveAll)(); return 0; } @@ -100061,7 +102321,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CTimer___AddTail(lua_State* L) { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'AddTail'", NULL); - CTypedPtrList::CNode* returnVal = self->AddTail((CTimer*)tolua_tousertype_dynamic(L, 2, 0, "CTimer")); + CTypedPtrList::CNode* returnVal = (self->AddTail)((CTimer*)tolua_tousertype_dynamic(L, 2, 0, "CTimer")); tolua_pushusertype(L, (void*)returnVal, "CTypedPtrList::CNode"); return 1; } @@ -100070,7 +102330,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CTimer___Find(lua_State* L) { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Find'", NULL); - CTypedPtrList::CNode* returnVal = self->Find((CTimer*)tolua_tousertype_dynamic(L, 2, 0, "CTimer"), (CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 3, 0, "CTypedPtrList::CNode")); + CTypedPtrList::CNode* returnVal = (self->Find)((CTimer*)tolua_tousertype_dynamic(L, 2, 0, "CTimer"), (CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 3, 0, "CTypedPtrList::CNode")); tolua_pushusertype(L, (void*)returnVal, "CTypedPtrList::CNode"); return 1; } @@ -100079,7 +102339,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CTimer___RemoveHead(lua_State* { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveHead'", NULL); - CTimer* returnVal = self->RemoveHead(); + CTimer* returnVal = (self->RemoveHead)(); tolua_pushusertype(L, (void*)returnVal, "CTimer"); return 1; } @@ -100088,7 +102348,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CTimer___RemoveAt(lua_State* L) { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveAt'", NULL); - self->RemoveAt((CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::CNode")); + (self->RemoveAt)((CTypedPtrList::CNode*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList::CNode")); return 0; } @@ -100096,7 +102356,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CTimer___Destruct(lua_State* L) { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Destruct'", NULL); - self->Destruct(); + (self->Destruct)(); return 0; } @@ -100104,7 +102364,7 @@ static int tolua_function_CTypedPtrList_CPtrList_CTimer___RemoveAll(lua_State* L { CTypedPtrList* self = (CTypedPtrList*)tolua_tousertype_dynamic(L, 1, 0, "CTypedPtrList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveAll'", NULL); - self->RemoveAll(); + (self->RemoveAll)(); return 0; } @@ -101504,7 +103764,7 @@ static int tolua_function_CTimer_virtual_TimerElapsed(lua_State* L) { CTimer* self = (CTimer*)tolua_tousertype_dynamic(L, 1, 0, "CTimer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_TimerElapsed'", NULL); - self->virtual_TimerElapsed(); + (self->virtual_TimerElapsed)(); return 0; } @@ -101978,7 +104238,7 @@ static int tolua_function_CMessageHandler_AddMessage(lua_State* L) { CMessageHandler* self = (CMessageHandler*)tolua_tousertype_dynamic(L, 1, 0, "CMessageHandler"); if (!self) tolua_error(L, "invalid 'self' in calling function 'AddMessage'", NULL); - short returnVal = self->AddMessage((CMessage*)tolua_tousertype_dynamic(L, 2, 0, "CMessage"), tolua_function_tointeger(L, 3, "AddMessage")); + short returnVal = (self->AddMessage)((CMessage*)tolua_tousertype_dynamic(L, 2, 0, "CMessage"), tolua_function_tointeger(L, 3, "AddMessage")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -101995,7 +104255,7 @@ static int tolua_function_CAICondition_Hold(lua_State* L) { CAICondition* self = (CAICondition*)tolua_tousertype_dynamic(L, 1, 0, "CAICondition"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Hold'", NULL); - int returnVal = self->Hold((CTypedPtrList*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList"), (CGameAIBase*)tolua_tousertype_dynamic(L, 3, 0, "CGameAIBase")); + int returnVal = (self->Hold)((CTypedPtrList*)tolua_tousertype_dynamic(L, 2, 0, "CTypedPtrList"), (CGameAIBase*)tolua_tousertype_dynamic(L, 3, 0, "CGameAIBase")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -102004,7 +104264,7 @@ static int tolua_function_CAICondition_TriggerHolds(lua_State* L) { CAICondition* self = (CAICondition*)tolua_tousertype_dynamic(L, 1, 0, "CAICondition"); if (!self) tolua_error(L, "invalid 'self' in calling function 'TriggerHolds'", NULL); - int returnVal = self->TriggerHolds((CAITrigger*)tolua_tousertype_dynamic(L, 2, 0, "CAITrigger"), (CTypedPtrList*)tolua_tousertype_dynamic(L, 3, 0, "CTypedPtrList"), (CGameAIBase*)tolua_tousertype_dynamic(L, 4, 0, "CGameAIBase")); + int returnVal = (self->TriggerHolds)((CAITrigger*)tolua_tousertype_dynamic(L, 2, 0, "CAITrigger"), (CTypedPtrList*)tolua_tousertype_dynamic(L, 3, 0, "CTypedPtrList"), (CGameAIBase*)tolua_tousertype_dynamic(L, 4, 0, "CGameAIBase")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -102245,7 +104505,7 @@ static int tolua_function_CImmunitiesAIType_OnList(lua_State* L) { CImmunitiesAIType* self = (CImmunitiesAIType*)tolua_tousertype_dynamic(L, 1, 0, "CImmunitiesAIType"); if (!self) tolua_error(L, "invalid 'self' in calling function 'OnList'", NULL); - int returnVal = self->OnList((const CAIObjectType*)tolua_tousertype_dynamic(L, 2, 0, "CAIObjectType")); + int returnVal = (self->OnList)((const CAIObjectType*)tolua_tousertype_dynamic(L, 2, 0, "CAIObjectType")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -102414,7 +104674,7 @@ static int tolua_function_CWarp_virtual_InvalidateCursorRect(lua_State* L) { CWarp* self = (CWarp*)tolua_tousertype_dynamic(L, 1, 0, "EEex_CWarp"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_InvalidateCursorRect'", NULL); - self->virtual_InvalidateCursorRect((const CRect*)tolua_tousertype_dynamic(L, 2, 0, "CRect")); + (self->virtual_InvalidateCursorRect)((const CRect*)tolua_tousertype_dynamic(L, 2, 0, "CRect")); return 0; } @@ -102422,7 +104682,7 @@ static int tolua_function_CWarp_virtual_NormalizePanelRect(lua_State* L) { CWarp* self = (CWarp*)tolua_tousertype_dynamic(L, 1, 0, "EEex_CWarp"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_NormalizePanelRect'", NULL); - self->virtual_NormalizePanelRect(tolua_function_tointeger(L, 2, "virtual_NormalizePanelRect"), (CRect*)tolua_tousertype_dynamic(L, 3, 0, "CRect")); + (self->virtual_NormalizePanelRect)(tolua_function_tointeger(L, 2, "virtual_NormalizePanelRect"), (CRect*)tolua_tousertype_dynamic(L, 3, 0, "CRect")); return 0; } @@ -102430,7 +104690,7 @@ static int tolua_function_CWarp_virtual_RequestPause(lua_State* L) { CWarp* self = (CWarp*)tolua_tousertype_dynamic(L, 1, 0, "EEex_CWarp"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_RequestPause'", NULL); - self->virtual_RequestPause(); + (self->virtual_RequestPause)(); return 0; } @@ -102438,7 +104698,7 @@ static int tolua_function_CWarp_virtual_EngineActivated(lua_State* L) { CWarp* self = (CWarp*)tolua_tousertype_dynamic(L, 1, 0, "EEex_CWarp"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_EngineActivated'", NULL); - self->virtual_EngineActivated(); + (self->virtual_EngineActivated)(); return 0; } @@ -102446,7 +104706,7 @@ static int tolua_function_CWarp_virtual_EngineDeactivated(lua_State* L) { CWarp* self = (CWarp*)tolua_tousertype_dynamic(L, 1, 0, "EEex_CWarp"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_EngineDeactivated'", NULL); - self->virtual_EngineDeactivated(); + (self->virtual_EngineDeactivated)(); return 0; } @@ -102454,7 +104714,7 @@ static int tolua_function_CWarp_virtual_EngineDestroyed(lua_State* L) { CWarp* self = (CWarp*)tolua_tousertype_dynamic(L, 1, 0, "EEex_CWarp"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_EngineDestroyed'", NULL); - self->virtual_EngineDestroyed(); + (self->virtual_EngineDestroyed)(); return 0; } @@ -102462,7 +104722,7 @@ static int tolua_function_CWarp_virtual_EngineInitialized(lua_State* L) { CWarp* self = (CWarp*)tolua_tousertype_dynamic(L, 1, 0, "EEex_CWarp"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_EngineInitialized'", NULL); - self->virtual_EngineInitialized(); + (self->virtual_EngineInitialized)(); return 0; } @@ -102470,7 +104730,7 @@ static int tolua_function_CWarp_virtual_EngineGameInit(lua_State* L) { CWarp* self = (CWarp*)tolua_tousertype_dynamic(L, 1, 0, "EEex_CWarp"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_EngineGameInit'", NULL); - self->virtual_EngineGameInit(); + (self->virtual_EngineGameInit)(); return 0; } @@ -102478,7 +104738,7 @@ static int tolua_function_CWarp_virtual_EngineGameUninit(lua_State* L) { CWarp* self = (CWarp*)tolua_tousertype_dynamic(L, 1, 0, "EEex_CWarp"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_EngineGameUninit'", NULL); - self->virtual_EngineGameUninit(); + (self->virtual_EngineGameUninit)(); return 0; } @@ -102486,7 +104746,7 @@ static int tolua_function_CWarp_virtual_SelectEngine(lua_State* L) { CWarp* self = (CWarp*)tolua_tousertype_dynamic(L, 1, 0, "EEex_CWarp"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_SelectEngine'", NULL); - self->virtual_SelectEngine((CWarp*)tolua_tousertype_dynamic(L, 2, 0, "EEex_CWarp")); + (self->virtual_SelectEngine)((CWarp*)tolua_tousertype_dynamic(L, 2, 0, "EEex_CWarp")); return 0; } @@ -102494,7 +104754,7 @@ static int tolua_function_CWarp_virtual_OnEvent(lua_State* L) { CWarp* self = (CWarp*)tolua_tousertype_dynamic(L, 1, 0, "EEex_CWarp"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_OnEvent'", NULL); - bool returnVal = self->virtual_OnEvent((SDL_Event*)tolua_tousertype_dynamic(L, 2, 0, "SDL_Event")); + bool returnVal = (self->virtual_OnEvent)((SDL_Event*)tolua_tousertype_dynamic(L, 2, 0, "SDL_Event")); tolua_pushboolean(L, (bool)returnVal); return 1; } @@ -102503,7 +104763,7 @@ static int tolua_function_CWarp_virtual_GetEngineState(lua_State* L) { CWarp* self = (CWarp*)tolua_tousertype_dynamic(L, 1, 0, "EEex_CWarp"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_GetEngineState'", NULL); - int returnVal = self->virtual_GetEngineState(); + int returnVal = (self->virtual_GetEngineState)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -102512,7 +104772,7 @@ static int tolua_function_CWarp_virtual_CheckSystemKeyCtrl(lua_State* L) { CWarp* self = (CWarp*)tolua_tousertype_dynamic(L, 1, 0, "EEex_CWarp"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_CheckSystemKeyCtrl'", NULL); - int returnVal = self->virtual_CheckSystemKeyCtrl(); + int returnVal = (self->virtual_CheckSystemKeyCtrl)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -102521,7 +104781,7 @@ static int tolua_function_CWarp_virtual_SetSystemKeyCtrl(lua_State* L) { CWarp* self = (CWarp*)tolua_tousertype_dynamic(L, 1, 0, "EEex_CWarp"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_SetSystemKeyCtrl'", NULL); - self->virtual_SetSystemKeyCtrl(tolua_function_tointeger(L, 2, "virtual_SetSystemKeyCtrl")); + (self->virtual_SetSystemKeyCtrl)(tolua_function_tointeger(L, 2, "virtual_SetSystemKeyCtrl")); return 0; } @@ -102529,7 +104789,7 @@ static int tolua_function_CWarp_virtual_GetCtrlKey(lua_State* L) { CWarp* self = (CWarp*)tolua_tousertype_dynamic(L, 1, 0, "EEex_CWarp"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_GetCtrlKey'", NULL); - int returnVal = self->virtual_GetCtrlKey(); + int returnVal = (self->virtual_GetCtrlKey)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -102538,7 +104798,7 @@ static int tolua_function_CWarp_virtual_CheckSystemKeyShift(lua_State* L) { CWarp* self = (CWarp*)tolua_tousertype_dynamic(L, 1, 0, "EEex_CWarp"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_CheckSystemKeyShift'", NULL); - int returnVal = self->virtual_CheckSystemKeyShift(); + int returnVal = (self->virtual_CheckSystemKeyShift)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -102547,7 +104807,7 @@ static int tolua_function_CWarp_virtual_SetSystemKeyShift(lua_State* L) { CWarp* self = (CWarp*)tolua_tousertype_dynamic(L, 1, 0, "EEex_CWarp"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_SetSystemKeyShift'", NULL); - self->virtual_SetSystemKeyShift(tolua_function_tointeger(L, 2, "virtual_SetSystemKeyShift")); + (self->virtual_SetSystemKeyShift)(tolua_function_tointeger(L, 2, "virtual_SetSystemKeyShift")); return 0; } @@ -102555,7 +104815,7 @@ static int tolua_function_CWarp_virtual_GetShiftKey(lua_State* L) { CWarp* self = (CWarp*)tolua_tousertype_dynamic(L, 1, 0, "EEex_CWarp"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_GetShiftKey'", NULL); - int returnVal = self->virtual_GetShiftKey(); + int returnVal = (self->virtual_GetShiftKey)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -102564,7 +104824,7 @@ static int tolua_function_CWarp_virtual_CheckSystemKeyMenu(lua_State* L) { CWarp* self = (CWarp*)tolua_tousertype_dynamic(L, 1, 0, "EEex_CWarp"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_CheckSystemKeyMenu'", NULL); - int returnVal = self->virtual_CheckSystemKeyMenu(); + int returnVal = (self->virtual_CheckSystemKeyMenu)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -102573,7 +104833,7 @@ static int tolua_function_CWarp_virtual_SetSystemKeyMenu(lua_State* L) { CWarp* self = (CWarp*)tolua_tousertype_dynamic(L, 1, 0, "EEex_CWarp"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_SetSystemKeyMenu'", NULL); - self->virtual_SetSystemKeyMenu(tolua_function_tointeger(L, 2, "virtual_SetSystemKeyMenu")); + (self->virtual_SetSystemKeyMenu)(tolua_function_tointeger(L, 2, "virtual_SetSystemKeyMenu")); return 0; } @@ -102581,7 +104841,7 @@ static int tolua_function_CWarp_virtual_CheckSystemKeyCapsLock(lua_State* L) { CWarp* self = (CWarp*)tolua_tousertype_dynamic(L, 1, 0, "EEex_CWarp"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_CheckSystemKeyCapsLock'", NULL); - int returnVal = self->virtual_CheckSystemKeyCapsLock(); + int returnVal = (self->virtual_CheckSystemKeyCapsLock)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -102590,7 +104850,7 @@ static int tolua_function_CWarp_virtual_SetSystemKeyCapsLock(lua_State* L) { CWarp* self = (CWarp*)tolua_tousertype_dynamic(L, 1, 0, "EEex_CWarp"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_SetSystemKeyCapsLock'", NULL); - self->virtual_SetSystemKeyCapsLock(tolua_function_tointeger(L, 2, "virtual_SetSystemKeyCapsLock")); + (self->virtual_SetSystemKeyCapsLock)(tolua_function_tointeger(L, 2, "virtual_SetSystemKeyCapsLock")); return 0; } @@ -102598,7 +104858,7 @@ static int tolua_function_CWarp_virtual_GetCapsLockKey(lua_State* L) { CWarp* self = (CWarp*)tolua_tousertype_dynamic(L, 1, 0, "EEex_CWarp"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_GetCapsLockKey'", NULL); - int returnVal = self->virtual_GetCapsLockKey(); + int returnVal = (self->virtual_GetCapsLockKey)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -102607,7 +104867,7 @@ static int tolua_function_CWarp_virtual_GetMenuKey(lua_State* L) { CWarp* self = (CWarp*)tolua_tousertype_dynamic(L, 1, 0, "EEex_CWarp"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_GetMenuKey'", NULL); - int returnVal = self->virtual_GetMenuKey(); + int returnVal = (self->virtual_GetMenuKey)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -102616,7 +104876,7 @@ static int tolua_function_CWarp_virtual_CheckMouseMove(lua_State* L) { CWarp* self = (CWarp*)tolua_tousertype_dynamic(L, 1, 0, "EEex_CWarp"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_CheckMouseMove'", NULL); - int returnVal = self->virtual_CheckMouseMove(); + int returnVal = (self->virtual_CheckMouseMove)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -102625,7 +104885,7 @@ static int tolua_function_CWarp_virtual_OnMouseMove(lua_State* L) { CWarp* self = (CWarp*)tolua_tousertype_dynamic(L, 1, 0, "EEex_CWarp"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_OnMouseMove'", NULL); - self->virtual_OnMouseMove(*(CPoint*)tolua_tousertype_dynamic(L, 2, 0, "CPoint")); + (self->virtual_OnMouseMove)(*(CPoint*)tolua_tousertype_dynamic(L, 2, 0, "CPoint")); return 0; } @@ -102633,7 +104893,7 @@ static int tolua_function_CWarp_virtual_CheckMouseLButton(lua_State* L) { CWarp* self = (CWarp*)tolua_tousertype_dynamic(L, 1, 0, "EEex_CWarp"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_CheckMouseLButton'", NULL); - int returnVal = self->virtual_CheckMouseLButton(); + int returnVal = (self->virtual_CheckMouseLButton)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -102642,7 +104902,7 @@ static int tolua_function_CWarp_virtual_OnLButtonDblClk(lua_State* L) { CWarp* self = (CWarp*)tolua_tousertype_dynamic(L, 1, 0, "EEex_CWarp"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_OnLButtonDblClk'", NULL); - self->virtual_OnLButtonDblClk(*(CPoint*)tolua_tousertype_dynamic(L, 2, 0, "CPoint")); + (self->virtual_OnLButtonDblClk)(*(CPoint*)tolua_tousertype_dynamic(L, 2, 0, "CPoint")); return 0; } @@ -102650,7 +104910,7 @@ static int tolua_function_CWarp_virtual_OnLButtonDown(lua_State* L) { CWarp* self = (CWarp*)tolua_tousertype_dynamic(L, 1, 0, "EEex_CWarp"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_OnLButtonDown'", NULL); - self->virtual_OnLButtonDown(*(CPoint*)tolua_tousertype_dynamic(L, 2, 0, "CPoint")); + (self->virtual_OnLButtonDown)(*(CPoint*)tolua_tousertype_dynamic(L, 2, 0, "CPoint")); return 0; } @@ -102658,7 +104918,7 @@ static int tolua_function_CWarp_virtual_OnLButtonUp(lua_State* L) { CWarp* self = (CWarp*)tolua_tousertype_dynamic(L, 1, 0, "EEex_CWarp"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_OnLButtonUp'", NULL); - self->virtual_OnLButtonUp(*(CPoint*)tolua_tousertype_dynamic(L, 2, 0, "CPoint")); + (self->virtual_OnLButtonUp)(*(CPoint*)tolua_tousertype_dynamic(L, 2, 0, "CPoint")); return 0; } @@ -102666,7 +104926,7 @@ static int tolua_function_CWarp_virtual_CheckMouseMButton(lua_State* L) { CWarp* self = (CWarp*)tolua_tousertype_dynamic(L, 1, 0, "EEex_CWarp"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_CheckMouseMButton'", NULL); - int returnVal = self->virtual_CheckMouseMButton(); + int returnVal = (self->virtual_CheckMouseMButton)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -102675,7 +104935,7 @@ static int tolua_function_CWarp_virtual_OnMButtonDblClk(lua_State* L) { CWarp* self = (CWarp*)tolua_tousertype_dynamic(L, 1, 0, "EEex_CWarp"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_OnMButtonDblClk'", NULL); - self->virtual_OnMButtonDblClk(*(CPoint*)tolua_tousertype_dynamic(L, 2, 0, "CPoint")); + (self->virtual_OnMButtonDblClk)(*(CPoint*)tolua_tousertype_dynamic(L, 2, 0, "CPoint")); return 0; } @@ -102683,7 +104943,7 @@ static int tolua_function_CWarp_virtual_OnMButtonDown(lua_State* L) { CWarp* self = (CWarp*)tolua_tousertype_dynamic(L, 1, 0, "EEex_CWarp"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_OnMButtonDown'", NULL); - self->virtual_OnMButtonDown(*(CPoint*)tolua_tousertype_dynamic(L, 2, 0, "CPoint")); + (self->virtual_OnMButtonDown)(*(CPoint*)tolua_tousertype_dynamic(L, 2, 0, "CPoint")); return 0; } @@ -102691,7 +104951,7 @@ static int tolua_function_CWarp_virtual_OnMButtonUp(lua_State* L) { CWarp* self = (CWarp*)tolua_tousertype_dynamic(L, 1, 0, "EEex_CWarp"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_OnMButtonUp'", NULL); - self->virtual_OnMButtonUp(*(CPoint*)tolua_tousertype_dynamic(L, 2, 0, "CPoint")); + (self->virtual_OnMButtonUp)(*(CPoint*)tolua_tousertype_dynamic(L, 2, 0, "CPoint")); return 0; } @@ -102699,7 +104959,7 @@ static int tolua_function_CWarp_virtual_CheckMouseRButton(lua_State* L) { CWarp* self = (CWarp*)tolua_tousertype_dynamic(L, 1, 0, "EEex_CWarp"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_CheckMouseRButton'", NULL); - int returnVal = self->virtual_CheckMouseRButton(); + int returnVal = (self->virtual_CheckMouseRButton)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -102708,7 +104968,7 @@ static int tolua_function_CWarp_virtual_OnRButtonDblClk(lua_State* L) { CWarp* self = (CWarp*)tolua_tousertype_dynamic(L, 1, 0, "EEex_CWarp"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_OnRButtonDblClk'", NULL); - self->virtual_OnRButtonDblClk(*(CPoint*)tolua_tousertype_dynamic(L, 2, 0, "CPoint")); + (self->virtual_OnRButtonDblClk)(*(CPoint*)tolua_tousertype_dynamic(L, 2, 0, "CPoint")); return 0; } @@ -102716,7 +104976,7 @@ static int tolua_function_CWarp_virtual_OnRButtonDown(lua_State* L) { CWarp* self = (CWarp*)tolua_tousertype_dynamic(L, 1, 0, "EEex_CWarp"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_OnRButtonDown'", NULL); - self->virtual_OnRButtonDown(*(CPoint*)tolua_tousertype_dynamic(L, 2, 0, "CPoint")); + (self->virtual_OnRButtonDown)(*(CPoint*)tolua_tousertype_dynamic(L, 2, 0, "CPoint")); return 0; } @@ -102724,7 +104984,7 @@ static int tolua_function_CWarp_virtual_OnRButtonUp(lua_State* L) { CWarp* self = (CWarp*)tolua_tousertype_dynamic(L, 1, 0, "EEex_CWarp"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_OnRButtonUp'", NULL); - self->virtual_OnRButtonUp(*(CPoint*)tolua_tousertype_dynamic(L, 2, 0, "CPoint")); + (self->virtual_OnRButtonUp)(*(CPoint*)tolua_tousertype_dynamic(L, 2, 0, "CPoint")); return 0; } @@ -102732,7 +104992,7 @@ static int tolua_function_CWarp_virtual_CheckMouseWheel(lua_State* L) { CWarp* self = (CWarp*)tolua_tousertype_dynamic(L, 1, 0, "EEex_CWarp"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_CheckMouseWheel'", NULL); - int returnVal = self->virtual_CheckMouseWheel(); + int returnVal = (self->virtual_CheckMouseWheel)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -102741,7 +105001,7 @@ static int tolua_function_CWarp_virtual_OnMouseWheel(lua_State* L) { CWarp* self = (CWarp*)tolua_tousertype_dynamic(L, 1, 0, "EEex_CWarp"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_OnMouseWheel'", NULL); - self->virtual_OnMouseWheel(tolua_function_tointeger(L, 2, "virtual_OnMouseWheel"), tolua_function_tointeger(L, 3, "virtual_OnMouseWheel"), tolua_function_tointeger(L, 4, "virtual_OnMouseWheel"), tolua_function_tointeger(L, 5, "virtual_OnMouseWheel")); + (self->virtual_OnMouseWheel)(tolua_function_tointeger(L, 2, "virtual_OnMouseWheel"), tolua_function_tointeger(L, 3, "virtual_OnMouseWheel"), tolua_function_tointeger(L, 4, "virtual_OnMouseWheel"), tolua_function_tointeger(L, 5, "virtual_OnMouseWheel")); return 0; } @@ -102749,7 +105009,7 @@ static int tolua_function_CWarp_virtual_GetNumVirtualKeys(lua_State* L) { CWarp* self = (CWarp*)tolua_tousertype_dynamic(L, 1, 0, "EEex_CWarp"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_GetNumVirtualKeys'", NULL); - __int16 returnVal = self->virtual_GetNumVirtualKeys(); + __int16 returnVal = (self->virtual_GetNumVirtualKeys)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -102758,7 +105018,7 @@ static int tolua_function_CWarp_virtual_GetVirtualKeys(lua_State* L) { CWarp* self = (CWarp*)tolua_tousertype_dynamic(L, 1, 0, "EEex_CWarp"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_GetVirtualKeys'", NULL); - CKeyInfo* returnVal = self->virtual_GetVirtualKeys(); + CKeyInfo* returnVal = (self->virtual_GetVirtualKeys)(); tolua_pushusertype(L, (void*)returnVal, "CKeyInfo"); return 1; } @@ -102767,7 +105027,7 @@ static int tolua_function_CWarp_virtual_GetVirtualKeysFlags(lua_State* L) { CWarp* self = (CWarp*)tolua_tousertype_dynamic(L, 1, 0, "EEex_CWarp"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_GetVirtualKeysFlags'", NULL); - int* returnVal = self->virtual_GetVirtualKeysFlags(); + int* returnVal = (self->virtual_GetVirtualKeysFlags)(); tolua_pushusertype(L, (void*)returnVal, "Primitive"); return 1; } @@ -102776,7 +105036,7 @@ static int tolua_function_CWarp_virtual_OnKeyDown(lua_State* L) { CWarp* self = (CWarp*)tolua_tousertype_dynamic(L, 1, 0, "EEex_CWarp"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_OnKeyDown'", NULL); - self->virtual_OnKeyDown(tolua_function_tointeger(L, 2, "virtual_OnKeyDown")); + (self->virtual_OnKeyDown)(tolua_function_tointeger(L, 2, "virtual_OnKeyDown")); return 0; } @@ -102784,7 +105044,7 @@ static int tolua_function_CWarp_virtual_OnKeyUp(lua_State* L) { CWarp* self = (CWarp*)tolua_tousertype_dynamic(L, 1, 0, "EEex_CWarp"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_OnKeyUp'", NULL); - self->virtual_OnKeyUp(tolua_function_tointeger(L, 2, "virtual_OnKeyUp")); + (self->virtual_OnKeyUp)(tolua_function_tointeger(L, 2, "virtual_OnKeyUp")); return 0; } @@ -102792,7 +105052,7 @@ static int tolua_function_CWarp_virtual_OnTextInput(lua_State* L) { CWarp* self = (CWarp*)tolua_tousertype_dynamic(L, 1, 0, "EEex_CWarp"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_OnTextInput'", NULL); - self->virtual_OnTextInput(*(const char**)tolua_tousertype_dynamic(L, 2, 0, "ConstCharString")); + (self->virtual_OnTextInput)(*(const char**)tolua_tousertype_dynamic(L, 2, 0, "ConstCharString")); return 0; } @@ -102800,7 +105060,7 @@ static int tolua_function_CWarp_virtual_WindowResized(lua_State* L) { CWarp* self = (CWarp*)tolua_tousertype_dynamic(L, 1, 0, "EEex_CWarp"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_WindowResized'", NULL); - self->virtual_WindowResized(tolua_function_tointeger(L, 2, "virtual_WindowResized"), tolua_function_tointeger(L, 3, "virtual_WindowResized")); + (self->virtual_WindowResized)(tolua_function_tointeger(L, 2, "virtual_WindowResized"), tolua_function_tointeger(L, 3, "virtual_WindowResized")); return 0; } @@ -102808,7 +105068,7 @@ static int tolua_function_CWarp_virtual_OnLowMemory(lua_State* L) { CWarp* self = (CWarp*)tolua_tousertype_dynamic(L, 1, 0, "EEex_CWarp"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_OnLowMemory'", NULL); - self->virtual_OnLowMemory(); + (self->virtual_OnLowMemory)(); return 0; } @@ -102816,7 +105076,7 @@ static int tolua_function_CWarp_virtual_EnableEditKeys(lua_State* L) { CWarp* self = (CWarp*)tolua_tousertype_dynamic(L, 1, 0, "EEex_CWarp"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_EnableEditKeys'", NULL); - self->virtual_EnableEditKeys(tolua_function_tointeger<__int16>(L, 2, "virtual_EnableEditKeys")); + (self->virtual_EnableEditKeys)(tolua_function_tointeger<__int16>(L, 2, "virtual_EnableEditKeys")); return 0; } @@ -102824,7 +105084,7 @@ static int tolua_function_CWarp_virtual_DisableEditKeys(lua_State* L) { CWarp* self = (CWarp*)tolua_tousertype_dynamic(L, 1, 0, "EEex_CWarp"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_DisableEditKeys'", NULL); - self->virtual_DisableEditKeys(); + (self->virtual_DisableEditKeys)(); return 0; } @@ -102832,7 +105092,7 @@ static int tolua_function_CWarp_virtual_ResetControls(lua_State* L) { CWarp* self = (CWarp*)tolua_tousertype_dynamic(L, 1, 0, "EEex_CWarp"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_ResetControls'", NULL); - self->virtual_ResetControls(); + (self->virtual_ResetControls)(); return 0; } @@ -102840,7 +105100,7 @@ static int tolua_function_CWarp_virtual_TimerAsynchronousUpdate(lua_State* L) { CWarp* self = (CWarp*)tolua_tousertype_dynamic(L, 1, 0, "EEex_CWarp"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_TimerAsynchronousUpdate'", NULL); - self->virtual_TimerAsynchronousUpdate(); + (self->virtual_TimerAsynchronousUpdate)(); return 0; } @@ -102848,7 +105108,7 @@ static int tolua_function_CWarp_virtual_TimerSynchronousUpdate(lua_State* L) { CWarp* self = (CWarp*)tolua_tousertype_dynamic(L, 1, 0, "EEex_CWarp"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_TimerSynchronousUpdate'", NULL); - self->virtual_TimerSynchronousUpdate(); + (self->virtual_TimerSynchronousUpdate)(); return 0; } @@ -102856,7 +105116,7 @@ static int tolua_function_CWarp_virtual_TimerUpdate(lua_State* L) { CWarp* self = (CWarp*)tolua_tousertype_dynamic(L, 1, 0, "EEex_CWarp"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_TimerUpdate'", NULL); - self->virtual_TimerUpdate(); + (self->virtual_TimerUpdate)(); return 0; } @@ -102864,7 +105124,7 @@ static int tolua_function_CWarp_virtual_RenderUI(lua_State* L) { CWarp* self = (CWarp*)tolua_tousertype_dynamic(L, 1, 0, "EEex_CWarp"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_RenderUI'", NULL); - self->virtual_RenderUI(); + (self->virtual_RenderUI)(); return 0; } @@ -104958,7 +107218,7 @@ static int tolua_function_CObList_RemoveHead(lua_State* L) { CObList* self = (CObList*)tolua_tousertype_dynamic(L, 1, 0, "CObList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveHead'", NULL); - CObject* returnVal = self->RemoveHead(); + CObject* returnVal = (self->RemoveHead)(); tolua_pushusertype(L, (void*)returnVal, "CObject"); return 1; } @@ -104967,7 +107227,7 @@ static int tolua_function_CObList_RemoveAt(lua_State* L) { CObList* self = (CObList*)tolua_tousertype_dynamic(L, 1, 0, "CObList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveAt'", NULL); - self->RemoveAt((CObList::CNode*)tolua_tousertype_dynamic(L, 2, 0, "CObList::CNode")); + (self->RemoveAt)((CObList::CNode*)tolua_tousertype_dynamic(L, 2, 0, "CObList::CNode")); return 0; } @@ -104975,7 +107235,7 @@ static int tolua_function_CObList_Destruct(lua_State* L) { CObList* self = (CObList*)tolua_tousertype_dynamic(L, 1, 0, "CObList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Destruct'", NULL); - self->Destruct(); + (self->Destruct)(); return 0; } @@ -104983,7 +107243,7 @@ static int tolua_function_CObList_AddTail(lua_State* L) { CObList* self = (CObList*)tolua_tousertype_dynamic(L, 1, 0, "CObList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'AddTail'", NULL); - CObList::CNode* returnVal = self->AddTail((void*)tolua_tousertype_dynamic(L, 2, 0, "UnmappedUserType")); + CObList::CNode* returnVal = (self->AddTail)((void*)tolua_tousertype_dynamic(L, 2, 0, "UnmappedUserType")); tolua_pushusertype(L, (void*)returnVal, "CObList::CNode"); return 1; } @@ -104992,7 +107252,7 @@ static int tolua_function_CObList_Find(lua_State* L) { CObList* self = (CObList*)tolua_tousertype_dynamic(L, 1, 0, "CObList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Find'", NULL); - CObList::CNode* returnVal = self->Find((void*)tolua_tousertype_dynamic(L, 2, 0, "UnmappedUserType"), (CObList::CNode*)tolua_tousertype_dynamic(L, 3, 0, "CObList::CNode")); + CObList::CNode* returnVal = (self->Find)((void*)tolua_tousertype_dynamic(L, 2, 0, "UnmappedUserType"), (CObList::CNode*)tolua_tousertype_dynamic(L, 3, 0, "CObList::CNode")); tolua_pushusertype(L, (void*)returnVal, "CObList::CNode"); return 1; } @@ -105001,7 +107261,7 @@ static int tolua_function_CObList_RemoveAll(lua_State* L) { CObList* self = (CObList*)tolua_tousertype_dynamic(L, 1, 0, "CObList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveAll'", NULL); - self->RemoveAll(); + (self->RemoveAll)(); return 0; } @@ -105129,7 +107389,7 @@ static int tolua_function_CMessage_virtual_Destruct(lua_State* L) { CMessage* self = (CMessage*)tolua_tousertype_dynamic(L, 1, 0, "CMessage"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_Destruct'", NULL); - self->virtual_Destruct(); + (self->virtual_Destruct)(); return 0; } @@ -105137,7 +107397,7 @@ static int tolua_function_CMessage_virtual_GetCommType(lua_State* L) { CMessage* self = (CMessage*)tolua_tousertype_dynamic(L, 1, 0, "CMessage"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_GetCommType'", NULL); - __int16 returnVal = self->virtual_GetCommType(); + __int16 returnVal = (self->virtual_GetCommType)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -105146,7 +107406,7 @@ static int tolua_function_CMessage_virtual_GetMsgType(lua_State* L) { CMessage* self = (CMessage*)tolua_tousertype_dynamic(L, 1, 0, "CMessage"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_GetMsgType'", NULL); - unsigned __int8 returnVal = self->virtual_GetMsgType(); + unsigned __int8 returnVal = (self->virtual_GetMsgType)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -105155,7 +107415,7 @@ static int tolua_function_CMessage_virtual_GetMsgSubType(lua_State* L) { CMessage* self = (CMessage*)tolua_tousertype_dynamic(L, 1, 0, "CMessage"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_GetMsgSubType'", NULL); - unsigned __int8 returnVal = self->virtual_GetMsgSubType(); + unsigned __int8 returnVal = (self->virtual_GetMsgSubType)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -105164,7 +107424,7 @@ static int tolua_function_CMessage_virtual_MarshalMessage(lua_State* L) { CMessage* self = (CMessage*)tolua_tousertype_dynamic(L, 1, 0, "CMessage"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_MarshalMessage'", NULL); - self->virtual_MarshalMessage((unsigned __int8**)tolua_tousertype_dynamic(L, 2, 0, "Pointer"), (unsigned int*)tolua_tousertype_dynamic(L, 3, 0, "Primitive")); + (self->virtual_MarshalMessage)((unsigned __int8**)tolua_tousertype_dynamic(L, 2, 0, "Pointer"), (unsigned int*)tolua_tousertype_dynamic(L, 3, 0, "Primitive")); return 0; } @@ -105172,7 +107432,7 @@ static int tolua_function_CMessage_virtual_UnmarshalMessage(lua_State* L) { CMessage* self = (CMessage*)tolua_tousertype_dynamic(L, 1, 0, "CMessage"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_UnmarshalMessage'", NULL); - int returnVal = self->virtual_UnmarshalMessage((unsigned __int8*)tolua_tousertype_dynamic(L, 2, 0, "Primitive<__int8>"), tolua_function_tointeger(L, 3, "virtual_UnmarshalMessage")); + int returnVal = (self->virtual_UnmarshalMessage)((unsigned __int8*)tolua_tousertype_dynamic(L, 2, 0, "Primitive<__int8>"), tolua_function_tointeger(L, 3, "virtual_UnmarshalMessage")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -105181,7 +107441,7 @@ static int tolua_function_CMessage_virtual_Run(lua_State* L) { CMessage* self = (CMessage*)tolua_tousertype_dynamic(L, 1, 0, "CMessage"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_Run'", NULL); - self->virtual_Run(); + (self->virtual_Run)(); return 0; } @@ -109115,7 +111375,7 @@ static int tolua_function_CMemINIValue_virtual_Destruct(lua_State* L) { CMemINIValue* self = (CMemINIValue*)tolua_tousertype_dynamic(L, 1, 0, "CMemINIValue"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_Destruct'", NULL); - self->virtual_Destruct(); + (self->virtual_Destruct)(); return 0; } @@ -109357,7 +111617,7 @@ static int tolua_function_CFile_virtual_GetPosition(lua_State* L) { CFile* self = (CFile*)tolua_tousertype_dynamic(L, 1, 0, "CFile"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_GetPosition'", NULL); - unsigned int returnVal = self->virtual_GetPosition(); + unsigned int returnVal = (self->virtual_GetPosition)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -109366,7 +111626,7 @@ static int tolua_function_CFile_virtual_GetFileName(lua_State* L) { CFile* self = (CFile*)tolua_tousertype_dynamic(L, 1, 0, "CFile"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_GetFileName'", NULL); - CString* returnVal = self->virtual_GetFileName(); + CString* returnVal = (self->virtual_GetFileName)(); tolua_pushusertype(L, (void*)returnVal, "CString"); return 1; } @@ -109375,7 +111635,7 @@ static int tolua_function_CFile_virtual_GetFileTitle(lua_State* L) { CFile* self = (CFile*)tolua_tousertype_dynamic(L, 1, 0, "CFile"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_GetFileTitle'", NULL); - CString* returnVal = self->virtual_GetFileTitle(); + CString* returnVal = (self->virtual_GetFileTitle)(); tolua_pushusertype(L, (void*)returnVal, "CString"); return 1; } @@ -109384,7 +111644,7 @@ static int tolua_function_CFile_virtual_GetFilePath(lua_State* L) { CFile* self = (CFile*)tolua_tousertype_dynamic(L, 1, 0, "CFile"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_GetFilePath'", NULL); - CString* returnVal = self->virtual_GetFilePath(); + CString* returnVal = (self->virtual_GetFilePath)(); tolua_pushusertype(L, (void*)returnVal, "CString"); return 1; } @@ -109393,7 +111653,7 @@ static int tolua_function_CFile_virtual_SetFilePath(lua_State* L) { CFile* self = (CFile*)tolua_tousertype_dynamic(L, 1, 0, "CFile"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_SetFilePath'", NULL); - self->virtual_SetFilePath(*(const char**)tolua_tousertype_dynamic(L, 2, 0, "ConstCharString")); + (self->virtual_SetFilePath)(*(const char**)tolua_tousertype_dynamic(L, 2, 0, "ConstCharString")); return 0; } @@ -109401,7 +111661,7 @@ static int tolua_function_CFile_virtual_Open(lua_State* L) { CFile* self = (CFile*)tolua_tousertype_dynamic(L, 1, 0, "CFile"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_Open'", NULL); - int returnVal = self->virtual_Open(*(const char**)tolua_tousertype_dynamic(L, 2, 0, "ConstCharString"), tolua_function_tointeger(L, 3, "virtual_Open"), (CFileException*)tolua_tousertype_dynamic(L, 4, 0, "CFileException")); + int returnVal = (self->virtual_Open)(*(const char**)tolua_tousertype_dynamic(L, 2, 0, "ConstCharString"), tolua_function_tointeger(L, 3, "virtual_Open"), (CFileException*)tolua_tousertype_dynamic(L, 4, 0, "CFileException")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -109410,7 +111670,7 @@ static int tolua_function_CFile_virtual_Seek(lua_State* L) { CFile* self = (CFile*)tolua_tousertype_dynamic(L, 1, 0, "CFile"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_Seek'", NULL); - int returnVal = self->virtual_Seek(tolua_function_tointeger(L, 2, "virtual_Seek"), tolua_function_tointeger(L, 3, "virtual_Seek")); + int returnVal = (self->virtual_Seek)(tolua_function_tointeger(L, 2, "virtual_Seek"), tolua_function_tointeger(L, 3, "virtual_Seek")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -109419,7 +111679,7 @@ static int tolua_function_CFile_virtual_SetLength(lua_State* L) { CFile* self = (CFile*)tolua_tousertype_dynamic(L, 1, 0, "CFile"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_SetLength'", NULL); - self->virtual_SetLength(tolua_function_tointeger(L, 2, "virtual_SetLength")); + (self->virtual_SetLength)(tolua_function_tointeger(L, 2, "virtual_SetLength")); return 0; } @@ -109427,7 +111687,7 @@ static int tolua_function_CFile_virtual_GetLength(lua_State* L) { CFile* self = (CFile*)tolua_tousertype_dynamic(L, 1, 0, "CFile"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_GetLength'", NULL); - unsigned int returnVal = self->virtual_GetLength(); + unsigned int returnVal = (self->virtual_GetLength)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -109436,7 +111696,7 @@ static int tolua_function_CFile_virtual_Read(lua_State* L) { CFile* self = (CFile*)tolua_tousertype_dynamic(L, 1, 0, "CFile"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_Read'", NULL); - unsigned int returnVal = self->virtual_Read((void*)tolua_tousertype_dynamic(L, 2, 0, "UnmappedUserType"), tolua_function_tointeger(L, 3, "virtual_Read")); + unsigned int returnVal = (self->virtual_Read)((void*)tolua_tousertype_dynamic(L, 2, 0, "UnmappedUserType"), tolua_function_tointeger(L, 3, "virtual_Read")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -109445,7 +111705,7 @@ static int tolua_function_CFile_virtual_Write(lua_State* L) { CFile* self = (CFile*)tolua_tousertype_dynamic(L, 1, 0, "CFile"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_Write'", NULL); - unsigned int returnVal = self->virtual_Write((const void*)tolua_tousertype_dynamic(L, 2, 0, "UnmappedUserType"), tolua_function_tointeger(L, 3, "virtual_Write")); + unsigned int returnVal = (self->virtual_Write)((const void*)tolua_tousertype_dynamic(L, 2, 0, "UnmappedUserType"), tolua_function_tointeger(L, 3, "virtual_Write")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -109454,7 +111714,7 @@ static int tolua_function_CFile_virtual_Abort(lua_State* L) { CFile* self = (CFile*)tolua_tousertype_dynamic(L, 1, 0, "CFile"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_Abort'", NULL); - self->virtual_Abort(); + (self->virtual_Abort)(); return 0; } @@ -109462,7 +111722,7 @@ static int tolua_function_CFile_virtual_Flush(lua_State* L) { CFile* self = (CFile*)tolua_tousertype_dynamic(L, 1, 0, "CFile"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_Flush'", NULL); - self->virtual_Flush(); + (self->virtual_Flush)(); return 0; } @@ -109470,7 +111730,7 @@ static int tolua_function_CFile_virtual_Close(lua_State* L) { CFile* self = (CFile*)tolua_tousertype_dynamic(L, 1, 0, "CFile"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_Close'", NULL); - self->virtual_Close(); + (self->virtual_Close)(); return 0; } @@ -109478,7 +111738,7 @@ static int tolua_function_CFile_virtual_GetBufferPtr(lua_State* L) { CFile* self = (CFile*)tolua_tousertype_dynamic(L, 1, 0, "CFile"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_GetBufferPtr'", NULL); - unsigned int returnVal = self->virtual_GetBufferPtr(tolua_function_tointeger(L, 2, "virtual_GetBufferPtr"), tolua_function_tointeger(L, 3, "virtual_GetBufferPtr"), (void**)tolua_tousertype_dynamic(L, 4, 0, "VoidPointer"), (void**)tolua_tousertype_dynamic(L, 5, 0, "VoidPointer")); + unsigned int returnVal = (self->virtual_GetBufferPtr)(tolua_function_tointeger(L, 2, "virtual_GetBufferPtr"), tolua_function_tointeger(L, 3, "virtual_GetBufferPtr"), (void**)tolua_tousertype_dynamic(L, 4, 0, "VoidPointer"), (void**)tolua_tousertype_dynamic(L, 5, 0, "VoidPointer")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -109757,7 +112017,7 @@ static int tolua_function_CContingencyList_ProcessTrigger(lua_State* L) { CContingencyList* self = (CContingencyList*)tolua_tousertype_dynamic(L, 1, 0, "CContingencyList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'ProcessTrigger'", NULL); - self->ProcessTrigger((CGameSprite*)tolua_tousertype_dynamic(L, 2, 0, "CGameSprite"), (CAITrigger*)tolua_tousertype_dynamic(L, 3, 0, "CAITrigger")); + (self->ProcessTrigger)((CGameSprite*)tolua_tousertype_dynamic(L, 2, 0, "CGameSprite"), (CAITrigger*)tolua_tousertype_dynamic(L, 3, 0, "CAITrigger")); return 0; } @@ -109765,7 +112025,7 @@ static int tolua_function_CContingencyList_Process(lua_State* L) { CContingencyList* self = (CContingencyList*)tolua_tousertype_dynamic(L, 1, 0, "CContingencyList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Process'", NULL); - self->Process((CGameSprite*)tolua_tousertype_dynamic(L, 2, 0, "CGameSprite")); + (self->Process)((CGameSprite*)tolua_tousertype_dynamic(L, 2, 0, "CGameSprite")); return 0; } @@ -109821,7 +112081,7 @@ static int tolua_function_CCallbackBase_virtual_Run(lua_State* L) { CCallbackBase* self = (CCallbackBase*)tolua_tousertype_dynamic(L, 1, 0, "CCallbackBase"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_Run'", NULL); - self->virtual_Run((void*)tolua_tousertype_dynamic(L, 2, 0, "UnmappedUserType"), tolua_function_toboolean(L, 3, "virtual_Run"), tolua_function_tointeger(L, 4, "virtual_Run")); + (self->virtual_Run)((void*)tolua_tousertype_dynamic(L, 2, 0, "UnmappedUserType"), tolua_function_toboolean(L, 3, "virtual_Run"), tolua_function_tointeger(L, 4, "virtual_Run")); return 0; } @@ -109829,7 +112089,7 @@ static int tolua_function_CCallbackBase_virtual_Run_2(lua_State* L) { CCallbackBase* self = (CCallbackBase*)tolua_tousertype_dynamic(L, 1, 0, "CCallbackBase"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_Run_2'", NULL); - self->virtual_Run_2((void*)tolua_tousertype_dynamic(L, 2, 0, "UnmappedUserType")); + (self->virtual_Run_2)((void*)tolua_tousertype_dynamic(L, 2, 0, "UnmappedUserType")); return 0; } @@ -109837,7 +112097,7 @@ static int tolua_function_CCallbackBase_virtual_GetCallbackSizeBytes(lua_State* { CCallbackBase* self = (CCallbackBase*)tolua_tousertype_dynamic(L, 1, 0, "CCallbackBase"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_GetCallbackSizeBytes'", NULL); - int returnVal = self->virtual_GetCallbackSizeBytes(); + int returnVal = (self->virtual_GetCallbackSizeBytes)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -109948,7 +112208,7 @@ static int tolua_function_CCallResult_CSteam_CreateItemResult_t__m_Func(lua_Stat { CCallResult* self = (CCallResult*)tolua_tousertype_dynamic(L, 1, 0, "CCallResult"); if (!self) tolua_error(L, "invalid 'self' in calling function 'm_Func'", NULL); - self->m_Func((CSteam*)tolua_tousertype_dynamic(L, 2, 0, "CSteam"), (CreateItemResult_t*)tolua_tousertype_dynamic(L, 3, 0, "CreateItemResult_t"), tolua_function_toboolean(L, 4, "m_Func")); + (self->m_Func)((CSteam*)tolua_tousertype_dynamic(L, 2, 0, "CSteam"), (CreateItemResult_t*)tolua_tousertype_dynamic(L, 3, 0, "CreateItemResult_t"), tolua_function_toboolean(L, 4, "m_Func")); return 0; } @@ -110004,7 +112264,7 @@ static int tolua_function_CCallResult_CSteam_SteamUGCQueryCompleted_t__m_Func(lu { CCallResult* self = (CCallResult*)tolua_tousertype_dynamic(L, 1, 0, "CCallResult"); if (!self) tolua_error(L, "invalid 'self' in calling function 'm_Func'", NULL); - self->m_Func((CSteam*)tolua_tousertype_dynamic(L, 2, 0, "CSteam"), (SteamUGCQueryCompleted_t*)tolua_tousertype_dynamic(L, 3, 0, "SteamUGCQueryCompleted_t"), tolua_function_toboolean(L, 4, "m_Func")); + (self->m_Func)((CSteam*)tolua_tousertype_dynamic(L, 2, 0, "CSteam"), (SteamUGCQueryCompleted_t*)tolua_tousertype_dynamic(L, 3, 0, "SteamUGCQueryCompleted_t"), tolua_function_toboolean(L, 4, "m_Func")); return 0; } @@ -110060,7 +112320,7 @@ static int tolua_function_CCallResult_CSteam_SubmitItemUpdateResult_t__m_Func(lu { CCallResult* self = (CCallResult*)tolua_tousertype_dynamic(L, 1, 0, "CCallResult"); if (!self) tolua_error(L, "invalid 'self' in calling function 'm_Func'", NULL); - self->m_Func((CSteam*)tolua_tousertype_dynamic(L, 2, 0, "CSteam"), (SubmitItemUpdateResult_t*)tolua_tousertype_dynamic(L, 3, 0, "SubmitItemUpdateResult_t"), tolua_function_toboolean(L, 4, "m_Func")); + (self->m_Func)((CSteam*)tolua_tousertype_dynamic(L, 2, 0, "CSteam"), (SubmitItemUpdateResult_t*)tolua_tousertype_dynamic(L, 3, 0, "SubmitItemUpdateResult_t"), tolua_function_toboolean(L, 4, "m_Func")); return 0; } @@ -110116,7 +112376,7 @@ static int tolua_function_CCallResult_CSteam_SteamUGCRequestUGCDetailsResult_t__ { CCallResult* self = (CCallResult*)tolua_tousertype_dynamic(L, 1, 0, "CCallResult"); if (!self) tolua_error(L, "invalid 'self' in calling function 'm_Func'", NULL); - self->m_Func((CSteam*)tolua_tousertype_dynamic(L, 2, 0, "CSteam"), (SteamUGCRequestUGCDetailsResult_t*)tolua_tousertype_dynamic(L, 3, 0, "SteamUGCRequestUGCDetailsResult_t"), tolua_function_toboolean(L, 4, "m_Func")); + (self->m_Func)((CSteam*)tolua_tousertype_dynamic(L, 2, 0, "CSteam"), (SteamUGCRequestUGCDetailsResult_t*)tolua_tousertype_dynamic(L, 3, 0, "SteamUGCRequestUGCDetailsResult_t"), tolua_function_toboolean(L, 4, "m_Func")); return 0; } @@ -110172,7 +112432,7 @@ static int tolua_function_CBaldurEngine_virtual_GetSelectedCharacter(lua_State* { CBaldurEngine* self = (CBaldurEngine*)tolua_tousertype_dynamic(L, 1, 0, "EEex_CBaldurEngine"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_GetSelectedCharacter'", NULL); - int returnVal = self->virtual_GetSelectedCharacter(tolua_function_tointeger(L, 2, "virtual_GetSelectedCharacter")); + int returnVal = (self->virtual_GetSelectedCharacter)(tolua_function_tointeger(L, 2, "virtual_GetSelectedCharacter")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -110181,7 +112441,7 @@ static int tolua_function_CBaldurEngine_virtual_GetPickedCharacter(lua_State* L) { CBaldurEngine* self = (CBaldurEngine*)tolua_tousertype_dynamic(L, 1, 0, "EEex_CBaldurEngine"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_GetPickedCharacter'", NULL); - int returnVal = self->virtual_GetPickedCharacter(); + int returnVal = (self->virtual_GetPickedCharacter)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -110190,7 +112450,7 @@ static int tolua_function_CBaldurEngine_virtual_SetSelectedCharacter(lua_State* { CBaldurEngine* self = (CBaldurEngine*)tolua_tousertype_dynamic(L, 1, 0, "EEex_CBaldurEngine"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_SetSelectedCharacter'", NULL); - self->virtual_SetSelectedCharacter(tolua_function_tointeger(L, 2, "virtual_SetSelectedCharacter")); + (self->virtual_SetSelectedCharacter)(tolua_function_tointeger(L, 2, "virtual_SetSelectedCharacter")); return 0; } @@ -110198,7 +112458,7 @@ static int tolua_function_CBaldurEngine_virtual_SetPickedCharacter(lua_State* L) { CBaldurEngine* self = (CBaldurEngine*)tolua_tousertype_dynamic(L, 1, 0, "EEex_CBaldurEngine"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_SetPickedCharacter'", NULL); - self->virtual_SetPickedCharacter(tolua_function_tointeger(L, 2, "virtual_SetPickedCharacter")); + (self->virtual_SetPickedCharacter)(tolua_function_tointeger(L, 2, "virtual_SetPickedCharacter")); return 0; } @@ -110206,7 +112466,7 @@ static int tolua_function_CBaldurEngine_virtual_OnPortraitLClick(lua_State* L) { CBaldurEngine* self = (CBaldurEngine*)tolua_tousertype_dynamic(L, 1, 0, "EEex_CBaldurEngine"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_OnPortraitLClick'", NULL); - self->virtual_OnPortraitLClick(tolua_function_tointeger(L, 2, "virtual_OnPortraitLClick")); + (self->virtual_OnPortraitLClick)(tolua_function_tointeger(L, 2, "virtual_OnPortraitLClick")); return 0; } @@ -110214,7 +112474,7 @@ static int tolua_function_CBaldurEngine_virtual_OnPortraitLDblClick(lua_State* L { CBaldurEngine* self = (CBaldurEngine*)tolua_tousertype_dynamic(L, 1, 0, "EEex_CBaldurEngine"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_OnPortraitLDblClick'", NULL); - self->virtual_OnPortraitLDblClick(tolua_function_tointeger(L, 2, "virtual_OnPortraitLDblClick")); + (self->virtual_OnPortraitLDblClick)(tolua_function_tointeger(L, 2, "virtual_OnPortraitLDblClick")); return 0; } @@ -110222,7 +112482,7 @@ static int tolua_function_CBaldurEngine_virtual_UpdateContainerStatus(lua_State* { CBaldurEngine* self = (CBaldurEngine*)tolua_tousertype_dynamic(L, 1, 0, "EEex_CBaldurEngine"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_UpdateContainerStatus'", NULL); - self->virtual_UpdateContainerStatus(tolua_function_tointeger(L, 2, "virtual_UpdateContainerStatus"), tolua_function_tointeger<__int16>(L, 3, "virtual_UpdateContainerStatus")); + (self->virtual_UpdateContainerStatus)(tolua_function_tointeger(L, 2, "virtual_UpdateContainerStatus"), tolua_function_tointeger<__int16>(L, 3, "virtual_UpdateContainerStatus")); return 0; } @@ -110230,7 +112490,7 @@ static int tolua_function_CBaldurEngine_virtual_UpdatePersonalItemStatus(lua_Sta { CBaldurEngine* self = (CBaldurEngine*)tolua_tousertype_dynamic(L, 1, 0, "EEex_CBaldurEngine"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_UpdatePersonalItemStatus'", NULL); - self->virtual_UpdatePersonalItemStatus(tolua_function_tointeger(L, 2, "virtual_UpdatePersonalItemStatus")); + (self->virtual_UpdatePersonalItemStatus)(tolua_function_tointeger(L, 2, "virtual_UpdatePersonalItemStatus")); return 0; } @@ -110238,7 +112498,7 @@ static int tolua_function_CBaldurEngine_virtual_OnRestButtonClick(lua_State* L) { CBaldurEngine* self = (CBaldurEngine*)tolua_tousertype_dynamic(L, 1, 0, "EEex_CBaldurEngine"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_OnRestButtonClick'", NULL); - self->virtual_OnRestButtonClick(); + (self->virtual_OnRestButtonClick)(); return 0; } @@ -110246,7 +112506,7 @@ static int tolua_function_CBaldurEngine_virtual_UpdateGroundItems(lua_State* L) { CBaldurEngine* self = (CBaldurEngine*)tolua_tousertype_dynamic(L, 1, 0, "EEex_CBaldurEngine"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_UpdateGroundItems'", NULL); - self->virtual_UpdateGroundItems(); + (self->virtual_UpdateGroundItems)(); return 0; } @@ -110254,7 +112514,7 @@ static int tolua_function_CBaldurEngine_virtual_UpdateCursorShape(lua_State* L) { CBaldurEngine* self = (CBaldurEngine*)tolua_tousertype_dynamic(L, 1, 0, "EEex_CBaldurEngine"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_UpdateCursorShape'", NULL); - self->virtual_UpdateCursorShape(tolua_function_tointeger(L, 2, "virtual_UpdateCursorShape")); + (self->virtual_UpdateCursorShape)(tolua_function_tointeger(L, 2, "virtual_UpdateCursorShape")); return 0; } @@ -110262,7 +112522,7 @@ static int tolua_function_CBaldurEngine_virtual_CheckEnablePortraits(lua_State* { CBaldurEngine* self = (CBaldurEngine*)tolua_tousertype_dynamic(L, 1, 0, "EEex_CBaldurEngine"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_CheckEnablePortraits'", NULL); - self->virtual_CheckEnablePortraits(tolua_function_tointeger(L, 2, "virtual_CheckEnablePortraits")); + (self->virtual_CheckEnablePortraits)(tolua_function_tointeger(L, 2, "virtual_CheckEnablePortraits")); return 0; } @@ -110270,7 +112530,7 @@ static int tolua_function_CBaldurEngine_virtual_CheckEnableLeftPanel(lua_State* { CBaldurEngine* self = (CBaldurEngine*)tolua_tousertype_dynamic(L, 1, 0, "EEex_CBaldurEngine"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_CheckEnableLeftPanel'", NULL); - self->virtual_CheckEnableLeftPanel(); + (self->virtual_CheckEnableLeftPanel)(); return 0; } @@ -110278,7 +112538,7 @@ static int tolua_function_CBaldurEngine_virtual_EnablePortrait(lua_State* L) { CBaldurEngine* self = (CBaldurEngine*)tolua_tousertype_dynamic(L, 1, 0, "EEex_CBaldurEngine"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_EnablePortrait'", NULL); - self->virtual_EnablePortrait(tolua_function_tointeger(L, 2, "virtual_EnablePortrait"), tolua_function_tointeger(L, 3, "virtual_EnablePortrait"), tolua_function_tointeger(L, 4, "virtual_EnablePortrait")); + (self->virtual_EnablePortrait)(tolua_function_tointeger(L, 2, "virtual_EnablePortrait"), tolua_function_tointeger(L, 3, "virtual_EnablePortrait"), tolua_function_tointeger(L, 4, "virtual_EnablePortrait")); return 0; } @@ -110286,7 +112546,7 @@ static int tolua_function_CBaldurEngine_virtual_CancelEngine(lua_State* L) { CBaldurEngine* self = (CBaldurEngine*)tolua_tousertype_dynamic(L, 1, 0, "EEex_CBaldurEngine"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_CancelEngine'", NULL); - self->virtual_CancelEngine(); + (self->virtual_CancelEngine)(); return 0; } @@ -110294,7 +112554,7 @@ static int tolua_function_CBaldurEngine_virtual_UpdateCharacterStatus(lua_State* { CBaldurEngine* self = (CBaldurEngine*)tolua_tousertype_dynamic(L, 1, 0, "EEex_CBaldurEngine"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_UpdateCharacterStatus'", NULL); - self->virtual_UpdateCharacterStatus(tolua_function_tointeger(L, 2, "virtual_UpdateCharacterStatus")); + (self->virtual_UpdateCharacterStatus)(tolua_function_tointeger(L, 2, "virtual_UpdateCharacterStatus")); return 0; } @@ -110302,7 +112562,7 @@ static int tolua_function_CBaldurEngine_virtual_UpdatePartyGoldStatus(lua_State* { CBaldurEngine* self = (CBaldurEngine*)tolua_tousertype_dynamic(L, 1, 0, "EEex_CBaldurEngine"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_UpdatePartyGoldStatus'", NULL); - self->virtual_UpdatePartyGoldStatus(); + (self->virtual_UpdatePartyGoldStatus)(); return 0; } @@ -110310,7 +112570,7 @@ static int tolua_function_CBaldurEngine_virtual_GetChatEditBoxStatus(lua_State* { CBaldurEngine* self = (CBaldurEngine*)tolua_tousertype_dynamic(L, 1, 0, "EEex_CBaldurEngine"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_GetChatEditBoxStatus'", NULL); - self->virtual_GetChatEditBoxStatus((CString*)tolua_tousertype_dynamic(L, 2, 0, "CString"), (int*)tolua_tousertype_dynamic(L, 3, 0, "Primitive")); + (self->virtual_GetChatEditBoxStatus)((CString*)tolua_tousertype_dynamic(L, 2, 0, "CString"), (int*)tolua_tousertype_dynamic(L, 3, 0, "Primitive")); return 0; } @@ -110318,7 +112578,7 @@ static int tolua_function_CBaldurEngine_virtual_SetChatEditBoxStatus(lua_State* { CBaldurEngine* self = (CBaldurEngine*)tolua_tousertype_dynamic(L, 1, 0, "EEex_CBaldurEngine"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_SetChatEditBoxStatus'", NULL); - self->virtual_SetChatEditBoxStatus((const CString*)tolua_tousertype_dynamic(L, 2, 0, "CString"), tolua_function_tointeger(L, 3, "virtual_SetChatEditBoxStatus")); + (self->virtual_SetChatEditBoxStatus)((const CString*)tolua_tousertype_dynamic(L, 2, 0, "CString"), tolua_function_tointeger(L, 3, "virtual_SetChatEditBoxStatus")); return 0; } @@ -110326,7 +112586,7 @@ static int tolua_function_CBaldurEngine_virtual_StopMusic(lua_State* L) { CBaldurEngine* self = (CBaldurEngine*)tolua_tousertype_dynamic(L, 1, 0, "EEex_CBaldurEngine"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_StopMusic'", NULL); - int returnVal = self->virtual_StopMusic(); + int returnVal = (self->virtual_StopMusic)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -110751,7 +113011,7 @@ static int tolua_function_CAIGroup_Override_GroupSetTarget(lua_State* L) { CAIGroup* self = (CAIGroup*)tolua_tousertype_dynamic(L, 1, 0, "CAIGroup"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Override_GroupSetTarget'", NULL); - self->Override_GroupSetTarget(*(CPoint*)tolua_tousertype_dynamic(L, 2, 0, "CPoint"), tolua_function_tointeger(L, 3, "Override_GroupSetTarget"), tolua_function_tointeger(L, 4, "Override_GroupSetTarget"), *(CPoint*)tolua_tousertype_dynamic(L, 5, 0, "CPoint")); + (self->Override_GroupSetTarget)(*(CPoint*)tolua_tousertype_dynamic(L, 2, 0, "CPoint"), tolua_function_tointeger(L, 3, "Override_GroupSetTarget"), tolua_function_tointeger(L, 4, "Override_GroupSetTarget"), *(CPoint*)tolua_tousertype_dynamic(L, 5, 0, "CPoint")); return 0; } @@ -110759,7 +113019,7 @@ static int tolua_function_CAIGroup_FollowLeader(lua_State* L) { CAIGroup* self = (CAIGroup*)tolua_tousertype_dynamic(L, 1, 0, "CAIGroup"); if (!self) tolua_error(L, "invalid 'self' in calling function 'FollowLeader'", NULL); - self->FollowLeader(*(CPoint*)tolua_tousertype_dynamic(L, 2, 0, "CPoint"), tolua_function_tointeger(L, 3, "FollowLeader")); + (self->FollowLeader)(*(CPoint*)tolua_tousertype_dynamic(L, 2, 0, "CPoint"), tolua_function_tointeger(L, 3, "FollowLeader")); return 0; } @@ -110767,7 +113027,7 @@ static int tolua_function_CAIGroup_RemoveFromSearch(lua_State* L) { CAIGroup* self = (CAIGroup*)tolua_tousertype_dynamic(L, 1, 0, "CAIGroup"); if (!self) tolua_error(L, "invalid 'self' in calling function 'RemoveFromSearch'", NULL); - self->RemoveFromSearch((CSearchBitmap*)tolua_tousertype_dynamic(L, 2, 0, "CSearchBitmap")); + (self->RemoveFromSearch)((CSearchBitmap*)tolua_tousertype_dynamic(L, 2, 0, "CSearchBitmap")); return 0; } @@ -110775,7 +113035,7 @@ static int tolua_function_CAIGroup_AddToSearch(lua_State* L) { CAIGroup* self = (CAIGroup*)tolua_tousertype_dynamic(L, 1, 0, "CAIGroup"); if (!self) tolua_error(L, "invalid 'self' in calling function 'AddToSearch'", NULL); - self->AddToSearch((CSearchBitmap*)tolua_tousertype_dynamic(L, 2, 0, "CSearchBitmap")); + (self->AddToSearch)((CSearchBitmap*)tolua_tousertype_dynamic(L, 2, 0, "CSearchBitmap")); return 0; } @@ -110783,7 +113043,7 @@ static int tolua_function_CAIGroup_GetFacings(lua_State* L) { CAIGroup* self = (CAIGroup*)tolua_tousertype_dynamic(L, 1, 0, "CAIGroup"); if (!self) tolua_error(L, "invalid 'self' in calling function 'GetFacings'", NULL); - short* returnVal = self->GetFacings(tolua_function_tointeger(L, 2, "GetFacings"), tolua_function_tointeger(L, 3, "GetFacings")); + short* returnVal = (self->GetFacings)(tolua_function_tointeger(L, 2, "GetFacings"), tolua_function_tointeger(L, 3, "GetFacings")); tolua_pushusertype(L, (void*)returnVal, "Primitive"); return 1; } @@ -110792,7 +113052,7 @@ static int tolua_function_CAIGroup_GetOffsets(lua_State* L) { CAIGroup* self = (CAIGroup*)tolua_tousertype_dynamic(L, 1, 0, "CAIGroup"); if (!self) tolua_error(L, "invalid 'self' in calling function 'GetOffsets'", NULL); - CPoint* returnVal = self->GetOffsets(tolua_function_tointeger(L, 2, "GetOffsets"), tolua_function_tointeger(L, 3, "GetOffsets"), tolua_function_tointeger(L, 4, "GetOffsets")); + CPoint* returnVal = (self->GetOffsets)(tolua_function_tointeger(L, 2, "GetOffsets"), tolua_function_tointeger(L, 3, "GetOffsets"), tolua_function_tointeger(L, 4, "GetOffsets")); tolua_pushusertype(L, (void*)returnVal, "CPoint"); return 1; } @@ -110801,7 +113061,7 @@ static int tolua_function_Array_keyword_124__getReference(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - keyword* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + keyword* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "keyword"); return 1; } @@ -110810,7 +113070,7 @@ static int tolua_function_Array_keyword_124__set(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(keyword*)tolua_tousertype_dynamic(L, 3, 0, "keyword")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(keyword*)tolua_tousertype_dynamic(L, 3, 0, "keyword")); return 0; } @@ -110818,7 +113078,7 @@ static int tolua_function_Array_uiMenu_256__getReference(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - uiMenu* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + uiMenu* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "uiMenu"); return 1; } @@ -110827,7 +113087,7 @@ static int tolua_function_Array_uiMenu_256__set(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(uiMenu*)tolua_tousertype_dynamic(L, 3, 0, "uiMenu")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(uiMenu*)tolua_tousertype_dynamic(L, 3, 0, "uiMenu")); return 0; } @@ -110835,7 +113095,7 @@ static int tolua_function_Array_uiMenu__256__get(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); - uiMenu* returnVal = self->get(tolua_function_tointeger(L, 2, "get")); + uiMenu* returnVal = (self->get)(tolua_function_tointeger(L, 2, "get")); tolua_pushusertype(L, (void*)returnVal, "uiMenu"); return 1; } @@ -110844,7 +113104,7 @@ static int tolua_function_Array_uiMenu__256__getReference(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - uiMenu** returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + uiMenu** returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "Pointer"); return 1; } @@ -110853,7 +113113,7 @@ static int tolua_function_Array_uiMenu__256__set(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), (uiMenu*)tolua_tousertype_dynamic(L, 3, 0, "uiMenu")); + (self->set)(tolua_function_tointeger(L, 2, "set"), (uiMenu*)tolua_tousertype_dynamic(L, 3, 0, "uiMenu")); return 0; } @@ -110861,7 +113121,7 @@ static int tolua_function_Array_letter_t_262144__getReference(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - letter_t* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + letter_t* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "letter_t"); return 1; } @@ -110870,7 +113130,7 @@ static int tolua_function_Array_letter_t_262144__set(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(letter_t*)tolua_tousertype_dynamic(L, 3, 0, "letter_t")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(letter_t*)tolua_tousertype_dynamic(L, 3, 0, "letter_t")); return 0; } @@ -110878,7 +113138,7 @@ static int tolua_function_Array_char_16__get(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); - char returnVal = self->get(tolua_function_tointeger(L, 2, "get")); + char returnVal = (self->get)(tolua_function_tointeger(L, 2, "get")); lua_pushlstring(L, (const char*)&returnVal, 1); return 1; } @@ -110887,7 +113147,7 @@ static int tolua_function_Array_char_16__set(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), tolua_function_tochar(L, 3, "set")); + (self->set)(tolua_function_tointeger(L, 2, "set"), tolua_function_tochar(L, 3, "set")); return 0; } @@ -110895,7 +113155,7 @@ static int tolua_function_Array_slicedRect_6__getReference(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - slicedRect* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + slicedRect* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "slicedRect"); return 1; } @@ -110904,7 +113164,7 @@ static int tolua_function_Array_slicedRect_6__set(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(slicedRect*)tolua_tousertype_dynamic(L, 3, 0, "slicedRect")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(slicedRect*)tolua_tousertype_dynamic(L, 3, 0, "slicedRect")); return 0; } @@ -110912,7 +113172,7 @@ static int tolua_function_Array_unsigned___int8_8__get(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); - unsigned __int8 returnVal = self->get(tolua_function_tointeger(L, 2, "get")); + unsigned __int8 returnVal = (self->get)(tolua_function_tointeger(L, 2, "get")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -110921,7 +113181,7 @@ static int tolua_function_Array_unsigned___int8_8__getReference(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - unsigned __int8* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + unsigned __int8* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "Primitive<__int8>"); return 1; } @@ -110930,7 +113190,7 @@ static int tolua_function_Array_unsigned___int8_8__set(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), tolua_function_tointeger(L, 3, "set")); + (self->set)(tolua_function_tointeger(L, 2, "set"), tolua_function_tointeger(L, 3, "set")); return 0; } @@ -110938,7 +113198,7 @@ static int tolua_function_Array_unsigned___int8_5__get(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); - unsigned __int8 returnVal = self->get(tolua_function_tointeger(L, 2, "get")); + unsigned __int8 returnVal = (self->get)(tolua_function_tointeger(L, 2, "get")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -110947,7 +113207,7 @@ static int tolua_function_Array_unsigned___int8_5__getReference(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - unsigned __int8* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + unsigned __int8* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "Primitive<__int8>"); return 1; } @@ -110956,7 +113216,7 @@ static int tolua_function_Array_unsigned___int8_5__set(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), tolua_function_tointeger(L, 3, "set")); + (self->set)(tolua_function_tointeger(L, 2, "set"), tolua_function_tointeger(L, 3, "set")); return 0; } @@ -110964,7 +113224,7 @@ static int tolua_function_Array_CTypedPtrList_CPtrList_CCreatureFileKnownSpell__ { Array,7>* self = (Array,7>*)tolua_tousertype_dynamic(L, 1, 0, "Array,7>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CTypedPtrList* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CTypedPtrList* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CTypedPtrList"); return 1; } @@ -110973,7 +113233,7 @@ static int tolua_function_Array_CTypedPtrList_CPtrList_CCreatureFileKnownSpell__ { Array,7>* self = (Array,7>*)tolua_tousertype_dynamic(L, 1, 0, "Array,7>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CTypedPtrList*)tolua_tousertype_dynamic(L, 3, 0, "CTypedPtrList")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CTypedPtrList*)tolua_tousertype_dynamic(L, 3, 0, "CTypedPtrList")); return 0; } @@ -110981,7 +113241,7 @@ static int tolua_function_Array_CTypedPtrList_CPtrList_CCreatureFileKnownSpell__ { Array,9>* self = (Array,9>*)tolua_tousertype_dynamic(L, 1, 0, "Array,9>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CTypedPtrList* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CTypedPtrList* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CTypedPtrList"); return 1; } @@ -110990,7 +113250,7 @@ static int tolua_function_Array_CTypedPtrList_CPtrList_CCreatureFileKnownSpell__ { Array,9>* self = (Array,9>*)tolua_tousertype_dynamic(L, 1, 0, "Array,9>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CTypedPtrList*)tolua_tousertype_dynamic(L, 3, 0, "CTypedPtrList")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CTypedPtrList*)tolua_tousertype_dynamic(L, 3, 0, "CTypedPtrList")); return 0; } @@ -110998,7 +113258,7 @@ static int tolua_function_Array_CTypedPtrList_CPtrList_CCreatureFileKnownSpell__ { Array,1>* self = (Array,1>*)tolua_tousertype_dynamic(L, 1, 0, "Array,1>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CTypedPtrList* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CTypedPtrList* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CTypedPtrList"); return 1; } @@ -111007,7 +113267,7 @@ static int tolua_function_Array_CTypedPtrList_CPtrList_CCreatureFileKnownSpell__ { Array,1>* self = (Array,1>*)tolua_tousertype_dynamic(L, 1, 0, "Array,1>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CTypedPtrList*)tolua_tousertype_dynamic(L, 3, 0, "CTypedPtrList")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CTypedPtrList*)tolua_tousertype_dynamic(L, 3, 0, "CTypedPtrList")); return 0; } @@ -111015,7 +113275,7 @@ static int tolua_function_Array_CCreatureFileMemorizedSpellLevel__7__get(lua_Sta { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); - CCreatureFileMemorizedSpellLevel* returnVal = self->get(tolua_function_tointeger(L, 2, "get")); + CCreatureFileMemorizedSpellLevel* returnVal = (self->get)(tolua_function_tointeger(L, 2, "get")); tolua_pushusertype(L, (void*)returnVal, "CCreatureFileMemorizedSpellLevel"); return 1; } @@ -111024,7 +113284,7 @@ static int tolua_function_Array_CCreatureFileMemorizedSpellLevel__7__getReferenc { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CCreatureFileMemorizedSpellLevel** returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CCreatureFileMemorizedSpellLevel** returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "Pointer"); return 1; } @@ -111033,7 +113293,7 @@ static int tolua_function_Array_CCreatureFileMemorizedSpellLevel__7__set(lua_Sta { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), (CCreatureFileMemorizedSpellLevel*)tolua_tousertype_dynamic(L, 3, 0, "CCreatureFileMemorizedSpellLevel")); + (self->set)(tolua_function_tointeger(L, 2, "set"), (CCreatureFileMemorizedSpellLevel*)tolua_tousertype_dynamic(L, 3, 0, "CCreatureFileMemorizedSpellLevel")); return 0; } @@ -111041,7 +113301,7 @@ static int tolua_function_Array_CCreatureFileMemorizedSpellLevel__9__get(lua_Sta { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); - CCreatureFileMemorizedSpellLevel* returnVal = self->get(tolua_function_tointeger(L, 2, "get")); + CCreatureFileMemorizedSpellLevel* returnVal = (self->get)(tolua_function_tointeger(L, 2, "get")); tolua_pushusertype(L, (void*)returnVal, "CCreatureFileMemorizedSpellLevel"); return 1; } @@ -111050,7 +113310,7 @@ static int tolua_function_Array_CCreatureFileMemorizedSpellLevel__9__getReferenc { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CCreatureFileMemorizedSpellLevel** returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CCreatureFileMemorizedSpellLevel** returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "Pointer"); return 1; } @@ -111059,7 +113319,7 @@ static int tolua_function_Array_CCreatureFileMemorizedSpellLevel__9__set(lua_Sta { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), (CCreatureFileMemorizedSpellLevel*)tolua_tousertype_dynamic(L, 3, 0, "CCreatureFileMemorizedSpellLevel")); + (self->set)(tolua_function_tointeger(L, 2, "set"), (CCreatureFileMemorizedSpellLevel*)tolua_tousertype_dynamic(L, 3, 0, "CCreatureFileMemorizedSpellLevel")); return 0; } @@ -111067,7 +113327,7 @@ static int tolua_function_Array_CCreatureFileMemorizedSpellLevel__1__get(lua_Sta { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); - CCreatureFileMemorizedSpellLevel* returnVal = self->get(tolua_function_tointeger(L, 2, "get")); + CCreatureFileMemorizedSpellLevel* returnVal = (self->get)(tolua_function_tointeger(L, 2, "get")); tolua_pushusertype(L, (void*)returnVal, "CCreatureFileMemorizedSpellLevel"); return 1; } @@ -111076,7 +113336,7 @@ static int tolua_function_Array_CCreatureFileMemorizedSpellLevel__1__getReferenc { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CCreatureFileMemorizedSpellLevel** returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CCreatureFileMemorizedSpellLevel** returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "Pointer"); return 1; } @@ -111085,7 +113345,7 @@ static int tolua_function_Array_CCreatureFileMemorizedSpellLevel__1__set(lua_Sta { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), (CCreatureFileMemorizedSpellLevel*)tolua_tousertype_dynamic(L, 3, 0, "CCreatureFileMemorizedSpellLevel")); + (self->set)(tolua_function_tointeger(L, 2, "set"), (CCreatureFileMemorizedSpellLevel*)tolua_tousertype_dynamic(L, 3, 0, "CCreatureFileMemorizedSpellLevel")); return 0; } @@ -111093,7 +113353,7 @@ static int tolua_function_Array_CTypedPtrList_CPtrList_CCreatureFileMemorizedSpe { Array,7>* self = (Array,7>*)tolua_tousertype_dynamic(L, 1, 0, "Array,7>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CTypedPtrList* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CTypedPtrList* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CTypedPtrList"); return 1; } @@ -111102,7 +113362,7 @@ static int tolua_function_Array_CTypedPtrList_CPtrList_CCreatureFileMemorizedSpe { Array,7>* self = (Array,7>*)tolua_tousertype_dynamic(L, 1, 0, "Array,7>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CTypedPtrList*)tolua_tousertype_dynamic(L, 3, 0, "CTypedPtrList")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CTypedPtrList*)tolua_tousertype_dynamic(L, 3, 0, "CTypedPtrList")); return 0; } @@ -111110,7 +113370,7 @@ static int tolua_function_Array_CTypedPtrList_CPtrList_CCreatureFileMemorizedSpe { Array,9>* self = (Array,9>*)tolua_tousertype_dynamic(L, 1, 0, "Array,9>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CTypedPtrList* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CTypedPtrList* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CTypedPtrList"); return 1; } @@ -111119,7 +113379,7 @@ static int tolua_function_Array_CTypedPtrList_CPtrList_CCreatureFileMemorizedSpe { Array,9>* self = (Array,9>*)tolua_tousertype_dynamic(L, 1, 0, "Array,9>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CTypedPtrList*)tolua_tousertype_dynamic(L, 3, 0, "CTypedPtrList")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CTypedPtrList*)tolua_tousertype_dynamic(L, 3, 0, "CTypedPtrList")); return 0; } @@ -111127,7 +113387,7 @@ static int tolua_function_Array_CTypedPtrList_CPtrList_CCreatureFileMemorizedSpe { Array,1>* self = (Array,1>*)tolua_tousertype_dynamic(L, 1, 0, "Array,1>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CTypedPtrList* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CTypedPtrList* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CTypedPtrList"); return 1; } @@ -111136,7 +113396,7 @@ static int tolua_function_Array_CTypedPtrList_CPtrList_CCreatureFileMemorizedSpe { Array,1>* self = (Array,1>*)tolua_tousertype_dynamic(L, 1, 0, "Array,1>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CTypedPtrList*)tolua_tousertype_dynamic(L, 3, 0, "CTypedPtrList")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CTypedPtrList*)tolua_tousertype_dynamic(L, 3, 0, "CTypedPtrList")); return 0; } @@ -111144,7 +113404,7 @@ static int tolua_function_Array_CSound_2__getReference(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CSound* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CSound* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CSound"); return 1; } @@ -111153,7 +113413,7 @@ static int tolua_function_Array_CSound_2__set(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CSound*)tolua_tousertype_dynamic(L, 3, 0, "CSound")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CSound*)tolua_tousertype_dynamic(L, 3, 0, "CSound")); return 0; } @@ -111161,7 +113421,7 @@ static int tolua_function_Array_int_24__get(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); - int returnVal = self->get(tolua_function_tointeger(L, 2, "get")); + int returnVal = (self->get)(tolua_function_tointeger(L, 2, "get")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -111170,7 +113430,7 @@ static int tolua_function_Array_int_24__getReference(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - int* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + int* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "Primitive"); return 1; } @@ -111179,7 +113439,7 @@ static int tolua_function_Array_int_24__set(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), tolua_function_tointeger(L, 3, "set")); + (self->set)(tolua_function_tointeger(L, 2, "set"), tolua_function_tointeger(L, 3, "set")); return 0; } @@ -111187,7 +113447,7 @@ static int tolua_function_Array_unsigned___int8_16__get(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); - unsigned __int8 returnVal = self->get(tolua_function_tointeger(L, 2, "get")); + unsigned __int8 returnVal = (self->get)(tolua_function_tointeger(L, 2, "get")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -111196,7 +113456,7 @@ static int tolua_function_Array_unsigned___int8_16__getReference(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - unsigned __int8* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + unsigned __int8* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "Primitive<__int8>"); return 1; } @@ -111205,7 +113465,7 @@ static int tolua_function_Array_unsigned___int8_16__set(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), tolua_function_tointeger(L, 3, "set")); + (self->set)(tolua_function_tointeger(L, 2, "set"), tolua_function_tointeger(L, 3, "set")); return 0; } @@ -111213,7 +113473,7 @@ static int tolua_function_Array___int16_40__get(lua_State* L) { Array<__int16,40>* self = (Array<__int16,40>*)tolua_tousertype_dynamic(L, 1, 0, "Array<__int16,40>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); - __int16 returnVal = self->get(tolua_function_tointeger(L, 2, "get")); + __int16 returnVal = (self->get)(tolua_function_tointeger(L, 2, "get")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -111222,7 +113482,7 @@ static int tolua_function_Array___int16_40__getReference(lua_State* L) { Array<__int16,40>* self = (Array<__int16,40>*)tolua_tousertype_dynamic(L, 1, 0, "Array<__int16,40>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - __int16* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + __int16* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "Primitive<__int16>"); return 1; } @@ -111231,7 +113491,7 @@ static int tolua_function_Array___int16_40__set(lua_State* L) { Array<__int16,40>* self = (Array<__int16,40>*)tolua_tousertype_dynamic(L, 1, 0, "Array<__int16,40>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), tolua_function_tointeger<__int16>(L, 3, "set")); + (self->set)(tolua_function_tointeger(L, 2, "set"), tolua_function_tointeger<__int16>(L, 3, "set")); return 0; } @@ -111239,7 +113499,7 @@ static int tolua_function_Array_int_3__get(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); - int returnVal = self->get(tolua_function_tointeger(L, 2, "get")); + int returnVal = (self->get)(tolua_function_tointeger(L, 2, "get")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -111248,7 +113508,7 @@ static int tolua_function_Array_int_3__getReference(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - int* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + int* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "Primitive"); return 1; } @@ -111257,7 +113517,7 @@ static int tolua_function_Array_int_3__set(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), tolua_function_tointeger(L, 3, "set")); + (self->set)(tolua_function_tointeger(L, 2, "set"), tolua_function_tointeger(L, 3, "set")); return 0; } @@ -111265,7 +113525,7 @@ static int tolua_function_Array_CCreatureFileMemorizedSpellLevel_9__getReference { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CCreatureFileMemorizedSpellLevel* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CCreatureFileMemorizedSpellLevel* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CCreatureFileMemorizedSpellLevel"); return 1; } @@ -111274,7 +113534,7 @@ static int tolua_function_Array_CCreatureFileMemorizedSpellLevel_9__set(lua_Stat { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CCreatureFileMemorizedSpellLevel*)tolua_tousertype_dynamic(L, 3, 0, "CCreatureFileMemorizedSpellLevel")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CCreatureFileMemorizedSpellLevel*)tolua_tousertype_dynamic(L, 3, 0, "CCreatureFileMemorizedSpellLevel")); return 0; } @@ -111282,7 +113542,7 @@ static int tolua_function_Array_CCreatureFileMemorizedSpellLevel_7__getReference { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CCreatureFileMemorizedSpellLevel* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CCreatureFileMemorizedSpellLevel* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CCreatureFileMemorizedSpellLevel"); return 1; } @@ -111291,7 +113551,7 @@ static int tolua_function_Array_CCreatureFileMemorizedSpellLevel_7__set(lua_Stat { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CCreatureFileMemorizedSpellLevel*)tolua_tousertype_dynamic(L, 3, 0, "CCreatureFileMemorizedSpellLevel")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CCreatureFileMemorizedSpellLevel*)tolua_tousertype_dynamic(L, 3, 0, "CCreatureFileMemorizedSpellLevel")); return 0; } @@ -111299,7 +113559,7 @@ static int tolua_function_Array_unsigned___int8_10__get(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); - unsigned __int8 returnVal = self->get(tolua_function_tointeger(L, 2, "get")); + unsigned __int8 returnVal = (self->get)(tolua_function_tointeger(L, 2, "get")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -111308,7 +113568,7 @@ static int tolua_function_Array_unsigned___int8_10__getReference(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - unsigned __int8* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + unsigned __int8* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "Primitive<__int8>"); return 1; } @@ -111317,7 +113577,7 @@ static int tolua_function_Array_unsigned___int8_10__set(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), tolua_function_tointeger(L, 3, "set")); + (self->set)(tolua_function_tointeger(L, 2, "set"), tolua_function_tointeger(L, 3, "set")); return 0; } @@ -111325,7 +113585,7 @@ static int tolua_function_Array_CInfButtonSettings_12__getReference(lua_State* L { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CInfButtonSettings* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CInfButtonSettings* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CInfButtonSettings"); return 1; } @@ -111334,7 +113594,7 @@ static int tolua_function_Array_CInfButtonSettings_12__set(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CInfButtonSettings*)tolua_tousertype_dynamic(L, 3, 0, "CInfButtonSettings")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CInfButtonSettings*)tolua_tousertype_dynamic(L, 3, 0, "CInfButtonSettings")); return 0; } @@ -111342,7 +113602,7 @@ static int tolua_function_Array_int_12__get(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); - int returnVal = self->get(tolua_function_tointeger(L, 2, "get")); + int returnVal = (self->get)(tolua_function_tointeger(L, 2, "get")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -111351,7 +113611,7 @@ static int tolua_function_Array_int_12__getReference(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - int* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + int* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "Primitive"); return 1; } @@ -111360,7 +113620,7 @@ static int tolua_function_Array_int_12__set(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), tolua_function_tointeger(L, 3, "set")); + (self->set)(tolua_function_tointeger(L, 2, "set"), tolua_function_tointeger(L, 3, "set")); return 0; } @@ -111368,7 +113628,7 @@ static int tolua_function_Array_CGameArea__12__get(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); - CGameArea* returnVal = self->get(tolua_function_tointeger(L, 2, "get")); + CGameArea* returnVal = (self->get)(tolua_function_tointeger(L, 2, "get")); tolua_pushusertype(L, (void*)returnVal, "CGameArea"); return 1; } @@ -111377,7 +113637,7 @@ static int tolua_function_Array_CGameArea__12__getReference(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CGameArea** returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CGameArea** returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "Pointer"); return 1; } @@ -111386,7 +113646,7 @@ static int tolua_function_Array_CGameArea__12__set(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), (CGameArea*)tolua_tousertype_dynamic(L, 3, 0, "CGameArea")); + (self->set)(tolua_function_tointeger(L, 2, "set"), (CGameArea*)tolua_tousertype_dynamic(L, 3, 0, "CGameArea")); return 0; } @@ -111394,7 +113654,7 @@ static int tolua_function_Array_int_6__get(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); - int returnVal = self->get(tolua_function_tointeger(L, 2, "get")); + int returnVal = (self->get)(tolua_function_tointeger(L, 2, "get")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -111403,7 +113663,7 @@ static int tolua_function_Array_int_6__getReference(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - int* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + int* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "Primitive"); return 1; } @@ -111412,7 +113672,7 @@ static int tolua_function_Array_int_6__set(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), tolua_function_tointeger(L, 3, "set")); + (self->set)(tolua_function_tointeger(L, 2, "set"), tolua_function_tointeger(L, 3, "set")); return 0; } @@ -111420,7 +113680,7 @@ static int tolua_function_Array_CTypedPtrList_CPtrList_CResRef___9__getReference { Array,9>* self = (Array,9>*)tolua_tousertype_dynamic(L, 1, 0, "Array,9>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CTypedPtrList* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CTypedPtrList* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CTypedPtrList"); return 1; } @@ -111429,7 +113689,7 @@ static int tolua_function_Array_CTypedPtrList_CPtrList_CResRef___9__set(lua_Stat { Array,9>* self = (Array,9>*)tolua_tousertype_dynamic(L, 1, 0, "Array,9>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CTypedPtrList*)tolua_tousertype_dynamic(L, 3, 0, "CTypedPtrList")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CTypedPtrList*)tolua_tousertype_dynamic(L, 3, 0, "CTypedPtrList")); return 0; } @@ -111437,7 +113697,7 @@ static int tolua_function_Array_Array_CTypedPtrList_CPtrList_CResRef___9__9__get { Array,9>,9>* self = (Array,9>,9>*)tolua_tousertype_dynamic(L, 1, 0, "Array,9>,9>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - Array,9>* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + Array,9>* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "Array,9>"); return 1; } @@ -111446,7 +113706,7 @@ static int tolua_function_Array_Array_CTypedPtrList_CPtrList_CResRef___9__9__set { Array,9>,9>* self = (Array,9>,9>*)tolua_tousertype_dynamic(L, 1, 0, "Array,9>,9>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(Array,9>*)tolua_tousertype_dynamic(L, 3, 0, "Array,9>")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(Array,9>*)tolua_tousertype_dynamic(L, 3, 0, "Array,9>")); return 0; } @@ -111454,7 +113714,7 @@ static int tolua_function_Array_int_600__get(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); - int returnVal = self->get(tolua_function_tointeger(L, 2, "get")); + int returnVal = (self->get)(tolua_function_tointeger(L, 2, "get")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -111463,7 +113723,7 @@ static int tolua_function_Array_int_600__getReference(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - int* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + int* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "Primitive"); return 1; } @@ -111472,7 +113732,7 @@ static int tolua_function_Array_int_600__set(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), tolua_function_tointeger(L, 3, "set")); + (self->set)(tolua_function_tointeger(L, 2, "set"), tolua_function_tointeger(L, 3, "set")); return 0; } @@ -111480,7 +113740,7 @@ static int tolua_function_Array_CStore__12__get(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); - CStore* returnVal = self->get(tolua_function_tointeger(L, 2, "get")); + CStore* returnVal = (self->get)(tolua_function_tointeger(L, 2, "get")); tolua_pushusertype(L, (void*)returnVal, "CStore"); return 1; } @@ -111489,7 +113749,7 @@ static int tolua_function_Array_CStore__12__getReference(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CStore** returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CStore** returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "Pointer"); return 1; } @@ -111498,7 +113758,7 @@ static int tolua_function_Array_CStore__12__set(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), (CStore*)tolua_tousertype_dynamic(L, 3, 0, "CStore")); + (self->set)(tolua_function_tointeger(L, 2, "set"), (CStore*)tolua_tousertype_dynamic(L, 3, 0, "CStore")); return 0; } @@ -111506,7 +113766,7 @@ static int tolua_function_Array_unsigned___int8_12__get(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); - unsigned __int8 returnVal = self->get(tolua_function_tointeger(L, 2, "get")); + unsigned __int8 returnVal = (self->get)(tolua_function_tointeger(L, 2, "get")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -111515,7 +113775,7 @@ static int tolua_function_Array_unsigned___int8_12__getReference(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - unsigned __int8* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + unsigned __int8* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "Primitive<__int8>"); return 1; } @@ -111524,7 +113784,7 @@ static int tolua_function_Array_unsigned___int8_12__set(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), tolua_function_tointeger(L, 3, "set")); + (self->set)(tolua_function_tointeger(L, 2, "set"), tolua_function_tointeger(L, 3, "set")); return 0; } @@ -111532,7 +113792,7 @@ static int tolua_function_Array_unsigned___int8_7__get(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); - unsigned __int8 returnVal = self->get(tolua_function_tointeger(L, 2, "get")); + unsigned __int8 returnVal = (self->get)(tolua_function_tointeger(L, 2, "get")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -111541,7 +113801,7 @@ static int tolua_function_Array_unsigned___int8_7__getReference(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - unsigned __int8* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + unsigned __int8* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "Primitive<__int8>"); return 1; } @@ -111550,7 +113810,7 @@ static int tolua_function_Array_unsigned___int8_7__set(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), tolua_function_tointeger(L, 3, "set")); + (self->set)(tolua_function_tointeger(L, 2, "set"), tolua_function_tointeger(L, 3, "set")); return 0; } @@ -111558,7 +113818,7 @@ static int tolua_function_Array_CInfTileSet__5__get(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); - CInfTileSet* returnVal = self->get(tolua_function_tointeger(L, 2, "get")); + CInfTileSet* returnVal = (self->get)(tolua_function_tointeger(L, 2, "get")); tolua_pushusertype(L, (void*)returnVal, "CInfTileSet"); return 1; } @@ -111567,7 +113827,7 @@ static int tolua_function_Array_CInfTileSet__5__getReference(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CInfTileSet** returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CInfTileSet** returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "Pointer"); return 1; } @@ -111576,7 +113836,7 @@ static int tolua_function_Array_CInfTileSet__5__set(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), (CInfTileSet*)tolua_tousertype_dynamic(L, 3, 0, "CInfTileSet")); + (self->set)(tolua_function_tointeger(L, 2, "set"), (CInfTileSet*)tolua_tousertype_dynamic(L, 3, 0, "CInfTileSet")); return 0; } @@ -111584,7 +113844,7 @@ static int tolua_function_Array_byte_16__get(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); - byte returnVal = self->get(tolua_function_tointeger(L, 2, "get")); + byte returnVal = (self->get)(tolua_function_tointeger(L, 2, "get")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -111593,7 +113853,7 @@ static int tolua_function_Array_byte_16__getReference(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - byte* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + byte* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "Primitive"); return 1; } @@ -111602,7 +113862,7 @@ static int tolua_function_Array_byte_16__set(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), tolua_function_tointeger(L, 3, "set")); + (self->set)(tolua_function_tointeger(L, 2, "set"), tolua_function_tointeger(L, 3, "set")); return 0; } @@ -111610,7 +113870,7 @@ static int tolua_function_Array_byte_7__get(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); - byte returnVal = self->get(tolua_function_tointeger(L, 2, "get")); + byte returnVal = (self->get)(tolua_function_tointeger(L, 2, "get")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -111619,7 +113879,7 @@ static int tolua_function_Array_byte_7__getReference(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - byte* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + byte* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "Primitive"); return 1; } @@ -111628,7 +113888,7 @@ static int tolua_function_Array_byte_7__set(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), tolua_function_tointeger(L, 3, "set")); + (self->set)(tolua_function_tointeger(L, 2, "set"), tolua_function_tointeger(L, 3, "set")); return 0; } @@ -111636,7 +113896,7 @@ static int tolua_function_Array_uint_256__get(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); - uint returnVal = self->get(tolua_function_tointeger(L, 2, "get")); + uint returnVal = (self->get)(tolua_function_tointeger(L, 2, "get")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -111645,7 +113905,7 @@ static int tolua_function_Array_uint_256__getReference(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - uint* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + uint* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "Primitive"); return 1; } @@ -111654,7 +113914,7 @@ static int tolua_function_Array_uint_256__set(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), tolua_function_tointeger(L, 3, "set")); + (self->set)(tolua_function_tointeger(L, 2, "set"), tolua_function_tointeger(L, 3, "set")); return 0; } @@ -111662,7 +113922,7 @@ static int tolua_function_Array_byte_8__get(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); - byte returnVal = self->get(tolua_function_tointeger(L, 2, "get")); + byte returnVal = (self->get)(tolua_function_tointeger(L, 2, "get")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -111671,7 +113931,7 @@ static int tolua_function_Array_byte_8__getReference(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - byte* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + byte* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "Primitive"); return 1; } @@ -111680,7 +113940,7 @@ static int tolua_function_Array_byte_8__set(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), tolua_function_tointeger(L, 3, "set")); + (self->set)(tolua_function_tointeger(L, 2, "set"), tolua_function_tointeger(L, 3, "set")); return 0; } @@ -111688,7 +113948,7 @@ static int tolua_function_Array_int_15__get(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); - int returnVal = self->get(tolua_function_tointeger(L, 2, "get")); + int returnVal = (self->get)(tolua_function_tointeger(L, 2, "get")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -111697,7 +113957,7 @@ static int tolua_function_Array_int_15__getReference(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - int* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + int* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "Primitive"); return 1; } @@ -111706,7 +113966,7 @@ static int tolua_function_Array_int_15__set(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), tolua_function_tointeger(L, 3, "set")); + (self->set)(tolua_function_tointeger(L, 2, "set"), tolua_function_tointeger(L, 3, "set")); return 0; } @@ -111714,7 +113974,7 @@ static int tolua_function_Array_int_16__get(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); - int returnVal = self->get(tolua_function_tointeger(L, 2, "get")); + int returnVal = (self->get)(tolua_function_tointeger(L, 2, "get")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -111723,7 +113983,7 @@ static int tolua_function_Array_int_16__getReference(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - int* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + int* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "Primitive"); return 1; } @@ -111732,7 +113992,7 @@ static int tolua_function_Array_int_16__set(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), tolua_function_tointeger(L, 3, "set")); + (self->set)(tolua_function_tointeger(L, 2, "set"), tolua_function_tointeger(L, 3, "set")); return 0; } @@ -111740,7 +114000,7 @@ static int tolua_function_Array_unsigned_int_8__get(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); - unsigned int returnVal = self->get(tolua_function_tointeger(L, 2, "get")); + unsigned int returnVal = (self->get)(tolua_function_tointeger(L, 2, "get")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -111749,7 +114009,7 @@ static int tolua_function_Array_unsigned_int_8__getReference(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - unsigned int* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + unsigned int* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "Primitive"); return 1; } @@ -111758,7 +114018,7 @@ static int tolua_function_Array_unsigned_int_8__set(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), tolua_function_tointeger(L, 3, "set")); + (self->set)(tolua_function_tointeger(L, 2, "set"), tolua_function_tointeger(L, 3, "set")); return 0; } @@ -111766,7 +114026,7 @@ static int tolua_function_Array_CString_4__getReference(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CString* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CString* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CString"); return 1; } @@ -111775,7 +114035,7 @@ static int tolua_function_Array_CString_4__set(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CString*)tolua_tousertype_dynamic(L, 3, 0, "CString")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CString*)tolua_tousertype_dynamic(L, 3, 0, "CString")); return 0; } @@ -111783,7 +114043,7 @@ static int tolua_function_Array_DP_ProviderID_4__get(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); - DP_ProviderID returnVal = self->get(tolua_function_tointeger(L, 2, "get")); + DP_ProviderID returnVal = (self->get)(tolua_function_tointeger(L, 2, "get")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -111792,7 +114052,7 @@ static int tolua_function_Array_DP_ProviderID_4__getReference(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - DP_ProviderID* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + DP_ProviderID* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "Primitive"); return 1; } @@ -111801,7 +114061,7 @@ static int tolua_function_Array_DP_ProviderID_4__set(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), (DP_ProviderID)tolua_function_tointeger<__int32>(L, 3, "set")); + (self->set)(tolua_function_tointeger(L, 2, "set"), (DP_ProviderID)tolua_function_tointeger<__int32>(L, 3, "set")); return 0; } @@ -111809,7 +114069,7 @@ static int tolua_function_Array_CString_6__getReference(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CString* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CString* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CString"); return 1; } @@ -111818,7 +114078,7 @@ static int tolua_function_Array_CString_6__set(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CString*)tolua_tousertype_dynamic(L, 3, 0, "CString")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CString*)tolua_tousertype_dynamic(L, 3, 0, "CString")); return 0; } @@ -111826,7 +114086,7 @@ static int tolua_function_Array_unsigned___int8_6__get(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); - unsigned __int8 returnVal = self->get(tolua_function_tointeger(L, 2, "get")); + unsigned __int8 returnVal = (self->get)(tolua_function_tointeger(L, 2, "get")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -111835,7 +114095,7 @@ static int tolua_function_Array_unsigned___int8_6__getReference(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - unsigned __int8* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + unsigned __int8* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "Primitive<__int8>"); return 1; } @@ -111844,7 +114104,7 @@ static int tolua_function_Array_unsigned___int8_6__set(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), tolua_function_tointeger(L, 3, "set")); + (self->set)(tolua_function_tointeger(L, 2, "set"), tolua_function_tointeger(L, 3, "set")); return 0; } @@ -111852,7 +114112,7 @@ static int tolua_function_Array_CNetworkWindow_6__getReference(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CNetworkWindow* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CNetworkWindow* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CNetworkWindow"); return 1; } @@ -111861,7 +114121,7 @@ static int tolua_function_Array_CNetworkWindow_6__set(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CNetworkWindow*)tolua_tousertype_dynamic(L, 3, 0, "CNetworkWindow")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CNetworkWindow*)tolua_tousertype_dynamic(L, 3, 0, "CNetworkWindow")); return 0; } @@ -111869,7 +114129,7 @@ static int tolua_function_Array_unsigned_int_256__get(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); - unsigned int returnVal = self->get(tolua_function_tointeger(L, 2, "get")); + unsigned int returnVal = (self->get)(tolua_function_tointeger(L, 2, "get")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -111878,7 +114138,7 @@ static int tolua_function_Array_unsigned_int_256__getReference(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - unsigned int* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + unsigned int* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "Primitive"); return 1; } @@ -111887,7 +114147,7 @@ static int tolua_function_Array_unsigned_int_256__set(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), tolua_function_tointeger(L, 3, "set")); + (self->set)(tolua_function_tointeger(L, 2, "set"), tolua_function_tointeger(L, 3, "set")); return 0; } @@ -111895,7 +114155,7 @@ static int tolua_function_Array_unsigned_int_6__get(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); - unsigned int returnVal = self->get(tolua_function_tointeger(L, 2, "get")); + unsigned int returnVal = (self->get)(tolua_function_tointeger(L, 2, "get")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -111904,7 +114164,7 @@ static int tolua_function_Array_unsigned_int_6__getReference(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - unsigned int* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + unsigned int* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "Primitive"); return 1; } @@ -111913,7 +114173,7 @@ static int tolua_function_Array_unsigned_int_6__set(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), tolua_function_tointeger(L, 3, "set")); + (self->set)(tolua_function_tointeger(L, 2, "set"), tolua_function_tointeger(L, 3, "set")); return 0; } @@ -111921,7 +114181,7 @@ static int tolua_function_Array_C2DArray__256__get(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); - C2DArray* returnVal = self->get(tolua_function_tointeger(L, 2, "get")); + C2DArray* returnVal = (self->get)(tolua_function_tointeger(L, 2, "get")); tolua_pushusertype(L, (void*)returnVal, "C2DArray"); return 1; } @@ -111930,7 +114190,7 @@ static int tolua_function_Array_C2DArray__256__getReference(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - C2DArray** returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + C2DArray** returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "Pointer"); return 1; } @@ -111939,7 +114199,7 @@ static int tolua_function_Array_C2DArray__256__set(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), (C2DArray*)tolua_tousertype_dynamic(L, 3, 0, "C2DArray")); + (self->set)(tolua_function_tointeger(L, 2, "set"), (C2DArray*)tolua_tousertype_dynamic(L, 3, 0, "C2DArray")); return 0; } @@ -111947,7 +114207,7 @@ static int tolua_function_Array_CResRef_16__getReference(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CResRef* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CResRef* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CResRef"); return 1; } @@ -111956,7 +114216,7 @@ static int tolua_function_Array_CResRef_16__set(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CResRef*)tolua_tousertype_dynamic(L, 3, 0, "CResRef")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CResRef*)tolua_tousertype_dynamic(L, 3, 0, "CResRef")); return 0; } @@ -111964,7 +114224,7 @@ static int tolua_function_Array_unsigned_int_16__get(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); - unsigned int returnVal = self->get(tolua_function_tointeger(L, 2, "get")); + unsigned int returnVal = (self->get)(tolua_function_tointeger(L, 2, "get")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -111973,7 +114233,7 @@ static int tolua_function_Array_unsigned_int_16__getReference(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - unsigned int* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + unsigned int* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "Primitive"); return 1; } @@ -111982,7 +114242,7 @@ static int tolua_function_Array_unsigned_int_16__set(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), tolua_function_tointeger(L, 3, "set")); + (self->set)(tolua_function_tointeger(L, 2, "set"), tolua_function_tointeger(L, 3, "set")); return 0; } @@ -111990,7 +114250,7 @@ static int tolua_function_Array_int_56__get(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); - int returnVal = self->get(tolua_function_tointeger(L, 2, "get")); + int returnVal = (self->get)(tolua_function_tointeger(L, 2, "get")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -111999,7 +114259,7 @@ static int tolua_function_Array_int_56__getReference(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - int* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + int* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "Primitive"); return 1; } @@ -112008,7 +114268,7 @@ static int tolua_function_Array_int_56__set(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), tolua_function_tointeger(L, 3, "set")); + (self->set)(tolua_function_tointeger(L, 2, "set"), tolua_function_tointeger(L, 3, "set")); return 0; } @@ -112016,7 +114276,7 @@ static int tolua_function_Array_CKeyInfo_98__getReference(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CKeyInfo* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CKeyInfo* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CKeyInfo"); return 1; } @@ -112025,7 +114285,7 @@ static int tolua_function_Array_CKeyInfo_98__set(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CKeyInfo*)tolua_tousertype_dynamic(L, 3, 0, "CKeyInfo")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CKeyInfo*)tolua_tousertype_dynamic(L, 3, 0, "CKeyInfo")); return 0; } @@ -112033,7 +114293,7 @@ static int tolua_function_Array_int_98__get(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); - int returnVal = self->get(tolua_function_tointeger(L, 2, "get")); + int returnVal = (self->get)(tolua_function_tointeger(L, 2, "get")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -112042,7 +114302,7 @@ static int tolua_function_Array_int_98__getReference(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - int* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + int* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "Primitive"); return 1; } @@ -112051,7 +114311,7 @@ static int tolua_function_Array_int_98__set(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), tolua_function_tointeger(L, 3, "set")); + (self->set)(tolua_function_tointeger(L, 2, "set"), tolua_function_tointeger(L, 3, "set")); return 0; } @@ -112059,7 +114319,7 @@ static int tolua_function_Array_int_10__get(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); - int returnVal = self->get(tolua_function_tointeger(L, 2, "get")); + int returnVal = (self->get)(tolua_function_tointeger(L, 2, "get")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -112068,7 +114328,7 @@ static int tolua_function_Array_int_10__getReference(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - int* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + int* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "Primitive"); return 1; } @@ -112077,7 +114337,7 @@ static int tolua_function_Array_int_10__set(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), tolua_function_tointeger(L, 3, "set")); + (self->set)(tolua_function_tointeger(L, 2, "set"), tolua_function_tointeger(L, 3, "set")); return 0; } @@ -112085,7 +114345,7 @@ static int tolua_function_Array_unsigned_int_3__get(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); - unsigned int returnVal = self->get(tolua_function_tointeger(L, 2, "get")); + unsigned int returnVal = (self->get)(tolua_function_tointeger(L, 2, "get")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -112094,7 +114354,7 @@ static int tolua_function_Array_unsigned_int_3__getReference(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - unsigned int* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + unsigned int* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "Primitive"); return 1; } @@ -112103,7 +114363,7 @@ static int tolua_function_Array_unsigned_int_3__set(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), tolua_function_tointeger(L, 3, "set")); + (self->set)(tolua_function_tointeger(L, 2, "set"), tolua_function_tointeger(L, 3, "set")); return 0; } @@ -112111,7 +114371,7 @@ static int tolua_function_Array_CFileView__2__get(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); - CFileView* returnVal = self->get(tolua_function_tointeger(L, 2, "get")); + CFileView* returnVal = (self->get)(tolua_function_tointeger(L, 2, "get")); tolua_pushusertype(L, (void*)returnVal, "CFileView"); return 1; } @@ -112120,7 +114380,7 @@ static int tolua_function_Array_CFileView__2__getReference(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CFileView** returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CFileView** returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "Pointer"); return 1; } @@ -112129,7 +114389,7 @@ static int tolua_function_Array_CFileView__2__set(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), (CFileView*)tolua_tousertype_dynamic(L, 3, 0, "CFileView")); + (self->set)(tolua_function_tointeger(L, 2, "set"), (CFileView*)tolua_tousertype_dynamic(L, 3, 0, "CFileView")); return 0; } @@ -112137,7 +114397,7 @@ static int tolua_function_Array___int16_5__get(lua_State* L) { Array<__int16,5>* self = (Array<__int16,5>*)tolua_tousertype_dynamic(L, 1, 0, "Array<__int16,5>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); - __int16 returnVal = self->get(tolua_function_tointeger(L, 2, "get")); + __int16 returnVal = (self->get)(tolua_function_tointeger(L, 2, "get")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -112146,7 +114406,7 @@ static int tolua_function_Array___int16_5__getReference(lua_State* L) { Array<__int16,5>* self = (Array<__int16,5>*)tolua_tousertype_dynamic(L, 1, 0, "Array<__int16,5>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - __int16* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + __int16* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "Primitive<__int16>"); return 1; } @@ -112155,7 +114415,7 @@ static int tolua_function_Array___int16_5__set(lua_State* L) { Array<__int16,5>* self = (Array<__int16,5>*)tolua_tousertype_dynamic(L, 1, 0, "Array<__int16,5>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), tolua_function_tointeger<__int16>(L, 3, "set")); + (self->set)(tolua_function_tointeger(L, 2, "set"), tolua_function_tointeger<__int16>(L, 3, "set")); return 0; } @@ -112163,7 +114423,7 @@ static int tolua_function_Array_CItem__100__get(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); - CItem* returnVal = self->get(tolua_function_tointeger(L, 2, "get")); + CItem* returnVal = (self->get)(tolua_function_tointeger(L, 2, "get")); tolua_pushusertype(L, (void*)returnVal, "CItem"); return 1; } @@ -112172,7 +114432,7 @@ static int tolua_function_Array_CItem__100__getReference(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CItem** returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CItem** returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "Pointer"); return 1; } @@ -112181,7 +114441,7 @@ static int tolua_function_Array_CItem__100__set(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), (CItem*)tolua_tousertype_dynamic(L, 3, 0, "CItem")); + (self->set)(tolua_function_tointeger(L, 2, "set"), (CItem*)tolua_tousertype_dynamic(L, 3, 0, "CItem")); return 0; } @@ -112189,7 +114449,7 @@ static int tolua_function_Array_CVidCell_3__getReference(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CVidCell* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CVidCell* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CVidCell"); return 1; } @@ -112198,7 +114458,7 @@ static int tolua_function_Array_CVidCell_3__set(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CVidCell*)tolua_tousertype_dynamic(L, 3, 0, "CVidCell")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CVidCell*)tolua_tousertype_dynamic(L, 3, 0, "CVidCell")); return 0; } @@ -112206,7 +114466,7 @@ static int tolua_function_Array_MAP_CHAR_POSITIONS_6__getReference(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - MAP_CHAR_POSITIONS* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + MAP_CHAR_POSITIONS* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "MAP_CHAR_POSITIONS"); return 1; } @@ -112215,7 +114475,7 @@ static int tolua_function_Array_MAP_CHAR_POSITIONS_6__set(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(MAP_CHAR_POSITIONS*)tolua_tousertype_dynamic(L, 3, 0, "MAP_CHAR_POSITIONS")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(MAP_CHAR_POSITIONS*)tolua_tousertype_dynamic(L, 3, 0, "MAP_CHAR_POSITIONS")); return 0; } @@ -112223,7 +114483,7 @@ static int tolua_function_Array_char_64__get(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); - char returnVal = self->get(tolua_function_tointeger(L, 2, "get")); + char returnVal = (self->get)(tolua_function_tointeger(L, 2, "get")); lua_pushlstring(L, (const char*)&returnVal, 1); return 1; } @@ -112232,7 +114492,7 @@ static int tolua_function_Array_char_64__set(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), tolua_function_tochar(L, 3, "set")); + (self->set)(tolua_function_tointeger(L, 2, "set"), tolua_function_tochar(L, 3, "set")); return 0; } @@ -112240,7 +114500,7 @@ static int tolua_function_Array_unsigned___int8_56__get(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); - unsigned __int8 returnVal = self->get(tolua_function_tointeger(L, 2, "get")); + unsigned __int8 returnVal = (self->get)(tolua_function_tointeger(L, 2, "get")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -112249,7 +114509,7 @@ static int tolua_function_Array_unsigned___int8_56__getReference(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - unsigned __int8* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + unsigned __int8* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "Primitive<__int8>"); return 1; } @@ -112258,7 +114518,7 @@ static int tolua_function_Array_unsigned___int8_56__set(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), tolua_function_tointeger(L, 3, "set")); + (self->set)(tolua_function_tointeger(L, 2, "set"), tolua_function_tointeger(L, 3, "set")); return 0; } @@ -112266,7 +114526,7 @@ static int tolua_function_Array_program_t_18__getReference(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - program_t* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + program_t* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "program_t"); return 1; } @@ -112275,7 +114535,7 @@ static int tolua_function_Array_program_t_18__set(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(program_t*)tolua_tousertype_dynamic(L, 3, 0, "program_t")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(program_t*)tolua_tousertype_dynamic(L, 3, 0, "program_t")); return 0; } @@ -112283,7 +114543,7 @@ static int tolua_function_Array_drawCmd_t_8192__getReference(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - drawCmd_t* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + drawCmd_t* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "drawCmd_t"); return 1; } @@ -112292,7 +114552,7 @@ static int tolua_function_Array_drawCmd_t_8192__set(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(drawCmd_t*)tolua_tousertype_dynamic(L, 3, 0, "drawCmd_t")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(drawCmd_t*)tolua_tousertype_dynamic(L, 3, 0, "drawCmd_t")); return 0; } @@ -112300,7 +114560,7 @@ static int tolua_function_Array_vec4_t_4__getReference(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - vec4_t* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + vec4_t* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "vec4_t"); return 1; } @@ -112309,7 +114569,7 @@ static int tolua_function_Array_vec4_t_4__set(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(vec4_t*)tolua_tousertype_dynamic(L, 3, 0, "vec4_t")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(vec4_t*)tolua_tousertype_dynamic(L, 3, 0, "vec4_t")); return 0; } @@ -112317,7 +114577,7 @@ static int tolua_function_Array_drawState_t_4__getReference(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - drawState_t* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + drawState_t* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "drawState_t"); return 1; } @@ -112326,7 +114586,7 @@ static int tolua_function_Array_drawState_t_4__set(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(drawState_t*)tolua_tousertype_dynamic(L, 3, 0, "drawState_t")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(drawState_t*)tolua_tousertype_dynamic(L, 3, 0, "drawState_t")); return 0; } @@ -112334,7 +114594,7 @@ static int tolua_function_Array_samplerState_t_2__getReference(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - samplerState_t* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + samplerState_t* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "samplerState_t"); return 1; } @@ -112343,7 +114603,7 @@ static int tolua_function_Array_samplerState_t_2__set(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(samplerState_t*)tolua_tousertype_dynamic(L, 3, 0, "samplerState_t")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(samplerState_t*)tolua_tousertype_dynamic(L, 3, 0, "samplerState_t")); return 0; } @@ -112351,7 +114611,7 @@ static int tolua_function_Array_texture_t_512__getReference(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - texture_t* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + texture_t* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "texture_t"); return 1; } @@ -112360,7 +114620,7 @@ static int tolua_function_Array_texture_t_512__set(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(texture_t*)tolua_tousertype_dynamic(L, 3, 0, "texture_t")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(texture_t*)tolua_tousertype_dynamic(L, 3, 0, "texture_t")); return 0; } @@ -112368,7 +114628,7 @@ static int tolua_function_Array_program_t_9__getReference(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - program_t* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + program_t* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "program_t"); return 1; } @@ -112377,7 +114637,7 @@ static int tolua_function_Array_program_t_9__set(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(program_t*)tolua_tousertype_dynamic(L, 3, 0, "program_t")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(program_t*)tolua_tousertype_dynamic(L, 3, 0, "program_t")); return 0; } @@ -112385,7 +114645,7 @@ static int tolua_function_Array_vertex_t_2097120__getReference(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - vertex_t* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + vertex_t* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "vertex_t"); return 1; } @@ -112394,7 +114654,7 @@ static int tolua_function_Array_vertex_t_2097120__set(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(vertex_t*)tolua_tousertype_dynamic(L, 3, 0, "vertex_t")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(vertex_t*)tolua_tousertype_dynamic(L, 3, 0, "vertex_t")); return 0; } @@ -112402,7 +114662,7 @@ static int tolua_function_Array_lua_TValue_1__getReference(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - lua_TValue* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + lua_TValue* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "lua_TValue"); return 1; } @@ -112411,7 +114671,7 @@ static int tolua_function_Array_lua_TValue_1__set(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(lua_TValue*)tolua_tousertype_dynamic(L, 3, 0, "lua_TValue")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(lua_TValue*)tolua_tousertype_dynamic(L, 3, 0, "lua_TValue")); return 0; } @@ -112419,7 +114679,7 @@ static int tolua_function_Array_UpVal__1__get(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); - UpVal* returnVal = self->get(tolua_function_tointeger(L, 2, "get")); + UpVal* returnVal = (self->get)(tolua_function_tointeger(L, 2, "get")); tolua_pushusertype(L, (void*)returnVal, "UpVal"); return 1; } @@ -112428,7 +114688,7 @@ static int tolua_function_Array_UpVal__1__getReference(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - UpVal** returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + UpVal** returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "Pointer"); return 1; } @@ -112437,7 +114697,7 @@ static int tolua_function_Array_UpVal__1__set(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), (UpVal*)tolua_tousertype_dynamic(L, 3, 0, "UpVal")); + (self->set)(tolua_function_tointeger(L, 2, "set"), (UpVal*)tolua_tousertype_dynamic(L, 3, 0, "UpVal")); return 0; } @@ -112445,7 +114705,7 @@ static int tolua_function_Array_TString__17__get(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); - TString* returnVal = self->get(tolua_function_tointeger(L, 2, "get")); + TString* returnVal = (self->get)(tolua_function_tointeger(L, 2, "get")); tolua_pushusertype(L, (void*)returnVal, "TString"); return 1; } @@ -112454,7 +114714,7 @@ static int tolua_function_Array_TString__17__getReference(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - TString** returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + TString** returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "Pointer"); return 1; } @@ -112463,7 +114723,7 @@ static int tolua_function_Array_TString__17__set(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), (TString*)tolua_tousertype_dynamic(L, 3, 0, "TString")); + (self->set)(tolua_function_tointeger(L, 2, "set"), (TString*)tolua_tousertype_dynamic(L, 3, 0, "TString")); return 0; } @@ -112471,7 +114731,7 @@ static int tolua_function_Array_Table__9__get(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); - Table* returnVal = self->get(tolua_function_tointeger(L, 2, "get")); + Table* returnVal = (self->get)(tolua_function_tointeger(L, 2, "get")); tolua_pushusertype(L, (void*)returnVal, "Table"); return 1; } @@ -112480,7 +114740,7 @@ static int tolua_function_Array_Table__9__getReference(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - Table** returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + Table** returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "Pointer
"); return 1; } @@ -112489,7 +114749,7 @@ static int tolua_function_Array_Table__9__set(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), (Table*)tolua_tousertype_dynamic(L, 3, 0, "Table")); + (self->set)(tolua_function_tointeger(L, 2, "set"), (Table*)tolua_tousertype_dynamic(L, 3, 0, "Table")); return 0; } @@ -112497,7 +114757,7 @@ static int tolua_function_Array_char_60__get(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); - char returnVal = self->get(tolua_function_tointeger(L, 2, "get")); + char returnVal = (self->get)(tolua_function_tointeger(L, 2, "get")); lua_pushlstring(L, (const char*)&returnVal, 1); return 1; } @@ -112506,7 +114766,7 @@ static int tolua_function_Array_char_60__set(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), tolua_function_tochar(L, 3, "set")); + (self->set)(tolua_function_tointeger(L, 2, "set"), tolua_function_tochar(L, 3, "set")); return 0; } @@ -112514,7 +114774,7 @@ static int tolua_function_Array__SETJMP_FLOAT128_16__getReference(lua_State* L) { Array<_SETJMP_FLOAT128,16>* self = (Array<_SETJMP_FLOAT128,16>*)tolua_tousertype_dynamic(L, 1, 0, "Array<_SETJMP_FLOAT128,16>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - _SETJMP_FLOAT128* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + _SETJMP_FLOAT128* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "_SETJMP_FLOAT128"); return 1; } @@ -112523,7 +114783,7 @@ static int tolua_function_Array__SETJMP_FLOAT128_16__set(lua_State* L) { Array<_SETJMP_FLOAT128,16>* self = (Array<_SETJMP_FLOAT128,16>*)tolua_tousertype_dynamic(L, 1, 0, "Array<_SETJMP_FLOAT128,16>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(_SETJMP_FLOAT128*)tolua_tousertype_dynamic(L, 3, 0, "_SETJMP_FLOAT128")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(_SETJMP_FLOAT128*)tolua_tousertype_dynamic(L, 3, 0, "_SETJMP_FLOAT128")); return 0; } @@ -112531,7 +114791,7 @@ static int tolua_function_Array_unsigned___int64_2__get(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); - unsigned __int64 returnVal = self->get(tolua_function_tointeger(L, 2, "get")); + unsigned __int64 returnVal = (self->get)(tolua_function_tointeger(L, 2, "get")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -112540,7 +114800,7 @@ static int tolua_function_Array_unsigned___int64_2__getReference(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - unsigned __int64* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + unsigned __int64* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "Primitive<__int64>"); return 1; } @@ -112549,7 +114809,7 @@ static int tolua_function_Array_unsigned___int64_2__set(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), tolua_function_tointeger(L, 3, "set")); + (self->set)(tolua_function_tointeger(L, 2, "set"), tolua_function_tointeger(L, 3, "set")); return 0; } @@ -112557,7 +114817,7 @@ static int tolua_function_Array_cnetworkwindow_queueentry_st_1__getReference(lua { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - cnetworkwindow_queueentry_st* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + cnetworkwindow_queueentry_st* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "cnetworkwindow_queueentry_st"); return 1; } @@ -112566,7 +114826,7 @@ static int tolua_function_Array_cnetworkwindow_queueentry_st_1__set(lua_State* L { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(cnetworkwindow_queueentry_st*)tolua_tousertype_dynamic(L, 3, 0, "cnetworkwindow_queueentry_st")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(cnetworkwindow_queueentry_st*)tolua_tousertype_dynamic(L, 3, 0, "cnetworkwindow_queueentry_st")); return 0; } @@ -112574,7 +114834,7 @@ static int tolua_function_Array_unsigned___int8_1__get(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); - unsigned __int8 returnVal = self->get(tolua_function_tointeger(L, 2, "get")); + unsigned __int8 returnVal = (self->get)(tolua_function_tointeger(L, 2, "get")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -112583,7 +114843,7 @@ static int tolua_function_Array_unsigned___int8_1__getReference(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - unsigned __int8* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + unsigned __int8* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "Primitive<__int8>"); return 1; } @@ -112592,7 +114852,7 @@ static int tolua_function_Array_unsigned___int8_1__set(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), tolua_function_tointeger(L, 3, "set")); + (self->set)(tolua_function_tointeger(L, 2, "set"), tolua_function_tointeger(L, 3, "set")); return 0; } @@ -112600,7 +114860,7 @@ static int tolua_function_Array_unsigned_int_1__get(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); - unsigned int returnVal = self->get(tolua_function_tointeger(L, 2, "get")); + unsigned int returnVal = (self->get)(tolua_function_tointeger(L, 2, "get")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -112609,7 +114869,7 @@ static int tolua_function_Array_unsigned_int_1__getReference(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - unsigned int* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + unsigned int* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "Primitive"); return 1; } @@ -112618,7 +114878,7 @@ static int tolua_function_Array_unsigned_int_1__set(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), tolua_function_tointeger(L, 3, "set")); + (self->set)(tolua_function_tointeger(L, 2, "set"), tolua_function_tointeger(L, 3, "set")); return 0; } @@ -112626,7 +114886,7 @@ static int tolua_function_Array_unsigned___int64_16__get(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); - unsigned __int64 returnVal = self->get(tolua_function_tointeger(L, 2, "get")); + unsigned __int64 returnVal = (self->get)(tolua_function_tointeger(L, 2, "get")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -112635,7 +114895,7 @@ static int tolua_function_Array_unsigned___int64_16__getReference(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - unsigned __int64* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + unsigned __int64* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "Primitive<__int64>"); return 1; } @@ -112644,7 +114904,7 @@ static int tolua_function_Array_unsigned___int64_16__set(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), tolua_function_tointeger(L, 3, "set")); + (self->set)(tolua_function_tointeger(L, 2, "set"), tolua_function_tointeger(L, 3, "set")); return 0; } @@ -112652,7 +114912,7 @@ static int tolua_function_Array_unsigned_int__7__get(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); - unsigned int* returnVal = self->get(tolua_function_tointeger(L, 2, "get")); + unsigned int* returnVal = (self->get)(tolua_function_tointeger(L, 2, "get")); tolua_pushusertype(L, (void*)returnVal, "Primitive"); return 1; } @@ -112661,7 +114921,7 @@ static int tolua_function_Array_unsigned_int__7__getReference(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - unsigned int** returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + unsigned int** returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "Pointer"); return 1; } @@ -112670,7 +114930,7 @@ static int tolua_function_Array_unsigned_int__7__set(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), (unsigned int*)tolua_tousertype_dynamic(L, 3, 0, "Primitive")); + (self->set)(tolua_function_tointeger(L, 2, "set"), (unsigned int*)tolua_tousertype_dynamic(L, 3, 0, "Primitive")); return 0; } @@ -112678,7 +114938,7 @@ static int tolua_function_Array_float_3__get(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); - float returnVal = self->get(tolua_function_tointeger(L, 2, "get")); + float returnVal = (self->get)(tolua_function_tointeger(L, 2, "get")); tolua_pushnumber(L, (lua_Number)returnVal); return 1; } @@ -112687,7 +114947,7 @@ static int tolua_function_Array_float_3__getReference(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - float* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + float* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "Primitive"); return 1; } @@ -112696,7 +114956,7 @@ static int tolua_function_Array_float_3__set(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), tolua_function_tonumber(L, 3, "set")); + (self->set)(tolua_function_tointeger(L, 2, "set"), tolua_function_tonumber(L, 3, "set")); return 0; } @@ -112704,7 +114964,7 @@ static int tolua_function_Array_unsigned___int8_10001__get(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); - unsigned __int8 returnVal = self->get(tolua_function_tointeger(L, 2, "get")); + unsigned __int8 returnVal = (self->get)(tolua_function_tointeger(L, 2, "get")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -112713,7 +114973,7 @@ static int tolua_function_Array_unsigned___int8_10001__getReference(lua_State* L { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - unsigned __int8* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + unsigned __int8* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "Primitive<__int8>"); return 1; } @@ -112722,7 +114982,7 @@ static int tolua_function_Array_unsigned___int8_10001__set(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), tolua_function_tointeger(L, 3, "set")); + (self->set)(tolua_function_tointeger(L, 2, "set"), tolua_function_tointeger(L, 3, "set")); return 0; } @@ -112730,7 +114990,7 @@ static int tolua_function_Array_unsigned___int8_2__get(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); - unsigned __int8 returnVal = self->get(tolua_function_tointeger(L, 2, "get")); + unsigned __int8 returnVal = (self->get)(tolua_function_tointeger(L, 2, "get")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -112739,7 +114999,7 @@ static int tolua_function_Array_unsigned___int8_2__getReference(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - unsigned __int8* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + unsigned __int8* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "Primitive<__int8>"); return 1; } @@ -112748,7 +115008,7 @@ static int tolua_function_Array_unsigned___int8_2__set(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), tolua_function_tointeger(L, 3, "set")); + (self->set)(tolua_function_tointeger(L, 2, "set"), tolua_function_tointeger(L, 3, "set")); return 0; } @@ -112756,7 +115016,7 @@ static int tolua_function_Array_CGamePermission_6__getReference(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CGamePermission* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CGamePermission* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CGamePermission"); return 1; } @@ -112765,7 +115025,7 @@ static int tolua_function_Array_CGamePermission_6__set(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CGamePermission*)tolua_tousertype_dynamic(L, 3, 0, "CGamePermission")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CGamePermission*)tolua_tousertype_dynamic(L, 3, 0, "CGamePermission")); return 0; } @@ -112773,7 +115033,7 @@ static int tolua_function_Array_CMachineState_6__getReference(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CMachineState* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CMachineState* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CMachineState"); return 1; } @@ -112782,7 +115042,7 @@ static int tolua_function_Array_CMachineState_6__set(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CMachineState*)tolua_tousertype_dynamic(L, 3, 0, "CMachineState")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CMachineState*)tolua_tousertype_dynamic(L, 3, 0, "CMachineState")); return 0; } @@ -112790,7 +115050,7 @@ static int tolua_function_Array_CResTileSet__2__get(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); - CResTileSet* returnVal = self->get(tolua_function_tointeger(L, 2, "get")); + CResTileSet* returnVal = (self->get)(tolua_function_tointeger(L, 2, "get")); tolua_pushusertype(L, (void*)returnVal, "CResTileSet"); return 1; } @@ -112799,7 +115059,7 @@ static int tolua_function_Array_CResTileSet__2__getReference(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CResTileSet** returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CResTileSet** returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "Pointer"); return 1; } @@ -112808,7 +115068,7 @@ static int tolua_function_Array_CResTileSet__2__set(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), (CResTileSet*)tolua_tousertype_dynamic(L, 3, 0, "CResTileSet")); + (self->set)(tolua_function_tointeger(L, 2, "set"), (CResTileSet*)tolua_tousertype_dynamic(L, 3, 0, "CResTileSet")); return 0; } @@ -112816,7 +115076,7 @@ static int tolua_function_Array_CResRef_6__getReference(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CResRef* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CResRef* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CResRef"); return 1; } @@ -112825,7 +115085,7 @@ static int tolua_function_Array_CResRef_6__set(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CResRef*)tolua_tousertype_dynamic(L, 3, 0, "CResRef")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CResRef*)tolua_tousertype_dynamic(L, 3, 0, "CResRef")); return 0; } @@ -112833,7 +115093,7 @@ static int tolua_function_Array___int16_6__get(lua_State* L) { Array<__int16,6>* self = (Array<__int16,6>*)tolua_tousertype_dynamic(L, 1, 0, "Array<__int16,6>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); - __int16 returnVal = self->get(tolua_function_tointeger(L, 2, "get")); + __int16 returnVal = (self->get)(tolua_function_tointeger(L, 2, "get")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -112842,7 +115102,7 @@ static int tolua_function_Array___int16_6__getReference(lua_State* L) { Array<__int16,6>* self = (Array<__int16,6>*)tolua_tousertype_dynamic(L, 1, 0, "Array<__int16,6>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - __int16* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + __int16* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "Primitive<__int16>"); return 1; } @@ -112851,7 +115111,7 @@ static int tolua_function_Array___int16_6__set(lua_State* L) { Array<__int16,6>* self = (Array<__int16,6>*)tolua_tousertype_dynamic(L, 1, 0, "Array<__int16,6>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), tolua_function_tointeger<__int16>(L, 3, "set")); + (self->set)(tolua_function_tointeger(L, 2, "set"), tolua_function_tointeger<__int16>(L, 3, "set")); return 0; } @@ -112859,7 +115119,7 @@ static int tolua_function_Array_unsigned_int_10__get(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); - unsigned int returnVal = self->get(tolua_function_tointeger(L, 2, "get")); + unsigned int returnVal = (self->get)(tolua_function_tointeger(L, 2, "get")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -112868,7 +115128,7 @@ static int tolua_function_Array_unsigned_int_10__getReference(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - unsigned int* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + unsigned int* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "Primitive"); return 1; } @@ -112877,7 +115137,7 @@ static int tolua_function_Array_unsigned_int_10__set(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), tolua_function_tointeger(L, 3, "set")); + (self->set)(tolua_function_tointeger(L, 2, "set"), tolua_function_tointeger(L, 3, "set")); return 0; } @@ -112885,7 +115145,7 @@ static int tolua_function_Array_unsigned_int_11__get(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); - unsigned int returnVal = self->get(tolua_function_tointeger(L, 2, "get")); + unsigned int returnVal = (self->get)(tolua_function_tointeger(L, 2, "get")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -112894,7 +115154,7 @@ static int tolua_function_Array_unsigned_int_11__getReference(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - unsigned int* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + unsigned int* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "Primitive"); return 1; } @@ -112903,7 +115163,7 @@ static int tolua_function_Array_unsigned_int_11__set(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), tolua_function_tointeger(L, 3, "set")); + (self->set)(tolua_function_tointeger(L, 2, "set"), tolua_function_tointeger(L, 3, "set")); return 0; } @@ -112911,7 +115171,7 @@ static int tolua_function_Array_unsigned_int_9__get(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); - unsigned int returnVal = self->get(tolua_function_tointeger(L, 2, "get")); + unsigned int returnVal = (self->get)(tolua_function_tointeger(L, 2, "get")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -112920,7 +115180,7 @@ static int tolua_function_Array_unsigned_int_9__getReference(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - unsigned int* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + unsigned int* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "Primitive"); return 1; } @@ -112929,7 +115189,7 @@ static int tolua_function_Array_unsigned_int_9__set(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), tolua_function_tointeger(L, 3, "set")); + (self->set)(tolua_function_tointeger(L, 2, "set"), tolua_function_tointeger(L, 3, "set")); return 0; } @@ -112937,7 +115197,7 @@ static int tolua_function_Array_unsigned_int_31__get(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); - unsigned int returnVal = self->get(tolua_function_tointeger(L, 2, "get")); + unsigned int returnVal = (self->get)(tolua_function_tointeger(L, 2, "get")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -112946,7 +115206,7 @@ static int tolua_function_Array_unsigned_int_31__getReference(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - unsigned int* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + unsigned int* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "Primitive"); return 1; } @@ -112955,7 +115215,7 @@ static int tolua_function_Array_unsigned_int_31__set(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), tolua_function_tointeger(L, 3, "set")); + (self->set)(tolua_function_tointeger(L, 2, "set"), tolua_function_tointeger(L, 3, "set")); return 0; } @@ -112963,7 +115223,7 @@ static int tolua_function_Array_unsigned_int_32__get(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); - unsigned int returnVal = self->get(tolua_function_tointeger(L, 2, "get")); + unsigned int returnVal = (self->get)(tolua_function_tointeger(L, 2, "get")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -112972,7 +115232,7 @@ static int tolua_function_Array_unsigned_int_32__getReference(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - unsigned int* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + unsigned int* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "Primitive"); return 1; } @@ -112981,7 +115241,7 @@ static int tolua_function_Array_unsigned_int_32__set(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), tolua_function_tointeger(L, 3, "set")); + (self->set)(tolua_function_tointeger(L, 2, "set"), tolua_function_tointeger(L, 3, "set")); return 0; } @@ -112989,7 +115249,7 @@ static int tolua_function_Array___int16_3__get(lua_State* L) { Array<__int16,3>* self = (Array<__int16,3>*)tolua_tousertype_dynamic(L, 1, 0, "Array<__int16,3>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); - __int16 returnVal = self->get(tolua_function_tointeger(L, 2, "get")); + __int16 returnVal = (self->get)(tolua_function_tointeger(L, 2, "get")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -112998,7 +115258,7 @@ static int tolua_function_Array___int16_3__getReference(lua_State* L) { Array<__int16,3>* self = (Array<__int16,3>*)tolua_tousertype_dynamic(L, 1, 0, "Array<__int16,3>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - __int16* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + __int16* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "Primitive<__int16>"); return 1; } @@ -113007,7 +115267,7 @@ static int tolua_function_Array___int16_3__set(lua_State* L) { Array<__int16,3>* self = (Array<__int16,3>*)tolua_tousertype_dynamic(L, 1, 0, "Array<__int16,3>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), tolua_function_tointeger<__int16>(L, 3, "set")); + (self->set)(tolua_function_tointeger(L, 2, "set"), tolua_function_tointeger<__int16>(L, 3, "set")); return 0; } @@ -113015,7 +115275,7 @@ static int tolua_function_Array_unsigned___int16_6__get(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); - unsigned __int16 returnVal = self->get(tolua_function_tointeger(L, 2, "get")); + unsigned __int16 returnVal = (self->get)(tolua_function_tointeger(L, 2, "get")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -113024,7 +115284,7 @@ static int tolua_function_Array_unsigned___int16_6__getReference(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - unsigned __int16* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + unsigned __int16* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "Primitive<__int16>"); return 1; } @@ -113033,7 +115293,7 @@ static int tolua_function_Array_unsigned___int16_6__set(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), tolua_function_tointeger(L, 3, "set")); + (self->set)(tolua_function_tointeger(L, 2, "set"), tolua_function_tointeger(L, 3, "set")); return 0; } @@ -113041,7 +115301,7 @@ static int tolua_function_Array_CKeyInfo_2__getReference(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CKeyInfo* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CKeyInfo* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CKeyInfo"); return 1; } @@ -113050,7 +115310,7 @@ static int tolua_function_Array_CKeyInfo_2__set(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CKeyInfo*)tolua_tousertype_dynamic(L, 3, 0, "CKeyInfo")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CKeyInfo*)tolua_tousertype_dynamic(L, 3, 0, "CKeyInfo")); return 0; } @@ -113058,7 +115318,7 @@ static int tolua_function_Array_int_2__get(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); - int returnVal = self->get(tolua_function_tointeger(L, 2, "get")); + int returnVal = (self->get)(tolua_function_tointeger(L, 2, "get")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -113067,7 +115327,7 @@ static int tolua_function_Array_int_2__getReference(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - int* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + int* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "Primitive"); return 1; } @@ -113076,7 +115336,7 @@ static int tolua_function_Array_int_2__set(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), tolua_function_tointeger(L, 3, "set")); + (self->set)(tolua_function_tointeger(L, 2, "set"), tolua_function_tointeger(L, 3, "set")); return 0; } @@ -113084,7 +115344,7 @@ static int tolua_function_Array_CKeyInfo_5__getReference(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CKeyInfo* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CKeyInfo* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CKeyInfo"); return 1; } @@ -113093,7 +115353,7 @@ static int tolua_function_Array_CKeyInfo_5__set(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CKeyInfo*)tolua_tousertype_dynamic(L, 3, 0, "CKeyInfo")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CKeyInfo*)tolua_tousertype_dynamic(L, 3, 0, "CKeyInfo")); return 0; } @@ -113101,7 +115361,7 @@ static int tolua_function_Array_int_5__get(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); - int returnVal = self->get(tolua_function_tointeger(L, 2, "get")); + int returnVal = (self->get)(tolua_function_tointeger(L, 2, "get")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -113110,7 +115370,7 @@ static int tolua_function_Array_int_5__getReference(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - int* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + int* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "Primitive"); return 1; } @@ -113119,7 +115379,7 @@ static int tolua_function_Array_int_5__set(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), tolua_function_tointeger(L, 3, "set")); + (self->set)(tolua_function_tointeger(L, 2, "set"), tolua_function_tointeger(L, 3, "set")); return 0; } @@ -113127,7 +115387,7 @@ static int tolua_function_Array_unsigned_int_100__get(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); - unsigned int returnVal = self->get(tolua_function_tointeger(L, 2, "get")); + unsigned int returnVal = (self->get)(tolua_function_tointeger(L, 2, "get")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -113136,7 +115396,7 @@ static int tolua_function_Array_unsigned_int_100__getReference(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - unsigned int* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + unsigned int* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "Primitive"); return 1; } @@ -113145,7 +115405,7 @@ static int tolua_function_Array_unsigned_int_100__set(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), tolua_function_tointeger(L, 3, "set")); + (self->set)(tolua_function_tointeger(L, 2, "set"), tolua_function_tointeger(L, 3, "set")); return 0; } @@ -113153,7 +115413,7 @@ static int tolua_function_Array___int16_11__get(lua_State* L) { Array<__int16,11>* self = (Array<__int16,11>*)tolua_tousertype_dynamic(L, 1, 0, "Array<__int16,11>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); - __int16 returnVal = self->get(tolua_function_tointeger(L, 2, "get")); + __int16 returnVal = (self->get)(tolua_function_tointeger(L, 2, "get")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -113162,7 +115422,7 @@ static int tolua_function_Array___int16_11__getReference(lua_State* L) { Array<__int16,11>* self = (Array<__int16,11>*)tolua_tousertype_dynamic(L, 1, 0, "Array<__int16,11>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - __int16* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + __int16* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "Primitive<__int16>"); return 1; } @@ -113171,7 +115431,7 @@ static int tolua_function_Array___int16_11__set(lua_State* L) { Array<__int16,11>* self = (Array<__int16,11>*)tolua_tousertype_dynamic(L, 1, 0, "Array<__int16,11>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), tolua_function_tointeger<__int16>(L, 3, "set")); + (self->set)(tolua_function_tointeger(L, 2, "set"), tolua_function_tointeger<__int16>(L, 3, "set")); return 0; } @@ -113179,7 +115439,7 @@ static int tolua_function_Array___int16_12__get(lua_State* L) { Array<__int16,12>* self = (Array<__int16,12>*)tolua_tousertype_dynamic(L, 1, 0, "Array<__int16,12>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); - __int16 returnVal = self->get(tolua_function_tointeger(L, 2, "get")); + __int16 returnVal = (self->get)(tolua_function_tointeger(L, 2, "get")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -113188,7 +115448,7 @@ static int tolua_function_Array___int16_12__getReference(lua_State* L) { Array<__int16,12>* self = (Array<__int16,12>*)tolua_tousertype_dynamic(L, 1, 0, "Array<__int16,12>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - __int16* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + __int16* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "Primitive<__int16>"); return 1; } @@ -113197,7 +115457,7 @@ static int tolua_function_Array___int16_12__set(lua_State* L) { Array<__int16,12>* self = (Array<__int16,12>*)tolua_tousertype_dynamic(L, 1, 0, "Array<__int16,12>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), tolua_function_tointeger<__int16>(L, 3, "set")); + (self->set)(tolua_function_tointeger(L, 2, "set"), tolua_function_tointeger<__int16>(L, 3, "set")); return 0; } @@ -113205,7 +115465,7 @@ static int tolua_function_Array_CSpellLevelDecrementing_10__getReference(lua_Sta { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CSpellLevelDecrementing* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CSpellLevelDecrementing* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CSpellLevelDecrementing"); return 1; } @@ -113214,7 +115474,7 @@ static int tolua_function_Array_CSpellLevelDecrementing_10__set(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CSpellLevelDecrementing*)tolua_tousertype_dynamic(L, 3, 0, "CSpellLevelDecrementing")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CSpellLevelDecrementing*)tolua_tousertype_dynamic(L, 3, 0, "CSpellLevelDecrementing")); return 0; } @@ -113222,7 +115482,7 @@ static int tolua_function_Array_int_11__get(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); - int returnVal = self->get(tolua_function_tointeger(L, 2, "get")); + int returnVal = (self->get)(tolua_function_tointeger(L, 2, "get")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -113231,7 +115491,7 @@ static int tolua_function_Array_int_11__getReference(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - int* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + int* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "Primitive"); return 1; } @@ -113240,7 +115500,7 @@ static int tolua_function_Array_int_11__set(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), tolua_function_tointeger(L, 3, "set")); + (self->set)(tolua_function_tointeger(L, 2, "set"), tolua_function_tointeger(L, 3, "set")); return 0; } @@ -113248,7 +115508,7 @@ static int tolua_function_Array_int_9__get(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); - int returnVal = self->get(tolua_function_tointeger(L, 2, "get")); + int returnVal = (self->get)(tolua_function_tointeger(L, 2, "get")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -113257,7 +115517,7 @@ static int tolua_function_Array_int_9__getReference(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - int* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + int* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "Primitive"); return 1; } @@ -113266,7 +115526,7 @@ static int tolua_function_Array_int_9__set(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), tolua_function_tointeger(L, 3, "set")); + (self->set)(tolua_function_tointeger(L, 2, "set"), tolua_function_tointeger(L, 3, "set")); return 0; } @@ -113274,7 +115534,7 @@ static int tolua_function_Array_int_7__get(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); - int returnVal = self->get(tolua_function_tointeger(L, 2, "get")); + int returnVal = (self->get)(tolua_function_tointeger(L, 2, "get")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -113283,7 +115543,7 @@ static int tolua_function_Array_int_7__getReference(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - int* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + int* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "Primitive"); return 1; } @@ -113292,7 +115552,7 @@ static int tolua_function_Array_int_7__set(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), tolua_function_tointeger(L, 3, "set")); + (self->set)(tolua_function_tointeger(L, 2, "set"), tolua_function_tointeger(L, 3, "set")); return 0; } @@ -113300,7 +115560,7 @@ static int tolua_function_Array_unsigned___int8_24__get(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); - unsigned __int8 returnVal = self->get(tolua_function_tointeger(L, 2, "get")); + unsigned __int8 returnVal = (self->get)(tolua_function_tointeger(L, 2, "get")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -113309,7 +115569,7 @@ static int tolua_function_Array_unsigned___int8_24__getReference(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - unsigned __int8* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + unsigned __int8* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "Primitive<__int8>"); return 1; } @@ -113318,7 +115578,7 @@ static int tolua_function_Array_unsigned___int8_24__set(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), tolua_function_tointeger(L, 3, "set")); + (self->set)(tolua_function_tointeger(L, 2, "set"), tolua_function_tointeger(L, 3, "set")); return 0; } @@ -113326,7 +115586,7 @@ static int tolua_function_Array_unsigned_int_4__get(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); - unsigned int returnVal = self->get(tolua_function_tointeger(L, 2, "get")); + unsigned int returnVal = (self->get)(tolua_function_tointeger(L, 2, "get")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -113335,7 +115595,7 @@ static int tolua_function_Array_unsigned_int_4__getReference(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - unsigned int* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + unsigned int* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "Primitive"); return 1; } @@ -113344,7 +115604,7 @@ static int tolua_function_Array_unsigned_int_4__set(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), tolua_function_tointeger(L, 3, "set")); + (self->set)(tolua_function_tointeger(L, 2, "set"), tolua_function_tointeger(L, 3, "set")); return 0; } @@ -113352,7 +115612,7 @@ static int tolua_function_Array_tagRGBQUAD_256__getReference(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - tagRGBQUAD* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + tagRGBQUAD* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "tagRGBQUAD"); return 1; } @@ -113361,7 +115621,7 @@ static int tolua_function_Array_tagRGBQUAD_256__set(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(tagRGBQUAD*)tolua_tousertype_dynamic(L, 3, 0, "tagRGBQUAD")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(tagRGBQUAD*)tolua_tousertype_dynamic(L, 3, 0, "tagRGBQUAD")); return 0; } @@ -113369,7 +115629,7 @@ static int tolua_function_Array_int_4__get(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); - int returnVal = self->get(tolua_function_tointeger(L, 2, "get")); + int returnVal = (self->get)(tolua_function_tointeger(L, 2, "get")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -113378,7 +115638,7 @@ static int tolua_function_Array_int_4__getReference(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - int* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + int* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "Primitive"); return 1; } @@ -113387,7 +115647,7 @@ static int tolua_function_Array_int_4__set(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), tolua_function_tointeger(L, 3, "set")); + (self->set)(tolua_function_tointeger(L, 2, "set"), tolua_function_tointeger(L, 3, "set")); return 0; } @@ -113395,7 +115655,7 @@ static int tolua_function_Array_unsigned_int_15__get(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); - unsigned int returnVal = self->get(tolua_function_tointeger(L, 2, "get")); + unsigned int returnVal = (self->get)(tolua_function_tointeger(L, 2, "get")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -113404,7 +115664,7 @@ static int tolua_function_Array_unsigned_int_15__getReference(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - unsigned int* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + unsigned int* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "Primitive"); return 1; } @@ -113413,7 +115673,7 @@ static int tolua_function_Array_unsigned_int_15__set(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), tolua_function_tointeger(L, 3, "set")); + (self->set)(tolua_function_tointeger(L, 2, "set"), tolua_function_tointeger(L, 3, "set")); return 0; } @@ -113421,7 +115681,7 @@ static int tolua_function_Array_CItem__39__get(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); - CItem* returnVal = self->get(tolua_function_tointeger(L, 2, "get")); + CItem* returnVal = (self->get)(tolua_function_tointeger(L, 2, "get")); tolua_pushusertype(L, (void*)returnVal, "CItem"); return 1; } @@ -113430,7 +115690,7 @@ static int tolua_function_Array_CItem__39__getReference(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CItem** returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CItem** returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "Pointer"); return 1; } @@ -113439,7 +115699,7 @@ static int tolua_function_Array_CItem__39__set(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), (CItem*)tolua_tousertype_dynamic(L, 3, 0, "CItem")); + (self->set)(tolua_function_tointeger(L, 2, "set"), (CItem*)tolua_tousertype_dynamic(L, 3, 0, "CItem")); return 0; } @@ -113447,7 +115707,7 @@ static int tolua_function_Array_CButtonData_4__getReference(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CButtonData* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CButtonData* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CButtonData"); return 1; } @@ -113456,7 +115716,7 @@ static int tolua_function_Array_CButtonData_4__set(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CButtonData*)tolua_tousertype_dynamic(L, 3, 0, "CButtonData")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CButtonData*)tolua_tousertype_dynamic(L, 3, 0, "CButtonData")); return 0; } @@ -113464,7 +115724,7 @@ static int tolua_function_Array_CButtonData_3__getReference(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CButtonData* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CButtonData* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CButtonData"); return 1; } @@ -113473,7 +115733,7 @@ static int tolua_function_Array_CButtonData_3__set(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CButtonData*)tolua_tousertype_dynamic(L, 3, 0, "CButtonData")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CButtonData*)tolua_tousertype_dynamic(L, 3, 0, "CButtonData")); return 0; } @@ -113481,7 +115741,7 @@ static int tolua_function_Array_CGameStatsRes_4__getReference(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CGameStatsRes* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CGameStatsRes* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CGameStatsRes"); return 1; } @@ -113490,7 +115750,7 @@ static int tolua_function_Array_CGameStatsRes_4__set(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CGameStatsRes*)tolua_tousertype_dynamic(L, 3, 0, "CGameStatsRes")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CGameStatsRes*)tolua_tousertype_dynamic(L, 3, 0, "CGameStatsRes")); return 0; } @@ -113498,7 +115758,7 @@ static int tolua_function_Array_NECK_POINTS_8__getReference(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - NECK_POINTS* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + NECK_POINTS* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "NECK_POINTS"); return 1; } @@ -113507,7 +115767,7 @@ static int tolua_function_Array_NECK_POINTS_8__set(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(NECK_POINTS*)tolua_tousertype_dynamic(L, 3, 0, "NECK_POINTS")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(NECK_POINTS*)tolua_tousertype_dynamic(L, 3, 0, "NECK_POINTS")); return 0; } @@ -113515,7 +115775,7 @@ static int tolua_function_Array_CVidBitmap_5__getReference(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CVidBitmap* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CVidBitmap* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CVidBitmap"); return 1; } @@ -113524,7 +115784,7 @@ static int tolua_function_Array_CVidBitmap_5__set(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CVidBitmap*)tolua_tousertype_dynamic(L, 3, 0, "CVidBitmap")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CVidBitmap*)tolua_tousertype_dynamic(L, 3, 0, "CVidBitmap")); return 0; } @@ -113532,7 +115792,7 @@ static int tolua_function_Array_CSequenceSoundList_20__getReference(lua_State* L { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CSequenceSoundList* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CSequenceSoundList* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CSequenceSoundList"); return 1; } @@ -113541,7 +115801,7 @@ static int tolua_function_Array_CSequenceSoundList_20__set(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CSequenceSoundList*)tolua_tousertype_dynamic(L, 3, 0, "CSequenceSoundList")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CSequenceSoundList*)tolua_tousertype_dynamic(L, 3, 0, "CSequenceSoundList")); return 0; } @@ -113549,7 +115809,7 @@ static int tolua_function_Array___int16_4__get(lua_State* L) { Array<__int16,4>* self = (Array<__int16,4>*)tolua_tousertype_dynamic(L, 1, 0, "Array<__int16,4>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); - __int16 returnVal = self->get(tolua_function_tointeger(L, 2, "get")); + __int16 returnVal = (self->get)(tolua_function_tointeger(L, 2, "get")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -113558,7 +115818,7 @@ static int tolua_function_Array___int16_4__getReference(lua_State* L) { Array<__int16,4>* self = (Array<__int16,4>*)tolua_tousertype_dynamic(L, 1, 0, "Array<__int16,4>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - __int16* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + __int16* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "Primitive<__int16>"); return 1; } @@ -113567,7 +115827,7 @@ static int tolua_function_Array___int16_4__set(lua_State* L) { Array<__int16,4>* self = (Array<__int16,4>*)tolua_tousertype_dynamic(L, 1, 0, "Array<__int16,4>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), tolua_function_tointeger<__int16>(L, 3, "set")); + (self->set)(tolua_function_tointeger(L, 2, "set"), tolua_function_tointeger<__int16>(L, 3, "set")); return 0; } @@ -113575,7 +115835,7 @@ static int tolua_function_Array_unsigned_int_42__get(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); - unsigned int returnVal = self->get(tolua_function_tointeger(L, 2, "get")); + unsigned int returnVal = (self->get)(tolua_function_tointeger(L, 2, "get")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -113584,7 +115844,7 @@ static int tolua_function_Array_unsigned_int_42__getReference(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - unsigned int* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + unsigned int* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "Primitive"); return 1; } @@ -113593,7 +115853,7 @@ static int tolua_function_Array_unsigned_int_42__set(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), tolua_function_tointeger(L, 3, "set")); + (self->set)(tolua_function_tointeger(L, 2, "set"), tolua_function_tointeger(L, 3, "set")); return 0; } @@ -113601,7 +115861,7 @@ static int tolua_function_Array_unsigned_int_14__get(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); - unsigned int returnVal = self->get(tolua_function_tointeger(L, 2, "get")); + unsigned int returnVal = (self->get)(tolua_function_tointeger(L, 2, "get")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -113610,7 +115870,7 @@ static int tolua_function_Array_unsigned_int_14__getReference(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - unsigned int* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + unsigned int* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "Primitive"); return 1; } @@ -113619,7 +115879,7 @@ static int tolua_function_Array_unsigned_int_14__set(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), tolua_function_tointeger(L, 3, "set")); + (self->set)(tolua_function_tointeger(L, 2, "set"), tolua_function_tointeger(L, 3, "set")); return 0; } @@ -113627,7 +115887,7 @@ static int tolua_function_Array_unsigned___int16_3__get(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); - unsigned __int16 returnVal = self->get(tolua_function_tointeger(L, 2, "get")); + unsigned __int16 returnVal = (self->get)(tolua_function_tointeger(L, 2, "get")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -113636,7 +115896,7 @@ static int tolua_function_Array_unsigned___int16_3__getReference(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - unsigned __int16* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + unsigned __int16* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "Primitive<__int16>"); return 1; } @@ -113645,7 +115905,7 @@ static int tolua_function_Array_unsigned___int16_3__set(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), tolua_function_tointeger(L, 3, "set")); + (self->set)(tolua_function_tointeger(L, 2, "set"), tolua_function_tointeger(L, 3, "set")); return 0; } @@ -113653,7 +115913,7 @@ static int tolua_function_Array_unsigned_int_45__get(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); - unsigned int returnVal = self->get(tolua_function_tointeger(L, 2, "get")); + unsigned int returnVal = (self->get)(tolua_function_tointeger(L, 2, "get")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -113662,7 +115922,7 @@ static int tolua_function_Array_unsigned_int_45__getReference(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - unsigned int* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + unsigned int* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "Primitive"); return 1; } @@ -113671,7 +115931,7 @@ static int tolua_function_Array_unsigned_int_45__set(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), tolua_function_tointeger(L, 3, "set")); + (self->set)(tolua_function_tointeger(L, 2, "set"), tolua_function_tointeger(L, 3, "set")); return 0; } @@ -113679,7 +115939,7 @@ static int tolua_function_Array_CPoint_4__getReference(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CPoint* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CPoint* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CPoint"); return 1; } @@ -113688,7 +115948,7 @@ static int tolua_function_Array_CPoint_4__set(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CPoint*)tolua_tousertype_dynamic(L, 3, 0, "CPoint")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CPoint*)tolua_tousertype_dynamic(L, 3, 0, "CPoint")); return 0; } @@ -113696,7 +115956,7 @@ static int tolua_function_Array_unsigned___int16_19__get(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); - unsigned __int16 returnVal = self->get(tolua_function_tointeger(L, 2, "get")); + unsigned __int16 returnVal = (self->get)(tolua_function_tointeger(L, 2, "get")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -113705,7 +115965,7 @@ static int tolua_function_Array_unsigned___int16_19__getReference(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - unsigned __int16* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + unsigned __int16* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "Primitive<__int16>"); return 1; } @@ -113714,7 +115974,7 @@ static int tolua_function_Array_unsigned___int16_19__set(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), tolua_function_tointeger(L, 3, "set")); + (self->set)(tolua_function_tointeger(L, 2, "set"), tolua_function_tointeger(L, 3, "set")); return 0; } @@ -113722,7 +115982,7 @@ static int tolua_function_Array_int_64__get(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); - int returnVal = self->get(tolua_function_tointeger(L, 2, "get")); + int returnVal = (self->get)(tolua_function_tointeger(L, 2, "get")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -113731,7 +115991,7 @@ static int tolua_function_Array_int_64__getReference(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - int* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + int* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "Primitive"); return 1; } @@ -113740,7 +116000,24 @@ static int tolua_function_Array_int_64__set(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), tolua_function_tointeger(L, 3, "set")); + (self->set)(tolua_function_tointeger(L, 2, "set"), tolua_function_tointeger(L, 3, "set")); + return 0; +} + +static int tolua_function_Array_SDL_MessageBoxColor_5__getReference(lua_State* L) +{ + Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); + SDL_MessageBoxColor* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); + tolua_pushusertype(L, (void*)returnVal, "SDL_MessageBoxColor"); + return 1; +} + +static int tolua_function_Array_SDL_MessageBoxColor_5__set(lua_State* L) +{ + Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(SDL_MessageBoxColor*)tolua_tousertype_dynamic(L, 3, 0, "SDL_MessageBoxColor")); return 0; } @@ -113748,7 +116025,7 @@ static int tolua_function_Array_unsigned_int_84__get(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); - unsigned int returnVal = self->get(tolua_function_tointeger(L, 2, "get")); + unsigned int returnVal = (self->get)(tolua_function_tointeger(L, 2, "get")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -113757,7 +116034,7 @@ static int tolua_function_Array_unsigned_int_84__getReference(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - unsigned int* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + unsigned int* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "Primitive"); return 1; } @@ -113766,7 +116043,7 @@ static int tolua_function_Array_unsigned_int_84__set(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), tolua_function_tointeger(L, 3, "set")); + (self->set)(tolua_function_tointeger(L, 2, "set"), tolua_function_tointeger(L, 3, "set")); return 0; } @@ -113774,7 +116051,7 @@ static int tolua_function_Array_unsigned_int_49__get(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); - unsigned int returnVal = self->get(tolua_function_tointeger(L, 2, "get")); + unsigned int returnVal = (self->get)(tolua_function_tointeger(L, 2, "get")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -113783,7 +116060,7 @@ static int tolua_function_Array_unsigned_int_49__getReference(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - unsigned int* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + unsigned int* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "Primitive"); return 1; } @@ -113792,7 +116069,7 @@ static int tolua_function_Array_unsigned_int_49__set(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), tolua_function_tointeger(L, 3, "set")); + (self->set)(tolua_function_tointeger(L, 2, "set"), tolua_function_tointeger(L, 3, "set")); return 0; } @@ -113800,7 +116077,7 @@ static int tolua_function_Array_stbrp_node_2__getReference(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - stbrp_node* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + stbrp_node* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "stbrp_node"); return 1; } @@ -113809,7 +116086,7 @@ static int tolua_function_Array_stbrp_node_2__set(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(stbrp_node*)tolua_tousertype_dynamic(L, 3, 0, "stbrp_node")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(stbrp_node*)tolua_tousertype_dynamic(L, 3, 0, "stbrp_node")); return 0; } @@ -113817,7 +116094,7 @@ static int tolua_function_Array_glyphHashEntry_t_32749__getReference(lua_State* { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - glyphHashEntry_t* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + glyphHashEntry_t* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "glyphHashEntry_t"); return 1; } @@ -113826,7 +116103,24 @@ static int tolua_function_Array_glyphHashEntry_t_32749__set(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(glyphHashEntry_t*)tolua_tousertype_dynamic(L, 3, 0, "glyphHashEntry_t")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(glyphHashEntry_t*)tolua_tousertype_dynamic(L, 3, 0, "glyphHashEntry_t")); + return 0; +} + +static int tolua_function_Array_char_256__get(lua_State* L) +{ + Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); + char returnVal = (self->get)(tolua_function_tointeger(L, 2, "get")); + lua_pushlstring(L, (const char*)&returnVal, 1); + return 1; +} + +static int tolua_function_Array_char_256__set(lua_State* L) +{ + Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); + (self->set)(tolua_function_tointeger(L, 2, "set"), tolua_function_tochar(L, 3, "set")); return 0; } @@ -113834,7 +116128,7 @@ static int tolua_function_Array_texture_t_DX_512__getReference(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - texture_t_DX* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + texture_t_DX* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "texture_t_DX"); return 1; } @@ -113843,7 +116137,7 @@ static int tolua_function_Array_texture_t_DX_512__set(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(texture_t_DX*)tolua_tousertype_dynamic(L, 3, 0, "texture_t_DX")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(texture_t_DX*)tolua_tousertype_dynamic(L, 3, 0, "texture_t_DX")); return 0; } @@ -113851,7 +116145,7 @@ static int tolua_function_Array_CResRef_10__getReference(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CResRef* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CResRef* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CResRef"); return 1; } @@ -113860,7 +116154,7 @@ static int tolua_function_Array_CResRef_10__set(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CResRef*)tolua_tousertype_dynamic(L, 3, 0, "CResRef")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CResRef*)tolua_tousertype_dynamic(L, 3, 0, "CResRef")); return 0; } @@ -113868,7 +116162,7 @@ static int tolua_function_Array___int8_15__get(lua_State* L) { Array<__int8,15>* self = (Array<__int8,15>*)tolua_tousertype_dynamic(L, 1, 0, "Array<__int8,15>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); - __int8 returnVal = self->get(tolua_function_tointeger(L, 2, "get")); + __int8 returnVal = (self->get)(tolua_function_tointeger(L, 2, "get")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -113877,7 +116171,7 @@ static int tolua_function_Array___int8_15__getReference(lua_State* L) { Array<__int8,15>* self = (Array<__int8,15>*)tolua_tousertype_dynamic(L, 1, 0, "Array<__int8,15>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - __int8* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + __int8* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "Primitive<__int8>"); return 1; } @@ -113886,7 +116180,7 @@ static int tolua_function_Array___int8_15__set(lua_State* L) { Array<__int8,15>* self = (Array<__int8,15>*)tolua_tousertype_dynamic(L, 1, 0, "Array<__int8,15>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), tolua_function_tointeger<__int8>(L, 3, "set")); + (self->set)(tolua_function_tointeger(L, 2, "set"), tolua_function_tointeger<__int8>(L, 3, "set")); return 0; } @@ -113894,7 +116188,7 @@ static int tolua_function_Array_CResRef_9__getReference(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CResRef* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CResRef* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CResRef"); return 1; } @@ -113903,7 +116197,7 @@ static int tolua_function_Array_CResRef_9__set(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CResRef*)tolua_tousertype_dynamic(L, 3, 0, "CResRef")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CResRef*)tolua_tousertype_dynamic(L, 3, 0, "CResRef")); return 0; } @@ -113911,7 +116205,7 @@ static int tolua_function_Array_CResRef_4__getReference(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CResRef* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CResRef* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CResRef"); return 1; } @@ -113920,7 +116214,7 @@ static int tolua_function_Array_CResRef_4__set(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CResRef*)tolua_tousertype_dynamic(L, 3, 0, "CResRef")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CResRef*)tolua_tousertype_dynamic(L, 3, 0, "CResRef")); return 0; } @@ -113928,7 +116222,7 @@ static int tolua_function_Array___int8_2__get(lua_State* L) { Array<__int8,2>* self = (Array<__int8,2>*)tolua_tousertype_dynamic(L, 1, 0, "Array<__int8,2>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); - __int8 returnVal = self->get(tolua_function_tointeger(L, 2, "get")); + __int8 returnVal = (self->get)(tolua_function_tointeger(L, 2, "get")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -113937,7 +116231,7 @@ static int tolua_function_Array___int8_2__getReference(lua_State* L) { Array<__int8,2>* self = (Array<__int8,2>*)tolua_tousertype_dynamic(L, 1, 0, "Array<__int8,2>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - __int8* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + __int8* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "Primitive<__int8>"); return 1; } @@ -113946,7 +116240,7 @@ static int tolua_function_Array___int8_2__set(lua_State* L) { Array<__int8,2>* self = (Array<__int8,2>*)tolua_tousertype_dynamic(L, 1, 0, "Array<__int8,2>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), tolua_function_tointeger<__int8>(L, 3, "set")); + (self->set)(tolua_function_tointeger(L, 2, "set"), tolua_function_tointeger<__int8>(L, 3, "set")); return 0; } @@ -113954,7 +116248,7 @@ static int tolua_function_Array_CResRef_3__getReference(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - CResRef* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + CResRef* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushusertype(L, (void*)returnVal, "CResRef"); return 1; } @@ -113963,7 +116257,7 @@ static int tolua_function_Array_CResRef_3__set(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), *(CResRef*)tolua_tousertype_dynamic(L, 3, 0, "CResRef")); + (self->set)(tolua_function_tointeger(L, 2, "set"), *(CResRef*)tolua_tousertype_dynamic(L, 3, 0, "CResRef")); return 0; } @@ -113971,7 +116265,7 @@ static int tolua_function_Array_char_32__get(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); - char returnVal = self->get(tolua_function_tointeger(L, 2, "get")); + char returnVal = (self->get)(tolua_function_tointeger(L, 2, "get")); lua_pushlstring(L, (const char*)&returnVal, 1); return 1; } @@ -113980,7 +116274,7 @@ static int tolua_function_Array_char_32__getReference(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - char* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + char* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushstring(L, (const char*)returnVal); return 1; } @@ -113989,7 +116283,7 @@ static int tolua_function_Array_char_32__set(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), tolua_function_tochar(L, 3, "set")); + (self->set)(tolua_function_tointeger(L, 2, "set"), tolua_function_tochar(L, 3, "set")); return 0; } @@ -113997,7 +116291,7 @@ static int tolua_function_Array_char_4__get(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); - char returnVal = self->get(tolua_function_tointeger(L, 2, "get")); + char returnVal = (self->get)(tolua_function_tointeger(L, 2, "get")); lua_pushlstring(L, (const char*)&returnVal, 1); return 1; } @@ -114006,7 +116300,7 @@ static int tolua_function_Array_char_4__getReference(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - char* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + char* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushstring(L, (const char*)returnVal); return 1; } @@ -114015,7 +116309,7 @@ static int tolua_function_Array_char_4__set(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), tolua_function_tochar(L, 3, "set")); + (self->set)(tolua_function_tointeger(L, 2, "set"), tolua_function_tochar(L, 3, "set")); return 0; } @@ -114023,7 +116317,7 @@ static int tolua_function_Array_char_8__get(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); - char returnVal = self->get(tolua_function_tointeger(L, 2, "get")); + char returnVal = (self->get)(tolua_function_tointeger(L, 2, "get")); lua_pushlstring(L, (const char*)&returnVal, 1); return 1; } @@ -114032,7 +116326,7 @@ static int tolua_function_Array_char_8__getReference(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - char* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + char* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushstring(L, (const char*)returnVal); return 1; } @@ -114041,7 +116335,7 @@ static int tolua_function_Array_char_8__set(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), tolua_function_tochar(L, 3, "set")); + (self->set)(tolua_function_tointeger(L, 2, "set"), tolua_function_tochar(L, 3, "set")); return 0; } @@ -114049,7 +116343,7 @@ static int tolua_function_Array_char_2__get(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); - char returnVal = self->get(tolua_function_tointeger(L, 2, "get")); + char returnVal = (self->get)(tolua_function_tointeger(L, 2, "get")); lua_pushlstring(L, (const char*)&returnVal, 1); return 1; } @@ -114058,7 +116352,7 @@ static int tolua_function_Array_char_2__getReference(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - char* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + char* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushstring(L, (const char*)returnVal); return 1; } @@ -114067,7 +116361,7 @@ static int tolua_function_Array_char_2__set(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), tolua_function_tochar(L, 3, "set")); + (self->set)(tolua_function_tointeger(L, 2, "set"), tolua_function_tochar(L, 3, "set")); return 0; } @@ -114075,7 +116369,7 @@ static int tolua_function_Array_char_260__get(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); - char returnVal = self->get(tolua_function_tointeger(L, 2, "get")); + char returnVal = (self->get)(tolua_function_tointeger(L, 2, "get")); lua_pushlstring(L, (const char*)&returnVal, 1); return 1; } @@ -114084,7 +116378,7 @@ static int tolua_function_Array_char_260__getReference(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - char* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + char* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushstring(L, (const char*)returnVal); return 1; } @@ -114093,7 +116387,7 @@ static int tolua_function_Array_char_260__set(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), tolua_function_tochar(L, 3, "set")); + (self->set)(tolua_function_tointeger(L, 2, "set"), tolua_function_tochar(L, 3, "set")); return 0; } @@ -114101,7 +116395,7 @@ static int tolua_function_Array_char_8000__get(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); - char returnVal = self->get(tolua_function_tointeger(L, 2, "get")); + char returnVal = (self->get)(tolua_function_tointeger(L, 2, "get")); lua_pushlstring(L, (const char*)&returnVal, 1); return 1; } @@ -114110,7 +116404,7 @@ static int tolua_function_Array_char_8000__getReference(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - char* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + char* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushstring(L, (const char*)returnVal); return 1; } @@ -114119,7 +116413,7 @@ static int tolua_function_Array_char_8000__set(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), tolua_function_tochar(L, 3, "set")); + (self->set)(tolua_function_tointeger(L, 2, "set"), tolua_function_tochar(L, 3, "set")); return 0; } @@ -114127,7 +116421,7 @@ static int tolua_function_Array_char_1025__get(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); - char returnVal = self->get(tolua_function_tointeger(L, 2, "get")); + char returnVal = (self->get)(tolua_function_tointeger(L, 2, "get")); lua_pushlstring(L, (const char*)&returnVal, 1); return 1; } @@ -114136,7 +116430,7 @@ static int tolua_function_Array_char_1025__getReference(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - char* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + char* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushstring(L, (const char*)returnVal); return 1; } @@ -114145,7 +116439,7 @@ static int tolua_function_Array_char_1025__set(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), tolua_function_tochar(L, 3, "set")); + (self->set)(tolua_function_tointeger(L, 2, "set"), tolua_function_tochar(L, 3, "set")); return 0; } @@ -114153,7 +116447,7 @@ static int tolua_function_Array_char_129__get(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); - char returnVal = self->get(tolua_function_tointeger(L, 2, "get")); + char returnVal = (self->get)(tolua_function_tointeger(L, 2, "get")); lua_pushlstring(L, (const char*)&returnVal, 1); return 1; } @@ -114162,7 +116456,7 @@ static int tolua_function_Array_char_129__getReference(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - char* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); + char* returnVal = (self->getReference)(tolua_function_tointeger(L, 2, "getReference")); tolua_pushstring(L, (const char*)returnVal); return 1; } @@ -114171,33 +116465,7 @@ static int tolua_function_Array_char_129__set(lua_State* L) { Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), tolua_function_tochar(L, 3, "set")); - return 0; -} - -static int tolua_function_Array_char_256__get(lua_State* L) -{ - Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); - if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); - char returnVal = self->get(tolua_function_tointeger(L, 2, "get")); - lua_pushlstring(L, (const char*)&returnVal, 1); - return 1; -} - -static int tolua_function_Array_char_256__getReference(lua_State* L) -{ - Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); - if (!self) tolua_error(L, "invalid 'self' in calling function 'getReference'", NULL); - char* returnVal = self->getReference(tolua_function_tointeger(L, 2, "getReference")); - tolua_pushstring(L, (const char*)returnVal); - return 1; -} - -static int tolua_function_Array_char_256__set(lua_State* L) -{ - Array* self = (Array*)tolua_tousertype_dynamic(L, 1, 0, "Array"); - if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tointeger(L, 2, "set"), tolua_function_tochar(L, 3, "set")); + (self->set)(tolua_function_tointeger(L, 2, "set"), tolua_function_tochar(L, 3, "set")); return 0; } @@ -118533,7 +120801,7 @@ static int tolua_function__734DBB4D47315AEC2910FBD1685ECB48_D3DCreate(lua_State* { _734DBB4D47315AEC2910FBD1685ECB48* self = (_734DBB4D47315AEC2910FBD1685ECB48*)tolua_tousertype_dynamic(L, 1, 0, "_734DBB4D47315AEC2910FBD1685ECB48"); if (!self) tolua_error(L, "invalid 'self' in calling function 'D3DCreate'", NULL); - IDirect3D9* returnVal = self->D3DCreate(tolua_function_tointeger(L, 2, "D3DCreate")); + IDirect3D9* returnVal = (self->D3DCreate)(tolua_function_tointeger(L, 2, "D3DCreate")); tolua_pushusertype(L, (void*)returnVal, "IDirect3D9"); return 1; } @@ -118542,7 +120810,7 @@ static int tolua_function__734DBB4D47315AEC2910FBD1685ECB48_D3DXCreateEffect(lua { _734DBB4D47315AEC2910FBD1685ECB48* self = (_734DBB4D47315AEC2910FBD1685ECB48*)tolua_tousertype_dynamic(L, 1, 0, "_734DBB4D47315AEC2910FBD1685ECB48"); if (!self) tolua_error(L, "invalid 'self' in calling function 'D3DXCreateEffect'", NULL); - HRESULT* returnVal = self->D3DXCreateEffect((IDirect3DDevice9*)tolua_tousertype_dynamic(L, 2, 0, "IDirect3DDevice9"), (const void*)tolua_tousertype_dynamic(L, 3, 0, "UnmappedUserType"), tolua_function_tointeger(L, 4, "D3DXCreateEffect"), (const _D3DXMACRO*)tolua_tousertype_dynamic(L, 5, 0, "_D3DXMACRO"), (ID3DXInclude*)tolua_tousertype_dynamic(L, 6, 0, "ID3DXInclude"), tolua_function_tointeger(L, 7, "D3DXCreateEffect"), (ID3DXEffectPool*)tolua_tousertype_dynamic(L, 8, 0, "ID3DXEffectPool"), (ID3DXEffect**)tolua_tousertype_dynamic(L, 9, 0, "Pointer"), (ID3DXBuffer**)tolua_tousertype_dynamic(L, 10, 0, "Pointer")); + HRESULT* returnVal = (self->D3DXCreateEffect)((IDirect3DDevice9*)tolua_tousertype_dynamic(L, 2, 0, "IDirect3DDevice9"), (const void*)tolua_tousertype_dynamic(L, 3, 0, "UnmappedUserType"), tolua_function_tointeger(L, 4, "D3DXCreateEffect"), (const _D3DXMACRO*)tolua_tousertype_dynamic(L, 5, 0, "_D3DXMACRO"), (ID3DXInclude*)tolua_tousertype_dynamic(L, 6, 0, "ID3DXInclude"), tolua_function_tointeger(L, 7, "D3DXCreateEffect"), (ID3DXEffectPool*)tolua_tousertype_dynamic(L, 8, 0, "ID3DXEffectPool"), (ID3DXEffect**)tolua_tousertype_dynamic(L, 9, 0, "Pointer"), (ID3DXBuffer**)tolua_tousertype_dynamic(L, 10, 0, "Pointer")); tolua_pushusertype(L, (void*)returnVal, "Primitive"); return 1; } @@ -119279,7 +121547,7 @@ static int tolua_function_global_State_frealloc(lua_State* L) { global_State* self = (global_State*)tolua_tousertype_dynamic(L, 1, 0, "global_State"); if (!self) tolua_error(L, "invalid 'self' in calling function 'frealloc'", NULL); - void* returnVal = self->frealloc((void*)tolua_tousertype_dynamic(L, 2, 0, "UnmappedUserType"), (void*)tolua_tousertype_dynamic(L, 3, 0, "UnmappedUserType"), tolua_function_tointeger(L, 4, "frealloc"), tolua_function_tointeger(L, 5, "frealloc")); + void* returnVal = (self->frealloc)((void*)tolua_tousertype_dynamic(L, 2, 0, "UnmappedUserType"), (void*)tolua_tousertype_dynamic(L, 3, 0, "UnmappedUserType"), tolua_function_tointeger(L, 4, "frealloc"), tolua_function_tointeger(L, 5, "frealloc")); tolua_pushusertype(L, (void*)returnVal, "UnmappedUserType"); return 1; } @@ -119288,7 +121556,7 @@ static int tolua_function_global_State_panic(lua_State* L) { global_State* self = (global_State*)tolua_tousertype_dynamic(L, 1, 0, "global_State"); if (!self) tolua_error(L, "invalid 'self' in calling function 'panic'", NULL); - int returnVal = self->panic((lua_State*)tolua_tousertype_dynamic(L, 2, 0, "lua_State")); + int returnVal = (self->panic)((lua_State*)tolua_tousertype_dynamic(L, 2, 0, "lua_State")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -119829,6 +122097,1493 @@ static int tolua_get__GUID_Data4(lua_State* L) return 1; } +static int tolua_get_SDL_VideoDevice_name(lua_State* L) +{ + SDL_VideoDevice* self = (SDL_VideoDevice*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'name'", NULL); + tolua_pushusertype(L, (void*)&self->name, "ConstCharString"); + return 1; +} + +static int tolua_get_SDL_VideoDevice_shape_driver(lua_State* L) +{ + SDL_VideoDevice* self = (SDL_VideoDevice*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'shape_driver'", NULL); + tolua_pushusertype(L, (void*)&self->shape_driver, "SDL_ShapeDriver"); + return 1; +} + +static int tolua_get_SDL_VideoDevice_suspend_screensaver(lua_State* L) +{ + SDL_VideoDevice* self = (SDL_VideoDevice*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'suspend_screensaver'", NULL); + lua_pushinteger(L, (lua_Integer)self->suspend_screensaver); + return 1; +} + +static int tolua_set_SDL_VideoDevice_suspend_screensaver(lua_State* L) +{ + SDL_VideoDevice* self = (SDL_VideoDevice*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'suspend_screensaver'", NULL); + self->suspend_screensaver = (SDL_bool)tolua_setter_tointeger<__int32>(L, "suspend_screensaver"); + return 0; +} + +static int tolua_get_SDL_VideoDevice_reference_suspend_screensaver(lua_State* L) +{ + SDL_VideoDevice* self = (SDL_VideoDevice*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'suspend_screensaver'", NULL); + tolua_pushusertype(L, (void*)&self->suspend_screensaver, "Primitive"); + return 1; +} + +static int tolua_get_SDL_VideoDevice_num_displays(lua_State* L) +{ + SDL_VideoDevice* self = (SDL_VideoDevice*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'num_displays'", NULL); + lua_pushinteger(L, (lua_Integer)self->num_displays); + return 1; +} + +static int tolua_set_SDL_VideoDevice_num_displays(lua_State* L) +{ + SDL_VideoDevice* self = (SDL_VideoDevice*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'num_displays'", NULL); + self->num_displays = tolua_setter_tointeger(L, "num_displays"); + return 0; +} + +static int tolua_get_SDL_VideoDevice_reference_num_displays(lua_State* L) +{ + SDL_VideoDevice* self = (SDL_VideoDevice*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'num_displays'", NULL); + tolua_pushusertype(L, (void*)&self->num_displays, "Primitive"); + return 1; +} + +static int tolua_get_SDL_VideoDevice_displays(lua_State* L) +{ + SDL_VideoDevice* self = (SDL_VideoDevice*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'displays'", NULL); + tolua_pushusertype(L, (void*)self->displays, "SDL_VideoDisplay"); + return 1; +} + +static int tolua_set_SDL_VideoDevice_displays(lua_State* L) +{ + SDL_VideoDevice* self = (SDL_VideoDevice*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'displays'", NULL); + self->displays = (SDL_VideoDisplay*)tolua_tousertype_dynamic(L, 2, 0, "SDL_VideoDisplay"); + return 0; +} + +static int tolua_get_SDL_VideoDevice_reference_displays(lua_State* L) +{ + SDL_VideoDevice* self = (SDL_VideoDevice*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'displays'", NULL); + tolua_pushusertype(L, (void*)&self->displays, "Pointer"); + return 1; +} + +static int tolua_get_SDL_VideoDevice_windows(lua_State* L) +{ + SDL_VideoDevice* self = (SDL_VideoDevice*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'windows'", NULL); + tolua_pushusertype(L, (void*)self->windows, "SDL_Window"); + return 1; +} + +static int tolua_set_SDL_VideoDevice_windows(lua_State* L) +{ + SDL_VideoDevice* self = (SDL_VideoDevice*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'windows'", NULL); + self->windows = (SDL_Window*)tolua_tousertype_dynamic(L, 2, 0, "SDL_Window"); + return 0; +} + +static int tolua_get_SDL_VideoDevice_reference_windows(lua_State* L) +{ + SDL_VideoDevice* self = (SDL_VideoDevice*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'windows'", NULL); + tolua_pushusertype(L, (void*)&self->windows, "Pointer"); + return 1; +} + +static int tolua_get_SDL_VideoDevice_grabbed_window(lua_State* L) +{ + SDL_VideoDevice* self = (SDL_VideoDevice*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'grabbed_window'", NULL); + tolua_pushusertype(L, (void*)self->grabbed_window, "SDL_Window"); + return 1; +} + +static int tolua_set_SDL_VideoDevice_grabbed_window(lua_State* L) +{ + SDL_VideoDevice* self = (SDL_VideoDevice*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'grabbed_window'", NULL); + self->grabbed_window = (SDL_Window*)tolua_tousertype_dynamic(L, 2, 0, "SDL_Window"); + return 0; +} + +static int tolua_get_SDL_VideoDevice_reference_grabbed_window(lua_State* L) +{ + SDL_VideoDevice* self = (SDL_VideoDevice*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'grabbed_window'", NULL); + tolua_pushusertype(L, (void*)&self->grabbed_window, "Pointer"); + return 1; +} + +static int tolua_get_SDL_VideoDevice_window_magic(lua_State* L) +{ + SDL_VideoDevice* self = (SDL_VideoDevice*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'window_magic'", NULL); + lua_pushinteger(L, (lua_Integer)self->window_magic); + return 1; +} + +static int tolua_set_SDL_VideoDevice_window_magic(lua_State* L) +{ + SDL_VideoDevice* self = (SDL_VideoDevice*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'window_magic'", NULL); + self->window_magic = tolua_setter_tointeger(L, "window_magic"); + return 0; +} + +static int tolua_get_SDL_VideoDevice_reference_window_magic(lua_State* L) +{ + SDL_VideoDevice* self = (SDL_VideoDevice*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'window_magic'", NULL); + tolua_pushusertype(L, (void*)&self->window_magic, "Primitive<__int8>"); + return 1; +} + +static int tolua_get_SDL_VideoDevice_next_object_id(lua_State* L) +{ + SDL_VideoDevice* self = (SDL_VideoDevice*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'next_object_id'", NULL); + lua_pushinteger(L, (lua_Integer)self->next_object_id); + return 1; +} + +static int tolua_set_SDL_VideoDevice_next_object_id(lua_State* L) +{ + SDL_VideoDevice* self = (SDL_VideoDevice*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'next_object_id'", NULL); + self->next_object_id = tolua_setter_tointeger(L, "next_object_id"); + return 0; +} + +static int tolua_get_SDL_VideoDevice_reference_next_object_id(lua_State* L) +{ + SDL_VideoDevice* self = (SDL_VideoDevice*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'next_object_id'", NULL); + tolua_pushusertype(L, (void*)&self->next_object_id, "Primitive"); + return 1; +} + +static int tolua_get_SDL_VideoDevice_clipboard_text(lua_State* L) +{ + SDL_VideoDevice* self = (SDL_VideoDevice*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'clipboard_text'", NULL); + tolua_pushusertype(L, (void*)&self->clipboard_text, "CharString"); + return 1; +} + +static int tolua_get_SDL_VideoDevice_gl_config(lua_State* L) +{ + SDL_VideoDevice* self = (SDL_VideoDevice*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'gl_config'", NULL); + tolua_pushusertype(L, (void*)&self->gl_config, "SDL_VideoDevice::gl_config_t"); + return 1; +} + +static int tolua_get_SDL_VideoDevice_current_glwin(lua_State* L) +{ + SDL_VideoDevice* self = (SDL_VideoDevice*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'current_glwin'", NULL); + tolua_pushusertype(L, (void*)self->current_glwin, "SDL_Window"); + return 1; +} + +static int tolua_set_SDL_VideoDevice_current_glwin(lua_State* L) +{ + SDL_VideoDevice* self = (SDL_VideoDevice*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'current_glwin'", NULL); + self->current_glwin = (SDL_Window*)tolua_tousertype_dynamic(L, 2, 0, "SDL_Window"); + return 0; +} + +static int tolua_get_SDL_VideoDevice_reference_current_glwin(lua_State* L) +{ + SDL_VideoDevice* self = (SDL_VideoDevice*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'current_glwin'", NULL); + tolua_pushusertype(L, (void*)&self->current_glwin, "Pointer"); + return 1; +} + +static int tolua_get_SDL_VideoDevice_current_glctx(lua_State* L) +{ + SDL_VideoDevice* self = (SDL_VideoDevice*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'current_glctx'", NULL); + tolua_pushusertype(L, (void*)self->current_glctx, "UnmappedUserType"); + return 1; +} + +static int tolua_set_SDL_VideoDevice_current_glctx(lua_State* L) +{ + SDL_VideoDevice* self = (SDL_VideoDevice*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'current_glctx'", NULL); + self->current_glctx = (void*)tolua_tousertype_dynamic(L, 2, 0, "UnmappedUserType"); + return 0; +} + +static int tolua_get_SDL_VideoDevice_reference_current_glctx(lua_State* L) +{ + SDL_VideoDevice* self = (SDL_VideoDevice*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'current_glctx'", NULL); + tolua_pushusertype(L, (void*)&self->current_glctx, "VoidPointer"); + return 1; +} + +static int tolua_get_SDL_VideoDevice_current_glwin_tls(lua_State* L) +{ + SDL_VideoDevice* self = (SDL_VideoDevice*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'current_glwin_tls'", NULL); + lua_pushinteger(L, (lua_Integer)self->current_glwin_tls); + return 1; +} + +static int tolua_set_SDL_VideoDevice_current_glwin_tls(lua_State* L) +{ + SDL_VideoDevice* self = (SDL_VideoDevice*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'current_glwin_tls'", NULL); + self->current_glwin_tls = tolua_setter_tointeger(L, "current_glwin_tls"); + return 0; +} + +static int tolua_get_SDL_VideoDevice_reference_current_glwin_tls(lua_State* L) +{ + SDL_VideoDevice* self = (SDL_VideoDevice*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'current_glwin_tls'", NULL); + tolua_pushusertype(L, (void*)&self->current_glwin_tls, "Primitive"); + return 1; +} + +static int tolua_get_SDL_VideoDevice_current_glctx_tls(lua_State* L) +{ + SDL_VideoDevice* self = (SDL_VideoDevice*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'current_glctx_tls'", NULL); + lua_pushinteger(L, (lua_Integer)self->current_glctx_tls); + return 1; +} + +static int tolua_set_SDL_VideoDevice_current_glctx_tls(lua_State* L) +{ + SDL_VideoDevice* self = (SDL_VideoDevice*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'current_glctx_tls'", NULL); + self->current_glctx_tls = tolua_setter_tointeger(L, "current_glctx_tls"); + return 0; +} + +static int tolua_get_SDL_VideoDevice_reference_current_glctx_tls(lua_State* L) +{ + SDL_VideoDevice* self = (SDL_VideoDevice*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'current_glctx_tls'", NULL); + tolua_pushusertype(L, (void*)&self->current_glctx_tls, "Primitive"); + return 1; +} + +static int tolua_get_SDL_VideoDevice_driverdata(lua_State* L) +{ + SDL_VideoDevice* self = (SDL_VideoDevice*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'driverdata'", NULL); + tolua_pushusertype(L, (void*)self->driverdata, "UnmappedUserType"); + return 1; +} + +static int tolua_set_SDL_VideoDevice_driverdata(lua_State* L) +{ + SDL_VideoDevice* self = (SDL_VideoDevice*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'driverdata'", NULL); + self->driverdata = (void*)tolua_tousertype_dynamic(L, 2, 0, "UnmappedUserType"); + return 0; +} + +static int tolua_get_SDL_VideoDevice_reference_driverdata(lua_State* L) +{ + SDL_VideoDevice* self = (SDL_VideoDevice*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'driverdata'", NULL); + tolua_pushusertype(L, (void*)&self->driverdata, "VoidPointer"); + return 1; +} + +static int tolua_get_SDL_VideoDevice_gl_data(lua_State* L) +{ + SDL_VideoDevice* self = (SDL_VideoDevice*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'gl_data'", NULL); + tolua_pushusertype(L, (void*)self->gl_data, "SDL_GLDriverData"); + return 1; +} + +static int tolua_set_SDL_VideoDevice_gl_data(lua_State* L) +{ + SDL_VideoDevice* self = (SDL_VideoDevice*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'gl_data'", NULL); + self->gl_data = (SDL_GLDriverData*)tolua_tousertype_dynamic(L, 2, 0, "SDL_GLDriverData"); + return 0; +} + +static int tolua_get_SDL_VideoDevice_reference_gl_data(lua_State* L) +{ + SDL_VideoDevice* self = (SDL_VideoDevice*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'gl_data'", NULL); + tolua_pushusertype(L, (void*)&self->gl_data, "Pointer"); + return 1; +} + +static int tolua_get_SDL_VideoDevice_egl_data(lua_State* L) +{ + SDL_VideoDevice* self = (SDL_VideoDevice*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'egl_data'", NULL); + tolua_pushusertype(L, (void*)self->egl_data, "SDL_EGL_VideoData"); + return 1; +} + +static int tolua_set_SDL_VideoDevice_egl_data(lua_State* L) +{ + SDL_VideoDevice* self = (SDL_VideoDevice*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'egl_data'", NULL); + self->egl_data = (SDL_EGL_VideoData*)tolua_tousertype_dynamic(L, 2, 0, "SDL_EGL_VideoData"); + return 0; +} + +static int tolua_get_SDL_VideoDevice_reference_egl_data(lua_State* L) +{ + SDL_VideoDevice* self = (SDL_VideoDevice*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'egl_data'", NULL); + tolua_pushusertype(L, (void*)&self->egl_data, "Pointer"); + return 1; +} + +static int tolua_get_SDL_VideoDevice_gles_data(lua_State* L) +{ + SDL_VideoDevice* self = (SDL_VideoDevice*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'gles_data'", NULL); + tolua_pushusertype(L, (void*)self->gles_data, "SDL_PrivateGLESData"); + return 1; +} + +static int tolua_set_SDL_VideoDevice_gles_data(lua_State* L) +{ + SDL_VideoDevice* self = (SDL_VideoDevice*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'gles_data'", NULL); + self->gles_data = (SDL_PrivateGLESData*)tolua_tousertype_dynamic(L, 2, 0, "SDL_PrivateGLESData"); + return 0; +} + +static int tolua_get_SDL_VideoDevice_reference_gles_data(lua_State* L) +{ + SDL_VideoDevice* self = (SDL_VideoDevice*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'gles_data'", NULL); + tolua_pushusertype(L, (void*)&self->gles_data, "Pointer"); + return 1; +} + +static int tolua_function_SDL_VideoDevice_VideoInit(lua_State* L) +{ + SDL_VideoDevice* self = (SDL_VideoDevice*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'VideoInit'", NULL); + int returnVal = (self->VideoInit)((SDL_VideoDevice*)tolua_tousertype_dynamic(L, 2, 0, "SDL_VideoDevice")); + lua_pushinteger(L, (lua_Integer)returnVal); + return 1; +} + +static int tolua_function_SDL_VideoDevice_VideoQuit(lua_State* L) +{ + SDL_VideoDevice* self = (SDL_VideoDevice*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'VideoQuit'", NULL); + (self->VideoQuit)((SDL_VideoDevice*)tolua_tousertype_dynamic(L, 2, 0, "SDL_VideoDevice")); + return 0; +} + +static int tolua_function_SDL_VideoDevice_GetDisplayBounds(lua_State* L) +{ + SDL_VideoDevice* self = (SDL_VideoDevice*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'GetDisplayBounds'", NULL); + int returnVal = (self->GetDisplayBounds)((SDL_VideoDevice*)tolua_tousertype_dynamic(L, 2, 0, "SDL_VideoDevice"), (SDL_VideoDisplay*)tolua_tousertype_dynamic(L, 3, 0, "SDL_VideoDisplay"), (SDL_Rect*)tolua_tousertype_dynamic(L, 4, 0, "SDL_Rect")); + lua_pushinteger(L, (lua_Integer)returnVal); + return 1; +} + +static int tolua_function_SDL_VideoDevice_GetDisplayDPI(lua_State* L) +{ + SDL_VideoDevice* self = (SDL_VideoDevice*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'GetDisplayDPI'", NULL); + int returnVal = (self->GetDisplayDPI)((SDL_VideoDevice*)tolua_tousertype_dynamic(L, 2, 0, "SDL_VideoDevice"), (SDL_VideoDisplay*)tolua_tousertype_dynamic(L, 3, 0, "SDL_VideoDisplay"), (float*)tolua_tousertype_dynamic(L, 4, 0, "Primitive"), (float*)tolua_tousertype_dynamic(L, 5, 0, "Primitive"), (float*)tolua_tousertype_dynamic(L, 6, 0, "Primitive")); + lua_pushinteger(L, (lua_Integer)returnVal); + return 1; +} + +static int tolua_function_SDL_VideoDevice_GetDisplayModes(lua_State* L) +{ + SDL_VideoDevice* self = (SDL_VideoDevice*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'GetDisplayModes'", NULL); + (self->GetDisplayModes)((SDL_VideoDevice*)tolua_tousertype_dynamic(L, 2, 0, "SDL_VideoDevice"), (SDL_VideoDisplay*)tolua_tousertype_dynamic(L, 3, 0, "SDL_VideoDisplay")); + return 0; +} + +static int tolua_function_SDL_VideoDevice_SetDisplayMode(lua_State* L) +{ + SDL_VideoDevice* self = (SDL_VideoDevice*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'SetDisplayMode'", NULL); + int returnVal = (self->SetDisplayMode)((SDL_VideoDevice*)tolua_tousertype_dynamic(L, 2, 0, "SDL_VideoDevice"), (SDL_VideoDisplay*)tolua_tousertype_dynamic(L, 3, 0, "SDL_VideoDisplay"), (SDL_DisplayMode*)tolua_tousertype_dynamic(L, 4, 0, "SDL_DisplayMode")); + lua_pushinteger(L, (lua_Integer)returnVal); + return 1; +} + +static int tolua_function_SDL_VideoDevice_CreateWindowA(lua_State* L) +{ + SDL_VideoDevice* self = (SDL_VideoDevice*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'CreateWindowA'", NULL); + int returnVal = (self->CreateWindowA)((SDL_VideoDevice*)tolua_tousertype_dynamic(L, 2, 0, "SDL_VideoDevice"), (SDL_Window*)tolua_tousertype_dynamic(L, 3, 0, "SDL_Window")); + lua_pushinteger(L, (lua_Integer)returnVal); + return 1; +} + +static int tolua_function_SDL_VideoDevice_CreateWindowFrom(lua_State* L) +{ + SDL_VideoDevice* self = (SDL_VideoDevice*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'CreateWindowFrom'", NULL); + int returnVal = (self->CreateWindowFrom)((SDL_VideoDevice*)tolua_tousertype_dynamic(L, 2, 0, "SDL_VideoDevice"), (SDL_Window*)tolua_tousertype_dynamic(L, 3, 0, "SDL_Window"), (const void*)tolua_tousertype_dynamic(L, 4, 0, "UnmappedUserType")); + lua_pushinteger(L, (lua_Integer)returnVal); + return 1; +} + +static int tolua_function_SDL_VideoDevice_SetWindowTitle(lua_State* L) +{ + SDL_VideoDevice* self = (SDL_VideoDevice*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'SetWindowTitle'", NULL); + (self->SetWindowTitle)((SDL_VideoDevice*)tolua_tousertype_dynamic(L, 2, 0, "SDL_VideoDevice"), (SDL_Window*)tolua_tousertype_dynamic(L, 3, 0, "SDL_Window")); + return 0; +} + +static int tolua_function_SDL_VideoDevice_SetWindowIcon(lua_State* L) +{ + SDL_VideoDevice* self = (SDL_VideoDevice*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'SetWindowIcon'", NULL); + (self->SetWindowIcon)((SDL_VideoDevice*)tolua_tousertype_dynamic(L, 2, 0, "SDL_VideoDevice"), (SDL_Window*)tolua_tousertype_dynamic(L, 3, 0, "SDL_Window"), (SDL_Surface*)tolua_tousertype_dynamic(L, 4, 0, "SDL_Surface")); + return 0; +} + +static int tolua_function_SDL_VideoDevice_SetWindowPosition(lua_State* L) +{ + SDL_VideoDevice* self = (SDL_VideoDevice*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'SetWindowPosition'", NULL); + (self->SetWindowPosition)((SDL_VideoDevice*)tolua_tousertype_dynamic(L, 2, 0, "SDL_VideoDevice"), (SDL_Window*)tolua_tousertype_dynamic(L, 3, 0, "SDL_Window")); + return 0; +} + +static int tolua_function_SDL_VideoDevice_SetWindowSize(lua_State* L) +{ + SDL_VideoDevice* self = (SDL_VideoDevice*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'SetWindowSize'", NULL); + (self->SetWindowSize)((SDL_VideoDevice*)tolua_tousertype_dynamic(L, 2, 0, "SDL_VideoDevice"), (SDL_Window*)tolua_tousertype_dynamic(L, 3, 0, "SDL_Window")); + return 0; +} + +static int tolua_function_SDL_VideoDevice_SetWindowMinimumSize(lua_State* L) +{ + SDL_VideoDevice* self = (SDL_VideoDevice*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'SetWindowMinimumSize'", NULL); + (self->SetWindowMinimumSize)((SDL_VideoDevice*)tolua_tousertype_dynamic(L, 2, 0, "SDL_VideoDevice"), (SDL_Window*)tolua_tousertype_dynamic(L, 3, 0, "SDL_Window")); + return 0; +} + +static int tolua_function_SDL_VideoDevice_SetWindowMaximumSize(lua_State* L) +{ + SDL_VideoDevice* self = (SDL_VideoDevice*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'SetWindowMaximumSize'", NULL); + (self->SetWindowMaximumSize)((SDL_VideoDevice*)tolua_tousertype_dynamic(L, 2, 0, "SDL_VideoDevice"), (SDL_Window*)tolua_tousertype_dynamic(L, 3, 0, "SDL_Window")); + return 0; +} + +static int tolua_function_SDL_VideoDevice_ShowWindow(lua_State* L) +{ + SDL_VideoDevice* self = (SDL_VideoDevice*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'ShowWindow'", NULL); + (self->ShowWindow)((SDL_VideoDevice*)tolua_tousertype_dynamic(L, 2, 0, "SDL_VideoDevice"), (SDL_Window*)tolua_tousertype_dynamic(L, 3, 0, "SDL_Window")); + return 0; +} + +static int tolua_function_SDL_VideoDevice_HideWindow(lua_State* L) +{ + SDL_VideoDevice* self = (SDL_VideoDevice*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'HideWindow'", NULL); + (self->HideWindow)((SDL_VideoDevice*)tolua_tousertype_dynamic(L, 2, 0, "SDL_VideoDevice"), (SDL_Window*)tolua_tousertype_dynamic(L, 3, 0, "SDL_Window")); + return 0; +} + +static int tolua_function_SDL_VideoDevice_RaiseWindow(lua_State* L) +{ + SDL_VideoDevice* self = (SDL_VideoDevice*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'RaiseWindow'", NULL); + (self->RaiseWindow)((SDL_VideoDevice*)tolua_tousertype_dynamic(L, 2, 0, "SDL_VideoDevice"), (SDL_Window*)tolua_tousertype_dynamic(L, 3, 0, "SDL_Window")); + return 0; +} + +static int tolua_function_SDL_VideoDevice_MaximizeWindow(lua_State* L) +{ + SDL_VideoDevice* self = (SDL_VideoDevice*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'MaximizeWindow'", NULL); + (self->MaximizeWindow)((SDL_VideoDevice*)tolua_tousertype_dynamic(L, 2, 0, "SDL_VideoDevice"), (SDL_Window*)tolua_tousertype_dynamic(L, 3, 0, "SDL_Window")); + return 0; +} + +static int tolua_function_SDL_VideoDevice_MinimizeWindow(lua_State* L) +{ + SDL_VideoDevice* self = (SDL_VideoDevice*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'MinimizeWindow'", NULL); + (self->MinimizeWindow)((SDL_VideoDevice*)tolua_tousertype_dynamic(L, 2, 0, "SDL_VideoDevice"), (SDL_Window*)tolua_tousertype_dynamic(L, 3, 0, "SDL_Window")); + return 0; +} + +static int tolua_function_SDL_VideoDevice_RestoreWindow(lua_State* L) +{ + SDL_VideoDevice* self = (SDL_VideoDevice*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'RestoreWindow'", NULL); + (self->RestoreWindow)((SDL_VideoDevice*)tolua_tousertype_dynamic(L, 2, 0, "SDL_VideoDevice"), (SDL_Window*)tolua_tousertype_dynamic(L, 3, 0, "SDL_Window")); + return 0; +} + +static int tolua_function_SDL_VideoDevice_SetWindowBordered(lua_State* L) +{ + SDL_VideoDevice* self = (SDL_VideoDevice*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'SetWindowBordered'", NULL); + (self->SetWindowBordered)((SDL_VideoDevice*)tolua_tousertype_dynamic(L, 2, 0, "SDL_VideoDevice"), (SDL_Window*)tolua_tousertype_dynamic(L, 3, 0, "SDL_Window"), (SDL_bool)tolua_function_tointeger<__int32>(L, 4, "SetWindowBordered")); + return 0; +} + +static int tolua_function_SDL_VideoDevice_SetWindowFullscreen(lua_State* L) +{ + SDL_VideoDevice* self = (SDL_VideoDevice*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'SetWindowFullscreen'", NULL); + (self->SetWindowFullscreen)((SDL_VideoDevice*)tolua_tousertype_dynamic(L, 2, 0, "SDL_VideoDevice"), (SDL_Window*)tolua_tousertype_dynamic(L, 3, 0, "SDL_Window"), (SDL_VideoDisplay*)tolua_tousertype_dynamic(L, 4, 0, "SDL_VideoDisplay"), (SDL_bool)tolua_function_tointeger<__int32>(L, 5, "SetWindowFullscreen")); + return 0; +} + +static int tolua_function_SDL_VideoDevice_SetWindowGammaRamp(lua_State* L) +{ + SDL_VideoDevice* self = (SDL_VideoDevice*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'SetWindowGammaRamp'", NULL); + int returnVal = (self->SetWindowGammaRamp)((SDL_VideoDevice*)tolua_tousertype_dynamic(L, 2, 0, "SDL_VideoDevice"), (SDL_Window*)tolua_tousertype_dynamic(L, 3, 0, "SDL_Window"), (const unsigned __int16*)tolua_tousertype_dynamic(L, 4, 0, "Primitive<__int16>")); + lua_pushinteger(L, (lua_Integer)returnVal); + return 1; +} + +static int tolua_function_SDL_VideoDevice_GetWindowGammaRamp(lua_State* L) +{ + SDL_VideoDevice* self = (SDL_VideoDevice*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'GetWindowGammaRamp'", NULL); + int returnVal = (self->GetWindowGammaRamp)((SDL_VideoDevice*)tolua_tousertype_dynamic(L, 2, 0, "SDL_VideoDevice"), (SDL_Window*)tolua_tousertype_dynamic(L, 3, 0, "SDL_Window"), (wchar_t*)tolua_tousertype_dynamic(L, 4, 0, "Primitive")); + lua_pushinteger(L, (lua_Integer)returnVal); + return 1; +} + +static int tolua_function_SDL_VideoDevice_SetWindowGrab(lua_State* L) +{ + SDL_VideoDevice* self = (SDL_VideoDevice*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'SetWindowGrab'", NULL); + (self->SetWindowGrab)((SDL_VideoDevice*)tolua_tousertype_dynamic(L, 2, 0, "SDL_VideoDevice"), (SDL_Window*)tolua_tousertype_dynamic(L, 3, 0, "SDL_Window"), (SDL_bool)tolua_function_tointeger<__int32>(L, 4, "SetWindowGrab")); + return 0; +} + +static int tolua_function_SDL_VideoDevice_DestroyWindow(lua_State* L) +{ + SDL_VideoDevice* self = (SDL_VideoDevice*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'DestroyWindow'", NULL); + (self->DestroyWindow)((SDL_VideoDevice*)tolua_tousertype_dynamic(L, 2, 0, "SDL_VideoDevice"), (SDL_Window*)tolua_tousertype_dynamic(L, 3, 0, "SDL_Window")); + return 0; +} + +static int tolua_function_SDL_VideoDevice_CreateWindowFramebuffer(lua_State* L) +{ + SDL_VideoDevice* self = (SDL_VideoDevice*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'CreateWindowFramebuffer'", NULL); + int returnVal = (self->CreateWindowFramebuffer)((SDL_VideoDevice*)tolua_tousertype_dynamic(L, 2, 0, "SDL_VideoDevice"), (SDL_Window*)tolua_tousertype_dynamic(L, 3, 0, "SDL_Window"), (unsigned int*)tolua_tousertype_dynamic(L, 4, 0, "Primitive"), (void**)tolua_tousertype_dynamic(L, 5, 0, "VoidPointer"), (int*)tolua_tousertype_dynamic(L, 6, 0, "Primitive")); + lua_pushinteger(L, (lua_Integer)returnVal); + return 1; +} + +static int tolua_function_SDL_VideoDevice_UpdateWindowFramebuffer(lua_State* L) +{ + SDL_VideoDevice* self = (SDL_VideoDevice*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'UpdateWindowFramebuffer'", NULL); + int returnVal = (self->UpdateWindowFramebuffer)((SDL_VideoDevice*)tolua_tousertype_dynamic(L, 2, 0, "SDL_VideoDevice"), (SDL_Window*)tolua_tousertype_dynamic(L, 3, 0, "SDL_Window"), (const SDL_Rect*)tolua_tousertype_dynamic(L, 4, 0, "SDL_Rect"), tolua_function_tointeger(L, 5, "UpdateWindowFramebuffer")); + lua_pushinteger(L, (lua_Integer)returnVal); + return 1; +} + +static int tolua_function_SDL_VideoDevice_DestroyWindowFramebuffer(lua_State* L) +{ + SDL_VideoDevice* self = (SDL_VideoDevice*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'DestroyWindowFramebuffer'", NULL); + (self->DestroyWindowFramebuffer)((SDL_VideoDevice*)tolua_tousertype_dynamic(L, 2, 0, "SDL_VideoDevice"), (SDL_Window*)tolua_tousertype_dynamic(L, 3, 0, "SDL_Window")); + return 0; +} + +static int tolua_function_SDL_VideoDevice_OnWindowEnter(lua_State* L) +{ + SDL_VideoDevice* self = (SDL_VideoDevice*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'OnWindowEnter'", NULL); + (self->OnWindowEnter)((SDL_VideoDevice*)tolua_tousertype_dynamic(L, 2, 0, "SDL_VideoDevice"), (SDL_Window*)tolua_tousertype_dynamic(L, 3, 0, "SDL_Window")); + return 0; +} + +static int tolua_function_SDL_VideoDevice_GetWindowWMInfo(lua_State* L) +{ + SDL_VideoDevice* self = (SDL_VideoDevice*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'GetWindowWMInfo'", NULL); + SDL_bool returnVal = (self->GetWindowWMInfo)((SDL_VideoDevice*)tolua_tousertype_dynamic(L, 2, 0, "SDL_VideoDevice"), (SDL_Window*)tolua_tousertype_dynamic(L, 3, 0, "SDL_Window"), (SDL_SysWMinfo*)tolua_tousertype_dynamic(L, 4, 0, "SDL_SysWMinfo")); + lua_pushinteger(L, (lua_Integer)returnVal); + return 1; +} + +static int tolua_function_SDL_VideoDevice_GL_LoadLibrary(lua_State* L) +{ + SDL_VideoDevice* self = (SDL_VideoDevice*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'GL_LoadLibrary'", NULL); + int returnVal = (self->GL_LoadLibrary)((SDL_VideoDevice*)tolua_tousertype_dynamic(L, 2, 0, "SDL_VideoDevice"), *(const char**)tolua_tousertype_dynamic(L, 3, 0, "ConstCharString")); + lua_pushinteger(L, (lua_Integer)returnVal); + return 1; +} + +static int tolua_function_SDL_VideoDevice_GL_GetProcAddress(lua_State* L) +{ + SDL_VideoDevice* self = (SDL_VideoDevice*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'GL_GetProcAddress'", NULL); + void* returnVal = (self->GL_GetProcAddress)((SDL_VideoDevice*)tolua_tousertype_dynamic(L, 2, 0, "SDL_VideoDevice"), *(const char**)tolua_tousertype_dynamic(L, 3, 0, "ConstCharString")); + tolua_pushusertype(L, (void*)returnVal, "UnmappedUserType"); + return 1; +} + +static int tolua_function_SDL_VideoDevice_GL_UnloadLibrary(lua_State* L) +{ + SDL_VideoDevice* self = (SDL_VideoDevice*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'GL_UnloadLibrary'", NULL); + (self->GL_UnloadLibrary)((SDL_VideoDevice*)tolua_tousertype_dynamic(L, 2, 0, "SDL_VideoDevice")); + return 0; +} + +static int tolua_function_SDL_VideoDevice_GL_CreateContext(lua_State* L) +{ + SDL_VideoDevice* self = (SDL_VideoDevice*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'GL_CreateContext'", NULL); + void* returnVal = (self->GL_CreateContext)((SDL_VideoDevice*)tolua_tousertype_dynamic(L, 2, 0, "SDL_VideoDevice"), (SDL_Window*)tolua_tousertype_dynamic(L, 3, 0, "SDL_Window")); + tolua_pushusertype(L, (void*)returnVal, "UnmappedUserType"); + return 1; +} + +static int tolua_function_SDL_VideoDevice_GL_MakeCurrent(lua_State* L) +{ + SDL_VideoDevice* self = (SDL_VideoDevice*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'GL_MakeCurrent'", NULL); + int returnVal = (self->GL_MakeCurrent)((SDL_VideoDevice*)tolua_tousertype_dynamic(L, 2, 0, "SDL_VideoDevice"), (SDL_Window*)tolua_tousertype_dynamic(L, 3, 0, "SDL_Window"), (void*)tolua_tousertype_dynamic(L, 4, 0, "UnmappedUserType")); + lua_pushinteger(L, (lua_Integer)returnVal); + return 1; +} + +static int tolua_function_SDL_VideoDevice_GL_GetDrawableSize(lua_State* L) +{ + SDL_VideoDevice* self = (SDL_VideoDevice*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'GL_GetDrawableSize'", NULL); + (self->GL_GetDrawableSize)((SDL_VideoDevice*)tolua_tousertype_dynamic(L, 2, 0, "SDL_VideoDevice"), (SDL_Window*)tolua_tousertype_dynamic(L, 3, 0, "SDL_Window"), (int*)tolua_tousertype_dynamic(L, 4, 0, "Primitive"), (int*)tolua_tousertype_dynamic(L, 5, 0, "Primitive")); + return 0; +} + +static int tolua_function_SDL_VideoDevice_GL_SetSwapInterval(lua_State* L) +{ + SDL_VideoDevice* self = (SDL_VideoDevice*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'GL_SetSwapInterval'", NULL); + int returnVal = (self->GL_SetSwapInterval)((SDL_VideoDevice*)tolua_tousertype_dynamic(L, 2, 0, "SDL_VideoDevice"), tolua_function_tointeger(L, 3, "GL_SetSwapInterval")); + lua_pushinteger(L, (lua_Integer)returnVal); + return 1; +} + +static int tolua_function_SDL_VideoDevice_GL_GetSwapInterval(lua_State* L) +{ + SDL_VideoDevice* self = (SDL_VideoDevice*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'GL_GetSwapInterval'", NULL); + int returnVal = (self->GL_GetSwapInterval)((SDL_VideoDevice*)tolua_tousertype_dynamic(L, 2, 0, "SDL_VideoDevice")); + lua_pushinteger(L, (lua_Integer)returnVal); + return 1; +} + +static int tolua_function_SDL_VideoDevice_GL_SwapWindow(lua_State* L) +{ + SDL_VideoDevice* self = (SDL_VideoDevice*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'GL_SwapWindow'", NULL); + (self->GL_SwapWindow)((SDL_VideoDevice*)tolua_tousertype_dynamic(L, 2, 0, "SDL_VideoDevice"), (SDL_Window*)tolua_tousertype_dynamic(L, 3, 0, "SDL_Window")); + return 0; +} + +static int tolua_function_SDL_VideoDevice_GL_DeleteContext(lua_State* L) +{ + SDL_VideoDevice* self = (SDL_VideoDevice*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'GL_DeleteContext'", NULL); + (self->GL_DeleteContext)((SDL_VideoDevice*)tolua_tousertype_dynamic(L, 2, 0, "SDL_VideoDevice"), (void*)tolua_tousertype_dynamic(L, 3, 0, "UnmappedUserType")); + return 0; +} + +static int tolua_function_SDL_VideoDevice_PumpEvents(lua_State* L) +{ + SDL_VideoDevice* self = (SDL_VideoDevice*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'PumpEvents'", NULL); + (self->PumpEvents)((SDL_VideoDevice*)tolua_tousertype_dynamic(L, 2, 0, "SDL_VideoDevice")); + return 0; +} + +static int tolua_function_SDL_VideoDevice_SuspendScreenSaver(lua_State* L) +{ + SDL_VideoDevice* self = (SDL_VideoDevice*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'SuspendScreenSaver'", NULL); + (self->SuspendScreenSaver)((SDL_VideoDevice*)tolua_tousertype_dynamic(L, 2, 0, "SDL_VideoDevice")); + return 0; +} + +static int tolua_function_SDL_VideoDevice_StartTextInput(lua_State* L) +{ + SDL_VideoDevice* self = (SDL_VideoDevice*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'StartTextInput'", NULL); + (self->StartTextInput)((SDL_VideoDevice*)tolua_tousertype_dynamic(L, 2, 0, "SDL_VideoDevice")); + return 0; +} + +static int tolua_function_SDL_VideoDevice_StopTextInput(lua_State* L) +{ + SDL_VideoDevice* self = (SDL_VideoDevice*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'StopTextInput'", NULL); + (self->StopTextInput)((SDL_VideoDevice*)tolua_tousertype_dynamic(L, 2, 0, "SDL_VideoDevice")); + return 0; +} + +static int tolua_function_SDL_VideoDevice_SetTextInputRect(lua_State* L) +{ + SDL_VideoDevice* self = (SDL_VideoDevice*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'SetTextInputRect'", NULL); + (self->SetTextInputRect)((SDL_VideoDevice*)tolua_tousertype_dynamic(L, 2, 0, "SDL_VideoDevice"), (SDL_Rect*)tolua_tousertype_dynamic(L, 3, 0, "SDL_Rect")); + return 0; +} + +static int tolua_function_SDL_VideoDevice_HasScreenKeyboardSupport(lua_State* L) +{ + SDL_VideoDevice* self = (SDL_VideoDevice*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'HasScreenKeyboardSupport'", NULL); + SDL_bool returnVal = (self->HasScreenKeyboardSupport)((SDL_VideoDevice*)tolua_tousertype_dynamic(L, 2, 0, "SDL_VideoDevice")); + lua_pushinteger(L, (lua_Integer)returnVal); + return 1; +} + +static int tolua_function_SDL_VideoDevice_ShowScreenKeyboard(lua_State* L) +{ + SDL_VideoDevice* self = (SDL_VideoDevice*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'ShowScreenKeyboard'", NULL); + (self->ShowScreenKeyboard)((SDL_VideoDevice*)tolua_tousertype_dynamic(L, 2, 0, "SDL_VideoDevice"), (SDL_Window*)tolua_tousertype_dynamic(L, 3, 0, "SDL_Window")); + return 0; +} + +static int tolua_function_SDL_VideoDevice_HideScreenKeyboard(lua_State* L) +{ + SDL_VideoDevice* self = (SDL_VideoDevice*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'HideScreenKeyboard'", NULL); + (self->HideScreenKeyboard)((SDL_VideoDevice*)tolua_tousertype_dynamic(L, 2, 0, "SDL_VideoDevice"), (SDL_Window*)tolua_tousertype_dynamic(L, 3, 0, "SDL_Window")); + return 0; +} + +static int tolua_function_SDL_VideoDevice_IsScreenKeyboardShown(lua_State* L) +{ + SDL_VideoDevice* self = (SDL_VideoDevice*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'IsScreenKeyboardShown'", NULL); + SDL_bool returnVal = (self->IsScreenKeyboardShown)((SDL_VideoDevice*)tolua_tousertype_dynamic(L, 2, 0, "SDL_VideoDevice"), (SDL_Window*)tolua_tousertype_dynamic(L, 3, 0, "SDL_Window")); + lua_pushinteger(L, (lua_Integer)returnVal); + return 1; +} + +static int tolua_function_SDL_VideoDevice_SetClipboardText(lua_State* L) +{ + SDL_VideoDevice* self = (SDL_VideoDevice*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'SetClipboardText'", NULL); + int returnVal = (self->SetClipboardText)((SDL_VideoDevice*)tolua_tousertype_dynamic(L, 2, 0, "SDL_VideoDevice"), *(const char**)tolua_tousertype_dynamic(L, 3, 0, "ConstCharString")); + lua_pushinteger(L, (lua_Integer)returnVal); + return 1; +} + +static int tolua_function_SDL_VideoDevice_HasClipboardText(lua_State* L) +{ + SDL_VideoDevice* self = (SDL_VideoDevice*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'HasClipboardText'", NULL); + SDL_bool returnVal = (self->HasClipboardText)((SDL_VideoDevice*)tolua_tousertype_dynamic(L, 2, 0, "SDL_VideoDevice")); + lua_pushinteger(L, (lua_Integer)returnVal); + return 1; +} + +static int tolua_function_SDL_VideoDevice_ShowMessageBox(lua_State* L) +{ + SDL_VideoDevice* self = (SDL_VideoDevice*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'ShowMessageBox'", NULL); + int returnVal = (self->ShowMessageBox)((SDL_VideoDevice*)tolua_tousertype_dynamic(L, 2, 0, "SDL_VideoDevice"), (const SDL_MessageBoxData*)tolua_tousertype_dynamic(L, 3, 0, "SDL_MessageBoxData"), (int*)tolua_tousertype_dynamic(L, 4, 0, "Primitive")); + lua_pushinteger(L, (lua_Integer)returnVal); + return 1; +} + +static int tolua_function_SDL_VideoDevice_SetWindowHitTest(lua_State* L) +{ + SDL_VideoDevice* self = (SDL_VideoDevice*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'SetWindowHitTest'", NULL); + int returnVal = (self->SetWindowHitTest)((SDL_Window*)tolua_tousertype_dynamic(L, 2, 0, "SDL_Window"), (SDL_bool)tolua_function_tointeger<__int32>(L, 3, "SetWindowHitTest")); + lua_pushinteger(L, (lua_Integer)returnVal); + return 1; +} + +static int tolua_function_SDL_VideoDevice_free(lua_State* L) +{ + SDL_VideoDevice* self = (SDL_VideoDevice*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'free'", NULL); + (self->free)((SDL_VideoDevice*)tolua_tousertype_dynamic(L, 2, 0, "SDL_VideoDevice")); + return 0; +} + +static int tolua_get_SDL_VideoDevice__gl_config_t_red_size(lua_State* L) +{ + SDL_VideoDevice::gl_config_t* self = (SDL_VideoDevice::gl_config_t*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice::gl_config_t"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'red_size'", NULL); + lua_pushinteger(L, (lua_Integer)self->red_size); + return 1; +} + +static int tolua_set_SDL_VideoDevice__gl_config_t_red_size(lua_State* L) +{ + SDL_VideoDevice::gl_config_t* self = (SDL_VideoDevice::gl_config_t*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice::gl_config_t"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'red_size'", NULL); + self->red_size = tolua_setter_tointeger(L, "red_size"); + return 0; +} + +static int tolua_get_SDL_VideoDevice__gl_config_t_reference_red_size(lua_State* L) +{ + SDL_VideoDevice::gl_config_t* self = (SDL_VideoDevice::gl_config_t*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice::gl_config_t"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'red_size'", NULL); + tolua_pushusertype(L, (void*)&self->red_size, "Primitive"); + return 1; +} + +static int tolua_get_SDL_VideoDevice__gl_config_t_green_size(lua_State* L) +{ + SDL_VideoDevice::gl_config_t* self = (SDL_VideoDevice::gl_config_t*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice::gl_config_t"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'green_size'", NULL); + lua_pushinteger(L, (lua_Integer)self->green_size); + return 1; +} + +static int tolua_set_SDL_VideoDevice__gl_config_t_green_size(lua_State* L) +{ + SDL_VideoDevice::gl_config_t* self = (SDL_VideoDevice::gl_config_t*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice::gl_config_t"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'green_size'", NULL); + self->green_size = tolua_setter_tointeger(L, "green_size"); + return 0; +} + +static int tolua_get_SDL_VideoDevice__gl_config_t_reference_green_size(lua_State* L) +{ + SDL_VideoDevice::gl_config_t* self = (SDL_VideoDevice::gl_config_t*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice::gl_config_t"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'green_size'", NULL); + tolua_pushusertype(L, (void*)&self->green_size, "Primitive"); + return 1; +} + +static int tolua_get_SDL_VideoDevice__gl_config_t_blue_size(lua_State* L) +{ + SDL_VideoDevice::gl_config_t* self = (SDL_VideoDevice::gl_config_t*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice::gl_config_t"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'blue_size'", NULL); + lua_pushinteger(L, (lua_Integer)self->blue_size); + return 1; +} + +static int tolua_set_SDL_VideoDevice__gl_config_t_blue_size(lua_State* L) +{ + SDL_VideoDevice::gl_config_t* self = (SDL_VideoDevice::gl_config_t*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice::gl_config_t"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'blue_size'", NULL); + self->blue_size = tolua_setter_tointeger(L, "blue_size"); + return 0; +} + +static int tolua_get_SDL_VideoDevice__gl_config_t_reference_blue_size(lua_State* L) +{ + SDL_VideoDevice::gl_config_t* self = (SDL_VideoDevice::gl_config_t*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice::gl_config_t"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'blue_size'", NULL); + tolua_pushusertype(L, (void*)&self->blue_size, "Primitive"); + return 1; +} + +static int tolua_get_SDL_VideoDevice__gl_config_t_alpha_size(lua_State* L) +{ + SDL_VideoDevice::gl_config_t* self = (SDL_VideoDevice::gl_config_t*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice::gl_config_t"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'alpha_size'", NULL); + lua_pushinteger(L, (lua_Integer)self->alpha_size); + return 1; +} + +static int tolua_set_SDL_VideoDevice__gl_config_t_alpha_size(lua_State* L) +{ + SDL_VideoDevice::gl_config_t* self = (SDL_VideoDevice::gl_config_t*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice::gl_config_t"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'alpha_size'", NULL); + self->alpha_size = tolua_setter_tointeger(L, "alpha_size"); + return 0; +} + +static int tolua_get_SDL_VideoDevice__gl_config_t_reference_alpha_size(lua_State* L) +{ + SDL_VideoDevice::gl_config_t* self = (SDL_VideoDevice::gl_config_t*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice::gl_config_t"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'alpha_size'", NULL); + tolua_pushusertype(L, (void*)&self->alpha_size, "Primitive"); + return 1; +} + +static int tolua_get_SDL_VideoDevice__gl_config_t_depth_size(lua_State* L) +{ + SDL_VideoDevice::gl_config_t* self = (SDL_VideoDevice::gl_config_t*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice::gl_config_t"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'depth_size'", NULL); + lua_pushinteger(L, (lua_Integer)self->depth_size); + return 1; +} + +static int tolua_set_SDL_VideoDevice__gl_config_t_depth_size(lua_State* L) +{ + SDL_VideoDevice::gl_config_t* self = (SDL_VideoDevice::gl_config_t*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice::gl_config_t"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'depth_size'", NULL); + self->depth_size = tolua_setter_tointeger(L, "depth_size"); + return 0; +} + +static int tolua_get_SDL_VideoDevice__gl_config_t_reference_depth_size(lua_State* L) +{ + SDL_VideoDevice::gl_config_t* self = (SDL_VideoDevice::gl_config_t*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice::gl_config_t"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'depth_size'", NULL); + tolua_pushusertype(L, (void*)&self->depth_size, "Primitive"); + return 1; +} + +static int tolua_get_SDL_VideoDevice__gl_config_t_buffer_size(lua_State* L) +{ + SDL_VideoDevice::gl_config_t* self = (SDL_VideoDevice::gl_config_t*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice::gl_config_t"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'buffer_size'", NULL); + lua_pushinteger(L, (lua_Integer)self->buffer_size); + return 1; +} + +static int tolua_set_SDL_VideoDevice__gl_config_t_buffer_size(lua_State* L) +{ + SDL_VideoDevice::gl_config_t* self = (SDL_VideoDevice::gl_config_t*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice::gl_config_t"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'buffer_size'", NULL); + self->buffer_size = tolua_setter_tointeger(L, "buffer_size"); + return 0; +} + +static int tolua_get_SDL_VideoDevice__gl_config_t_reference_buffer_size(lua_State* L) +{ + SDL_VideoDevice::gl_config_t* self = (SDL_VideoDevice::gl_config_t*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice::gl_config_t"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'buffer_size'", NULL); + tolua_pushusertype(L, (void*)&self->buffer_size, "Primitive"); + return 1; +} + +static int tolua_get_SDL_VideoDevice__gl_config_t_stencil_size(lua_State* L) +{ + SDL_VideoDevice::gl_config_t* self = (SDL_VideoDevice::gl_config_t*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice::gl_config_t"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'stencil_size'", NULL); + lua_pushinteger(L, (lua_Integer)self->stencil_size); + return 1; +} + +static int tolua_set_SDL_VideoDevice__gl_config_t_stencil_size(lua_State* L) +{ + SDL_VideoDevice::gl_config_t* self = (SDL_VideoDevice::gl_config_t*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice::gl_config_t"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'stencil_size'", NULL); + self->stencil_size = tolua_setter_tointeger(L, "stencil_size"); + return 0; +} + +static int tolua_get_SDL_VideoDevice__gl_config_t_reference_stencil_size(lua_State* L) +{ + SDL_VideoDevice::gl_config_t* self = (SDL_VideoDevice::gl_config_t*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice::gl_config_t"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'stencil_size'", NULL); + tolua_pushusertype(L, (void*)&self->stencil_size, "Primitive"); + return 1; +} + +static int tolua_get_SDL_VideoDevice__gl_config_t_double_buffer(lua_State* L) +{ + SDL_VideoDevice::gl_config_t* self = (SDL_VideoDevice::gl_config_t*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice::gl_config_t"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'double_buffer'", NULL); + lua_pushinteger(L, (lua_Integer)self->double_buffer); + return 1; +} + +static int tolua_set_SDL_VideoDevice__gl_config_t_double_buffer(lua_State* L) +{ + SDL_VideoDevice::gl_config_t* self = (SDL_VideoDevice::gl_config_t*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice::gl_config_t"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'double_buffer'", NULL); + self->double_buffer = tolua_setter_tointeger(L, "double_buffer"); + return 0; +} + +static int tolua_get_SDL_VideoDevice__gl_config_t_reference_double_buffer(lua_State* L) +{ + SDL_VideoDevice::gl_config_t* self = (SDL_VideoDevice::gl_config_t*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice::gl_config_t"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'double_buffer'", NULL); + tolua_pushusertype(L, (void*)&self->double_buffer, "Primitive"); + return 1; +} + +static int tolua_get_SDL_VideoDevice__gl_config_t_accum_red_size(lua_State* L) +{ + SDL_VideoDevice::gl_config_t* self = (SDL_VideoDevice::gl_config_t*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice::gl_config_t"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'accum_red_size'", NULL); + lua_pushinteger(L, (lua_Integer)self->accum_red_size); + return 1; +} + +static int tolua_set_SDL_VideoDevice__gl_config_t_accum_red_size(lua_State* L) +{ + SDL_VideoDevice::gl_config_t* self = (SDL_VideoDevice::gl_config_t*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice::gl_config_t"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'accum_red_size'", NULL); + self->accum_red_size = tolua_setter_tointeger(L, "accum_red_size"); + return 0; +} + +static int tolua_get_SDL_VideoDevice__gl_config_t_reference_accum_red_size(lua_State* L) +{ + SDL_VideoDevice::gl_config_t* self = (SDL_VideoDevice::gl_config_t*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice::gl_config_t"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'accum_red_size'", NULL); + tolua_pushusertype(L, (void*)&self->accum_red_size, "Primitive"); + return 1; +} + +static int tolua_get_SDL_VideoDevice__gl_config_t_accum_green_size(lua_State* L) +{ + SDL_VideoDevice::gl_config_t* self = (SDL_VideoDevice::gl_config_t*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice::gl_config_t"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'accum_green_size'", NULL); + lua_pushinteger(L, (lua_Integer)self->accum_green_size); + return 1; +} + +static int tolua_set_SDL_VideoDevice__gl_config_t_accum_green_size(lua_State* L) +{ + SDL_VideoDevice::gl_config_t* self = (SDL_VideoDevice::gl_config_t*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice::gl_config_t"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'accum_green_size'", NULL); + self->accum_green_size = tolua_setter_tointeger(L, "accum_green_size"); + return 0; +} + +static int tolua_get_SDL_VideoDevice__gl_config_t_reference_accum_green_size(lua_State* L) +{ + SDL_VideoDevice::gl_config_t* self = (SDL_VideoDevice::gl_config_t*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice::gl_config_t"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'accum_green_size'", NULL); + tolua_pushusertype(L, (void*)&self->accum_green_size, "Primitive"); + return 1; +} + +static int tolua_get_SDL_VideoDevice__gl_config_t_accum_blue_size(lua_State* L) +{ + SDL_VideoDevice::gl_config_t* self = (SDL_VideoDevice::gl_config_t*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice::gl_config_t"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'accum_blue_size'", NULL); + lua_pushinteger(L, (lua_Integer)self->accum_blue_size); + return 1; +} + +static int tolua_set_SDL_VideoDevice__gl_config_t_accum_blue_size(lua_State* L) +{ + SDL_VideoDevice::gl_config_t* self = (SDL_VideoDevice::gl_config_t*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice::gl_config_t"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'accum_blue_size'", NULL); + self->accum_blue_size = tolua_setter_tointeger(L, "accum_blue_size"); + return 0; +} + +static int tolua_get_SDL_VideoDevice__gl_config_t_reference_accum_blue_size(lua_State* L) +{ + SDL_VideoDevice::gl_config_t* self = (SDL_VideoDevice::gl_config_t*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice::gl_config_t"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'accum_blue_size'", NULL); + tolua_pushusertype(L, (void*)&self->accum_blue_size, "Primitive"); + return 1; +} + +static int tolua_get_SDL_VideoDevice__gl_config_t_accum_alpha_size(lua_State* L) +{ + SDL_VideoDevice::gl_config_t* self = (SDL_VideoDevice::gl_config_t*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice::gl_config_t"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'accum_alpha_size'", NULL); + lua_pushinteger(L, (lua_Integer)self->accum_alpha_size); + return 1; +} + +static int tolua_set_SDL_VideoDevice__gl_config_t_accum_alpha_size(lua_State* L) +{ + SDL_VideoDevice::gl_config_t* self = (SDL_VideoDevice::gl_config_t*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice::gl_config_t"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'accum_alpha_size'", NULL); + self->accum_alpha_size = tolua_setter_tointeger(L, "accum_alpha_size"); + return 0; +} + +static int tolua_get_SDL_VideoDevice__gl_config_t_reference_accum_alpha_size(lua_State* L) +{ + SDL_VideoDevice::gl_config_t* self = (SDL_VideoDevice::gl_config_t*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice::gl_config_t"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'accum_alpha_size'", NULL); + tolua_pushusertype(L, (void*)&self->accum_alpha_size, "Primitive"); + return 1; +} + +static int tolua_get_SDL_VideoDevice__gl_config_t_stereo(lua_State* L) +{ + SDL_VideoDevice::gl_config_t* self = (SDL_VideoDevice::gl_config_t*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice::gl_config_t"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'stereo'", NULL); + lua_pushinteger(L, (lua_Integer)self->stereo); + return 1; +} + +static int tolua_set_SDL_VideoDevice__gl_config_t_stereo(lua_State* L) +{ + SDL_VideoDevice::gl_config_t* self = (SDL_VideoDevice::gl_config_t*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice::gl_config_t"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'stereo'", NULL); + self->stereo = tolua_setter_tointeger(L, "stereo"); + return 0; +} + +static int tolua_get_SDL_VideoDevice__gl_config_t_reference_stereo(lua_State* L) +{ + SDL_VideoDevice::gl_config_t* self = (SDL_VideoDevice::gl_config_t*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice::gl_config_t"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'stereo'", NULL); + tolua_pushusertype(L, (void*)&self->stereo, "Primitive"); + return 1; +} + +static int tolua_get_SDL_VideoDevice__gl_config_t_multisamplebuffers(lua_State* L) +{ + SDL_VideoDevice::gl_config_t* self = (SDL_VideoDevice::gl_config_t*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice::gl_config_t"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'multisamplebuffers'", NULL); + lua_pushinteger(L, (lua_Integer)self->multisamplebuffers); + return 1; +} + +static int tolua_set_SDL_VideoDevice__gl_config_t_multisamplebuffers(lua_State* L) +{ + SDL_VideoDevice::gl_config_t* self = (SDL_VideoDevice::gl_config_t*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice::gl_config_t"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'multisamplebuffers'", NULL); + self->multisamplebuffers = tolua_setter_tointeger(L, "multisamplebuffers"); + return 0; +} + +static int tolua_get_SDL_VideoDevice__gl_config_t_reference_multisamplebuffers(lua_State* L) +{ + SDL_VideoDevice::gl_config_t* self = (SDL_VideoDevice::gl_config_t*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice::gl_config_t"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'multisamplebuffers'", NULL); + tolua_pushusertype(L, (void*)&self->multisamplebuffers, "Primitive"); + return 1; +} + +static int tolua_get_SDL_VideoDevice__gl_config_t_multisamplesamples(lua_State* L) +{ + SDL_VideoDevice::gl_config_t* self = (SDL_VideoDevice::gl_config_t*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice::gl_config_t"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'multisamplesamples'", NULL); + lua_pushinteger(L, (lua_Integer)self->multisamplesamples); + return 1; +} + +static int tolua_set_SDL_VideoDevice__gl_config_t_multisamplesamples(lua_State* L) +{ + SDL_VideoDevice::gl_config_t* self = (SDL_VideoDevice::gl_config_t*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice::gl_config_t"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'multisamplesamples'", NULL); + self->multisamplesamples = tolua_setter_tointeger(L, "multisamplesamples"); + return 0; +} + +static int tolua_get_SDL_VideoDevice__gl_config_t_reference_multisamplesamples(lua_State* L) +{ + SDL_VideoDevice::gl_config_t* self = (SDL_VideoDevice::gl_config_t*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice::gl_config_t"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'multisamplesamples'", NULL); + tolua_pushusertype(L, (void*)&self->multisamplesamples, "Primitive"); + return 1; +} + +static int tolua_get_SDL_VideoDevice__gl_config_t_accelerated(lua_State* L) +{ + SDL_VideoDevice::gl_config_t* self = (SDL_VideoDevice::gl_config_t*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice::gl_config_t"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'accelerated'", NULL); + lua_pushinteger(L, (lua_Integer)self->accelerated); + return 1; +} + +static int tolua_set_SDL_VideoDevice__gl_config_t_accelerated(lua_State* L) +{ + SDL_VideoDevice::gl_config_t* self = (SDL_VideoDevice::gl_config_t*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice::gl_config_t"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'accelerated'", NULL); + self->accelerated = tolua_setter_tointeger(L, "accelerated"); + return 0; +} + +static int tolua_get_SDL_VideoDevice__gl_config_t_reference_accelerated(lua_State* L) +{ + SDL_VideoDevice::gl_config_t* self = (SDL_VideoDevice::gl_config_t*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice::gl_config_t"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'accelerated'", NULL); + tolua_pushusertype(L, (void*)&self->accelerated, "Primitive"); + return 1; +} + +static int tolua_get_SDL_VideoDevice__gl_config_t_major_version(lua_State* L) +{ + SDL_VideoDevice::gl_config_t* self = (SDL_VideoDevice::gl_config_t*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice::gl_config_t"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'major_version'", NULL); + lua_pushinteger(L, (lua_Integer)self->major_version); + return 1; +} + +static int tolua_set_SDL_VideoDevice__gl_config_t_major_version(lua_State* L) +{ + SDL_VideoDevice::gl_config_t* self = (SDL_VideoDevice::gl_config_t*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice::gl_config_t"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'major_version'", NULL); + self->major_version = tolua_setter_tointeger(L, "major_version"); + return 0; +} + +static int tolua_get_SDL_VideoDevice__gl_config_t_reference_major_version(lua_State* L) +{ + SDL_VideoDevice::gl_config_t* self = (SDL_VideoDevice::gl_config_t*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice::gl_config_t"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'major_version'", NULL); + tolua_pushusertype(L, (void*)&self->major_version, "Primitive"); + return 1; +} + +static int tolua_get_SDL_VideoDevice__gl_config_t_minor_version(lua_State* L) +{ + SDL_VideoDevice::gl_config_t* self = (SDL_VideoDevice::gl_config_t*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice::gl_config_t"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'minor_version'", NULL); + lua_pushinteger(L, (lua_Integer)self->minor_version); + return 1; +} + +static int tolua_set_SDL_VideoDevice__gl_config_t_minor_version(lua_State* L) +{ + SDL_VideoDevice::gl_config_t* self = (SDL_VideoDevice::gl_config_t*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice::gl_config_t"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'minor_version'", NULL); + self->minor_version = tolua_setter_tointeger(L, "minor_version"); + return 0; +} + +static int tolua_get_SDL_VideoDevice__gl_config_t_reference_minor_version(lua_State* L) +{ + SDL_VideoDevice::gl_config_t* self = (SDL_VideoDevice::gl_config_t*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice::gl_config_t"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'minor_version'", NULL); + tolua_pushusertype(L, (void*)&self->minor_version, "Primitive"); + return 1; +} + +static int tolua_get_SDL_VideoDevice__gl_config_t_flags(lua_State* L) +{ + SDL_VideoDevice::gl_config_t* self = (SDL_VideoDevice::gl_config_t*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice::gl_config_t"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'flags'", NULL); + lua_pushinteger(L, (lua_Integer)self->flags); + return 1; +} + +static int tolua_set_SDL_VideoDevice__gl_config_t_flags(lua_State* L) +{ + SDL_VideoDevice::gl_config_t* self = (SDL_VideoDevice::gl_config_t*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice::gl_config_t"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'flags'", NULL); + self->flags = tolua_setter_tointeger(L, "flags"); + return 0; +} + +static int tolua_get_SDL_VideoDevice__gl_config_t_reference_flags(lua_State* L) +{ + SDL_VideoDevice::gl_config_t* self = (SDL_VideoDevice::gl_config_t*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice::gl_config_t"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'flags'", NULL); + tolua_pushusertype(L, (void*)&self->flags, "Primitive"); + return 1; +} + +static int tolua_get_SDL_VideoDevice__gl_config_t_profile_mask(lua_State* L) +{ + SDL_VideoDevice::gl_config_t* self = (SDL_VideoDevice::gl_config_t*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice::gl_config_t"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'profile_mask'", NULL); + lua_pushinteger(L, (lua_Integer)self->profile_mask); + return 1; +} + +static int tolua_set_SDL_VideoDevice__gl_config_t_profile_mask(lua_State* L) +{ + SDL_VideoDevice::gl_config_t* self = (SDL_VideoDevice::gl_config_t*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice::gl_config_t"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'profile_mask'", NULL); + self->profile_mask = tolua_setter_tointeger(L, "profile_mask"); + return 0; +} + +static int tolua_get_SDL_VideoDevice__gl_config_t_reference_profile_mask(lua_State* L) +{ + SDL_VideoDevice::gl_config_t* self = (SDL_VideoDevice::gl_config_t*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice::gl_config_t"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'profile_mask'", NULL); + tolua_pushusertype(L, (void*)&self->profile_mask, "Primitive"); + return 1; +} + +static int tolua_get_SDL_VideoDevice__gl_config_t_share_with_current_context(lua_State* L) +{ + SDL_VideoDevice::gl_config_t* self = (SDL_VideoDevice::gl_config_t*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice::gl_config_t"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'share_with_current_context'", NULL); + lua_pushinteger(L, (lua_Integer)self->share_with_current_context); + return 1; +} + +static int tolua_set_SDL_VideoDevice__gl_config_t_share_with_current_context(lua_State* L) +{ + SDL_VideoDevice::gl_config_t* self = (SDL_VideoDevice::gl_config_t*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice::gl_config_t"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'share_with_current_context'", NULL); + self->share_with_current_context = tolua_setter_tointeger(L, "share_with_current_context"); + return 0; +} + +static int tolua_get_SDL_VideoDevice__gl_config_t_reference_share_with_current_context(lua_State* L) +{ + SDL_VideoDevice::gl_config_t* self = (SDL_VideoDevice::gl_config_t*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice::gl_config_t"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'share_with_current_context'", NULL); + tolua_pushusertype(L, (void*)&self->share_with_current_context, "Primitive"); + return 1; +} + +static int tolua_get_SDL_VideoDevice__gl_config_t_release_behavior(lua_State* L) +{ + SDL_VideoDevice::gl_config_t* self = (SDL_VideoDevice::gl_config_t*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice::gl_config_t"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'release_behavior'", NULL); + lua_pushinteger(L, (lua_Integer)self->release_behavior); + return 1; +} + +static int tolua_set_SDL_VideoDevice__gl_config_t_release_behavior(lua_State* L) +{ + SDL_VideoDevice::gl_config_t* self = (SDL_VideoDevice::gl_config_t*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice::gl_config_t"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'release_behavior'", NULL); + self->release_behavior = tolua_setter_tointeger(L, "release_behavior"); + return 0; +} + +static int tolua_get_SDL_VideoDevice__gl_config_t_reference_release_behavior(lua_State* L) +{ + SDL_VideoDevice::gl_config_t* self = (SDL_VideoDevice::gl_config_t*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice::gl_config_t"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'release_behavior'", NULL); + tolua_pushusertype(L, (void*)&self->release_behavior, "Primitive"); + return 1; +} + +static int tolua_get_SDL_VideoDevice__gl_config_t_framebuffer_srgb_capable(lua_State* L) +{ + SDL_VideoDevice::gl_config_t* self = (SDL_VideoDevice::gl_config_t*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice::gl_config_t"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'framebuffer_srgb_capable'", NULL); + lua_pushinteger(L, (lua_Integer)self->framebuffer_srgb_capable); + return 1; +} + +static int tolua_set_SDL_VideoDevice__gl_config_t_framebuffer_srgb_capable(lua_State* L) +{ + SDL_VideoDevice::gl_config_t* self = (SDL_VideoDevice::gl_config_t*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice::gl_config_t"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'framebuffer_srgb_capable'", NULL); + self->framebuffer_srgb_capable = tolua_setter_tointeger(L, "framebuffer_srgb_capable"); + return 0; +} + +static int tolua_get_SDL_VideoDevice__gl_config_t_reference_framebuffer_srgb_capable(lua_State* L) +{ + SDL_VideoDevice::gl_config_t* self = (SDL_VideoDevice::gl_config_t*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice::gl_config_t"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'framebuffer_srgb_capable'", NULL); + tolua_pushusertype(L, (void*)&self->framebuffer_srgb_capable, "Primitive"); + return 1; +} + +static int tolua_get_SDL_VideoDevice__gl_config_t_retained_backing(lua_State* L) +{ + SDL_VideoDevice::gl_config_t* self = (SDL_VideoDevice::gl_config_t*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice::gl_config_t"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'retained_backing'", NULL); + lua_pushinteger(L, (lua_Integer)self->retained_backing); + return 1; +} + +static int tolua_set_SDL_VideoDevice__gl_config_t_retained_backing(lua_State* L) +{ + SDL_VideoDevice::gl_config_t* self = (SDL_VideoDevice::gl_config_t*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice::gl_config_t"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'retained_backing'", NULL); + self->retained_backing = tolua_setter_tointeger(L, "retained_backing"); + return 0; +} + +static int tolua_get_SDL_VideoDevice__gl_config_t_reference_retained_backing(lua_State* L) +{ + SDL_VideoDevice::gl_config_t* self = (SDL_VideoDevice::gl_config_t*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice::gl_config_t"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'retained_backing'", NULL); + tolua_pushusertype(L, (void*)&self->retained_backing, "Primitive"); + return 1; +} + +static int tolua_get_SDL_VideoDevice__gl_config_t_driver_loaded(lua_State* L) +{ + SDL_VideoDevice::gl_config_t* self = (SDL_VideoDevice::gl_config_t*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice::gl_config_t"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'driver_loaded'", NULL); + lua_pushinteger(L, (lua_Integer)self->driver_loaded); + return 1; +} + +static int tolua_set_SDL_VideoDevice__gl_config_t_driver_loaded(lua_State* L) +{ + SDL_VideoDevice::gl_config_t* self = (SDL_VideoDevice::gl_config_t*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice::gl_config_t"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'driver_loaded'", NULL); + self->driver_loaded = tolua_setter_tointeger(L, "driver_loaded"); + return 0; +} + +static int tolua_get_SDL_VideoDevice__gl_config_t_reference_driver_loaded(lua_State* L) +{ + SDL_VideoDevice::gl_config_t* self = (SDL_VideoDevice::gl_config_t*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice::gl_config_t"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'driver_loaded'", NULL); + tolua_pushusertype(L, (void*)&self->driver_loaded, "Primitive"); + return 1; +} + +static int tolua_get_SDL_VideoDevice__gl_config_t_driver_path(lua_State* L) +{ + SDL_VideoDevice::gl_config_t* self = (SDL_VideoDevice::gl_config_t*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice::gl_config_t"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'driver_path'", NULL); + tolua_pushusertype(L, (void*)&self->driver_path, "Array"); + return 1; +} + +static int tolua_get_SDL_VideoDevice__gl_config_t_dll_handle(lua_State* L) +{ + SDL_VideoDevice::gl_config_t* self = (SDL_VideoDevice::gl_config_t*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice::gl_config_t"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'dll_handle'", NULL); + tolua_pushusertype(L, (void*)self->dll_handle, "UnmappedUserType"); + return 1; +} + +static int tolua_set_SDL_VideoDevice__gl_config_t_dll_handle(lua_State* L) +{ + SDL_VideoDevice::gl_config_t* self = (SDL_VideoDevice::gl_config_t*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice::gl_config_t"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'dll_handle'", NULL); + self->dll_handle = (void*)tolua_tousertype_dynamic(L, 2, 0, "UnmappedUserType"); + return 0; +} + +static int tolua_get_SDL_VideoDevice__gl_config_t_reference_dll_handle(lua_State* L) +{ + SDL_VideoDevice::gl_config_t* self = (SDL_VideoDevice::gl_config_t*)tolua_tousertype_dynamic(L, 1, 0, "SDL_VideoDevice::gl_config_t"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'dll_handle'", NULL); + tolua_pushusertype(L, (void*)&self->dll_handle, "VoidPointer"); + return 1; +} + static int tolua_get_SDL_PixelFormat_format(lua_State* L) { SDL_PixelFormat* self = (SDL_PixelFormat*)tolua_tousertype_dynamic(L, 1, 0, "SDL_PixelFormat"); @@ -120269,6 +124024,14 @@ static int tolua_get_SDL_PixelFormat_reference_next(lua_State* L) return 1; } +static int tolua_get_SDL_MessageBoxColorScheme_colors(lua_State* L) +{ + SDL_MessageBoxColorScheme* self = (SDL_MessageBoxColorScheme*)tolua_tousertype_dynamic(L, 1, 0, "SDL_MessageBoxColorScheme"); + if (!self) tolua_error(L, "invalid 'self' in accessing variable 'colors'", NULL); + tolua_pushusertype(L, (void*)&self->colors, "Array"); + return 1; +} + static int tolua_get_LClosure_next(lua_State* L) { LClosure* self = (LClosure*)tolua_tousertype_dynamic(L, 1, 0, "LClosure"); @@ -120425,7 +124188,7 @@ static int tolua_function_LCharString_32__getChar(lua_State* L) { LCharString<32>* self = (LCharString<32>*)tolua_tousertype_dynamic(L, 1, 0, "LCharString<32>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getChar'", NULL); - char returnVal = self->getChar(tolua_function_tointeger(L, 2, "getChar")); + char returnVal = (self->getChar)(tolua_function_tointeger(L, 2, "getChar")); lua_pushlstring(L, (const char*)&returnVal, 1); return 1; } @@ -120434,7 +124197,7 @@ static int tolua_function_LCharString_32__setChar(lua_State* L) { LCharString<32>* self = (LCharString<32>*)tolua_tousertype_dynamic(L, 1, 0, "LCharString<32>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setChar'", NULL); - self->setChar(tolua_function_tointeger(L, 2, "setChar"), tolua_function_tochar(L, 3, "setChar")); + (self->setChar)(tolua_function_tointeger(L, 2, "setChar"), tolua_function_tochar(L, 3, "setChar")); return 0; } @@ -120442,7 +124205,7 @@ static int tolua_function_LCharString_32__set(lua_State* L) { LCharString<32>* self = (LCharString<32>*)tolua_tousertype_dynamic(L, 1, 0, "LCharString<32>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tostring(L, 2, "set")); + (self->set)(tolua_function_tostring(L, 2, "set")); return 0; } @@ -120450,7 +124213,7 @@ static int tolua_function_LCharString_32__get(lua_State* L) { LCharString<32>* self = (LCharString<32>*)tolua_tousertype_dynamic(L, 1, 0, "LCharString<32>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); - self->get(L); + (self->get)(L); return 1; } @@ -120458,7 +124221,7 @@ static int tolua_function_LCharString_4__getChar(lua_State* L) { LCharString<4>* self = (LCharString<4>*)tolua_tousertype_dynamic(L, 1, 0, "LCharString<4>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getChar'", NULL); - char returnVal = self->getChar(tolua_function_tointeger(L, 2, "getChar")); + char returnVal = (self->getChar)(tolua_function_tointeger(L, 2, "getChar")); lua_pushlstring(L, (const char*)&returnVal, 1); return 1; } @@ -120467,7 +124230,7 @@ static int tolua_function_LCharString_4__setChar(lua_State* L) { LCharString<4>* self = (LCharString<4>*)tolua_tousertype_dynamic(L, 1, 0, "LCharString<4>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setChar'", NULL); - self->setChar(tolua_function_tointeger(L, 2, "setChar"), tolua_function_tochar(L, 3, "setChar")); + (self->setChar)(tolua_function_tointeger(L, 2, "setChar"), tolua_function_tochar(L, 3, "setChar")); return 0; } @@ -120475,7 +124238,7 @@ static int tolua_function_LCharString_4__set(lua_State* L) { LCharString<4>* self = (LCharString<4>*)tolua_tousertype_dynamic(L, 1, 0, "LCharString<4>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tostring(L, 2, "set")); + (self->set)(tolua_function_tostring(L, 2, "set")); return 0; } @@ -120483,7 +124246,7 @@ static int tolua_function_LCharString_4__get(lua_State* L) { LCharString<4>* self = (LCharString<4>*)tolua_tousertype_dynamic(L, 1, 0, "LCharString<4>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); - self->get(L); + (self->get)(L); return 1; } @@ -120491,7 +124254,7 @@ static int tolua_function_LCharString_8__getChar(lua_State* L) { LCharString<8>* self = (LCharString<8>*)tolua_tousertype_dynamic(L, 1, 0, "LCharString<8>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getChar'", NULL); - char returnVal = self->getChar(tolua_function_tointeger(L, 2, "getChar")); + char returnVal = (self->getChar)(tolua_function_tointeger(L, 2, "getChar")); lua_pushlstring(L, (const char*)&returnVal, 1); return 1; } @@ -120500,7 +124263,7 @@ static int tolua_function_LCharString_8__setChar(lua_State* L) { LCharString<8>* self = (LCharString<8>*)tolua_tousertype_dynamic(L, 1, 0, "LCharString<8>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setChar'", NULL); - self->setChar(tolua_function_tointeger(L, 2, "setChar"), tolua_function_tochar(L, 3, "setChar")); + (self->setChar)(tolua_function_tointeger(L, 2, "setChar"), tolua_function_tochar(L, 3, "setChar")); return 0; } @@ -120508,7 +124271,7 @@ static int tolua_function_LCharString_8__set(lua_State* L) { LCharString<8>* self = (LCharString<8>*)tolua_tousertype_dynamic(L, 1, 0, "LCharString<8>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tostring(L, 2, "set")); + (self->set)(tolua_function_tostring(L, 2, "set")); return 0; } @@ -120516,7 +124279,7 @@ static int tolua_function_LCharString_8__get(lua_State* L) { LCharString<8>* self = (LCharString<8>*)tolua_tousertype_dynamic(L, 1, 0, "LCharString<8>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); - self->get(L); + (self->get)(L); return 1; } @@ -120524,7 +124287,7 @@ static int tolua_function_LCharString_2__getChar(lua_State* L) { LCharString<2>* self = (LCharString<2>*)tolua_tousertype_dynamic(L, 1, 0, "LCharString<2>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getChar'", NULL); - char returnVal = self->getChar(tolua_function_tointeger(L, 2, "getChar")); + char returnVal = (self->getChar)(tolua_function_tointeger(L, 2, "getChar")); lua_pushlstring(L, (const char*)&returnVal, 1); return 1; } @@ -120533,7 +124296,7 @@ static int tolua_function_LCharString_2__setChar(lua_State* L) { LCharString<2>* self = (LCharString<2>*)tolua_tousertype_dynamic(L, 1, 0, "LCharString<2>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setChar'", NULL); - self->setChar(tolua_function_tointeger(L, 2, "setChar"), tolua_function_tochar(L, 3, "setChar")); + (self->setChar)(tolua_function_tointeger(L, 2, "setChar"), tolua_function_tochar(L, 3, "setChar")); return 0; } @@ -120541,7 +124304,7 @@ static int tolua_function_LCharString_2__set(lua_State* L) { LCharString<2>* self = (LCharString<2>*)tolua_tousertype_dynamic(L, 1, 0, "LCharString<2>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tostring(L, 2, "set")); + (self->set)(tolua_function_tostring(L, 2, "set")); return 0; } @@ -120549,7 +124312,7 @@ static int tolua_function_LCharString_2__get(lua_State* L) { LCharString<2>* self = (LCharString<2>*)tolua_tousertype_dynamic(L, 1, 0, "LCharString<2>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); - self->get(L); + (self->get)(L); return 1; } @@ -120557,7 +124320,7 @@ static int tolua_function_LCharString_260__getChar(lua_State* L) { LCharString<260>* self = (LCharString<260>*)tolua_tousertype_dynamic(L, 1, 0, "LCharString<260>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getChar'", NULL); - char returnVal = self->getChar(tolua_function_tointeger(L, 2, "getChar")); + char returnVal = (self->getChar)(tolua_function_tointeger(L, 2, "getChar")); lua_pushlstring(L, (const char*)&returnVal, 1); return 1; } @@ -120566,7 +124329,7 @@ static int tolua_function_LCharString_260__setChar(lua_State* L) { LCharString<260>* self = (LCharString<260>*)tolua_tousertype_dynamic(L, 1, 0, "LCharString<260>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setChar'", NULL); - self->setChar(tolua_function_tointeger(L, 2, "setChar"), tolua_function_tochar(L, 3, "setChar")); + (self->setChar)(tolua_function_tointeger(L, 2, "setChar"), tolua_function_tochar(L, 3, "setChar")); return 0; } @@ -120574,7 +124337,7 @@ static int tolua_function_LCharString_260__set(lua_State* L) { LCharString<260>* self = (LCharString<260>*)tolua_tousertype_dynamic(L, 1, 0, "LCharString<260>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tostring(L, 2, "set")); + (self->set)(tolua_function_tostring(L, 2, "set")); return 0; } @@ -120582,7 +124345,7 @@ static int tolua_function_LCharString_260__get(lua_State* L) { LCharString<260>* self = (LCharString<260>*)tolua_tousertype_dynamic(L, 1, 0, "LCharString<260>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); - self->get(L); + (self->get)(L); return 1; } @@ -120590,7 +124353,7 @@ static int tolua_function_LCharString_8000__getChar(lua_State* L) { LCharString<8000>* self = (LCharString<8000>*)tolua_tousertype_dynamic(L, 1, 0, "LCharString<8000>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getChar'", NULL); - char returnVal = self->getChar(tolua_function_tointeger(L, 2, "getChar")); + char returnVal = (self->getChar)(tolua_function_tointeger(L, 2, "getChar")); lua_pushlstring(L, (const char*)&returnVal, 1); return 1; } @@ -120599,7 +124362,7 @@ static int tolua_function_LCharString_8000__setChar(lua_State* L) { LCharString<8000>* self = (LCharString<8000>*)tolua_tousertype_dynamic(L, 1, 0, "LCharString<8000>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setChar'", NULL); - self->setChar(tolua_function_tointeger(L, 2, "setChar"), tolua_function_tochar(L, 3, "setChar")); + (self->setChar)(tolua_function_tointeger(L, 2, "setChar"), tolua_function_tochar(L, 3, "setChar")); return 0; } @@ -120607,7 +124370,7 @@ static int tolua_function_LCharString_8000__set(lua_State* L) { LCharString<8000>* self = (LCharString<8000>*)tolua_tousertype_dynamic(L, 1, 0, "LCharString<8000>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tostring(L, 2, "set")); + (self->set)(tolua_function_tostring(L, 2, "set")); return 0; } @@ -120615,7 +124378,7 @@ static int tolua_function_LCharString_8000__get(lua_State* L) { LCharString<8000>* self = (LCharString<8000>*)tolua_tousertype_dynamic(L, 1, 0, "LCharString<8000>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); - self->get(L); + (self->get)(L); return 1; } @@ -120623,7 +124386,7 @@ static int tolua_function_LCharString_1025__getChar(lua_State* L) { LCharString<1025>* self = (LCharString<1025>*)tolua_tousertype_dynamic(L, 1, 0, "LCharString<1025>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getChar'", NULL); - char returnVal = self->getChar(tolua_function_tointeger(L, 2, "getChar")); + char returnVal = (self->getChar)(tolua_function_tointeger(L, 2, "getChar")); lua_pushlstring(L, (const char*)&returnVal, 1); return 1; } @@ -120632,7 +124395,7 @@ static int tolua_function_LCharString_1025__setChar(lua_State* L) { LCharString<1025>* self = (LCharString<1025>*)tolua_tousertype_dynamic(L, 1, 0, "LCharString<1025>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setChar'", NULL); - self->setChar(tolua_function_tointeger(L, 2, "setChar"), tolua_function_tochar(L, 3, "setChar")); + (self->setChar)(tolua_function_tointeger(L, 2, "setChar"), tolua_function_tochar(L, 3, "setChar")); return 0; } @@ -120640,7 +124403,7 @@ static int tolua_function_LCharString_1025__set(lua_State* L) { LCharString<1025>* self = (LCharString<1025>*)tolua_tousertype_dynamic(L, 1, 0, "LCharString<1025>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tostring(L, 2, "set")); + (self->set)(tolua_function_tostring(L, 2, "set")); return 0; } @@ -120648,7 +124411,7 @@ static int tolua_function_LCharString_1025__get(lua_State* L) { LCharString<1025>* self = (LCharString<1025>*)tolua_tousertype_dynamic(L, 1, 0, "LCharString<1025>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); - self->get(L); + (self->get)(L); return 1; } @@ -120656,7 +124419,7 @@ static int tolua_function_LCharString_129__getChar(lua_State* L) { LCharString<129>* self = (LCharString<129>*)tolua_tousertype_dynamic(L, 1, 0, "LCharString<129>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getChar'", NULL); - char returnVal = self->getChar(tolua_function_tointeger(L, 2, "getChar")); + char returnVal = (self->getChar)(tolua_function_tointeger(L, 2, "getChar")); lua_pushlstring(L, (const char*)&returnVal, 1); return 1; } @@ -120665,7 +124428,7 @@ static int tolua_function_LCharString_129__setChar(lua_State* L) { LCharString<129>* self = (LCharString<129>*)tolua_tousertype_dynamic(L, 1, 0, "LCharString<129>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setChar'", NULL); - self->setChar(tolua_function_tointeger(L, 2, "setChar"), tolua_function_tochar(L, 3, "setChar")); + (self->setChar)(tolua_function_tointeger(L, 2, "setChar"), tolua_function_tochar(L, 3, "setChar")); return 0; } @@ -120673,7 +124436,7 @@ static int tolua_function_LCharString_129__set(lua_State* L) { LCharString<129>* self = (LCharString<129>*)tolua_tousertype_dynamic(L, 1, 0, "LCharString<129>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tostring(L, 2, "set")); + (self->set)(tolua_function_tostring(L, 2, "set")); return 0; } @@ -120681,7 +124444,7 @@ static int tolua_function_LCharString_129__get(lua_State* L) { LCharString<129>* self = (LCharString<129>*)tolua_tousertype_dynamic(L, 1, 0, "LCharString<129>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); - self->get(L); + (self->get)(L); return 1; } @@ -120689,7 +124452,7 @@ static int tolua_function_LCharString_256__getChar(lua_State* L) { LCharString<256>* self = (LCharString<256>*)tolua_tousertype_dynamic(L, 1, 0, "LCharString<256>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'getChar'", NULL); - char returnVal = self->getChar(tolua_function_tointeger(L, 2, "getChar")); + char returnVal = (self->getChar)(tolua_function_tointeger(L, 2, "getChar")); lua_pushlstring(L, (const char*)&returnVal, 1); return 1; } @@ -120698,7 +124461,7 @@ static int tolua_function_LCharString_256__setChar(lua_State* L) { LCharString<256>* self = (LCharString<256>*)tolua_tousertype_dynamic(L, 1, 0, "LCharString<256>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'setChar'", NULL); - self->setChar(tolua_function_tointeger(L, 2, "setChar"), tolua_function_tochar(L, 3, "setChar")); + (self->setChar)(tolua_function_tointeger(L, 2, "setChar"), tolua_function_tochar(L, 3, "setChar")); return 0; } @@ -120706,7 +124469,7 @@ static int tolua_function_LCharString_256__set(lua_State* L) { LCharString<256>* self = (LCharString<256>*)tolua_tousertype_dynamic(L, 1, 0, "LCharString<256>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tostring(L, 2, "set")); + (self->set)(tolua_function_tostring(L, 2, "set")); return 0; } @@ -120714,7 +124477,7 @@ static int tolua_function_LCharString_256__get(lua_State* L) { LCharString<256>* self = (LCharString<256>*)tolua_tousertype_dynamic(L, 1, 0, "LCharString<256>"); if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); - self->get(L); + (self->get)(L); return 1; } @@ -122194,6 +125957,42 @@ static int tolua_get_capture(lua_State* L) return 1; } +static int tolua_get_fingerDown(lua_State* L) +{ + tolua_pushboolean(L, (bool)*p_fingerDown); + return 1; +} + +static int tolua_set_fingerDown(lua_State* L) +{ + *p_fingerDown = tolua_setter_toboolean(L, "fingerDown"); + return 0; +} + +static int tolua_get_reference_fingerDown(lua_State* L) +{ + tolua_pushusertype(L, (void*)p_fingerDown, "Primitive"); + return 1; +} + +static int tolua_get_g_backgroundMenu(lua_State* L) +{ + tolua_pushusertype(L, (void*)*p_g_backgroundMenu, "uiMenu"); + return 1; +} + +static int tolua_set_g_backgroundMenu(lua_State* L) +{ + *p_g_backgroundMenu = (uiMenu*)tolua_tousertype_dynamic(L, 2, 0, "uiMenu"); + return 0; +} + +static int tolua_get_reference_g_backgroundMenu(lua_State* L) +{ + tolua_pushusertype(L, (void*)p_g_backgroundMenu, "Pointer"); + return 1; +} + static int tolua_get_g_drawBackend(lua_State* L) { lua_pushinteger(L, (lua_Integer)*p_g_drawBackend); @@ -122362,6 +126161,12 @@ static int tolua_get_resources(lua_State* L) return 1; } +static int tolua_get_tooltip(lua_State* L) +{ + tolua_pushusertype(L, (void*)p_tooltip, "_820A8B7015E7E0FD9144A7C186FBF075"); + return 1; +} + static int tolua_get_transition(lua_State* L) { tolua_pushusertype(L, (void*)p_transition, "_A92C2F5FC159A4FE55DD6CCAABD58E72"); @@ -122517,6 +126322,19 @@ static int tolua_get_reference_saveMenuStack(lua_State* L) return 1; } +static int tolua_function_SDL_GetDisplayForWindow(lua_State* L) +{ + SDL_VideoDisplay* returnVal = p_SDL_GetDisplayForWindow((SDL_Window*)tolua_tousertype_dynamic(L, 1, 0, "SDL_Window")); + tolua_pushusertype(L, (void*)returnVal, "SDL_VideoDisplay"); + return 1; +} + +static int tolua_get_reference_SDL_GetDisplayForWindow(lua_State* L) +{ + tolua_pushusertype(L, *p_SDL_GetDisplayForWindow, "UnmappedUserType"); + return 1; +} + static int tolua_function_SDL_GetKeyFromName(lua_State* L) { int returnVal = p_SDL_GetKeyFromName(tolua_function_tostring(L, 1, "SDL_GetKeyFromName")); @@ -123405,7 +127223,7 @@ static int tolua_function_CVidPalette_GetAdd(lua_State* L) { CVidPalette* self = (CVidPalette*)tolua_tousertype_dynamic(L, 1, 0, "CVidPalette"); if (!self) tolua_error(L, "invalid 'self' in calling function 'GetAdd'", NULL); - int returnVal = self->GetAdd((CVIDPALETTE_COLOR*)tolua_tousertype_dynamic(L, 2, 0, "CVIDPALETTE_COLOR"), (CVIDIMG_PALETTEAFFECT*)tolua_tousertype_dynamic(L, 3, 0, "CVIDIMG_PALETTEAFFECT"), (int*)tolua_tousertype_dynamic(L, 4, 0, "Primitive"), tolua_function_tointeger(L, 5, "GetAdd")); + int returnVal = (self->GetAdd)((CVIDPALETTE_COLOR*)tolua_tousertype_dynamic(L, 2, 0, "CVIDPALETTE_COLOR"), (CVIDIMG_PALETTEAFFECT*)tolua_tousertype_dynamic(L, 3, 0, "CVIDIMG_PALETTEAFFECT"), (int*)tolua_tousertype_dynamic(L, 4, 0, "Primitive"), tolua_function_tointeger(L, 5, "GetAdd")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -123414,7 +127232,7 @@ static int tolua_function_CVidPalette_GetLight(lua_State* L) { CVidPalette* self = (CVidPalette*)tolua_tousertype_dynamic(L, 1, 0, "CVidPalette"); if (!self) tolua_error(L, "invalid 'self' in calling function 'GetLight'", NULL); - int returnVal = self->GetLight((CVIDPALETTE_COLOR*)tolua_tousertype_dynamic(L, 2, 0, "CVIDPALETTE_COLOR"), (CVIDIMG_PALETTEAFFECT*)tolua_tousertype_dynamic(L, 3, 0, "CVIDIMG_PALETTEAFFECT"), tolua_function_tointeger(L, 4, "GetLight")); + int returnVal = (self->GetLight)((CVIDPALETTE_COLOR*)tolua_tousertype_dynamic(L, 2, 0, "CVIDPALETTE_COLOR"), (CVIDIMG_PALETTEAFFECT*)tolua_tousertype_dynamic(L, 3, 0, "CVIDIMG_PALETTEAFFECT"), tolua_function_tointeger(L, 4, "GetLight")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -123423,7 +127241,7 @@ static int tolua_function_CVidPalette_GetReservedEntries(lua_State* L) { CVidPalette* self = (CVidPalette*)tolua_tousertype_dynamic(L, 1, 0, "CVidPalette"); if (!self) tolua_error(L, "invalid 'self' in calling function 'GetReservedEntries'", NULL); - int returnVal = self->GetReservedEntries(tolua_function_tointeger(L, 2, "GetReservedEntries")); + int returnVal = (self->GetReservedEntries)(tolua_function_tointeger(L, 2, "GetReservedEntries")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -123432,7 +127250,7 @@ static int tolua_function_CVidPalette_GetTint(lua_State* L) { CVidPalette* self = (CVidPalette*)tolua_tousertype_dynamic(L, 1, 0, "CVidPalette"); if (!self) tolua_error(L, "invalid 'self' in calling function 'GetTint'", NULL); - int returnVal = self->GetTint((CVIDPALETTE_COLOR*)tolua_tousertype_dynamic(L, 2, 0, "CVIDPALETTE_COLOR"), (CVIDIMG_PALETTEAFFECT*)tolua_tousertype_dynamic(L, 3, 0, "CVIDIMG_PALETTEAFFECT"), (int*)tolua_tousertype_dynamic(L, 4, 0, "Primitive"), (int*)tolua_tousertype_dynamic(L, 5, 0, "Primitive"), tolua_function_tointeger(L, 6, "GetTint")); + int returnVal = (self->GetTint)((CVIDPALETTE_COLOR*)tolua_tousertype_dynamic(L, 2, 0, "CVIDPALETTE_COLOR"), (CVIDIMG_PALETTEAFFECT*)tolua_tousertype_dynamic(L, 3, 0, "CVIDIMG_PALETTEAFFECT"), (int*)tolua_tousertype_dynamic(L, 4, 0, "Primitive"), (int*)tolua_tousertype_dynamic(L, 5, 0, "Primitive"), tolua_function_tointeger(L, 6, "GetTint")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -123441,7 +127259,7 @@ static int tolua_function_CVidPalette_SetAUCounter(lua_State* L) { CVidPalette* self = (CVidPalette*)tolua_tousertype_dynamic(L, 1, 0, "CVidPalette"); if (!self) tolua_error(L, "invalid 'self' in calling function 'SetAUCounter'", NULL); - self->SetAUCounter(); + (self->SetAUCounter)(); return 0; } @@ -123777,7 +127595,7 @@ static int tolua_function_CTlkTable_Fetch(lua_State* L) { CTlkTable* self = (CTlkTable*)tolua_tousertype_dynamic(L, 1, 0, "CTlkTable"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Fetch'", NULL); - byte returnVal = self->Fetch(tolua_function_tointeger(L, 2, "Fetch"), (STR_RES*)tolua_tousertype_dynamic(L, 3, 0, "STR_RES"), tolua_function_tointeger(L, 4, "Fetch")); + byte returnVal = (self->Fetch)(tolua_function_tointeger(L, 2, "Fetch"), (STR_RES*)tolua_tousertype_dynamic(L, 3, 0, "STR_RES"), tolua_function_tointeger(L, 4, "Fetch")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -126098,7 +129916,7 @@ static int tolua_function_CResRef_get(lua_State* L) { CResRef* self = (CResRef*)tolua_tousertype_dynamic(L, 1, 0, "CResRef"); if (!self) tolua_error(L, "invalid 'self' in calling function 'get'", NULL); - self->get(L); + (self->get)(L); return 1; } @@ -126106,7 +129924,7 @@ static int tolua_function_CResRef_set(lua_State* L) { CResRef* self = (CResRef*)tolua_tousertype_dynamic(L, 1, 0, "CResRef"); if (!self) tolua_error(L, "invalid 'self' in calling function 'set'", NULL); - self->set(tolua_function_tostring(L, 2, "set")); + (self->set)(tolua_function_tostring(L, 2, "set")); return 0; } @@ -126114,7 +129932,7 @@ static int tolua_function_CResRef_copy(lua_State* L) { CResRef* self = (CResRef*)tolua_tousertype_dynamic(L, 1, 0, "CResRef"); if (!self) tolua_error(L, "invalid 'self' in calling function 'copy'", NULL); - self->copy((CResRef*)tolua_tousertype_dynamic(L, 2, 0, "CResRef")); + (self->copy)((CResRef*)tolua_tousertype_dynamic(L, 2, 0, "CResRef")); return 0; } @@ -126146,7 +129964,7 @@ static int tolua_function_CAIScript_Destruct(lua_State* L) { CAIScript* self = (CAIScript*)tolua_tousertype_dynamic(L, 1, 0, "CAIScript"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Destruct'", NULL); - self->Destruct(); + (self->Destruct)(); return 0; } @@ -127562,7 +131380,7 @@ static int tolua_function_CResHelper_CResText_1012__Destruct(lua_State* L) { CResHelper* self = (CResHelper*)tolua_tousertype_dynamic(L, 1, 0, "CResHelper"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Destruct'", NULL); - self->Destruct(); + (self->Destruct)(); return 0; } @@ -127610,7 +131428,7 @@ static int tolua_function_CResHelper_CResText_1008__Destruct(lua_State* L) { CResHelper* self = (CResHelper*)tolua_tousertype_dynamic(L, 1, 0, "CResHelper"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Destruct'", NULL); - self->Destruct(); + (self->Destruct)(); return 0; } @@ -127658,7 +131476,7 @@ static int tolua_function_CResHelper_CResSpell_1006__Destruct(lua_State* L) { CResHelper* self = (CResHelper*)tolua_tousertype_dynamic(L, 1, 0, "CResHelper"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Destruct'", NULL); - self->Destruct(); + (self->Destruct)(); return 0; } @@ -127706,7 +131524,7 @@ static int tolua_function_CResHelper_CResItem_1005__Destruct(lua_State* L) { CResHelper* self = (CResHelper*)tolua_tousertype_dynamic(L, 1, 0, "CResHelper"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Destruct'", NULL); - self->Destruct(); + (self->Destruct)(); return 0; } @@ -127754,7 +131572,7 @@ static int tolua_function_CResHelper_CResWave_4__Destruct(lua_State* L) { CResHelper* self = (CResHelper*)tolua_tousertype_dynamic(L, 1, 0, "CResHelper"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Destruct'", NULL); - self->Destruct(); + (self->Destruct)(); return 0; } @@ -127802,7 +131620,7 @@ static int tolua_function_CResHelper_CResBitmap_1__Destruct(lua_State* L) { CResHelper* self = (CResHelper*)tolua_tousertype_dynamic(L, 1, 0, "CResHelper"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Destruct'", NULL); - self->Destruct(); + (self->Destruct)(); return 0; } @@ -127850,7 +131668,7 @@ static int tolua_function_CResHelper_CResFont_1034__Destruct(lua_State* L) { CResHelper* self = (CResHelper*)tolua_tousertype_dynamic(L, 1, 0, "CResHelper"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Destruct'", NULL); - self->Destruct(); + (self->Destruct)(); return 0; } @@ -127898,7 +131716,7 @@ static int tolua_function_CResHelper_CResCell_1000__Destruct(lua_State* L) { CResHelper* self = (CResHelper*)tolua_tousertype_dynamic(L, 1, 0, "CResHelper"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Destruct'", NULL); - self->Destruct(); + (self->Destruct)(); return 0; } @@ -127946,7 +131764,7 @@ static int tolua_function_CResHelper_CResGame_1013__Destruct(lua_State* L) { CResHelper* self = (CResHelper*)tolua_tousertype_dynamic(L, 1, 0, "CResHelper"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Destruct'", NULL); - self->Destruct(); + (self->Destruct)(); return 0; } @@ -127994,7 +131812,7 @@ static int tolua_function_CResHelper_CResMosaic_1004__Destruct(lua_State* L) { CResHelper* self = (CResHelper*)tolua_tousertype_dynamic(L, 1, 0, "CResHelper"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Destruct'", NULL); - self->Destruct(); + (self->Destruct)(); return 0; } @@ -128138,7 +131956,7 @@ static int tolua_function_C2DArray_Destruct(lua_State* L) { C2DArray* self = (C2DArray*)tolua_tousertype_dynamic(L, 1, 0, "C2DArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Destruct'", NULL); - self->Destruct(); + (self->Destruct)(); return 0; } @@ -128146,7 +131964,7 @@ static int tolua_function_C2DArray_FindColumnLabel(lua_State* L) { C2DArray* self = (C2DArray*)tolua_tousertype_dynamic(L, 1, 0, "C2DArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'FindColumnLabel'", NULL); - int returnVal = self->FindColumnLabel(tolua_function_tostring(L, 2, "FindColumnLabel")); + int returnVal = (self->FindColumnLabel)(tolua_function_tostring(L, 2, "FindColumnLabel")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -128155,7 +131973,7 @@ static int tolua_function_C2DArray_FindRowLabel(lua_State* L) { C2DArray* self = (C2DArray*)tolua_tousertype_dynamic(L, 1, 0, "C2DArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'FindRowLabel'", NULL); - int returnVal = self->FindRowLabel(tolua_function_tostring(L, 2, "FindRowLabel")); + int returnVal = (self->FindRowLabel)(tolua_function_tostring(L, 2, "FindRowLabel")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -128164,7 +131982,7 @@ static int tolua_function_C2DArray_GetAtPoint(lua_State* L) { C2DArray* self = (C2DArray*)tolua_tousertype_dynamic(L, 1, 0, "C2DArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'GetAtPoint'", NULL); - const CString* returnVal = self->GetAt(tolua_function_tointeger(L, 2, "GetAtPoint"), tolua_function_tointeger(L, 3, "GetAtPoint")); + const CString* returnVal = (self->GetAt)(tolua_function_tointeger(L, 2, "GetAtPoint"), tolua_function_tointeger(L, 3, "GetAtPoint")); tolua_pushusertype(L, (void*)returnVal, "CString"); return 1; } @@ -128173,7 +131991,7 @@ static int tolua_function_C2DArray_GetAtLabels(lua_State* L) { C2DArray* self = (C2DArray*)tolua_tousertype_dynamic(L, 1, 0, "C2DArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'GetAtLabels'", NULL); - const CString* returnVal = self->GetAt(tolua_function_tostring(L, 2, "GetAtLabels"), tolua_function_tostring(L, 3, "GetAtLabels")); + const CString* returnVal = (self->GetAt)(tolua_function_tostring(L, 2, "GetAtLabels"), tolua_function_tostring(L, 3, "GetAtLabels")); tolua_pushusertype(L, (void*)returnVal, "CString"); return 1; } @@ -128182,7 +132000,7 @@ static int tolua_function_C2DArray_GetAtCStringLabels(lua_State* L) { C2DArray* self = (C2DArray*)tolua_tousertype_dynamic(L, 1, 0, "C2DArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'GetAtCStringLabels'", NULL); - const CString* returnVal = self->GetAt((const CString*)tolua_tousertype_dynamic(L, 2, 0, "CString"), (const CString*)tolua_tousertype_dynamic(L, 3, 0, "CString")); + const CString* returnVal = (self->GetAt)((const CString*)tolua_tousertype_dynamic(L, 2, 0, "CString"), (const CString*)tolua_tousertype_dynamic(L, 3, 0, "CString")); tolua_pushusertype(L, (void*)returnVal, "CString"); return 1; } @@ -128191,7 +132009,7 @@ static int tolua_function_C2DArray_Load(lua_State* L) { C2DArray* self = (C2DArray*)tolua_tousertype_dynamic(L, 1, 0, "C2DArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Load'", NULL); - self->Load((const CResRef*)tolua_tousertype_dynamic(L, 2, 0, "CResRef")); + (self->Load)((const CResRef*)tolua_tousertype_dynamic(L, 2, 0, "CResRef")); return 0; } @@ -128295,7 +132113,7 @@ static int tolua_function_CAIIdList_Destruct(lua_State* L) { CAIIdList* self = (CAIIdList*)tolua_tousertype_dynamic(L, 1, 0, "CAIIdList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Destruct'", NULL); - self->Destruct(); + (self->Destruct)(); return 0; } @@ -128303,7 +132121,7 @@ static int tolua_function_CAIIdList_LoadList_Overload_Resref(lua_State* L) { CAIIdList* self = (CAIIdList*)tolua_tousertype_dynamic(L, 1, 0, "CAIIdList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'LoadList_Overload_Resref'", NULL); - self->LoadList(*(CResRef*)tolua_tousertype_dynamic(L, 2, 0, "CResRef"), tolua_function_tointeger(L, 3, "LoadList_Overload_Resref")); + (self->LoadList)(*(CResRef*)tolua_tousertype_dynamic(L, 2, 0, "CResRef"), tolua_function_tointeger(L, 3, "LoadList_Overload_Resref")); return 0; } @@ -128311,7 +132129,7 @@ static int tolua_function_CAIIdList_Find_Overload_ID(lua_State* L) { CAIIdList* self = (CAIIdList*)tolua_tousertype_dynamic(L, 1, 0, "CAIIdList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Find_Overload_ID'", NULL); - CAIId* returnVal = self->Find(tolua_function_tointeger(L, 2, "Find_Overload_ID")); + CAIId* returnVal = (self->Find)(tolua_function_tointeger(L, 2, "Find_Overload_ID")); tolua_pushusertype(L, (void*)returnVal, "CAIId"); return 1; } @@ -128320,7 +132138,7 @@ static int tolua_function_CAIIdList_virtual_Destruct(lua_State* L) { CAIIdList* self = (CAIIdList*)tolua_tousertype_dynamic(L, 1, 0, "CAIIdList"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_Destruct'", NULL); - self->virtual_Destruct(); + (self->virtual_Destruct)(); return 0; } @@ -128554,7 +132372,7 @@ static int tolua_function_CAIScriptFile_Destruct(lua_State* L) { CAIScriptFile* self = (CAIScriptFile*)tolua_tousertype_dynamic(L, 1, 0, "CAIScriptFile"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Destruct'", NULL); - self->Destruct(); + (self->Destruct)(); return 0; } @@ -128562,7 +132380,7 @@ static int tolua_function_CAIScriptFile_ParseConditionalString(lua_State* L) { CAIScriptFile* self = (CAIScriptFile*)tolua_tousertype_dynamic(L, 1, 0, "CAIScriptFile"); if (!self) tolua_error(L, "invalid 'self' in calling function 'ParseConditionalString'", NULL); - self->ParseConditionalString((CString*)tolua_tousertype_dynamic(L, 2, 0, "CString")); + (self->ParseConditionalString)((CString*)tolua_tousertype_dynamic(L, 2, 0, "CString")); return 0; } @@ -128570,7 +132388,7 @@ static int tolua_function_CAIScriptFile_ParseObjectType(lua_State* L) { CAIScriptFile* self = (CAIScriptFile*)tolua_tousertype_dynamic(L, 1, 0, "CAIScriptFile"); if (!self) tolua_error(L, "invalid 'self' in calling function 'ParseObjectType'", NULL); - CAIObjectType* returnVal = self->ParseObjectType((CAIObjectType*)tolua_tousertype_dynamic(L, 2, 0, "CAIObjectType"), (CString*)tolua_tousertype_dynamic(L, 3, 0, "CString")); + CAIObjectType* returnVal = (self->ParseObjectType)((CAIObjectType*)tolua_tousertype_dynamic(L, 2, 0, "CAIObjectType"), (CString*)tolua_tousertype_dynamic(L, 3, 0, "CString")); tolua_pushusertype(L, (void*)returnVal, "CAIObjectType"); return 1; } @@ -128579,7 +132397,7 @@ static int tolua_function_CAIScriptFile_ParseResponseString(lua_State* L) { CAIScriptFile* self = (CAIScriptFile*)tolua_tousertype_dynamic(L, 1, 0, "CAIScriptFile"); if (!self) tolua_error(L, "invalid 'self' in calling function 'ParseResponseString'", NULL); - self->ParseResponseString((CString*)tolua_tousertype_dynamic(L, 2, 0, "CString")); + (self->ParseResponseString)((CString*)tolua_tousertype_dynamic(L, 2, 0, "CString")); return 0; } @@ -128619,7 +132437,7 @@ static int tolua_function_CSound_Destruct(lua_State* L) { CSound* self = (CSound*)tolua_tousertype_dynamic(L, 1, 0, "CSound"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Destruct'", NULL); - self->Destruct(); + (self->Destruct)(); return 0; } @@ -129099,7 +132917,7 @@ static int tolua_function_STR_RES_Destruct(lua_State* L) { STR_RES* self = (STR_RES*)tolua_tousertype_dynamic(L, 1, 0, "STR_RES"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Destruct'", NULL); - self->Destruct(); + (self->Destruct)(); return 0; } @@ -129735,15 +133553,48 @@ static int tolua_get_CVidBitmap_m_szResFileName(lua_State* L) return 1; } +static int tolua_function_CVidBitmap_Construct(lua_State* L) +{ + CVidBitmap* self = (CVidBitmap*)tolua_tousertype_dynamic(L, 1, 0, "CVidBitmap"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'Construct'", NULL); + self->Construct(); + return 0; +} + +static int tolua_function_CVidBitmap_Destruct(lua_State* L) +{ + CVidBitmap* self = (CVidBitmap*)tolua_tousertype_dynamic(L, 1, 0, "CVidBitmap"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'Destruct'", NULL); + (self->Destruct)(); + return 0; +} + static int tolua_function_CVidBitmap_GetPixelColor(lua_State* L) { CVidBitmap* self = (CVidBitmap*)tolua_tousertype_dynamic(L, 1, 0, "CVidBitmap"); if (!self) tolua_error(L, "invalid 'self' in calling function 'GetPixelColor'", NULL); - int returnVal = self->GetPixelColor((tagRGBQUAD*)tolua_tousertype_dynamic(L, 2, 0, "tagRGBQUAD"), tolua_function_tointeger(L, 3, "GetPixelColor"), tolua_function_tointeger(L, 4, "GetPixelColor")); + int returnVal = (self->GetPixelColor)((tagRGBQUAD*)tolua_tousertype_dynamic(L, 2, 0, "tagRGBQUAD"), tolua_function_tointeger(L, 3, "GetPixelColor"), tolua_function_tointeger(L, 4, "GetPixelColor")); + lua_pushinteger(L, (lua_Integer)returnVal); + return 1; +} + +static int tolua_function_CVidBitmap_GetPixelValueOrZero(lua_State* L) +{ + CVidBitmap* self = (CVidBitmap*)tolua_tousertype_dynamic(L, 1, 0, "CVidBitmap"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'GetPixelValueOrZero'", NULL); + byte returnVal = (self->GetPixelValue)(tolua_function_tointeger(L, 2, "GetPixelValueOrZero"), tolua_function_tointeger(L, 3, "GetPixelValueOrZero")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } +static int tolua_function_CVidBitmap_SetResRef(lua_State* L) +{ + CVidBitmap* self = (CVidBitmap*)tolua_tousertype_dynamic(L, 1, 0, "CVidBitmap"); + if (!self) tolua_error(L, "invalid 'self' in calling function 'SetResRef'", NULL); + (self->SetResRef)((const CResRef*)tolua_tousertype_dynamic(L, 2, 0, "CResRef"), tolua_function_tointeger(L, 3, "SetResRef"), tolua_function_tointeger(L, 4, "SetResRef")); + return 0; +} + static int tolua_get_CScreenAI_m_bmpScreen(lua_State* L) { CScreenAI* self = (CScreenAI*)tolua_tousertype_dynamic(L, 1, 0, "CScreenAI"); @@ -130060,7 +133911,7 @@ static int tolua_function_CSearchBitmap_GetCost(lua_State* L) { CSearchBitmap* self = (CSearchBitmap*)tolua_tousertype_dynamic(L, 1, 0, "CSearchBitmap"); if (!self) tolua_error(L, "invalid 'self' in calling function 'GetCost'", NULL); - byte returnVal = self->GetCost((CPoint*)tolua_tousertype_dynamic(L, 2, 0, "CPoint"), (byte*)tolua_tousertype_dynamic(L, 3, 0, "Primitive"), tolua_function_tointeger(L, 4, "GetCost"), (ushort*)tolua_tousertype_dynamic(L, 5, 0, "Primitive"), tolua_function_tointeger(L, 6, "GetCost")); + byte returnVal = (self->GetCost)((CPoint*)tolua_tousertype_dynamic(L, 2, 0, "CPoint"), (byte*)tolua_tousertype_dynamic(L, 3, 0, "Primitive"), tolua_function_tointeger(L, 4, "GetCost"), (ushort*)tolua_tousertype_dynamic(L, 5, 0, "Primitive"), tolua_function_tointeger(L, 6, "GetCost")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -130069,7 +133920,7 @@ static int tolua_function_CSearchBitmap_GetLOSCost(lua_State* L) { CSearchBitmap* self = (CSearchBitmap*)tolua_tousertype_dynamic(L, 1, 0, "CSearchBitmap"); if (!self) tolua_error(L, "invalid 'self' in calling function 'GetLOSCost'", NULL); - byte returnVal = self->GetLOSCost((CPoint*)tolua_tousertype_dynamic(L, 2, 0, "CPoint"), (byte*)tolua_tousertype_dynamic(L, 3, 0, "Primitive"), (short*)tolua_tousertype_dynamic(L, 4, 0, "Primitive"), tolua_function_tointeger(L, 5, "GetLOSCost")); + byte returnVal = (self->GetLOSCost)((CPoint*)tolua_tousertype_dynamic(L, 2, 0, "CPoint"), (byte*)tolua_tousertype_dynamic(L, 3, 0, "Primitive"), (short*)tolua_tousertype_dynamic(L, 4, 0, "Primitive"), tolua_function_tointeger(L, 5, "GetLOSCost")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -130078,7 +133929,7 @@ static int tolua_function_CSearchBitmap_GetNearestOpenSquare(lua_State* L) { CSearchBitmap* self = (CSearchBitmap*)tolua_tousertype_dynamic(L, 1, 0, "CSearchBitmap"); if (!self) tolua_error(L, "invalid 'self' in calling function 'GetNearestOpenSquare'", NULL); - CPoint* returnVal = self->GetNearestOpenSquare((CPoint*)tolua_tousertype_dynamic(L, 2, 0, "CPoint"), *(CPoint*)tolua_tousertype_dynamic(L, 3, 0, "CPoint"), (byte*)tolua_tousertype_dynamic(L, 4, 0, "Primitive"), tolua_function_tointeger(L, 5, "GetNearestOpenSquare"), tolua_function_tointeger(L, 6, "GetNearestOpenSquare")); + CPoint* returnVal = (self->GetNearestOpenSquare)((CPoint*)tolua_tousertype_dynamic(L, 2, 0, "CPoint"), *(CPoint*)tolua_tousertype_dynamic(L, 3, 0, "CPoint"), (byte*)tolua_tousertype_dynamic(L, 4, 0, "Primitive"), tolua_function_tointeger(L, 5, "GetNearestOpenSquare"), tolua_function_tointeger(L, 6, "GetNearestOpenSquare")); tolua_pushusertype(L, (void*)returnVal, "CPoint"); return 1; } @@ -130087,7 +133938,7 @@ static int tolua_function_CSearchBitmap_GetStructureHeight(lua_State* L) { CSearchBitmap* self = (CSearchBitmap*)tolua_tousertype_dynamic(L, 1, 0, "CSearchBitmap"); if (!self) tolua_error(L, "invalid 'self' in calling function 'GetStructureHeight'", NULL); - short returnVal = self->GetStructureHeight(tolua_function_tointeger(L, 2, "GetStructureHeight")); + short returnVal = (self->GetStructureHeight)(tolua_function_tointeger(L, 2, "GetStructureHeight")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -130096,7 +133947,7 @@ static int tolua_function_CSearchBitmap_GetNearestOpenSquare_clashing1(lua_State { CSearchBitmap* self = (CSearchBitmap*)tolua_tousertype_dynamic(L, 1, 0, "CSearchBitmap"); if (!self) tolua_error(L, "invalid 'self' in calling function 'GetNearestOpenSquare'", NULL); - self->Lua_GetNearestOpenSquare(L, tolua_function_tointeger(L, 2, "GetNearestOpenSquare"), tolua_function_tointeger(L, 3, "GetNearestOpenSquare"), (byte*)tolua_tousertype_dynamic(L, 4, 0, "Primitive"), tolua_function_tointeger(L, 5, "GetNearestOpenSquare"), tolua_function_tointeger(L, 6, "GetNearestOpenSquare")); + (self->Lua_GetNearestOpenSquare)(L, tolua_function_tointeger(L, 2, "GetNearestOpenSquare"), tolua_function_tointeger(L, 3, "GetNearestOpenSquare"), (byte*)tolua_tousertype_dynamic(L, 4, 0, "Primitive"), tolua_function_tointeger(L, 5, "GetNearestOpenSquare"), tolua_function_tointeger(L, 6, "GetNearestOpenSquare")); return 2; } @@ -131068,7 +134919,7 @@ static int tolua_function_CVidMode_ApplyBrightnessContrast(lua_State* L) { CVidMode* self = (CVidMode*)tolua_tousertype_dynamic(L, 1, 0, "CVidMode"); if (!self) tolua_error(L, "invalid 'self' in calling function 'ApplyBrightnessContrast'", NULL); - uint returnVal = self->ApplyBrightnessContrast(tolua_function_tointeger(L, 2, "ApplyBrightnessContrast")); + uint returnVal = (self->ApplyBrightnessContrast)(tolua_function_tointeger(L, 2, "ApplyBrightnessContrast")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -131077,7 +134928,7 @@ static int tolua_function_CVidMode_Flip(lua_State* L) { CVidMode* self = (CVidMode*)tolua_tousertype_dynamic(L, 1, 0, "CVidMode"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Flip'", NULL); - self->Flip(tolua_function_tointeger(L, 2, "Flip")); + (self->Flip)(tolua_function_tointeger(L, 2, "Flip")); return 0; } @@ -131229,7 +135080,7 @@ static int tolua_function_CVidCell_virtual_FrameAdvance(lua_State* L) { CVidCell* self = (CVidCell*)tolua_tousertype_dynamic(L, 1, 0, "CVidCell"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_FrameAdvance'", NULL); - int returnVal = self->virtual_FrameAdvance(); + int returnVal = (self->virtual_FrameAdvance)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -131238,7 +135089,7 @@ static int tolua_function_CVidCell_virtual_Render(lua_State* L) { CVidCell* self = (CVidCell*)tolua_tousertype_dynamic(L, 1, 0, "CVidCell"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_Render'", NULL); - int returnVal = self->virtual_Render((unsigned int*)tolua_tousertype_dynamic(L, 2, 0, "Primitive"), tolua_function_tointeger(L, 3, "virtual_Render"), tolua_function_tointeger(L, 4, "virtual_Render"), tolua_function_tointeger(L, 5, "virtual_Render"), (const CRect*)tolua_tousertype_dynamic(L, 6, 0, "CRect"), tolua_function_tointeger(L, 7, "virtual_Render"), (const CPoint*)tolua_tousertype_dynamic(L, 8, 0, "CPoint")); + int returnVal = (self->virtual_Render)((unsigned int*)tolua_tousertype_dynamic(L, 2, 0, "Primitive"), tolua_function_tointeger(L, 3, "virtual_Render"), tolua_function_tointeger(L, 4, "virtual_Render"), tolua_function_tointeger(L, 5, "virtual_Render"), (const CRect*)tolua_tousertype_dynamic(L, 6, 0, "CRect"), tolua_function_tointeger(L, 7, "virtual_Render"), (const CPoint*)tolua_tousertype_dynamic(L, 8, 0, "CPoint")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -131247,7 +135098,7 @@ static int tolua_function_CVidCell_virtual_Render_2(lua_State* L) { CVidCell* self = (CVidCell*)tolua_tousertype_dynamic(L, 1, 0, "CVidCell"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_Render_2'", NULL); - int returnVal = self->virtual_Render_2(tolua_function_tointeger(L, 2, "virtual_Render_2"), tolua_function_tointeger(L, 3, "virtual_Render_2"), (const CRect*)tolua_tousertype_dynamic(L, 4, 0, "CRect"), (CVidPoly*)tolua_tousertype_dynamic(L, 5, 0, "CVidPoly"), tolua_function_tointeger(L, 6, "virtual_Render_2"), tolua_function_tointeger(L, 7, "virtual_Render_2"), tolua_function_tointeger(L, 8, "virtual_Render_2")); + int returnVal = (self->virtual_Render_2)(tolua_function_tointeger(L, 2, "virtual_Render_2"), tolua_function_tointeger(L, 3, "virtual_Render_2"), (const CRect*)tolua_tousertype_dynamic(L, 4, 0, "CRect"), (CVidPoly*)tolua_tousertype_dynamic(L, 5, 0, "CVidPoly"), tolua_function_tointeger(L, 6, "virtual_Render_2"), tolua_function_tointeger(L, 7, "virtual_Render_2"), tolua_function_tointeger(L, 8, "virtual_Render_2")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -131256,7 +135107,7 @@ static int tolua_function_CVidCell_virtual_StoreBackground(lua_State* L) { CVidCell* self = (CVidCell*)tolua_tousertype_dynamic(L, 1, 0, "CVidCell"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_StoreBackground'", NULL); - self->virtual_StoreBackground(tolua_function_tointeger(L, 2, "virtual_StoreBackground"), tolua_function_tointeger(L, 3, "virtual_StoreBackground"), (const CRect*)tolua_tousertype_dynamic(L, 4, 0, "CRect"), (CRect*)tolua_tousertype_dynamic(L, 5, 0, "CRect"), tolua_function_tointeger(L, 6, "virtual_StoreBackground")); + (self->virtual_StoreBackground)(tolua_function_tointeger(L, 2, "virtual_StoreBackground"), tolua_function_tointeger(L, 3, "virtual_StoreBackground"), (const CRect*)tolua_tousertype_dynamic(L, 4, 0, "CRect"), (CRect*)tolua_tousertype_dynamic(L, 5, 0, "CRect"), tolua_function_tointeger(L, 6, "virtual_StoreBackground")); return 0; } @@ -131264,7 +135115,7 @@ static int tolua_function_CVidCell_virtual_GetFrame(lua_State* L) { CVidCell* self = (CVidCell*)tolua_tousertype_dynamic(L, 1, 0, "CVidCell"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_GetFrame'", NULL); - int returnVal = self->virtual_GetFrame(); + int returnVal = (self->virtual_GetFrame)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -137733,7 +141584,7 @@ static int tolua_function_CInfCursor_SetCursor(lua_State* L) { CInfCursor* self = (CInfCursor*)tolua_tousertype_dynamic(L, 1, 0, "CInfCursor"); if (!self) tolua_error(L, "invalid 'self' in calling function 'SetCursor'", NULL); - self->SetCursor(tolua_function_tointeger(L, 2, "SetCursor"), tolua_function_tointeger(L, 3, "SetCursor"), tolua_function_tointeger(L, 4, "SetCursor")); + (self->SetCursor)(tolua_function_tointeger(L, 2, "SetCursor"), tolua_function_tointeger(L, 3, "SetCursor"), tolua_function_tointeger(L, 4, "SetCursor")); return 0; } @@ -149685,7 +153536,7 @@ static int tolua_function_CScreenWorld_TogglePauseGame(lua_State* L) { CScreenWorld* self = (CScreenWorld*)tolua_tousertype_dynamic(L, 1, 0, "EEex_CScreenWorld"); if (!self) tolua_error(L, "invalid 'self' in calling function 'TogglePauseGame'", NULL); - int returnVal = self->TogglePauseGame(tolua_function_tointeger(L, 2, "TogglePauseGame"), tolua_function_tointeger(L, 3, "TogglePauseGame"), tolua_function_tointeger(L, 4, "TogglePauseGame"), tolua_function_tointeger(L, 5, "TogglePauseGame"), tolua_function_tointeger(L, 6, "TogglePauseGame")); + int returnVal = (self->TogglePauseGame)(tolua_function_tointeger(L, 2, "TogglePauseGame"), tolua_function_tointeger(L, 3, "TogglePauseGame"), tolua_function_tointeger(L, 4, "TogglePauseGame"), tolua_function_tointeger(L, 5, "TogglePauseGame"), tolua_function_tointeger(L, 6, "TogglePauseGame")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -155174,7 +159025,7 @@ static int tolua_function_CRuleTables_MapCharacterSpecializationToSchool(lua_Sta { CRuleTables* self = (CRuleTables*)tolua_tousertype_dynamic(L, 1, 0, "CRuleTables"); if (!self) tolua_error(L, "invalid 'self' in calling function 'MapCharacterSpecializationToSchool'", NULL); - byte returnVal = self->MapCharacterSpecializationToSchool(tolua_function_tointeger(L, 2, "MapCharacterSpecializationToSchool")); + byte returnVal = (self->MapCharacterSpecializationToSchool)(tolua_function_tointeger(L, 2, "MapCharacterSpecializationToSchool")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -155183,7 +159034,7 @@ static int tolua_function_CRuleTables_IsProtectedFromSpell(lua_State* L) { CRuleTables* self = (CRuleTables*)tolua_tousertype_dynamic(L, 1, 0, "CRuleTables"); if (!self) tolua_error(L, "invalid 'self' in calling function 'IsProtectedFromSpell'", NULL); - int returnVal = self->IsProtectedFromSpell(tolua_function_tointeger(L, 2, "IsProtectedFromSpell"), (CGameSprite*)tolua_tousertype_dynamic(L, 3, 0, "CGameSprite"), (CGameSprite*)tolua_tousertype_dynamic(L, 4, 0, "CGameSprite"), tolua_function_tointeger(L, 5, "IsProtectedFromSpell")); + int returnVal = (self->IsProtectedFromSpell)(tolua_function_tointeger(L, 2, "IsProtectedFromSpell"), (CGameSprite*)tolua_tousertype_dynamic(L, 3, 0, "CGameSprite"), (CGameSprite*)tolua_tousertype_dynamic(L, 4, 0, "CGameSprite"), tolua_function_tointeger(L, 5, "IsProtectedFromSpell")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -160370,7 +164221,7 @@ static int tolua_function_CChitin_OnResizeWindow(lua_State* L) { CChitin* self = (CChitin*)tolua_tousertype_dynamic(L, 1, 0, "EEex_CChitin"); if (!self) tolua_error(L, "invalid 'self' in calling function 'OnResizeWindow'", NULL); - self->OnResizeWindow(tolua_function_tointeger(L, 2, "OnResizeWindow"), tolua_function_tointeger(L, 3, "OnResizeWindow")); + (self->OnResizeWindow)(tolua_function_tointeger(L, 2, "OnResizeWindow"), tolua_function_tointeger(L, 3, "OnResizeWindow")); return 0; } @@ -160378,7 +164229,7 @@ static int tolua_function_CChitin_virtual_SynchronousUpdate(lua_State* L) { CChitin* self = (CChitin*)tolua_tousertype_dynamic(L, 1, 0, "EEex_CChitin"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_SynchronousUpdate'", NULL); - self->virtual_SynchronousUpdate(); + (self->virtual_SynchronousUpdate)(); return 0; } @@ -160386,7 +164237,7 @@ static int tolua_function_CChitin_virtual_SetupPanels(lua_State* L) { CChitin* self = (CChitin*)tolua_tousertype_dynamic(L, 1, 0, "EEex_CChitin"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_SetupPanels'", NULL); - self->virtual_SetupPanels(); + (self->virtual_SetupPanels)(); return 0; } @@ -160394,7 +164245,7 @@ static int tolua_function_CChitin_virtual_GetIDSInvalidVideoMode(lua_State* L) { CChitin* self = (CChitin*)tolua_tousertype_dynamic(L, 1, 0, "EEex_CChitin"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_GetIDSInvalidVideoMode'", NULL); - unsigned int returnVal = self->virtual_GetIDSInvalidVideoMode(); + unsigned int returnVal = (self->virtual_GetIDSInvalidVideoMode)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -160403,7 +164254,7 @@ static int tolua_function_CChitin_virtual_GetIDSOpenGLDll(lua_State* L) { CChitin* self = (CChitin*)tolua_tousertype_dynamic(L, 1, 0, "EEex_CChitin"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_GetIDSOpenGLDll'", NULL); - unsigned int returnVal = self->virtual_GetIDSOpenGLDll(); + unsigned int returnVal = (self->virtual_GetIDSOpenGLDll)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -160412,7 +164263,7 @@ static int tolua_function_CChitin_virtual_GetIDSExclusiveMode(lua_State* L) { CChitin* self = (CChitin*)tolua_tousertype_dynamic(L, 1, 0, "EEex_CChitin"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_GetIDSExclusiveMode'", NULL); - unsigned int returnVal = self->virtual_GetIDSExclusiveMode(); + unsigned int returnVal = (self->virtual_GetIDSExclusiveMode)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -160421,7 +164272,7 @@ static int tolua_function_CChitin_virtual_GetIDSChoosePixelFormat(lua_State* L) { CChitin* self = (CChitin*)tolua_tousertype_dynamic(L, 1, 0, "EEex_CChitin"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_GetIDSChoosePixelFormat'", NULL); - unsigned int returnVal = self->virtual_GetIDSChoosePixelFormat(); + unsigned int returnVal = (self->virtual_GetIDSChoosePixelFormat)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -160430,7 +164281,7 @@ static int tolua_function_CChitin_virtual_GetIDSSetPixelFormat(lua_State* L) { CChitin* self = (CChitin*)tolua_tousertype_dynamic(L, 1, 0, "EEex_CChitin"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_GetIDSSetPixelFormat'", NULL); - unsigned int returnVal = self->virtual_GetIDSSetPixelFormat(); + unsigned int returnVal = (self->virtual_GetIDSSetPixelFormat)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -160439,7 +164290,7 @@ static int tolua_function_CChitin_virtual_GetIDSSetGameResolution(lua_State* L) { CChitin* self = (CChitin*)tolua_tousertype_dynamic(L, 1, 0, "EEex_CChitin"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_GetIDSSetGameResolution'", NULL); - unsigned int returnVal = self->virtual_GetIDSSetGameResolution(); + unsigned int returnVal = (self->virtual_GetIDSSetGameResolution)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -160448,7 +164299,7 @@ static int tolua_function_CChitin_virtual_GetIDSSetGameBitDepth(lua_State* L) { CChitin* self = (CChitin*)tolua_tousertype_dynamic(L, 1, 0, "EEex_CChitin"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_GetIDSSetGameBitDepth'", NULL); - unsigned int returnVal = self->virtual_GetIDSSetGameBitDepth(); + unsigned int returnVal = (self->virtual_GetIDSSetGameBitDepth)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -160457,7 +164308,7 @@ static int tolua_function_CChitin_virtual_GetIDSBadDeskTopBitDepth(lua_State* L) { CChitin* self = (CChitin*)tolua_tousertype_dynamic(L, 1, 0, "EEex_CChitin"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_GetIDSBadDeskTopBitDepth'", NULL); - unsigned int returnVal = self->virtual_GetIDSBadDeskTopBitDepth(); + unsigned int returnVal = (self->virtual_GetIDSBadDeskTopBitDepth)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -160466,7 +164317,7 @@ static int tolua_function_CChitin_virtual_GetIDSWindowsFonts(lua_State* L) { CChitin* self = (CChitin*)tolua_tousertype_dynamic(L, 1, 0, "EEex_CChitin"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_GetIDSWindowsFonts'", NULL); - unsigned int returnVal = self->virtual_GetIDSWindowsFonts(); + unsigned int returnVal = (self->virtual_GetIDSWindowsFonts)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -160475,7 +164326,7 @@ static int tolua_function_CChitin_virtual_AllocResObject(lua_State* L) { CChitin* self = (CChitin*)tolua_tousertype_dynamic(L, 1, 0, "EEex_CChitin"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_AllocResObject'", NULL); - CRes* returnVal = self->virtual_AllocResObject(tolua_function_tointeger(L, 2, "virtual_AllocResObject")); + CRes* returnVal = (self->virtual_AllocResObject)(tolua_function_tointeger(L, 2, "virtual_AllocResObject")); tolua_pushusertype(L, (void*)returnVal, "CRes"); return 1; } @@ -160484,7 +164335,7 @@ static int tolua_function_CChitin_virtual_GetIconRes(lua_State* L) { CChitin* self = (CChitin*)tolua_tousertype_dynamic(L, 1, 0, "EEex_CChitin"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_GetIconRes'", NULL); - const CString* returnVal = self->virtual_GetIconRes(); + const CString* returnVal = (self->virtual_GetIconRes)(); tolua_pushusertype(L, (void*)returnVal, "CString"); return 1; } @@ -160493,7 +164344,7 @@ static int tolua_function_CChitin_virtual_GetScreenShotFilePrefix(lua_State* L) { CChitin* self = (CChitin*)tolua_tousertype_dynamic(L, 1, 0, "EEex_CChitin"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_GetScreenShotFilePrefix'", NULL); - self->virtual_GetScreenShotFilePrefix((CString*)tolua_tousertype_dynamic(L, 2, 0, "CString")); + (self->virtual_GetScreenShotFilePrefix)((CString*)tolua_tousertype_dynamic(L, 2, 0, "CString")); return 0; } @@ -160501,7 +164352,7 @@ static int tolua_function_CChitin_virtual_FontRectOutline(lua_State* L) { CChitin* self = (CChitin*)tolua_tousertype_dynamic(L, 1, 0, "EEex_CChitin"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_FontRectOutline'", NULL); - int returnVal = self->virtual_FontRectOutline(); + int returnVal = (self->virtual_FontRectOutline)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -160510,7 +164361,7 @@ static int tolua_function_CChitin_virtual_InitializeServices(lua_State* L) { CChitin* self = (CChitin*)tolua_tousertype_dynamic(L, 1, 0, "EEex_CChitin"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_InitializeServices'", NULL); - int returnVal = self->virtual_InitializeServices(); + int returnVal = (self->virtual_InitializeServices)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -160519,7 +164370,7 @@ static int tolua_function_CChitin_virtual_SetProgressBar(lua_State* L) { CChitin* self = (CChitin*)tolua_tousertype_dynamic(L, 1, 0, "EEex_CChitin"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_SetProgressBar'", NULL); - self->virtual_SetProgressBar(tolua_function_tointeger(L, 2, "virtual_SetProgressBar"), tolua_function_tointeger(L, 3, "virtual_SetProgressBar"), tolua_function_tointeger(L, 4, "virtual_SetProgressBar"), tolua_function_tointeger(L, 5, "virtual_SetProgressBar"), tolua_function_tointeger(L, 6, "virtual_SetProgressBar"), tolua_function_tointeger(L, 7, "virtual_SetProgressBar"), tolua_function_tointeger(L, 8, "virtual_SetProgressBar"), tolua_function_tointeger(L, 9, "virtual_SetProgressBar"), tolua_function_tointeger(L, 10, "virtual_SetProgressBar"), tolua_function_tointeger(L, 11, "virtual_SetProgressBar"), tolua_function_tointeger(L, 12, "virtual_SetProgressBar")); + (self->virtual_SetProgressBar)(tolua_function_tointeger(L, 2, "virtual_SetProgressBar"), tolua_function_tointeger(L, 3, "virtual_SetProgressBar"), tolua_function_tointeger(L, 4, "virtual_SetProgressBar"), tolua_function_tointeger(L, 5, "virtual_SetProgressBar"), tolua_function_tointeger(L, 6, "virtual_SetProgressBar"), tolua_function_tointeger(L, 7, "virtual_SetProgressBar"), tolua_function_tointeger(L, 8, "virtual_SetProgressBar"), tolua_function_tointeger(L, 9, "virtual_SetProgressBar"), tolua_function_tointeger(L, 10, "virtual_SetProgressBar"), tolua_function_tointeger(L, 11, "virtual_SetProgressBar"), tolua_function_tointeger(L, 12, "virtual_SetProgressBar")); return 0; } @@ -160527,7 +164378,7 @@ static int tolua_function_CChitin_virtual_SetProgressBarActivateEngine(lua_State { CChitin* self = (CChitin*)tolua_tousertype_dynamic(L, 1, 0, "EEex_CChitin"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_SetProgressBarActivateEngine'", NULL); - self->virtual_SetProgressBarActivateEngine(tolua_function_tointeger(L, 2, "virtual_SetProgressBarActivateEngine")); + (self->virtual_SetProgressBarActivateEngine)(tolua_function_tointeger(L, 2, "virtual_SetProgressBarActivateEngine")); return 0; } @@ -160535,7 +164386,7 @@ static int tolua_function_CChitin_virtual_BroadcastMultiplayerProgressBarInfo(lu { CChitin* self = (CChitin*)tolua_tousertype_dynamic(L, 1, 0, "EEex_CChitin"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_BroadcastMultiplayerProgressBarInfo'", NULL); - self->virtual_BroadcastMultiplayerProgressBarInfo(); + (self->virtual_BroadcastMultiplayerProgressBarInfo)(); return 0; } @@ -160543,7 +164394,7 @@ static int tolua_function_CChitin_virtual_SetCDSwitchStatus(lua_State* L) { CChitin* self = (CChitin*)tolua_tousertype_dynamic(L, 1, 0, "EEex_CChitin"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_SetCDSwitchStatus'", NULL); - self->virtual_SetCDSwitchStatus(tolua_function_tointeger(L, 2, "virtual_SetCDSwitchStatus"), tolua_function_tointeger(L, 3, "virtual_SetCDSwitchStatus"), tolua_function_tointeger(L, 4, "virtual_SetCDSwitchStatus"), (const CString*)tolua_tousertype_dynamic(L, 5, 0, "CString"), tolua_function_tointeger(L, 6, "virtual_SetCDSwitchStatus"), tolua_function_tointeger(L, 7, "virtual_SetCDSwitchStatus"), tolua_function_tointeger(L, 8, "virtual_SetCDSwitchStatus")); + (self->virtual_SetCDSwitchStatus)(tolua_function_tointeger(L, 2, "virtual_SetCDSwitchStatus"), tolua_function_tointeger(L, 3, "virtual_SetCDSwitchStatus"), tolua_function_tointeger(L, 4, "virtual_SetCDSwitchStatus"), (const CString*)tolua_tousertype_dynamic(L, 5, 0, "CString"), tolua_function_tointeger(L, 6, "virtual_SetCDSwitchStatus"), tolua_function_tointeger(L, 7, "virtual_SetCDSwitchStatus"), tolua_function_tointeger(L, 8, "virtual_SetCDSwitchStatus")); return 0; } @@ -160551,7 +164402,7 @@ static int tolua_function_CChitin_virtual_SetCDSwitchActivateEngine(lua_State* L { CChitin* self = (CChitin*)tolua_tousertype_dynamic(L, 1, 0, "EEex_CChitin"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_SetCDSwitchActivateEngine'", NULL); - self->virtual_SetCDSwitchActivateEngine(tolua_function_tointeger(L, 2, "virtual_SetCDSwitchActivateEngine")); + (self->virtual_SetCDSwitchActivateEngine)(tolua_function_tointeger(L, 2, "virtual_SetCDSwitchActivateEngine")); return 0; } @@ -160559,7 +164410,7 @@ static int tolua_function_CChitin_virtual_OnMultiplayerSessionOpen(lua_State* L) { CChitin* self = (CChitin*)tolua_tousertype_dynamic(L, 1, 0, "EEex_CChitin"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_OnMultiplayerSessionOpen'", NULL); - self->virtual_OnMultiplayerSessionOpen((CString*)tolua_tousertype_dynamic(L, 2, 0, "CString"), (CString*)tolua_tousertype_dynamic(L, 3, 0, "CString"), (CString*)tolua_tousertype_dynamic(L, 4, 0, "CString")); + (self->virtual_OnMultiplayerSessionOpen)((CString*)tolua_tousertype_dynamic(L, 2, 0, "CString"), (CString*)tolua_tousertype_dynamic(L, 3, 0, "CString"), (CString*)tolua_tousertype_dynamic(L, 4, 0, "CString")); return 0; } @@ -160567,7 +164418,7 @@ static int tolua_function_CChitin_virtual_OnMultiplayerSessionToClose(lua_State* { CChitin* self = (CChitin*)tolua_tousertype_dynamic(L, 1, 0, "EEex_CChitin"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_OnMultiplayerSessionToClose'", NULL); - self->virtual_OnMultiplayerSessionToClose(); + (self->virtual_OnMultiplayerSessionToClose)(); return 0; } @@ -160575,7 +164426,7 @@ static int tolua_function_CChitin_virtual_OnMultiplayerSessionClose(lua_State* L { CChitin* self = (CChitin*)tolua_tousertype_dynamic(L, 1, 0, "EEex_CChitin"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_OnMultiplayerSessionClose'", NULL); - self->virtual_OnMultiplayerSessionClose(); + (self->virtual_OnMultiplayerSessionClose)(); return 0; } @@ -160583,7 +164434,7 @@ static int tolua_function_CChitin_virtual_OnMultiplayerPlayerJoin(lua_State* L) { CChitin* self = (CChitin*)tolua_tousertype_dynamic(L, 1, 0, "EEex_CChitin"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_OnMultiplayerPlayerJoin'", NULL); - self->virtual_OnMultiplayerPlayerJoin(tolua_function_tointeger(L, 2, "virtual_OnMultiplayerPlayerJoin"), (const CString*)tolua_tousertype_dynamic(L, 3, 0, "CString")); + (self->virtual_OnMultiplayerPlayerJoin)(tolua_function_tointeger(L, 2, "virtual_OnMultiplayerPlayerJoin"), (const CString*)tolua_tousertype_dynamic(L, 3, 0, "CString")); return 0; } @@ -160591,7 +164442,7 @@ static int tolua_function_CChitin_virtual_OnMultiplayerPlayerVisible(lua_State* { CChitin* self = (CChitin*)tolua_tousertype_dynamic(L, 1, 0, "EEex_CChitin"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_OnMultiplayerPlayerVisible'", NULL); - self->virtual_OnMultiplayerPlayerVisible(tolua_function_tointeger(L, 2, "virtual_OnMultiplayerPlayerVisible")); + (self->virtual_OnMultiplayerPlayerVisible)(tolua_function_tointeger(L, 2, "virtual_OnMultiplayerPlayerVisible")); return 0; } @@ -160599,7 +164450,7 @@ static int tolua_function_CChitin_virtual_OnMultiplayerPlayerLeave(lua_State* L) { CChitin* self = (CChitin*)tolua_tousertype_dynamic(L, 1, 0, "EEex_CChitin"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_OnMultiplayerPlayerLeave'", NULL); - self->virtual_OnMultiplayerPlayerLeave(tolua_function_tointeger(L, 2, "virtual_OnMultiplayerPlayerLeave"), (const CString*)tolua_tousertype_dynamic(L, 3, 0, "CString")); + (self->virtual_OnMultiplayerPlayerLeave)(tolua_function_tointeger(L, 2, "virtual_OnMultiplayerPlayerLeave"), (const CString*)tolua_tousertype_dynamic(L, 3, 0, "CString")); return 0; } @@ -160607,7 +164458,7 @@ static int tolua_function_CChitin_virtual_MessageCallback(lua_State* L) { CChitin* self = (CChitin*)tolua_tousertype_dynamic(L, 1, 0, "EEex_CChitin"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_MessageCallback'", NULL); - int returnVal = self->virtual_MessageCallback((unsigned __int8*)tolua_tousertype_dynamic(L, 2, 0, "Primitive<__int8>"), tolua_function_tointeger(L, 3, "virtual_MessageCallback")); + int returnVal = (self->virtual_MessageCallback)((unsigned __int8*)tolua_tousertype_dynamic(L, 2, 0, "Primitive<__int8>"), tolua_function_tointeger(L, 3, "virtual_MessageCallback")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -160616,7 +164467,7 @@ static int tolua_function_CChitin_virtual_GetGamespyResponse(lua_State* L) { CChitin* self = (CChitin*)tolua_tousertype_dynamic(L, 1, 0, "EEex_CChitin"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_GetGamespyResponse'", NULL); - unsigned __int8 returnVal = self->virtual_GetGamespyResponse(tolua_function_tointeger(L, 2, "virtual_GetGamespyResponse"), (unsigned __int8**)tolua_tousertype_dynamic(L, 3, 0, "Pointer"), (unsigned int*)tolua_tousertype_dynamic(L, 4, 0, "Primitive")); + unsigned __int8 returnVal = (self->virtual_GetGamespyResponse)(tolua_function_tointeger(L, 2, "virtual_GetGamespyResponse"), (unsigned __int8**)tolua_tousertype_dynamic(L, 3, 0, "Pointer"), (unsigned int*)tolua_tousertype_dynamic(L, 4, 0, "Primitive")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -160625,7 +164476,7 @@ static int tolua_function_CChitin_virtual_AsynchronousUpdate(lua_State* L) { CChitin* self = (CChitin*)tolua_tousertype_dynamic(L, 1, 0, "EEex_CChitin"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_AsynchronousUpdate'", NULL); - self->virtual_AsynchronousUpdate(tolua_function_tointeger(L, 2, "virtual_AsynchronousUpdate"), tolua_function_tointeger(L, 3, "virtual_AsynchronousUpdate"), tolua_function_tointeger(L, 4, "virtual_AsynchronousUpdate"), tolua_function_tointeger(L, 5, "virtual_AsynchronousUpdate"), tolua_function_tointeger(L, 6, "virtual_AsynchronousUpdate")); + (self->virtual_AsynchronousUpdate)(tolua_function_tointeger(L, 2, "virtual_AsynchronousUpdate"), tolua_function_tointeger(L, 3, "virtual_AsynchronousUpdate"), tolua_function_tointeger(L, 4, "virtual_AsynchronousUpdate"), tolua_function_tointeger(L, 5, "virtual_AsynchronousUpdate"), tolua_function_tointeger(L, 6, "virtual_AsynchronousUpdate")); return 0; } @@ -160633,7 +164484,7 @@ static int tolua_function_CChitin_virtual_SelectEngine(lua_State* L) { CChitin* self = (CChitin*)tolua_tousertype_dynamic(L, 1, 0, "EEex_CChitin"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_SelectEngine'", NULL); - self->virtual_SelectEngine((CWarp*)tolua_tousertype_dynamic(L, 2, 0, "EEex_CWarp")); + (self->virtual_SelectEngine)((CWarp*)tolua_tousertype_dynamic(L, 2, 0, "EEex_CWarp")); return 0; } @@ -160641,7 +164492,7 @@ static int tolua_function_CChitin_virtual_ShutDown(lua_State* L) { CChitin* self = (CChitin*)tolua_tousertype_dynamic(L, 1, 0, "EEex_CChitin"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_ShutDown'", NULL); - self->virtual_ShutDown(tolua_function_tointeger(L, 2, "virtual_ShutDown"), *(const char**)tolua_tousertype_dynamic(L, 3, 0, "ConstCharString"), *(const char**)tolua_tousertype_dynamic(L, 4, 0, "ConstCharString")); + (self->virtual_ShutDown)(tolua_function_tointeger(L, 2, "virtual_ShutDown"), *(const char**)tolua_tousertype_dynamic(L, 3, 0, "ConstCharString"), *(const char**)tolua_tousertype_dynamic(L, 4, 0, "ConstCharString")); return 0; } @@ -160649,7 +164500,7 @@ static int tolua_function_CChitin_virtual_GetNumberSoundChannels(lua_State* L) { CChitin* self = (CChitin*)tolua_tousertype_dynamic(L, 1, 0, "EEex_CChitin"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_GetNumberSoundChannels'", NULL); - unsigned __int8 returnVal = self->virtual_GetNumberSoundChannels(); + unsigned __int8 returnVal = (self->virtual_GetNumberSoundChannels)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -160658,7 +164509,7 @@ static int tolua_function_CChitin_virtual_GetMovieVolume(lua_State* L) { CChitin* self = (CChitin*)tolua_tousertype_dynamic(L, 1, 0, "EEex_CChitin"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_GetMovieVolume'", NULL); - int returnVal = self->virtual_GetMovieVolume(); + int returnVal = (self->virtual_GetMovieVolume)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -160667,7 +164518,7 @@ static int tolua_function_CChitin_virtual_LoadOptions(lua_State* L) { CChitin* self = (CChitin*)tolua_tousertype_dynamic(L, 1, 0, "EEex_CChitin"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_LoadOptions'", NULL); - self->virtual_LoadOptions(); + (self->virtual_LoadOptions)(); return 0; } @@ -160675,7 +164526,7 @@ static int tolua_function_CChitin_virtual_PreLoadFonts(lua_State* L) { CChitin* self = (CChitin*)tolua_tousertype_dynamic(L, 1, 0, "EEex_CChitin"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_PreLoadFonts'", NULL); - self->virtual_PreLoadFonts(); + (self->virtual_PreLoadFonts)(); return 0; } @@ -160683,7 +164534,7 @@ static int tolua_function_CChitin_virtual_SetSoundVolumes(lua_State* L) { CChitin* self = (CChitin*)tolua_tousertype_dynamic(L, 1, 0, "EEex_CChitin"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_SetSoundVolumes'", NULL); - self->virtual_SetSoundVolumes(); + (self->virtual_SetSoundVolumes)(); return 0; } @@ -160691,7 +164542,7 @@ static int tolua_function_CChitin_virtual_GetMultiplayerGameSpyPort(lua_State* L { CChitin* self = (CChitin*)tolua_tousertype_dynamic(L, 1, 0, "EEex_CChitin"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_GetMultiplayerGameSpyPort'", NULL); - unsigned __int16 returnVal = self->virtual_GetMultiplayerGameSpyPort(); + unsigned __int16 returnVal = (self->virtual_GetMultiplayerGameSpyPort)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -160700,7 +164551,7 @@ static int tolua_function_CChitin_virtual_GetMultiplayerDirectPlayPort(lua_State { CChitin* self = (CChitin*)tolua_tousertype_dynamic(L, 1, 0, "EEex_CChitin"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_GetMultiplayerDirectPlayPort'", NULL); - unsigned __int16 returnVal = self->virtual_GetMultiplayerDirectPlayPort(); + unsigned __int16 returnVal = (self->virtual_GetMultiplayerDirectPlayPort)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -160709,7 +164560,7 @@ static int tolua_function_CChitin_virtual_SetRenderCount(lua_State* L) { CChitin* self = (CChitin*)tolua_tousertype_dynamic(L, 1, 0, "EEex_CChitin"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_SetRenderCount'", NULL); - self->virtual_SetRenderCount(tolua_function_tointeger(L, 2, "virtual_SetRenderCount")); + (self->virtual_SetRenderCount)(tolua_function_tointeger(L, 2, "virtual_SetRenderCount")); return 0; } @@ -160717,7 +164568,7 @@ static int tolua_function_CChitin_virtual_ConfirmQuit(lua_State* L) { CChitin* self = (CChitin*)tolua_tousertype_dynamic(L, 1, 0, "EEex_CChitin"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_ConfirmQuit'", NULL); - int returnVal = self->virtual_ConfirmQuit(); + int returnVal = (self->virtual_ConfirmQuit)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -160726,7 +164577,7 @@ static int tolua_function_CChitin_virtual_GetGameSpyGameName(lua_State* L) { CChitin* self = (CChitin*)tolua_tousertype_dynamic(L, 1, 0, "EEex_CChitin"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_GetGameSpyGameName'", NULL); - self->virtual_GetGameSpyGameName((CString*)tolua_tousertype_dynamic(L, 2, 0, "CString")); + (self->virtual_GetGameSpyGameName)((CString*)tolua_tousertype_dynamic(L, 2, 0, "CString")); return 0; } @@ -160734,7 +164585,7 @@ static int tolua_function_CChitin_virtual_GetGameSpyCode(lua_State* L) { CChitin* self = (CChitin*)tolua_tousertype_dynamic(L, 1, 0, "EEex_CChitin"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_GetGameSpyCode'", NULL); - self->virtual_GetGameSpyCode((CString*)tolua_tousertype_dynamic(L, 2, 0, "CString")); + (self->virtual_GetGameSpyCode)((CString*)tolua_tousertype_dynamic(L, 2, 0, "CString")); return 0; } @@ -160742,7 +164593,7 @@ static int tolua_function_CChitin_virtual_GetPanicCDStrings(lua_State* L) { CChitin* self = (CChitin*)tolua_tousertype_dynamic(L, 1, 0, "EEex_CChitin"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_GetPanicCDStrings'", NULL); - self->virtual_GetPanicCDStrings((CString*)tolua_tousertype_dynamic(L, 2, 0, "CString"), (CString*)tolua_tousertype_dynamic(L, 3, 0, "CString"), (CString*)tolua_tousertype_dynamic(L, 4, 0, "CString")); + (self->virtual_GetPanicCDStrings)((CString*)tolua_tousertype_dynamic(L, 2, 0, "CString"), (CString*)tolua_tousertype_dynamic(L, 3, 0, "CString"), (CString*)tolua_tousertype_dynamic(L, 4, 0, "CString")); return 0; } @@ -160750,7 +164601,7 @@ static int tolua_function_CChitin_virtual_OnMixerInitialize(lua_State* L) { CChitin* self = (CChitin*)tolua_tousertype_dynamic(L, 1, 0, "EEex_CChitin"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_OnMixerInitialize'", NULL); - self->virtual_OnMixerInitialize(); + (self->virtual_OnMixerInitialize)(); return 0; } @@ -160758,7 +164609,7 @@ static int tolua_function_CChitin_virtual_Is3DSound(lua_State* L) { CChitin* self = (CChitin*)tolua_tousertype_dynamic(L, 1, 0, "EEex_CChitin"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_Is3DSound'", NULL); - int returnVal = self->virtual_Is3DSound(tolua_function_tointeger(L, 2, "virtual_Is3DSound")); + int returnVal = (self->virtual_Is3DSound)(tolua_function_tointeger(L, 2, "virtual_Is3DSound")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -160767,7 +164618,7 @@ static int tolua_function_CChitin_virtual_GetEAXActive(lua_State* L) { CChitin* self = (CChitin*)tolua_tousertype_dynamic(L, 1, 0, "EEex_CChitin"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_GetEAXActive'", NULL); - int returnVal = self->virtual_GetEAXActive(); + int returnVal = (self->virtual_GetEAXActive)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -160776,7 +164627,7 @@ static int tolua_function_CChitin_virtual_RedrawScreen(lua_State* L) { CChitin* self = (CChitin*)tolua_tousertype_dynamic(L, 1, 0, "EEex_CChitin"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_RedrawScreen'", NULL); - self->virtual_RedrawScreen(); + (self->virtual_RedrawScreen)(); return 0; } @@ -160784,7 +164635,7 @@ static int tolua_function_CChitin_virtual_GetSoundEnvironment(lua_State* L) { CChitin* self = (CChitin*)tolua_tousertype_dynamic(L, 1, 0, "EEex_CChitin"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_GetSoundEnvironment'", NULL); - unsigned __int8 returnVal = self->virtual_GetSoundEnvironment(*(CString*)tolua_tousertype_dynamic(L, 2, 0, "CString"), (unsigned int*)tolua_tousertype_dynamic(L, 3, 0, "Primitive"), (float*)tolua_tousertype_dynamic(L, 4, 0, "Primitive"), (float*)tolua_tousertype_dynamic(L, 5, 0, "Primitive"), (float*)tolua_tousertype_dynamic(L, 6, 0, "Primitive"), (float*)tolua_tousertype_dynamic(L, 7, 0, "Primitive")); + unsigned __int8 returnVal = (self->virtual_GetSoundEnvironment)(*(CString*)tolua_tousertype_dynamic(L, 2, 0, "CString"), (unsigned int*)tolua_tousertype_dynamic(L, 3, 0, "Primitive"), (float*)tolua_tousertype_dynamic(L, 4, 0, "Primitive"), (float*)tolua_tousertype_dynamic(L, 5, 0, "Primitive"), (float*)tolua_tousertype_dynamic(L, 6, 0, "Primitive"), (float*)tolua_tousertype_dynamic(L, 7, 0, "Primitive")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -160793,7 +164644,7 @@ static int tolua_function_CChitin_virtual_CutsceneModeActive(lua_State* L) { CChitin* self = (CChitin*)tolua_tousertype_dynamic(L, 1, 0, "EEex_CChitin"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_CutsceneModeActive'", NULL); - unsigned __int8 returnVal = self->virtual_CutsceneModeActive(); + unsigned __int8 returnVal = (self->virtual_CutsceneModeActive)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -162752,7 +166603,7 @@ static int tolua_function_CItem_GetAbility(lua_State* L) { CItem* self = (CItem*)tolua_tousertype_dynamic(L, 1, 0, "CItem"); if (!self) tolua_error(L, "invalid 'self' in calling function 'GetAbility'", NULL); - Item_ability_st* returnVal = self->GetAbility(tolua_function_tointeger(L, 2, "GetAbility")); + Item_ability_st* returnVal = (self->GetAbility)(tolua_function_tointeger(L, 2, "GetAbility")); tolua_pushusertype(L, (void*)returnVal, "Item_ability_st"); return 1; } @@ -162761,7 +166612,7 @@ static int tolua_function_CItem_virtual_Destruct(lua_State* L) { CItem* self = (CItem*)tolua_tousertype_dynamic(L, 1, 0, "CItem"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_Destruct'", NULL); - self->virtual_Destruct(); + (self->virtual_Destruct)(); return 0; } @@ -164805,7 +168656,7 @@ static int tolua_function_CInfinity_FitViewPosition(lua_State* L) { CInfinity* self = (CInfinity*)tolua_tousertype_dynamic(L, 1, 0, "CInfinity"); if (!self) tolua_error(L, "invalid 'self' in calling function 'FitViewPosition'", NULL); - self->FitViewPosition((int*)tolua_tousertype_dynamic(L, 2, 0, "Primitive"), (int*)tolua_tousertype_dynamic(L, 3, 0, "Primitive"), (const CRect*)tolua_tousertype_dynamic(L, 4, 0, "CRect")); + (self->FitViewPosition)((int*)tolua_tousertype_dynamic(L, 2, 0, "Primitive"), (int*)tolua_tousertype_dynamic(L, 3, 0, "Primitive"), (const CRect*)tolua_tousertype_dynamic(L, 4, 0, "CRect")); return 0; } @@ -164813,7 +168664,7 @@ static int tolua_function_CInfinity_ScreenToViewport(lua_State* L) { CInfinity* self = (CInfinity*)tolua_tousertype_dynamic(L, 1, 0, "CInfinity"); if (!self) tolua_error(L, "invalid 'self' in calling function 'ScreenToViewport'", NULL); - CPoint* returnVal = self->ScreenToViewport((CPoint*)tolua_tousertype_dynamic(L, 2, 0, "CPoint"), (CPoint*)tolua_tousertype_dynamic(L, 3, 0, "CPoint")); + CPoint* returnVal = (self->ScreenToViewport)((CPoint*)tolua_tousertype_dynamic(L, 2, 0, "CPoint"), (CPoint*)tolua_tousertype_dynamic(L, 3, 0, "CPoint")); tolua_pushusertype(L, (void*)returnVal, "CPoint"); return 1; } @@ -164822,7 +168673,7 @@ static int tolua_function_CInfinity_ScreenToWorld(lua_State* L) { CInfinity* self = (CInfinity*)tolua_tousertype_dynamic(L, 1, 0, "CInfinity"); if (!self) tolua_error(L, "invalid 'self' in calling function 'ScreenToWorld'", NULL); - CPoint* returnVal = self->ScreenToWorld((CPoint*)tolua_tousertype_dynamic(L, 2, 0, "CPoint"), (CPoint*)tolua_tousertype_dynamic(L, 3, 0, "CPoint")); + CPoint* returnVal = (self->ScreenToWorld)((CPoint*)tolua_tousertype_dynamic(L, 2, 0, "CPoint"), (CPoint*)tolua_tousertype_dynamic(L, 3, 0, "CPoint")); tolua_pushusertype(L, (void*)returnVal, "CPoint"); return 1; } @@ -164831,7 +168682,7 @@ static int tolua_function_CInfinity_SetScrollDest(lua_State* L) { CInfinity* self = (CInfinity*)tolua_tousertype_dynamic(L, 1, 0, "CInfinity"); if (!self) tolua_error(L, "invalid 'self' in calling function 'SetScrollDest'", NULL); - self->SetScrollDest((CPoint*)tolua_tousertype_dynamic(L, 2, 0, "CPoint")); + (self->SetScrollDest)((CPoint*)tolua_tousertype_dynamic(L, 2, 0, "CPoint")); return 0; } @@ -164839,7 +168690,7 @@ static int tolua_function_CInfinity_SetViewPosition(lua_State* L) { CInfinity* self = (CInfinity*)tolua_tousertype_dynamic(L, 1, 0, "CInfinity"); if (!self) tolua_error(L, "invalid 'self' in calling function 'SetViewPosition'", NULL); - int returnVal = self->SetViewPosition(tolua_function_tointeger(L, 2, "SetViewPosition"), tolua_function_tointeger(L, 3, "SetViewPosition"), tolua_function_tointeger(L, 4, "SetViewPosition")); + int returnVal = (self->SetViewPosition)(tolua_function_tointeger(L, 2, "SetViewPosition"), tolua_function_tointeger(L, 3, "SetViewPosition"), tolua_function_tointeger(L, 4, "SetViewPosition")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -164848,7 +168699,7 @@ static int tolua_function_CInfinity_SetZoom(lua_State* L) { CInfinity* self = (CInfinity*)tolua_tousertype_dynamic(L, 1, 0, "CInfinity"); if (!self) tolua_error(L, "invalid 'self' in calling function 'SetZoom'", NULL); - self->SetZoom(tolua_function_tonumber(L, 2, "SetZoom")); + (self->SetZoom)(tolua_function_tonumber(L, 2, "SetZoom")); return 0; } @@ -165224,7 +169075,7 @@ static int tolua_function_CInfButtonArray_SetState(lua_State* L) { CInfButtonArray* self = (CInfButtonArray*)tolua_tousertype_dynamic(L, 1, 0, "EEex_CInfButtonArray"); if (!self) tolua_error(L, "invalid 'self' in calling function 'SetState'", NULL); - int returnVal = self->SetState(tolua_function_tointeger(L, 2, "SetState")); + int returnVal = (self->SetState)(tolua_function_tointeger(L, 2, "SetState")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -169357,7 +173208,7 @@ static int tolua_function_CInfGame_GetCharacterPortraitNum(lua_State* L) { CInfGame* self = (CInfGame*)tolua_tousertype_dynamic(L, 1, 0, "EEex_CInfGame"); if (!self) tolua_error(L, "invalid 'self' in calling function 'GetCharacterPortraitNum'", NULL); - short returnVal = self->GetCharacterPortraitNum(tolua_function_tointeger(L, 2, "GetCharacterPortraitNum")); + short returnVal = (self->GetCharacterPortraitNum)(tolua_function_tointeger(L, 2, "GetCharacterPortraitNum")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -169366,7 +173217,7 @@ static int tolua_function_CInfGame_GetFamiliar(lua_State* L) { CInfGame* self = (CInfGame*)tolua_tousertype_dynamic(L, 1, 0, "EEex_CInfGame"); if (!self) tolua_error(L, "invalid 'self' in calling function 'GetFamiliar'", NULL); - self->GetFamiliar(tolua_function_tointeger(L, 2, "GetFamiliar"), tolua_function_tointeger(L, 3, "GetFamiliar"), (CString*)tolua_tousertype_dynamic(L, 4, 0, "CString")); + (self->GetFamiliar)(tolua_function_tointeger(L, 2, "GetFamiliar"), tolua_function_tointeger(L, 3, "GetFamiliar"), (CString*)tolua_tousertype_dynamic(L, 4, 0, "CString")); return 0; } @@ -169374,7 +173225,7 @@ static int tolua_function_CInfGame_GetScrollSpeed(lua_State* L) { CInfGame* self = (CInfGame*)tolua_tousertype_dynamic(L, 1, 0, "EEex_CInfGame"); if (!self) tolua_error(L, "invalid 'self' in calling function 'GetScrollSpeed'", NULL); - uint returnVal = self->GetScrollSpeed(); + uint returnVal = (self->GetScrollSpeed)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -169383,7 +173234,7 @@ static int tolua_function_CInfGame_OnPortraitLDblClick(lua_State* L) { CInfGame* self = (CInfGame*)tolua_tousertype_dynamic(L, 1, 0, "EEex_CInfGame"); if (!self) tolua_error(L, "invalid 'self' in calling function 'OnPortraitLDblClick'", NULL); - self->OnPortraitLDblClick(tolua_function_tointeger(L, 2, "OnPortraitLDblClick")); + (self->OnPortraitLDblClick)(tolua_function_tointeger(L, 2, "OnPortraitLDblClick")); return 0; } @@ -169391,7 +173242,7 @@ static int tolua_function_CInfGame_SelectCharacter(lua_State* L) { CInfGame* self = (CInfGame*)tolua_tousertype_dynamic(L, 1, 0, "EEex_CInfGame"); if (!self) tolua_error(L, "invalid 'self' in calling function 'SelectCharacter'", NULL); - bool returnVal = self->SelectCharacter(tolua_function_tointeger(L, 2, "SelectCharacter"), tolua_function_toboolean(L, 3, "SelectCharacter")); + bool returnVal = (self->SelectCharacter)(tolua_function_tointeger(L, 2, "SelectCharacter"), tolua_function_toboolean(L, 3, "SelectCharacter")); tolua_pushboolean(L, (bool)returnVal); return 1; } @@ -169400,7 +173251,7 @@ static int tolua_function_CInfGame_SelectToolbar(lua_State* L) { CInfGame* self = (CInfGame*)tolua_tousertype_dynamic(L, 1, 0, "EEex_CInfGame"); if (!self) tolua_error(L, "invalid 'self' in calling function 'SelectToolbar'", NULL); - self->SelectToolbar(); + (self->SelectToolbar)(); return 0; } @@ -169408,7 +173259,7 @@ static int tolua_function_CInfGame_SetIconIndex(lua_State* L) { CInfGame* self = (CInfGame*)tolua_tousertype_dynamic(L, 1, 0, "EEex_CInfGame"); if (!self) tolua_error(L, "invalid 'self' in calling function 'SetIconIndex'", NULL); - self->SetIconIndex(tolua_function_tointeger(L, 2, "SetIconIndex")); + (self->SetIconIndex)(tolua_function_tointeger(L, 2, "SetIconIndex")); return 0; } @@ -169416,7 +173267,7 @@ static int tolua_function_CInfGame_SetState(lua_State* L) { CInfGame* self = (CInfGame*)tolua_tousertype_dynamic(L, 1, 0, "EEex_CInfGame"); if (!self) tolua_error(L, "invalid 'self' in calling function 'SetState'", NULL); - self->SetState(tolua_function_tointeger<__int16>(L, 2, "SetState"), tolua_function_toboolean(L, 3, "SetState")); + (self->SetState)(tolua_function_tointeger<__int16>(L, 2, "SetState"), tolua_function_toboolean(L, 3, "SetState")); return 0; } @@ -169424,7 +173275,7 @@ static int tolua_function_CInfGame_UnselectAll(lua_State* L) { CInfGame* self = (CInfGame*)tolua_tousertype_dynamic(L, 1, 0, "EEex_CInfGame"); if (!self) tolua_error(L, "invalid 'self' in calling function 'UnselectAll'", NULL); - self->UnselectAll(); + (self->UnselectAll)(); return 0; } @@ -170474,7 +174325,7 @@ static int tolua_function_CGameEffect_virtual_Destruct(lua_State* L) { CGameEffect* self = (CGameEffect*)tolua_tousertype_dynamic(L, 1, 0, "CGameEffect"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_Destruct'", NULL); - self->virtual_Destruct(tolua_function_tointeger(L, 2, "virtual_Destruct")); + (self->virtual_Destruct)(tolua_function_tointeger(L, 2, "virtual_Destruct")); return 0; } @@ -170482,7 +174333,7 @@ static int tolua_function_CGameEffect_virtual_Copy(lua_State* L) { CGameEffect* self = (CGameEffect*)tolua_tousertype_dynamic(L, 1, 0, "CGameEffect"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_Copy'", NULL); - CGameEffect* returnVal = self->virtual_Copy(); + CGameEffect* returnVal = (self->virtual_Copy)(); tolua_pushusertype(L, (void*)returnVal, "CGameEffect"); return 1; } @@ -170491,7 +174342,7 @@ static int tolua_function_CGameEffect_virtual_ApplyEffect(lua_State* L) { CGameEffect* self = (CGameEffect*)tolua_tousertype_dynamic(L, 1, 0, "CGameEffect"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_ApplyEffect'", NULL); - int returnVal = self->virtual_ApplyEffect((CGameSprite*)tolua_tousertype_dynamic(L, 2, 0, "CGameSprite")); + int returnVal = (self->virtual_ApplyEffect)((CGameSprite*)tolua_tousertype_dynamic(L, 2, 0, "CGameSprite")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -170500,7 +174351,7 @@ static int tolua_function_CGameEffect_virtual_ResolveEffect(lua_State* L) { CGameEffect* self = (CGameEffect*)tolua_tousertype_dynamic(L, 1, 0, "CGameEffect"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_ResolveEffect'", NULL); - int returnVal = self->virtual_ResolveEffect((CGameSprite*)tolua_tousertype_dynamic(L, 2, 0, "CGameSprite")); + int returnVal = (self->virtual_ResolveEffect)((CGameSprite*)tolua_tousertype_dynamic(L, 2, 0, "CGameSprite")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -170509,7 +174360,7 @@ static int tolua_function_CGameEffect_virtual_OnAdd(lua_State* L) { CGameEffect* self = (CGameEffect*)tolua_tousertype_dynamic(L, 1, 0, "CGameEffect"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_OnAdd'", NULL); - self->virtual_OnAdd((CGameSprite*)tolua_tousertype_dynamic(L, 2, 0, "CGameSprite")); + (self->virtual_OnAdd)((CGameSprite*)tolua_tousertype_dynamic(L, 2, 0, "CGameSprite")); return 0; } @@ -170517,7 +174368,7 @@ static int tolua_function_CGameEffect_virtual_OnAddSpecific(lua_State* L) { CGameEffect* self = (CGameEffect*)tolua_tousertype_dynamic(L, 1, 0, "CGameEffect"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_OnAddSpecific'", NULL); - self->virtual_OnAddSpecific((CGameSprite*)tolua_tousertype_dynamic(L, 2, 0, "CGameSprite")); + (self->virtual_OnAddSpecific)((CGameSprite*)tolua_tousertype_dynamic(L, 2, 0, "CGameSprite")); return 0; } @@ -170525,7 +174376,7 @@ static int tolua_function_CGameEffect_virtual_OnLoad(lua_State* L) { CGameEffect* self = (CGameEffect*)tolua_tousertype_dynamic(L, 1, 0, "CGameEffect"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_OnLoad'", NULL); - self->virtual_OnLoad((CGameSprite*)tolua_tousertype_dynamic(L, 2, 0, "CGameSprite")); + (self->virtual_OnLoad)((CGameSprite*)tolua_tousertype_dynamic(L, 2, 0, "CGameSprite")); return 0; } @@ -170533,7 +174384,7 @@ static int tolua_function_CGameEffect_virtual_CheckSave(lua_State* L) { CGameEffect* self = (CGameEffect*)tolua_tousertype_dynamic(L, 1, 0, "CGameEffect"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_CheckSave'", NULL); - int returnVal = self->virtual_CheckSave((CGameSprite*)tolua_tousertype_dynamic(L, 2, 0, "CGameSprite"), (unsigned __int8*)tolua_tousertype_dynamic(L, 3, 0, "Primitive<__int8>"), (unsigned __int8*)tolua_tousertype_dynamic(L, 4, 0, "Primitive<__int8>"), (unsigned __int8*)tolua_tousertype_dynamic(L, 5, 0, "Primitive<__int8>"), (unsigned __int8*)tolua_tousertype_dynamic(L, 6, 0, "Primitive<__int8>"), (unsigned __int8*)tolua_tousertype_dynamic(L, 7, 0, "Primitive<__int8>"), (unsigned __int8*)tolua_tousertype_dynamic(L, 8, 0, "Primitive<__int8>")); + int returnVal = (self->virtual_CheckSave)((CGameSprite*)tolua_tousertype_dynamic(L, 2, 0, "CGameSprite"), (unsigned __int8*)tolua_tousertype_dynamic(L, 3, 0, "Primitive<__int8>"), (unsigned __int8*)tolua_tousertype_dynamic(L, 4, 0, "Primitive<__int8>"), (unsigned __int8*)tolua_tousertype_dynamic(L, 5, 0, "Primitive<__int8>"), (unsigned __int8*)tolua_tousertype_dynamic(L, 6, 0, "Primitive<__int8>"), (unsigned __int8*)tolua_tousertype_dynamic(L, 7, 0, "Primitive<__int8>"), (unsigned __int8*)tolua_tousertype_dynamic(L, 8, 0, "Primitive<__int8>")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -170542,7 +174393,7 @@ static int tolua_function_CGameEffect_virtual_UsesDice(lua_State* L) { CGameEffect* self = (CGameEffect*)tolua_tousertype_dynamic(L, 1, 0, "CGameEffect"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_UsesDice'", NULL); - int returnVal = self->virtual_UsesDice(); + int returnVal = (self->virtual_UsesDice)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -170551,7 +174402,7 @@ static int tolua_function_CGameEffect_virtual_DisplayString(lua_State* L) { CGameEffect* self = (CGameEffect*)tolua_tousertype_dynamic(L, 1, 0, "CGameEffect"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_DisplayString'", NULL); - self->virtual_DisplayString((CGameSprite*)tolua_tousertype_dynamic(L, 2, 0, "CGameSprite")); + (self->virtual_DisplayString)((CGameSprite*)tolua_tousertype_dynamic(L, 2, 0, "CGameSprite")); return 0; } @@ -170559,7 +174410,7 @@ static int tolua_function_CGameEffect_virtual_OnRemove(lua_State* L) { CGameEffect* self = (CGameEffect*)tolua_tousertype_dynamic(L, 1, 0, "CGameEffect"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_OnRemove'", NULL); - self->virtual_OnRemove((CGameSprite*)tolua_tousertype_dynamic(L, 2, 0, "CGameSprite")); + (self->virtual_OnRemove)((CGameSprite*)tolua_tousertype_dynamic(L, 2, 0, "CGameSprite")); return 0; } @@ -170765,7 +174616,7 @@ static int tolua_function_CGameEffectDamage_virtual_DisplayDamageAmount(lua_Stat { CGameEffectDamage* self = (CGameEffectDamage*)tolua_tousertype_dynamic(L, 1, 0, "CGameEffectDamage"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_DisplayDamageAmount'", NULL); - self->virtual_DisplayDamageAmount((CGameSprite*)tolua_tousertype_dynamic(L, 2, 0, "CGameSprite"), tolua_function_tointeger(L, 3, "virtual_DisplayDamageAmount")); + (self->virtual_DisplayDamageAmount)((CGameSprite*)tolua_tousertype_dynamic(L, 2, 0, "CGameSprite"), tolua_function_tointeger(L, 3, "virtual_DisplayDamageAmount")); return 0; } @@ -171215,7 +175066,7 @@ static int tolua_function_CGameAnimationType_virtual_Destruct(lua_State* L) { CGameAnimationType* self = (CGameAnimationType*)tolua_tousertype_dynamic(L, 1, 0, "CGameAnimationType"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_Destruct'", NULL); - self->virtual_Destruct(); + (self->virtual_Destruct)(); return 0; } @@ -171223,7 +175074,7 @@ static int tolua_function_CGameAnimationType_virtual_CalculateFxRect(lua_State* { CGameAnimationType* self = (CGameAnimationType*)tolua_tousertype_dynamic(L, 1, 0, "CGameAnimationType"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_CalculateFxRect'", NULL); - self->virtual_CalculateFxRect((CRect*)tolua_tousertype_dynamic(L, 2, 0, "CRect"), (CPoint*)tolua_tousertype_dynamic(L, 3, 0, "CPoint"), tolua_function_tointeger(L, 4, "virtual_CalculateFxRect")); + (self->virtual_CalculateFxRect)((CRect*)tolua_tousertype_dynamic(L, 2, 0, "CRect"), (CPoint*)tolua_tousertype_dynamic(L, 3, 0, "CPoint"), tolua_function_tointeger(L, 4, "virtual_CalculateFxRect")); return 0; } @@ -171231,7 +175082,7 @@ static int tolua_function_CGameAnimationType_virtual_CalculateGCBoundsRect(lua_S { CGameAnimationType* self = (CGameAnimationType*)tolua_tousertype_dynamic(L, 1, 0, "CGameAnimationType"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_CalculateGCBoundsRect'", NULL); - self->virtual_CalculateGCBoundsRect((CRect*)tolua_tousertype_dynamic(L, 2, 0, "CRect"), (const CPoint*)tolua_tousertype_dynamic(L, 3, 0, "CPoint"), (const CPoint*)tolua_tousertype_dynamic(L, 4, 0, "CPoint"), tolua_function_tointeger(L, 5, "virtual_CalculateGCBoundsRect"), tolua_function_tointeger(L, 6, "virtual_CalculateGCBoundsRect"), tolua_function_tointeger(L, 7, "virtual_CalculateGCBoundsRect")); + (self->virtual_CalculateGCBoundsRect)((CRect*)tolua_tousertype_dynamic(L, 2, 0, "CRect"), (const CPoint*)tolua_tousertype_dynamic(L, 3, 0, "CPoint"), (const CPoint*)tolua_tousertype_dynamic(L, 4, 0, "CPoint"), tolua_function_tointeger(L, 5, "virtual_CalculateGCBoundsRect"), tolua_function_tointeger(L, 6, "virtual_CalculateGCBoundsRect"), tolua_function_tointeger(L, 7, "virtual_CalculateGCBoundsRect")); return 0; } @@ -171239,7 +175090,7 @@ static int tolua_function_CGameAnimationType_virtual_ChangeDirection(lua_State* { CGameAnimationType* self = (CGameAnimationType*)tolua_tousertype_dynamic(L, 1, 0, "CGameAnimationType"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_ChangeDirection'", NULL); - self->virtual_ChangeDirection(tolua_function_tointeger<__int16>(L, 2, "virtual_ChangeDirection")); + (self->virtual_ChangeDirection)(tolua_function_tointeger<__int16>(L, 2, "virtual_ChangeDirection")); return 0; } @@ -171247,7 +175098,7 @@ static int tolua_function_CGameAnimationType_virtual_EquipArmor(lua_State* L) { CGameAnimationType* self = (CGameAnimationType*)tolua_tousertype_dynamic(L, 1, 0, "CGameAnimationType"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_EquipArmor'", NULL); - self->virtual_EquipArmor(tolua_function_tochar(L, 2, "virtual_EquipArmor"), (unsigned __int8*)tolua_tousertype_dynamic(L, 3, 0, "Primitive<__int8>")); + (self->virtual_EquipArmor)(tolua_function_tochar(L, 2, "virtual_EquipArmor"), (unsigned __int8*)tolua_tousertype_dynamic(L, 3, 0, "Primitive<__int8>")); return 0; } @@ -171255,7 +175106,7 @@ static int tolua_function_CGameAnimationType_virtual_EquipHelmet(lua_State* L) { CGameAnimationType* self = (CGameAnimationType*)tolua_tousertype_dynamic(L, 1, 0, "CGameAnimationType"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_EquipHelmet'", NULL); - self->virtual_EquipHelmet((const CString*)tolua_tousertype_dynamic(L, 2, 0, "CString"), (unsigned __int8*)tolua_tousertype_dynamic(L, 3, 0, "Primitive<__int8>")); + (self->virtual_EquipHelmet)((const CString*)tolua_tousertype_dynamic(L, 2, 0, "CString"), (unsigned __int8*)tolua_tousertype_dynamic(L, 3, 0, "Primitive<__int8>")); return 0; } @@ -171263,7 +175114,7 @@ static int tolua_function_CGameAnimationType_virtual_EquipShield(lua_State* L) { CGameAnimationType* self = (CGameAnimationType*)tolua_tousertype_dynamic(L, 1, 0, "CGameAnimationType"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_EquipShield'", NULL); - self->virtual_EquipShield((const CString*)tolua_tousertype_dynamic(L, 2, 0, "CString"), (unsigned __int8*)tolua_tousertype_dynamic(L, 3, 0, "Primitive<__int8>")); + (self->virtual_EquipShield)((const CString*)tolua_tousertype_dynamic(L, 2, 0, "CString"), (unsigned __int8*)tolua_tousertype_dynamic(L, 3, 0, "Primitive<__int8>")); return 0; } @@ -171271,7 +175122,7 @@ static int tolua_function_CGameAnimationType_virtual_EquipWeapon(lua_State* L) { CGameAnimationType* self = (CGameAnimationType*)tolua_tousertype_dynamic(L, 1, 0, "CGameAnimationType"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_EquipWeapon'", NULL); - self->virtual_EquipWeapon((const CString*)tolua_tousertype_dynamic(L, 2, 0, "CString"), (unsigned __int8*)tolua_tousertype_dynamic(L, 3, 0, "Primitive<__int8>"), tolua_function_tointeger(L, 4, "virtual_EquipWeapon"), (const unsigned __int16*)tolua_tousertype_dynamic(L, 5, 0, "Primitive<__int16>")); + (self->virtual_EquipWeapon)((const CString*)tolua_tousertype_dynamic(L, 2, 0, "CString"), (unsigned __int8*)tolua_tousertype_dynamic(L, 3, 0, "Primitive<__int8>"), tolua_function_tointeger(L, 4, "virtual_EquipWeapon"), (const unsigned __int16*)tolua_tousertype_dynamic(L, 5, 0, "Primitive<__int16>")); return 0; } @@ -171279,7 +175130,7 @@ static int tolua_function_CGameAnimationType_virtual_GetAnimationPalette(lua_Sta { CGameAnimationType* self = (CGameAnimationType*)tolua_tousertype_dynamic(L, 1, 0, "CGameAnimationType"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_GetAnimationPalette'", NULL); - CVidPalette* returnVal = self->virtual_GetAnimationPalette(tolua_function_tointeger(L, 2, "virtual_GetAnimationPalette")); + CVidPalette* returnVal = (self->virtual_GetAnimationPalette)(tolua_function_tointeger(L, 2, "virtual_GetAnimationPalette")); tolua_pushusertype(L, (void*)returnVal, "CVidPalette"); return 1; } @@ -171288,7 +175139,7 @@ static int tolua_function_CGameAnimationType_virtual_GetAnimationResRef(lua_Stat { CGameAnimationType* self = (CGameAnimationType*)tolua_tousertype_dynamic(L, 1, 0, "CGameAnimationType"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_GetAnimationResRef'", NULL); - self->virtual_GetAnimationResRef((CString*)tolua_tousertype_dynamic(L, 2, 0, "CString"), tolua_function_tointeger(L, 3, "virtual_GetAnimationResRef")); + (self->virtual_GetAnimationResRef)((CString*)tolua_tousertype_dynamic(L, 2, 0, "CString"), tolua_function_tointeger(L, 3, "virtual_GetAnimationResRef")); return 0; } @@ -171296,7 +175147,7 @@ static int tolua_function_CGameAnimationType_virtual_CanLieDown(lua_State* L) { CGameAnimationType* self = (CGameAnimationType*)tolua_tousertype_dynamic(L, 1, 0, "CGameAnimationType"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_CanLieDown'", NULL); - unsigned __int8 returnVal = self->virtual_CanLieDown(); + unsigned __int8 returnVal = (self->virtual_CanLieDown)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -171305,7 +175156,7 @@ static int tolua_function_CGameAnimationType_virtual_DetectedByInfravision(lua_S { CGameAnimationType* self = (CGameAnimationType*)tolua_tousertype_dynamic(L, 1, 0, "CGameAnimationType"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_DetectedByInfravision'", NULL); - unsigned __int8 returnVal = self->virtual_DetectedByInfravision(); + unsigned __int8 returnVal = (self->virtual_DetectedByInfravision)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -171314,7 +175165,7 @@ static int tolua_function_CGameAnimationType_virtual_GetCastFrame(lua_State* L) { CGameAnimationType* self = (CGameAnimationType*)tolua_tousertype_dynamic(L, 1, 0, "CGameAnimationType"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_GetCastFrame'", NULL); - unsigned __int16 returnVal = self->virtual_GetCastFrame(); + unsigned __int16 returnVal = (self->virtual_GetCastFrame)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -171323,7 +175174,7 @@ static int tolua_function_CGameAnimationType_virtual_GetColorBlood(lua_State* L) { CGameAnimationType* self = (CGameAnimationType*)tolua_tousertype_dynamic(L, 1, 0, "CGameAnimationType"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_GetColorBlood'", NULL); - unsigned __int8 returnVal = self->virtual_GetColorBlood(); + unsigned __int8 returnVal = (self->virtual_GetColorBlood)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -171332,7 +175183,7 @@ static int tolua_function_CGameAnimationType_virtual_GetColorChunks(lua_State* L { CGameAnimationType* self = (CGameAnimationType*)tolua_tousertype_dynamic(L, 1, 0, "CGameAnimationType"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_GetColorChunks'", NULL); - unsigned __int8 returnVal = self->virtual_GetColorChunks(); + unsigned __int8 returnVal = (self->virtual_GetColorChunks)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -171341,7 +175192,7 @@ static int tolua_function_CGameAnimationType_virtual_GetListType(lua_State* L) { CGameAnimationType* self = (CGameAnimationType*)tolua_tousertype_dynamic(L, 1, 0, "CGameAnimationType"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_GetListType'", NULL); - unsigned __int8 returnVal = self->virtual_GetListType(); + unsigned __int8 returnVal = (self->virtual_GetListType)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -171350,7 +175201,7 @@ static int tolua_function_CGameAnimationType_virtual_SetListType(lua_State* L) { CGameAnimationType* self = (CGameAnimationType*)tolua_tousertype_dynamic(L, 1, 0, "CGameAnimationType"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_SetListType'", NULL); - self->virtual_SetListType(tolua_function_tointeger(L, 2, "virtual_SetListType")); + (self->virtual_SetListType)(tolua_function_tointeger(L, 2, "virtual_SetListType")); return 0; } @@ -171358,7 +175209,7 @@ static int tolua_function_CGameAnimationType_virtual_GetMoveScale(lua_State* L) { CGameAnimationType* self = (CGameAnimationType*)tolua_tousertype_dynamic(L, 1, 0, "CGameAnimationType"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_GetMoveScale'", NULL); - unsigned __int8 returnVal = self->virtual_GetMoveScale(); + unsigned __int8 returnVal = (self->virtual_GetMoveScale)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -171367,7 +175218,7 @@ static int tolua_function_CGameAnimationType_virtual_SetMoveScale(lua_State* L) { CGameAnimationType* self = (CGameAnimationType*)tolua_tousertype_dynamic(L, 1, 0, "CGameAnimationType"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_SetMoveScale'", NULL); - self->virtual_SetMoveScale(tolua_function_tointeger(L, 2, "virtual_SetMoveScale")); + (self->virtual_SetMoveScale)(tolua_function_tointeger(L, 2, "virtual_SetMoveScale")); return 0; } @@ -171375,7 +175226,7 @@ static int tolua_function_CGameAnimationType_virtual_ResetMoveScale(lua_State* L { CGameAnimationType* self = (CGameAnimationType*)tolua_tousertype_dynamic(L, 1, 0, "CGameAnimationType"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_ResetMoveScale'", NULL); - self->virtual_ResetMoveScale(); + (self->virtual_ResetMoveScale)(); return 0; } @@ -171383,7 +175234,7 @@ static int tolua_function_CGameAnimationType_virtual_GetMoveScaleDefault(lua_Sta { CGameAnimationType* self = (CGameAnimationType*)tolua_tousertype_dynamic(L, 1, 0, "CGameAnimationType"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_GetMoveScaleDefault'", NULL); - unsigned __int8 returnVal = self->virtual_GetMoveScaleDefault(); + unsigned __int8 returnVal = (self->virtual_GetMoveScaleDefault)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -171392,7 +175243,7 @@ static int tolua_function_CGameAnimationType_virtual_GetEllipseRect(lua_State* L { CGameAnimationType* self = (CGameAnimationType*)tolua_tousertype_dynamic(L, 1, 0, "CGameAnimationType"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_GetEllipseRect'", NULL); - const CRect* returnVal = self->virtual_GetEllipseRect(); + const CRect* returnVal = (self->virtual_GetEllipseRect)(); tolua_pushusertype(L, (void*)returnVal, "CRect"); return 1; } @@ -171401,7 +175252,7 @@ static int tolua_function_CGameAnimationType_virtual_GetPathSmooth(lua_State* L) { CGameAnimationType* self = (CGameAnimationType*)tolua_tousertype_dynamic(L, 1, 0, "CGameAnimationType"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_GetPathSmooth'", NULL); - int returnVal = self->virtual_GetPathSmooth(); + int returnVal = (self->virtual_GetPathSmooth)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -171410,7 +175261,7 @@ static int tolua_function_CGameAnimationType_virtual_GetPersonalSpace(lua_State* { CGameAnimationType* self = (CGameAnimationType*)tolua_tousertype_dynamic(L, 1, 0, "CGameAnimationType"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_GetPersonalSpace'", NULL); - unsigned __int8 returnVal = self->virtual_GetPersonalSpace(); + unsigned __int8 returnVal = (self->virtual_GetPersonalSpace)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -171419,7 +175270,7 @@ static int tolua_function_CGameAnimationType_virtual_GetSndWalkFreq(lua_State* L { CGameAnimationType* self = (CGameAnimationType*)tolua_tousertype_dynamic(L, 1, 0, "CGameAnimationType"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_GetSndWalkFreq'", NULL); - unsigned int returnVal = self->virtual_GetSndWalkFreq(); + unsigned int returnVal = (self->virtual_GetSndWalkFreq)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -171428,7 +175279,7 @@ static int tolua_function_CGameAnimationType_virtual_IsFalseColor(lua_State* L) { CGameAnimationType* self = (CGameAnimationType*)tolua_tousertype_dynamic(L, 1, 0, "CGameAnimationType"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_IsFalseColor'", NULL); - int returnVal = self->virtual_IsFalseColor(); + int returnVal = (self->virtual_IsFalseColor)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -171437,7 +175288,7 @@ static int tolua_function_CGameAnimationType_virtual_IsInvulnerable(lua_State* L { CGameAnimationType* self = (CGameAnimationType*)tolua_tousertype_dynamic(L, 1, 0, "CGameAnimationType"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_IsInvulnerable'", NULL); - int returnVal = self->virtual_IsInvulnerable(); + int returnVal = (self->virtual_IsInvulnerable)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -171446,7 +175297,7 @@ static int tolua_function_CGameAnimationType_virtual_IsMirroring(lua_State* L) { CGameAnimationType* self = (CGameAnimationType*)tolua_tousertype_dynamic(L, 1, 0, "CGameAnimationType"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_IsMirroring'", NULL); - int returnVal = self->virtual_IsMirroring(); + int returnVal = (self->virtual_IsMirroring)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -171455,7 +175306,7 @@ static int tolua_function_CGameAnimationType_virtual_IsBeginningOfSequence(lua_S { CGameAnimationType* self = (CGameAnimationType*)tolua_tousertype_dynamic(L, 1, 0, "CGameAnimationType"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_IsBeginningOfSequence'", NULL); - int returnVal = self->virtual_IsBeginningOfSequence(); + int returnVal = (self->virtual_IsBeginningOfSequence)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -171464,7 +175315,7 @@ static int tolua_function_CGameAnimationType_virtual_IsEndOfSequence(lua_State* { CGameAnimationType* self = (CGameAnimationType*)tolua_tousertype_dynamic(L, 1, 0, "CGameAnimationType"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_IsEndOfSequence'", NULL); - int returnVal = self->virtual_IsEndOfSequence(); + int returnVal = (self->virtual_IsEndOfSequence)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -171473,7 +175324,7 @@ static int tolua_function_CGameAnimationType_virtual_IsEndOfTwitchSequence(lua_S { CGameAnimationType* self = (CGameAnimationType*)tolua_tousertype_dynamic(L, 1, 0, "CGameAnimationType"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_IsEndOfTwitchSequence'", NULL); - int returnVal = self->virtual_IsEndOfTwitchSequence(); + int returnVal = (self->virtual_IsEndOfTwitchSequence)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -171482,7 +175333,7 @@ static int tolua_function_CGameAnimationType_virtual_IncrementFrame(lua_State* L { CGameAnimationType* self = (CGameAnimationType*)tolua_tousertype_dynamic(L, 1, 0, "CGameAnimationType"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_IncrementFrame'", NULL); - self->virtual_IncrementFrame(); + (self->virtual_IncrementFrame)(); return 0; } @@ -171490,7 +175341,7 @@ static int tolua_function_CGameAnimationType_virtual_DecrementFrame(lua_State* L { CGameAnimationType* self = (CGameAnimationType*)tolua_tousertype_dynamic(L, 1, 0, "CGameAnimationType"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_DecrementFrame'", NULL); - self->virtual_DecrementFrame(); + (self->virtual_DecrementFrame)(); return 0; } @@ -171498,7 +175349,7 @@ static int tolua_function_CGameAnimationType_virtual_Render(lua_State* L) { CGameAnimationType* self = (CGameAnimationType*)tolua_tousertype_dynamic(L, 1, 0, "CGameAnimationType"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_Render'", NULL); - self->virtual_Render((CInfinity*)tolua_tousertype_dynamic(L, 2, 0, "CInfinity"), (CVidMode*)tolua_tousertype_dynamic(L, 3, 0, "CVidMode"), (const CRect*)tolua_tousertype_dynamic(L, 4, 0, "CRect"), (const CPoint*)tolua_tousertype_dynamic(L, 5, 0, "CPoint"), (const CPoint*)tolua_tousertype_dynamic(L, 6, 0, "CPoint"), tolua_function_tointeger(L, 7, "virtual_Render"), tolua_function_tointeger(L, 8, "virtual_Render"), (const CRect*)tolua_tousertype_dynamic(L, 9, 0, "CRect"), tolua_function_tointeger(L, 10, "virtual_Render"), tolua_function_tointeger(L, 11, "virtual_Render"), tolua_function_tointeger(L, 12, "virtual_Render"), tolua_function_tointeger(L, 13, "virtual_Render"), (CGameSprite*)tolua_tousertype_dynamic(L, 14, 0, "CGameSprite")); + (self->virtual_Render)((CInfinity*)tolua_tousertype_dynamic(L, 2, 0, "CInfinity"), (CVidMode*)tolua_tousertype_dynamic(L, 3, 0, "CVidMode"), (const CRect*)tolua_tousertype_dynamic(L, 4, 0, "CRect"), (const CPoint*)tolua_tousertype_dynamic(L, 5, 0, "CPoint"), (const CPoint*)tolua_tousertype_dynamic(L, 6, 0, "CPoint"), tolua_function_tointeger(L, 7, "virtual_Render"), tolua_function_tointeger(L, 8, "virtual_Render"), (const CRect*)tolua_tousertype_dynamic(L, 9, 0, "CRect"), tolua_function_tointeger(L, 10, "virtual_Render"), tolua_function_tointeger(L, 11, "virtual_Render"), tolua_function_tointeger(L, 12, "virtual_Render"), tolua_function_tointeger(L, 13, "virtual_Render"), (CGameSprite*)tolua_tousertype_dynamic(L, 14, 0, "CGameSprite")); return 0; } @@ -171506,7 +175357,7 @@ static int tolua_function_CGameAnimationType_virtual_ClearColorEffects(lua_State { CGameAnimationType* self = (CGameAnimationType*)tolua_tousertype_dynamic(L, 1, 0, "CGameAnimationType"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_ClearColorEffects'", NULL); - self->virtual_ClearColorEffects(tolua_function_tointeger(L, 2, "virtual_ClearColorEffects")); + (self->virtual_ClearColorEffects)(tolua_function_tointeger(L, 2, "virtual_ClearColorEffects")); return 0; } @@ -171514,7 +175365,7 @@ static int tolua_function_CGameAnimationType_virtual_ClearColorEffectsAll(lua_St { CGameAnimationType* self = (CGameAnimationType*)tolua_tousertype_dynamic(L, 1, 0, "CGameAnimationType"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_ClearColorEffectsAll'", NULL); - self->virtual_ClearColorEffectsAll(); + (self->virtual_ClearColorEffectsAll)(); return 0; } @@ -171522,7 +175373,7 @@ static int tolua_function_CGameAnimationType_virtual_SetColorEffect(lua_State* L { CGameAnimationType* self = (CGameAnimationType*)tolua_tousertype_dynamic(L, 1, 0, "CGameAnimationType"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_SetColorEffect'", NULL); - self->virtual_SetColorEffect(tolua_function_tointeger(L, 2, "virtual_SetColorEffect"), tolua_function_tointeger(L, 3, "virtual_SetColorEffect"), tolua_function_tointeger(L, 4, "virtual_SetColorEffect"), tolua_function_tointeger(L, 5, "virtual_SetColorEffect")); + (self->virtual_SetColorEffect)(tolua_function_tointeger(L, 2, "virtual_SetColorEffect"), tolua_function_tointeger(L, 3, "virtual_SetColorEffect"), tolua_function_tointeger(L, 4, "virtual_SetColorEffect"), tolua_function_tointeger(L, 5, "virtual_SetColorEffect")); return 0; } @@ -171530,7 +175381,7 @@ static int tolua_function_CGameAnimationType_virtual_SetColorEffectAll(lua_State { CGameAnimationType* self = (CGameAnimationType*)tolua_tousertype_dynamic(L, 1, 0, "CGameAnimationType"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_SetColorEffectAll'", NULL); - self->virtual_SetColorEffectAll(tolua_function_tointeger(L, 2, "virtual_SetColorEffectAll"), tolua_function_tointeger(L, 3, "virtual_SetColorEffectAll"), tolua_function_tointeger(L, 4, "virtual_SetColorEffectAll")); + (self->virtual_SetColorEffectAll)(tolua_function_tointeger(L, 2, "virtual_SetColorEffectAll"), tolua_function_tointeger(L, 3, "virtual_SetColorEffectAll"), tolua_function_tointeger(L, 4, "virtual_SetColorEffectAll")); return 0; } @@ -171538,7 +175389,7 @@ static int tolua_function_CGameAnimationType_virtual_SetColorRange(lua_State* L) { CGameAnimationType* self = (CGameAnimationType*)tolua_tousertype_dynamic(L, 1, 0, "CGameAnimationType"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_SetColorRange'", NULL); - self->virtual_SetColorRange(tolua_function_tointeger(L, 2, "virtual_SetColorRange"), tolua_function_tointeger(L, 3, "virtual_SetColorRange")); + (self->virtual_SetColorRange)(tolua_function_tointeger(L, 2, "virtual_SetColorRange"), tolua_function_tointeger(L, 3, "virtual_SetColorRange")); return 0; } @@ -171546,7 +175397,7 @@ static int tolua_function_CGameAnimationType_virtual_SetColorRangeAll(lua_State* { CGameAnimationType* self = (CGameAnimationType*)tolua_tousertype_dynamic(L, 1, 0, "CGameAnimationType"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_SetColorRangeAll'", NULL); - self->virtual_SetColorRangeAll(tolua_function_tointeger(L, 2, "virtual_SetColorRangeAll")); + (self->virtual_SetColorRangeAll)(tolua_function_tointeger(L, 2, "virtual_SetColorRangeAll")); return 0; } @@ -171554,7 +175405,7 @@ static int tolua_function_CGameAnimationType_virtual_SetSequence(lua_State* L) { CGameAnimationType* self = (CGameAnimationType*)tolua_tousertype_dynamic(L, 1, 0, "CGameAnimationType"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_SetSequence'", NULL); - __int16 returnVal = self->virtual_SetSequence(tolua_function_tointeger<__int16>(L, 2, "virtual_SetSequence")); + __int16 returnVal = (self->virtual_SetSequence)(tolua_function_tointeger<__int16>(L, 2, "virtual_SetSequence")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -171563,7 +175414,7 @@ static int tolua_function_CGameAnimationType_virtual_GetHeightOffset(lua_State* { CGameAnimationType* self = (CGameAnimationType*)tolua_tousertype_dynamic(L, 1, 0, "CGameAnimationType"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_GetHeightOffset'", NULL); - int returnVal = self->virtual_GetHeightOffset(); + int returnVal = (self->virtual_GetHeightOffset)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -171572,7 +175423,7 @@ static int tolua_function_CGameAnimationType_virtual_CalculateFxRectMax(lua_Stat { CGameAnimationType* self = (CGameAnimationType*)tolua_tousertype_dynamic(L, 1, 0, "CGameAnimationType"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_CalculateFxRectMax'", NULL); - self->virtual_CalculateFxRectMax((CRect*)tolua_tousertype_dynamic(L, 2, 0, "CRect"), (CPoint*)tolua_tousertype_dynamic(L, 3, 0, "CPoint"), tolua_function_tointeger(L, 4, "virtual_CalculateFxRectMax")); + (self->virtual_CalculateFxRectMax)((CRect*)tolua_tousertype_dynamic(L, 2, 0, "CRect"), (CPoint*)tolua_tousertype_dynamic(L, 3, 0, "CPoint"), tolua_function_tointeger(L, 4, "virtual_CalculateFxRectMax")); return 0; } @@ -171580,7 +175431,7 @@ static int tolua_function_CGameAnimationType_virtual_CalculateEllipseRect(lua_St { CGameAnimationType* self = (CGameAnimationType*)tolua_tousertype_dynamic(L, 1, 0, "CGameAnimationType"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_CalculateEllipseRect'", NULL); - self->virtual_CalculateEllipseRect(); + (self->virtual_CalculateEllipseRect)(); return 0; } @@ -171588,7 +175439,7 @@ static int tolua_function_CGameAnimationType_virtual_SetNeckOffsets(lua_State* L { CGameAnimationType* self = (CGameAnimationType*)tolua_tousertype_dynamic(L, 1, 0, "CGameAnimationType"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_SetNeckOffsets'", NULL); - self->virtual_SetNeckOffsets(tolua_function_tointeger<__int16>(L, 2, "virtual_SetNeckOffsets"), tolua_function_tointeger<__int16>(L, 3, "virtual_SetNeckOffsets"), tolua_function_tointeger<__int16>(L, 4, "virtual_SetNeckOffsets"), tolua_function_tointeger<__int16>(L, 5, "virtual_SetNeckOffsets"), tolua_function_tointeger<__int16>(L, 6, "virtual_SetNeckOffsets"), tolua_function_tointeger<__int16>(L, 7, "virtual_SetNeckOffsets"), tolua_function_tointeger<__int16>(L, 8, "virtual_SetNeckOffsets"), tolua_function_tointeger<__int16>(L, 9, "virtual_SetNeckOffsets"), tolua_function_tointeger<__int16>(L, 10, "virtual_SetNeckOffsets"), tolua_function_tointeger<__int16>(L, 11, "virtual_SetNeckOffsets"), tolua_function_tointeger<__int16>(L, 12, "virtual_SetNeckOffsets"), tolua_function_tointeger<__int16>(L, 13, "virtual_SetNeckOffsets"), tolua_function_tointeger<__int16>(L, 14, "virtual_SetNeckOffsets"), tolua_function_tointeger<__int16>(L, 15, "virtual_SetNeckOffsets"), tolua_function_tointeger<__int16>(L, 16, "virtual_SetNeckOffsets"), tolua_function_tointeger<__int16>(L, 17, "virtual_SetNeckOffsets")); + (self->virtual_SetNeckOffsets)(tolua_function_tointeger<__int16>(L, 2, "virtual_SetNeckOffsets"), tolua_function_tointeger<__int16>(L, 3, "virtual_SetNeckOffsets"), tolua_function_tointeger<__int16>(L, 4, "virtual_SetNeckOffsets"), tolua_function_tointeger<__int16>(L, 5, "virtual_SetNeckOffsets"), tolua_function_tointeger<__int16>(L, 6, "virtual_SetNeckOffsets"), tolua_function_tointeger<__int16>(L, 7, "virtual_SetNeckOffsets"), tolua_function_tointeger<__int16>(L, 8, "virtual_SetNeckOffsets"), tolua_function_tointeger<__int16>(L, 9, "virtual_SetNeckOffsets"), tolua_function_tointeger<__int16>(L, 10, "virtual_SetNeckOffsets"), tolua_function_tointeger<__int16>(L, 11, "virtual_SetNeckOffsets"), tolua_function_tointeger<__int16>(L, 12, "virtual_SetNeckOffsets"), tolua_function_tointeger<__int16>(L, 13, "virtual_SetNeckOffsets"), tolua_function_tointeger<__int16>(L, 14, "virtual_SetNeckOffsets"), tolua_function_tointeger<__int16>(L, 15, "virtual_SetNeckOffsets"), tolua_function_tointeger<__int16>(L, 16, "virtual_SetNeckOffsets"), tolua_function_tointeger<__int16>(L, 17, "virtual_SetNeckOffsets")); return 0; } @@ -171596,7 +175447,7 @@ static int tolua_function_CGameAnimationType_virtual_GetAttackFrameType(lua_Stat { CGameAnimationType* self = (CGameAnimationType*)tolua_tousertype_dynamic(L, 1, 0, "CGameAnimationType"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_GetAttackFrameType'", NULL); - unsigned __int8 returnVal = self->virtual_GetAttackFrameType(tolua_function_tointeger(L, 2, "virtual_GetAttackFrameType"), tolua_function_tointeger(L, 3, "virtual_GetAttackFrameType"), tolua_function_tointeger(L, 4, "virtual_GetAttackFrameType")); + unsigned __int8 returnVal = (self->virtual_GetAttackFrameType)(tolua_function_tointeger(L, 2, "virtual_GetAttackFrameType"), tolua_function_tointeger(L, 3, "virtual_GetAttackFrameType"), tolua_function_tointeger(L, 4, "virtual_GetAttackFrameType")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -171605,7 +175456,7 @@ static int tolua_function_CGameAnimationType_virtual_GetAboveGround(lua_State* L { CGameAnimationType* self = (CGameAnimationType*)tolua_tousertype_dynamic(L, 1, 0, "CGameAnimationType"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_GetAboveGround'", NULL); - int returnVal = self->virtual_GetAboveGround(); + int returnVal = (self->virtual_GetAboveGround)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -171614,7 +175465,7 @@ static int tolua_function_CGameAnimationType_virtual_GetAwakePlayInReverse(lua_S { CGameAnimationType* self = (CGameAnimationType*)tolua_tousertype_dynamic(L, 1, 0, "CGameAnimationType"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_GetAwakePlayInReverse'", NULL); - __int16 returnVal = self->virtual_GetAwakePlayInReverse(); + __int16 returnVal = (self->virtual_GetAwakePlayInReverse)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -171623,7 +175474,7 @@ static int tolua_function_CGameAnimationType_virtual_SetBrightest(lua_State* L) { CGameAnimationType* self = (CGameAnimationType*)tolua_tousertype_dynamic(L, 1, 0, "CGameAnimationType"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_SetBrightest'", NULL); - self->virtual_SetBrightest(tolua_function_tointeger(L, 2, "virtual_SetBrightest")); + (self->virtual_SetBrightest)(tolua_function_tointeger(L, 2, "virtual_SetBrightest")); return 0; } @@ -171631,7 +175482,7 @@ static int tolua_function_CGameAnimationType_virtual_SetBrightestDesired(lua_Sta { CGameAnimationType* self = (CGameAnimationType*)tolua_tousertype_dynamic(L, 1, 0, "CGameAnimationType"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_SetBrightestDesired'", NULL); - self->virtual_SetBrightestDesired(tolua_function_tointeger(L, 2, "virtual_SetBrightestDesired")); + (self->virtual_SetBrightestDesired)(tolua_function_tointeger(L, 2, "virtual_SetBrightestDesired")); return 0; } @@ -171639,7 +175490,7 @@ static int tolua_function_CGameAnimationType_virtual_GetCastHeight(lua_State* L) { CGameAnimationType* self = (CGameAnimationType*)tolua_tousertype_dynamic(L, 1, 0, "CGameAnimationType"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_GetCastHeight'", NULL); - __int16 returnVal = self->virtual_GetCastHeight(); + __int16 returnVal = (self->virtual_GetCastHeight)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -171648,7 +175499,7 @@ static int tolua_function_CGameAnimationType_virtual_GetCastingOffset(lua_State* { CGameAnimationType* self = (CGameAnimationType*)tolua_tousertype_dynamic(L, 1, 0, "CGameAnimationType"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_GetCastingOffset'", NULL); - self->virtual_GetCastingOffset((CPoint*)tolua_tousertype_dynamic(L, 2, 0, "CPoint")); + (self->virtual_GetCastingOffset)((CPoint*)tolua_tousertype_dynamic(L, 2, 0, "CPoint")); return 0; } @@ -171656,7 +175507,7 @@ static int tolua_function_CGameAnimationType_virtual_GetCurrentSequenceAndFrame( { CGameAnimationType* self = (CGameAnimationType*)tolua_tousertype_dynamic(L, 1, 0, "CGameAnimationType"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_GetCurrentSequenceAndFrame'", NULL); - unsigned __int8 returnVal = self->virtual_GetCurrentSequenceAndFrame((__int16*)tolua_tousertype_dynamic(L, 2, 0, "Primitive<__int16>"), (__int16*)tolua_tousertype_dynamic(L, 3, 0, "Primitive<__int16>")); + unsigned __int8 returnVal = (self->virtual_GetCurrentSequenceAndFrame)((__int16*)tolua_tousertype_dynamic(L, 2, 0, "Primitive<__int16>"), (__int16*)tolua_tousertype_dynamic(L, 3, 0, "Primitive<__int16>")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -171665,7 +175516,7 @@ static int tolua_function_CGameAnimationType_virtual_GetCurrentResRef(lua_State* { CGameAnimationType* self = (CGameAnimationType*)tolua_tousertype_dynamic(L, 1, 0, "CGameAnimationType"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_GetCurrentResRef'", NULL); - unsigned __int8 returnVal = self->virtual_GetCurrentResRef((CString*)tolua_tousertype_dynamic(L, 2, 0, "CString"), (CString*)tolua_tousertype_dynamic(L, 3, 0, "CString"), (CString*)tolua_tousertype_dynamic(L, 4, 0, "CString"), (CString*)tolua_tousertype_dynamic(L, 5, 0, "CString")); + unsigned __int8 returnVal = (self->virtual_GetCurrentResRef)((CString*)tolua_tousertype_dynamic(L, 2, 0, "CString"), (CString*)tolua_tousertype_dynamic(L, 3, 0, "CString"), (CString*)tolua_tousertype_dynamic(L, 4, 0, "CString"), (CString*)tolua_tousertype_dynamic(L, 5, 0, "CString")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -171674,7 +175525,7 @@ static int tolua_function_CGameAnimationType_virtual_OverrideAnimation(lua_State { CGameAnimationType* self = (CGameAnimationType*)tolua_tousertype_dynamic(L, 1, 0, "CGameAnimationType"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_OverrideAnimation'", NULL); - self->virtual_OverrideAnimation(*(CResRef*)tolua_tousertype_dynamic(L, 2, 0, "CResRef"), tolua_function_tointeger(L, 3, "virtual_OverrideAnimation")); + (self->virtual_OverrideAnimation)(*(CResRef*)tolua_tousertype_dynamic(L, 2, 0, "CResRef"), tolua_function_tointeger(L, 3, "virtual_OverrideAnimation")); return 0; } @@ -171682,7 +175533,7 @@ static int tolua_function_CGameAnimationType_virtual_Marshal(lua_State* L) { CGameAnimationType* self = (CGameAnimationType*)tolua_tousertype_dynamic(L, 1, 0, "CGameAnimationType"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_Marshal'", NULL); - self->virtual_Marshal((unsigned __int8**)tolua_tousertype_dynamic(L, 2, 0, "Pointer"), (unsigned int*)tolua_tousertype_dynamic(L, 3, 0, "Primitive")); + (self->virtual_Marshal)((unsigned __int8**)tolua_tousertype_dynamic(L, 2, 0, "Pointer"), (unsigned int*)tolua_tousertype_dynamic(L, 3, 0, "Primitive")); return 0; } @@ -171690,7 +175541,7 @@ static int tolua_function_CGameAnimationType_virtual_Unmarshal(lua_State* L) { CGameAnimationType* self = (CGameAnimationType*)tolua_tousertype_dynamic(L, 1, 0, "CGameAnimationType"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_Unmarshal'", NULL); - bool returnVal = self->virtual_Unmarshal(*(CResRef*)tolua_tousertype_dynamic(L, 2, 0, "CResRef")); + bool returnVal = (self->virtual_Unmarshal)(*(CResRef*)tolua_tousertype_dynamic(L, 2, 0, "CResRef")); tolua_pushboolean(L, (bool)returnVal); return 1; } @@ -177927,7 +181778,7 @@ static int tolua_function_CDerivedStats_Destruct(lua_State* L) { CDerivedStats* self = (CDerivedStats*)tolua_tousertype_dynamic(L, 1, 0, "CDerivedStats"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Destruct'", NULL); - self->Destruct(); + (self->Destruct)(); return 0; } @@ -177935,7 +181786,7 @@ static int tolua_function_CDerivedStats_GetAtOffset(lua_State* L) { CDerivedStats* self = (CDerivedStats*)tolua_tousertype_dynamic(L, 1, 0, "CDerivedStats"); if (!self) tolua_error(L, "invalid 'self' in calling function 'GetAtOffset'", NULL); - long returnVal = self->GetAtOffset(tolua_function_tointeger(L, 2, "GetAtOffset")); + long returnVal = (self->GetAtOffset)(tolua_function_tointeger(L, 2, "GetAtOffset")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -177944,7 +181795,7 @@ static int tolua_function_CDerivedStats_GetSpellState(lua_State* L) { CDerivedStats* self = (CDerivedStats*)tolua_tousertype_dynamic(L, 1, 0, "CDerivedStats"); if (!self) tolua_error(L, "invalid 'self' in calling function 'GetSpellState'", NULL); - int returnVal = self->GetSpellState(tolua_function_tointeger(L, 2, "GetSpellState")); + int returnVal = (self->GetSpellState)(tolua_function_tointeger(L, 2, "GetSpellState")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -177953,7 +181804,7 @@ static int tolua_function_CDerivedStats_GetWizardLevelCast(lua_State* L) { CDerivedStats* self = (CDerivedStats*)tolua_tousertype_dynamic(L, 1, 0, "CDerivedStats"); if (!self) tolua_error(L, "invalid 'self' in calling function 'GetWizardLevelCast'", NULL); - byte returnVal = self->GetWizardLevelCast(tolua_function_tointeger(L, 2, "GetWizardLevelCast")); + byte returnVal = (self->GetWizardLevelCast)(tolua_function_tointeger(L, 2, "GetWizardLevelCast")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -177962,7 +181813,7 @@ static int tolua_function_CDerivedStats_GetPriestLevelCast(lua_State* L) { CDerivedStats* self = (CDerivedStats*)tolua_tousertype_dynamic(L, 1, 0, "CDerivedStats"); if (!self) tolua_error(L, "invalid 'self' in calling function 'GetPriestLevelCast'", NULL); - byte returnVal = self->GetPriestLevelCast(tolua_function_tointeger(L, 2, "GetPriestLevelCast")); + byte returnVal = (self->GetPriestLevelCast)(tolua_function_tointeger(L, 2, "GetPriestLevelCast")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -177971,7 +181822,7 @@ static int tolua_function_CDerivedStats_GetAverageLevel(lua_State* L) { CDerivedStats* self = (CDerivedStats*)tolua_tousertype_dynamic(L, 1, 0, "CDerivedStats"); if (!self) tolua_error(L, "invalid 'self' in calling function 'GetAverageLevel'", NULL); - byte returnVal = self->GetAverageLevel(tolua_function_tointeger(L, 2, "GetAverageLevel")); + byte returnVal = (self->GetAverageLevel)(tolua_function_tointeger(L, 2, "GetAverageLevel")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -180044,7 +183895,7 @@ static int tolua_function_CClosure_f(lua_State* L) { CClosure* self = (CClosure*)tolua_tousertype_dynamic(L, 1, 0, "CClosure"); if (!self) tolua_error(L, "invalid 'self' in calling function 'f'", NULL); - int returnVal = self->f((lua_State*)tolua_tousertype_dynamic(L, 2, 0, "lua_State")); + int returnVal = (self->f)((lua_State*)tolua_tousertype_dynamic(L, 2, 0, "lua_State")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -182621,7 +186472,7 @@ static int tolua_function_CBaldurChitin_virtual_ShutDown_2(lua_State* L) { CBaldurChitin* self = (CBaldurChitin*)tolua_tousertype_dynamic(L, 1, 0, "EEex_CBaldurChitin"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_ShutDown_2'", NULL); - self->virtual_ShutDown_2(tolua_function_tointeger(L, 2, "virtual_ShutDown_2"), *(char**)tolua_tousertype_dynamic(L, 3, 0, "CharString"), *(const char**)tolua_tousertype_dynamic(L, 4, 0, "ConstCharString")); + (self->virtual_ShutDown_2)(tolua_function_tointeger(L, 2, "virtual_ShutDown_2"), *(char**)tolua_tousertype_dynamic(L, 3, 0, "CharString"), *(const char**)tolua_tousertype_dynamic(L, 4, 0, "ConstCharString")); return 0; } @@ -182629,7 +186480,7 @@ static int tolua_function_CBaldurChitin_virtual_UnloadFonts(lua_State* L) { CBaldurChitin* self = (CBaldurChitin*)tolua_tousertype_dynamic(L, 1, 0, "EEex_CBaldurChitin"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_UnloadFonts'", NULL); - self->virtual_UnloadFonts(); + (self->virtual_UnloadFonts)(); return 0; } @@ -182969,7 +186820,7 @@ static int tolua_function_CGameAreaNotes_UpdateButtonPositions(lua_State* L) { CGameAreaNotes* self = (CGameAreaNotes*)tolua_tousertype_dynamic(L, 1, 0, "CGameAreaNotes"); if (!self) tolua_error(L, "invalid 'self' in calling function 'UpdateButtonPositions'", NULL); - self->UpdateButtonPositions(); + (self->UpdateButtonPositions)(); return 0; } @@ -185721,7 +189572,7 @@ static int tolua_function_CGameArea_Override_AdjustTarget(lua_State* L) { CGameArea* self = (CGameArea*)tolua_tousertype_dynamic(L, 1, 0, "CGameArea"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Override_AdjustTarget'", NULL); - int returnVal = self->Override_AdjustTarget(*(CPoint*)tolua_tousertype_dynamic(L, 2, 0, "CPoint"), (CPoint*)tolua_tousertype_dynamic(L, 3, 0, "CPoint"), tolua_function_tointeger(L, 4, "Override_AdjustTarget"), tolua_function_tointeger(L, 5, "Override_AdjustTarget")); + int returnVal = (self->Override_AdjustTarget)(*(CPoint*)tolua_tousertype_dynamic(L, 2, 0, "CPoint"), (CPoint*)tolua_tousertype_dynamic(L, 3, 0, "CPoint"), tolua_function_tointeger(L, 4, "Override_AdjustTarget"), tolua_function_tointeger(L, 5, "Override_AdjustTarget")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -185730,7 +189581,7 @@ static int tolua_function_CGameArea_Override_GetNearest(lua_State* L) { CGameArea* self = (CGameArea*)tolua_tousertype_dynamic(L, 1, 0, "CGameArea"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Override_GetNearest'", NULL); - int returnVal = self->Override_GetNearest(tolua_function_tointeger(L, 2, "Override_GetNearest"), (const CAIObjectType*)tolua_tousertype_dynamic(L, 3, 0, "CAIObjectType"), tolua_function_tointeger(L, 4, "Override_GetNearest"), (const byte*)tolua_tousertype_dynamic(L, 5, 0, "Primitive"), tolua_function_tointeger(L, 6, "Override_GetNearest"), tolua_function_tointeger(L, 7, "Override_GetNearest"), tolua_function_tointeger(L, 8, "Override_GetNearest"), tolua_function_tointeger(L, 9, "Override_GetNearest"), tolua_function_tointeger(L, 10, "Override_GetNearest")); + int returnVal = (self->Override_GetNearest)(tolua_function_tointeger(L, 2, "Override_GetNearest"), (const CAIObjectType*)tolua_tousertype_dynamic(L, 3, 0, "CAIObjectType"), tolua_function_tointeger(L, 4, "Override_GetNearest"), (const byte*)tolua_tousertype_dynamic(L, 5, 0, "Primitive"), tolua_function_tointeger(L, 6, "Override_GetNearest"), tolua_function_tointeger(L, 7, "Override_GetNearest"), tolua_function_tointeger(L, 8, "Override_GetNearest"), tolua_function_tointeger(L, 9, "Override_GetNearest"), tolua_function_tointeger(L, 10, "Override_GetNearest")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -185739,7 +189590,7 @@ static int tolua_function_CGameArea_Override_GetNearest2(lua_State* L) { CGameArea* self = (CGameArea*)tolua_tousertype_dynamic(L, 1, 0, "CGameArea"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Override_GetNearest2'", NULL); - int returnVal = self->Override_GetNearest2(*(CPoint*)tolua_tousertype_dynamic(L, 2, 0, "CPoint"), (const CAIObjectType*)tolua_tousertype_dynamic(L, 3, 0, "CAIObjectType"), tolua_function_tointeger(L, 4, "Override_GetNearest2"), (const byte*)tolua_tousertype_dynamic(L, 5, 0, "Primitive"), tolua_function_tointeger(L, 6, "Override_GetNearest2"), tolua_function_tointeger(L, 7, "Override_GetNearest2"), tolua_function_tointeger(L, 8, "Override_GetNearest2")); + int returnVal = (self->Override_GetNearest2)(*(CPoint*)tolua_tousertype_dynamic(L, 2, 0, "CPoint"), (const CAIObjectType*)tolua_tousertype_dynamic(L, 3, 0, "CAIObjectType"), tolua_function_tointeger(L, 4, "Override_GetNearest2"), (const byte*)tolua_tousertype_dynamic(L, 5, 0, "Primitive"), tolua_function_tointeger(L, 6, "Override_GetNearest2"), tolua_function_tointeger(L, 7, "Override_GetNearest2"), tolua_function_tointeger(L, 8, "Override_GetNearest2")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -185748,7 +189599,7 @@ static int tolua_function_CGameArea_GetNearest_Overload_Point(lua_State* L) { CGameArea* self = (CGameArea*)tolua_tousertype_dynamic(L, 1, 0, "CGameArea"); if (!self) tolua_error(L, "invalid 'self' in calling function 'GetNearest_Overload_Point'", NULL); - int returnVal = self->GetNearest(*(CPoint*)tolua_tousertype_dynamic(L, 2, 0, "CPoint"), (const CAIObjectType*)tolua_tousertype_dynamic(L, 3, 0, "CAIObjectType"), tolua_function_tointeger(L, 4, "GetNearest_Overload_Point"), (const byte*)tolua_tousertype_dynamic(L, 5, 0, "Primitive"), tolua_function_tointeger(L, 6, "GetNearest_Overload_Point"), tolua_function_tointeger(L, 7, "GetNearest_Overload_Point"), tolua_function_tointeger(L, 8, "GetNearest_Overload_Point")); + int returnVal = (self->GetNearest)(*(CPoint*)tolua_tousertype_dynamic(L, 2, 0, "CPoint"), (const CAIObjectType*)tolua_tousertype_dynamic(L, 3, 0, "CAIObjectType"), tolua_function_tointeger(L, 4, "GetNearest_Overload_Point"), (const byte*)tolua_tousertype_dynamic(L, 5, 0, "Primitive"), tolua_function_tointeger(L, 6, "GetNearest_Overload_Point"), tolua_function_tointeger(L, 7, "GetNearest_Overload_Point"), tolua_function_tointeger(L, 8, "GetNearest_Overload_Point")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -185757,7 +189608,7 @@ static int tolua_function_CGameArea_AdjustTarget(lua_State* L) { CGameArea* self = (CGameArea*)tolua_tousertype_dynamic(L, 1, 0, "CGameArea"); if (!self) tolua_error(L, "invalid 'self' in calling function 'AdjustTarget'", NULL); - int returnVal = self->AdjustTarget(*(CPoint*)tolua_tousertype_dynamic(L, 2, 0, "CPoint"), (CPoint*)tolua_tousertype_dynamic(L, 3, 0, "CPoint"), tolua_function_tointeger(L, 4, "AdjustTarget"), tolua_function_tointeger(L, 5, "AdjustTarget")); + int returnVal = (self->AdjustTarget)(*(CPoint*)tolua_tousertype_dynamic(L, 2, 0, "CPoint"), (CPoint*)tolua_tousertype_dynamic(L, 3, 0, "CPoint"), tolua_function_tointeger(L, 4, "AdjustTarget"), tolua_function_tointeger(L, 5, "AdjustTarget")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -185766,7 +189617,7 @@ static int tolua_function_CGameArea_CheckWalkable(lua_State* L) { CGameArea* self = (CGameArea*)tolua_tousertype_dynamic(L, 1, 0, "CGameArea"); if (!self) tolua_error(L, "invalid 'self' in calling function 'CheckWalkable'", NULL); - int returnVal = self->CheckWalkable((CPoint*)tolua_tousertype_dynamic(L, 2, 0, "CPoint"), (CPoint*)tolua_tousertype_dynamic(L, 3, 0, "CPoint"), (byte*)tolua_tousertype_dynamic(L, 4, 0, "Primitive"), tolua_function_tointeger(L, 5, "CheckWalkable"), tolua_function_tointeger(L, 6, "CheckWalkable")); + int returnVal = (self->CheckWalkable)((CPoint*)tolua_tousertype_dynamic(L, 2, 0, "CPoint"), (CPoint*)tolua_tousertype_dynamic(L, 3, 0, "CPoint"), (byte*)tolua_tousertype_dynamic(L, 4, 0, "Primitive"), tolua_function_tointeger(L, 5, "CheckWalkable"), tolua_function_tointeger(L, 6, "CheckWalkable")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -185775,7 +189626,7 @@ static int tolua_function_CGameArea_CheckLOS(lua_State* L) { CGameArea* self = (CGameArea*)tolua_tousertype_dynamic(L, 1, 0, "CGameArea"); if (!self) tolua_error(L, "invalid 'self' in calling function 'CheckLOS'", NULL); - int returnVal = self->CheckLOS((const CPoint*)tolua_tousertype_dynamic(L, 2, 0, "CPoint"), (const CPoint*)tolua_tousertype_dynamic(L, 3, 0, "CPoint"), (const byte*)tolua_tousertype_dynamic(L, 4, 0, "Primitive"), tolua_function_tointeger(L, 5, "CheckLOS"), tolua_function_tointeger(L, 6, "CheckLOS")); + int returnVal = (self->CheckLOS)((const CPoint*)tolua_tousertype_dynamic(L, 2, 0, "CPoint"), (const CPoint*)tolua_tousertype_dynamic(L, 3, 0, "CPoint"), (const byte*)tolua_tousertype_dynamic(L, 4, 0, "Primitive"), tolua_function_tointeger(L, 5, "CheckLOS"), tolua_function_tointeger(L, 6, "CheckLOS")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -185784,7 +189635,7 @@ static int tolua_function_CGameArea_GetAllInRange_Overload_Point(lua_State* L) { CGameArea* self = (CGameArea*)tolua_tousertype_dynamic(L, 1, 0, "CGameArea"); if (!self) tolua_error(L, "invalid 'self' in calling function 'GetAllInRange_Overload_Point'", NULL); - self->GetAllInRange((const CPoint*)tolua_tousertype_dynamic(L, 2, 0, "CPoint"), (const CAIObjectType*)tolua_tousertype_dynamic(L, 3, 0, "CAIObjectType"), tolua_function_tointeger(L, 4, "GetAllInRange_Overload_Point"), (const byte*)tolua_tousertype_dynamic(L, 5, 0, "Primitive"), (CTypedPtrList*)tolua_tousertype_dynamic(L, 6, 0, "CTypedPtrList"), tolua_function_tointeger(L, 7, "GetAllInRange_Overload_Point"), tolua_function_tointeger(L, 8, "GetAllInRange_Overload_Point")); + (self->GetAllInRange)((const CPoint*)tolua_tousertype_dynamic(L, 2, 0, "CPoint"), (const CAIObjectType*)tolua_tousertype_dynamic(L, 3, 0, "CAIObjectType"), tolua_function_tointeger(L, 4, "GetAllInRange_Overload_Point"), (const byte*)tolua_tousertype_dynamic(L, 5, 0, "Primitive"), (CTypedPtrList*)tolua_tousertype_dynamic(L, 6, 0, "CTypedPtrList"), tolua_function_tointeger(L, 7, "GetAllInRange_Overload_Point"), tolua_function_tointeger(L, 8, "GetAllInRange_Overload_Point")); return 0; } @@ -185792,7 +189643,7 @@ static int tolua_function_CGameArea_GetAllInRange_Overload_VertListPos(lua_State { CGameArea* self = (CGameArea*)tolua_tousertype_dynamic(L, 1, 0, "CGameArea"); if (!self) tolua_error(L, "invalid 'self' in calling function 'GetAllInRange_Overload_VertListPos'", NULL); - self->GetAllInRange((__POSITION*)tolua_tousertype_dynamic(L, 2, 0, "__POSITION"), (const CPoint*)tolua_tousertype_dynamic(L, 3, 0, "CPoint"), (const CAIObjectType*)tolua_tousertype_dynamic(L, 4, 0, "CAIObjectType"), tolua_function_tointeger(L, 5, "GetAllInRange_Overload_VertListPos"), (const byte*)tolua_tousertype_dynamic(L, 6, 0, "Primitive"), (CTypedPtrList*)tolua_tousertype_dynamic(L, 7, 0, "CTypedPtrList"), tolua_function_tointeger(L, 8, "GetAllInRange_Overload_VertListPos"), tolua_function_tointeger(L, 9, "GetAllInRange_Overload_VertListPos")); + (self->GetAllInRange)((__POSITION*)tolua_tousertype_dynamic(L, 2, 0, "__POSITION"), (const CPoint*)tolua_tousertype_dynamic(L, 3, 0, "CPoint"), (const CAIObjectType*)tolua_tousertype_dynamic(L, 4, 0, "CAIObjectType"), tolua_function_tointeger(L, 5, "GetAllInRange_Overload_VertListPos"), (const byte*)tolua_tousertype_dynamic(L, 6, 0, "Primitive"), (CTypedPtrList*)tolua_tousertype_dynamic(L, 7, 0, "CTypedPtrList"), tolua_function_tointeger(L, 8, "GetAllInRange_Overload_VertListPos"), tolua_function_tointeger(L, 9, "GetAllInRange_Overload_VertListPos")); return 0; } @@ -185800,7 +189651,7 @@ static int tolua_function_CGameArea_ApplyEffect(lua_State* L) { CGameArea* self = (CGameArea*)tolua_tousertype_dynamic(L, 1, 0, "CGameArea"); if (!self) tolua_error(L, "invalid 'self' in calling function 'ApplyEffect'", NULL); - self->ApplyEffect((CGameEffect*)tolua_tousertype_dynamic(L, 2, 0, "CGameEffect"), tolua_function_tointeger(L, 3, "ApplyEffect"), tolua_function_tointeger(L, 4, "ApplyEffect"), tolua_function_tointeger(L, 5, "ApplyEffect"), (CGameObject*)tolua_tousertype_dynamic(L, 6, 0, "CGameObject")); + (self->ApplyEffect)((CGameEffect*)tolua_tousertype_dynamic(L, 2, 0, "CGameEffect"), tolua_function_tointeger(L, 3, "ApplyEffect"), tolua_function_tointeger(L, 4, "ApplyEffect"), tolua_function_tointeger(L, 5, "ApplyEffect"), (CGameObject*)tolua_tousertype_dynamic(L, 6, 0, "CGameObject")); return 0; } @@ -185808,7 +189659,7 @@ static int tolua_function_CGameArea_OnActionButtonClickGround(lua_State* L) { CGameArea* self = (CGameArea*)tolua_tousertype_dynamic(L, 1, 0, "CGameArea"); if (!self) tolua_error(L, "invalid 'self' in calling function 'OnActionButtonClickGround'", NULL); - self->OnActionButtonClickGround((CPoint*)tolua_tousertype_dynamic(L, 2, 0, "CPoint")); + (self->OnActionButtonClickGround)((CPoint*)tolua_tousertype_dynamic(L, 2, 0, "CPoint")); return 0; } @@ -185816,7 +189667,7 @@ static int tolua_function_CGameArea_ShowMonstersInArea(lua_State* L) { CGameArea* self = (CGameArea*)tolua_tousertype_dynamic(L, 1, 0, "CGameArea"); if (!self) tolua_error(L, "invalid 'self' in calling function 'ShowMonstersInArea'", NULL); - self->ShowMonstersInArea((CGameAreaClairvoyanceEntry*)tolua_tousertype_dynamic(L, 2, 0, "CGameAreaClairvoyanceEntry")); + (self->ShowMonstersInArea)((CGameAreaClairvoyanceEntry*)tolua_tousertype_dynamic(L, 2, 0, "CGameAreaClairvoyanceEntry")); return 0; } @@ -187220,7 +191071,7 @@ static int tolua_function_CAIObjectType_Decode(lua_State* L) { CAIObjectType* self = (CAIObjectType*)tolua_tousertype_dynamic(L, 1, 0, "CAIObjectType"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Decode'", NULL); - self->Decode((CGameAIBase*)tolua_tousertype_dynamic(L, 2, 0, "CGameAIBase")); + (self->Decode)((CGameAIBase*)tolua_tousertype_dynamic(L, 2, 0, "CGameAIBase")); return 0; } @@ -187228,7 +191079,7 @@ static int tolua_function_CAIObjectType_GetShare(lua_State* L) { CAIObjectType* self = (CAIObjectType*)tolua_tousertype_dynamic(L, 1, 0, "CAIObjectType"); if (!self) tolua_error(L, "invalid 'self' in calling function 'GetShare'", NULL); - CGameObject* returnVal = self->GetShare((CGameAIBase*)tolua_tousertype_dynamic(L, 2, 0, "CGameAIBase"), tolua_function_tointeger(L, 3, "GetShare")); + CGameObject* returnVal = (self->GetShare)((CGameAIBase*)tolua_tousertype_dynamic(L, 2, 0, "CGameAIBase"), tolua_function_tointeger(L, 3, "GetShare")); tolua_pushusertype(L, (void*)returnVal, "CGameObject"); return 1; } @@ -187237,7 +191088,7 @@ static int tolua_function_CAIObjectType_GetShareType(lua_State* L) { CAIObjectType* self = (CAIObjectType*)tolua_tousertype_dynamic(L, 1, 0, "CAIObjectType"); if (!self) tolua_error(L, "invalid 'self' in calling function 'GetShareType'", NULL); - CGameObject* returnVal = self->GetShareType((CGameAIBase*)tolua_tousertype_dynamic(L, 2, 0, "CGameAIBase"), (CGameObjectType)tolua_function_tointeger<__int8>(L, 3, "GetShareType"), tolua_function_tointeger(L, 4, "GetShareType")); + CGameObject* returnVal = (self->GetShareType)((CGameAIBase*)tolua_tousertype_dynamic(L, 2, 0, "CGameAIBase"), (CGameObjectType)tolua_function_tointeger<__int8>(L, 3, "GetShareType"), tolua_function_tointeger(L, 4, "GetShareType")); tolua_pushusertype(L, (void*)returnVal, "CGameObject"); return 1; } @@ -187246,7 +191097,7 @@ static int tolua_function_CAIObjectType_OfType(lua_State* L) { CAIObjectType* self = (CAIObjectType*)tolua_tousertype_dynamic(L, 1, 0, "CAIObjectType"); if (!self) tolua_error(L, "invalid 'self' in calling function 'OfType'", NULL); - byte returnVal = self->OfType((const CAIObjectType*)tolua_tousertype_dynamic(L, 2, 0, "CAIObjectType"), tolua_function_tointeger(L, 3, "OfType"), tolua_function_tointeger(L, 4, "OfType"), tolua_function_tointeger(L, 5, "OfType")); + byte returnVal = (self->OfType)((const CAIObjectType*)tolua_tousertype_dynamic(L, 2, 0, "CAIObjectType"), tolua_function_tointeger(L, 3, "OfType"), tolua_function_tointeger(L, 4, "OfType"), tolua_function_tointeger(L, 5, "OfType")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -187255,7 +191106,7 @@ static int tolua_function_CAIObjectType_Set(lua_State* L) { CAIObjectType* self = (CAIObjectType*)tolua_tousertype_dynamic(L, 1, 0, "CAIObjectType"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Set'", NULL); - self->Set((const CAIObjectType*)tolua_tousertype_dynamic(L, 2, 0, "CAIObjectType")); + (self->Set)((const CAIObjectType*)tolua_tousertype_dynamic(L, 2, 0, "CAIObjectType")); return 0; } @@ -187263,7 +191114,7 @@ static int tolua_function_CAIObjectType_Equals(lua_State* L) { CAIObjectType* self = (CAIObjectType*)tolua_tousertype_dynamic(L, 1, 0, "CAIObjectType"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Equals'", NULL); - bool returnVal = self->operator==((const CAIObjectType*)tolua_tousertype_dynamic(L, 2, 0, "CAIObjectType")); + bool returnVal = (self->operator==)((const CAIObjectType*)tolua_tousertype_dynamic(L, 2, 0, "CAIObjectType")); tolua_pushboolean(L, (bool)returnVal); return 1; } @@ -187280,7 +191131,7 @@ static int tolua_function_CAIObjectType_Destruct(lua_State* L) { CAIObjectType* self = (CAIObjectType*)tolua_tousertype_dynamic(L, 1, 0, "CAIObjectType"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Destruct'", NULL); - self->Destruct(); + (self->Destruct)(); return 0; } @@ -187480,7 +191331,7 @@ static int tolua_function_CAIAction_Destruct(lua_State* L) { CAIAction* self = (CAIAction*)tolua_tousertype_dynamic(L, 1, 0, "CAIAction"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Destruct'", NULL); - self->Destruct(); + (self->Destruct)(); return 0; } @@ -187488,7 +191339,7 @@ static int tolua_function_CAIAction_AssignmentOperator(lua_State* L) { CAIAction* self = (CAIAction*)tolua_tousertype_dynamic(L, 1, 0, "CAIAction"); if (!self) tolua_error(L, "invalid 'self' in calling function 'AssignmentOperator'", NULL); - CAIAction* returnVal = self->operator=((const CAIAction*)tolua_tousertype_dynamic(L, 2, 0, "CAIAction")); + CAIAction* returnVal = (self->operator=)((const CAIAction*)tolua_tousertype_dynamic(L, 2, 0, "CAIAction")); tolua_pushusertype(L, (void*)returnVal, "CAIAction"); return 1; } @@ -187497,7 +191348,7 @@ static int tolua_function_CAIAction_Decode(lua_State* L) { CAIAction* self = (CAIAction*)tolua_tousertype_dynamic(L, 1, 0, "CAIAction"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Decode'", NULL); - self->Decode((CGameAIBase*)tolua_tousertype_dynamic(L, 2, 0, "CGameAIBase")); + (self->Decode)((CGameAIBase*)tolua_tousertype_dynamic(L, 2, 0, "CGameAIBase")); return 0; } @@ -188585,7 +192436,7 @@ static int tolua_function_CSpawn_virtual_Destruct(lua_State* L) { CSpawn* self = (CSpawn*)tolua_tousertype_dynamic(L, 1, 0, "CSpawn"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_Destruct'", NULL); - self->virtual_Destruct(); + (self->virtual_Destruct)(); return 0; } @@ -189943,7 +193794,7 @@ static int tolua_function_CGameObject_InControl(lua_State* L) { CGameObject* self = (CGameObject*)tolua_tousertype_dynamic(L, 1, 0, "CGameObject"); if (!self) tolua_error(L, "invalid 'self' in calling function 'InControl'", NULL); - byte returnVal = self->InControl(); + byte returnVal = (self->InControl)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -189952,7 +193803,7 @@ static int tolua_function_CGameObject_virtual_Destruct(lua_State* L) { CGameObject* self = (CGameObject*)tolua_tousertype_dynamic(L, 1, 0, "CGameObject"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_Destruct'", NULL); - self->virtual_Destruct(tolua_function_tointeger(L, 2, "virtual_Destruct")); + (self->virtual_Destruct)(tolua_function_tointeger(L, 2, "virtual_Destruct")); return 0; } @@ -189960,7 +193811,7 @@ static int tolua_function_CGameObject_virtual_GetObjectType(lua_State* L) { CGameObject* self = (CGameObject*)tolua_tousertype_dynamic(L, 1, 0, "CGameObject"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_GetObjectType'", NULL); - CGameObjectType returnVal = self->virtual_GetObjectType(); + CGameObjectType returnVal = (self->virtual_GetObjectType)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -189969,7 +193820,7 @@ static int tolua_function_CGameObject_virtual_AddToArea(lua_State* L) { CGameObject* self = (CGameObject*)tolua_tousertype_dynamic(L, 1, 0, "CGameObject"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_AddToArea'", NULL); - self->virtual_AddToArea((CGameArea*)tolua_tousertype_dynamic(L, 2, 0, "CGameArea"), (const CPoint*)tolua_tousertype_dynamic(L, 3, 0, "CPoint"), tolua_function_tointeger(L, 4, "virtual_AddToArea"), tolua_function_tointeger(L, 5, "virtual_AddToArea")); + (self->virtual_AddToArea)((CGameArea*)tolua_tousertype_dynamic(L, 2, 0, "CGameArea"), (const CPoint*)tolua_tousertype_dynamic(L, 3, 0, "CPoint"), tolua_function_tointeger(L, 4, "virtual_AddToArea"), tolua_function_tointeger(L, 5, "virtual_AddToArea")); return 0; } @@ -189977,7 +193828,7 @@ static int tolua_function_CGameObject_virtual_AIUpdate(lua_State* L) { CGameObject* self = (CGameObject*)tolua_tousertype_dynamic(L, 1, 0, "CGameObject"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_AIUpdate'", NULL); - self->virtual_AIUpdate(); + (self->virtual_AIUpdate)(); return 0; } @@ -189985,7 +193836,7 @@ static int tolua_function_CGameObject_virtual_GetAIType(lua_State* L) { CGameObject* self = (CGameObject*)tolua_tousertype_dynamic(L, 1, 0, "CGameObject"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_GetAIType'", NULL); - const CAIObjectType* returnVal = self->virtual_GetAIType(); + const CAIObjectType* returnVal = (self->virtual_GetAIType)(); tolua_pushusertype(L, (void*)returnVal, "CAIObjectType"); return 1; } @@ -189994,7 +193845,7 @@ static int tolua_function_CGameObject_virtual_GetTargetId(lua_State* L) { CGameObject* self = (CGameObject*)tolua_tousertype_dynamic(L, 1, 0, "CGameObject"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_GetTargetId'", NULL); - int returnVal = self->virtual_GetTargetId(); + int returnVal = (self->virtual_GetTargetId)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -190003,7 +193854,7 @@ static int tolua_function_CGameObject_virtual_GetNextWaypoint(lua_State* L) { CGameObject* self = (CGameObject*)tolua_tousertype_dynamic(L, 1, 0, "CGameObject"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_GetNextWaypoint'", NULL); - self->virtual_GetNextWaypoint((CPoint*)tolua_tousertype_dynamic(L, 2, 0, "CPoint")); + (self->virtual_GetNextWaypoint)((CPoint*)tolua_tousertype_dynamic(L, 2, 0, "CPoint")); return 0; } @@ -190011,7 +193862,7 @@ static int tolua_function_CGameObject_virtual_GetVertListPos(lua_State* L) { CGameObject* self = (CGameObject*)tolua_tousertype_dynamic(L, 1, 0, "CGameObject"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_GetVertListPos'", NULL); - CTypedPtrList::CNode* returnVal = self->virtual_GetVertListPos(); + CTypedPtrList::CNode* returnVal = (self->virtual_GetVertListPos)(); tolua_pushusertype(L, (void*)returnVal, "CTypedPtrList::CNode"); return 1; } @@ -190020,7 +193871,7 @@ static int tolua_function_CGameObject_virtual_GetVertListType(lua_State* L) { CGameObject* self = (CGameObject*)tolua_tousertype_dynamic(L, 1, 0, "CGameObject"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_GetVertListType'", NULL); - VertListType returnVal = self->virtual_GetVertListType(); + VertListType returnVal = (self->virtual_GetVertListType)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -190029,7 +193880,7 @@ static int tolua_function_CGameObject_virtual_SetVertListType(lua_State* L) { CGameObject* self = (CGameObject*)tolua_tousertype_dynamic(L, 1, 0, "CGameObject"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_SetVertListType'", NULL); - self->virtual_SetVertListType(tolua_function_tointeger(L, 2, "virtual_SetVertListType")); + (self->virtual_SetVertListType)(tolua_function_tointeger(L, 2, "virtual_SetVertListType")); return 0; } @@ -190037,7 +193888,7 @@ static int tolua_function_CGameObject_virtual_CanSaveGame(lua_State* L) { CGameObject* self = (CGameObject*)tolua_tousertype_dynamic(L, 1, 0, "CGameObject"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_CanSaveGame'", NULL); - unsigned __int8 returnVal = self->virtual_CanSaveGame((unsigned int*)tolua_tousertype_dynamic(L, 2, 0, "Primitive"), tolua_function_tointeger(L, 3, "virtual_CanSaveGame"), tolua_function_tointeger(L, 4, "virtual_CanSaveGame")); + unsigned __int8 returnVal = (self->virtual_CanSaveGame)((unsigned int*)tolua_tousertype_dynamic(L, 2, 0, "Primitive"), tolua_function_tointeger(L, 3, "virtual_CanSaveGame"), tolua_function_tointeger(L, 4, "virtual_CanSaveGame")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -190046,7 +193897,7 @@ static int tolua_function_CGameObject_virtual_CompressTime(lua_State* L) { CGameObject* self = (CGameObject*)tolua_tousertype_dynamic(L, 1, 0, "CGameObject"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_CompressTime'", NULL); - unsigned __int8 returnVal = self->virtual_CompressTime(tolua_function_tointeger(L, 2, "virtual_CompressTime")); + unsigned __int8 returnVal = (self->virtual_CompressTime)(tolua_function_tointeger(L, 2, "virtual_CompressTime")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -190055,7 +193906,7 @@ static int tolua_function_CGameObject_virtual_DebugDump(lua_State* L) { CGameObject* self = (CGameObject*)tolua_tousertype_dynamic(L, 1, 0, "CGameObject"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_DebugDump'", NULL); - self->virtual_DebugDump((const CString*)tolua_tousertype_dynamic(L, 2, 0, "CString"), tolua_function_tointeger(L, 3, "virtual_DebugDump")); + (self->virtual_DebugDump)((const CString*)tolua_tousertype_dynamic(L, 2, 0, "CString"), tolua_function_tointeger(L, 3, "virtual_DebugDump")); return 0; } @@ -190063,7 +193914,7 @@ static int tolua_function_CGameObject_virtual_IsOver(lua_State* L) { CGameObject* self = (CGameObject*)tolua_tousertype_dynamic(L, 1, 0, "CGameObject"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_IsOver'", NULL); - int returnVal = self->virtual_IsOver((const CPoint*)tolua_tousertype_dynamic(L, 2, 0, "CPoint")); + int returnVal = (self->virtual_IsOver)((const CPoint*)tolua_tousertype_dynamic(L, 2, 0, "CPoint")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -190072,7 +193923,7 @@ static int tolua_function_CGameObject_virtual_DoesIntersect(lua_State* L) { CGameObject* self = (CGameObject*)tolua_tousertype_dynamic(L, 1, 0, "CGameObject"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_DoesIntersect'", NULL); - int returnVal = self->virtual_DoesIntersect(*(CRect*)tolua_tousertype_dynamic(L, 2, 0, "CRect")); + int returnVal = (self->virtual_DoesIntersect)(*(CRect*)tolua_tousertype_dynamic(L, 2, 0, "CRect")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -190081,7 +193932,7 @@ static int tolua_function_CGameObject_virtual_OnSearchMap(lua_State* L) { CGameObject* self = (CGameObject*)tolua_tousertype_dynamic(L, 1, 0, "CGameObject"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_OnSearchMap'", NULL); - int returnVal = self->virtual_OnSearchMap(); + int returnVal = (self->virtual_OnSearchMap)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -190090,7 +193941,7 @@ static int tolua_function_CGameObject_virtual_OnActionButton(lua_State* L) { CGameObject* self = (CGameObject*)tolua_tousertype_dynamic(L, 1, 0, "CGameObject"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_OnActionButton'", NULL); - self->virtual_OnActionButton((const CPoint*)tolua_tousertype_dynamic(L, 2, 0, "CPoint")); + (self->virtual_OnActionButton)((const CPoint*)tolua_tousertype_dynamic(L, 2, 0, "CPoint")); return 0; } @@ -190098,7 +193949,7 @@ static int tolua_function_CGameObject_virtual_OnFormationButton(lua_State* L) { CGameObject* self = (CGameObject*)tolua_tousertype_dynamic(L, 1, 0, "CGameObject"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_OnFormationButton'", NULL); - self->virtual_OnFormationButton((const CPoint*)tolua_tousertype_dynamic(L, 2, 0, "CPoint")); + (self->virtual_OnFormationButton)((const CPoint*)tolua_tousertype_dynamic(L, 2, 0, "CPoint")); return 0; } @@ -190106,7 +193957,7 @@ static int tolua_function_CGameObject_virtual_RemoveFromArea(lua_State* L) { CGameObject* self = (CGameObject*)tolua_tousertype_dynamic(L, 1, 0, "CGameObject"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_RemoveFromArea'", NULL); - self->virtual_RemoveFromArea(); + (self->virtual_RemoveFromArea)(); return 0; } @@ -190114,7 +193965,7 @@ static int tolua_function_CGameObject_virtual_Render(lua_State* L) { CGameObject* self = (CGameObject*)tolua_tousertype_dynamic(L, 1, 0, "CGameObject"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_Render'", NULL); - self->virtual_Render((CGameArea*)tolua_tousertype_dynamic(L, 2, 0, "CGameArea"), (CVidMode*)tolua_tousertype_dynamic(L, 3, 0, "CVidMode")); + (self->virtual_Render)((CGameArea*)tolua_tousertype_dynamic(L, 2, 0, "CGameArea"), (CVidMode*)tolua_tousertype_dynamic(L, 3, 0, "CVidMode")); return 0; } @@ -190122,7 +193973,7 @@ static int tolua_function_CGameObject_virtual_DoAIUpdate(lua_State* L) { CGameObject* self = (CGameObject*)tolua_tousertype_dynamic(L, 1, 0, "CGameObject"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_DoAIUpdate'", NULL); - unsigned __int8 returnVal = self->virtual_DoAIUpdate(tolua_function_tointeger(L, 2, "virtual_DoAIUpdate"), tolua_function_tointeger(L, 3, "virtual_DoAIUpdate")); + unsigned __int8 returnVal = (self->virtual_DoAIUpdate)(tolua_function_tointeger(L, 2, "virtual_DoAIUpdate"), tolua_function_tointeger(L, 3, "virtual_DoAIUpdate")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -190131,7 +193982,7 @@ static int tolua_function_CGameObject_virtual_SetAIType(lua_State* L) { CGameObject* self = (CGameObject*)tolua_tousertype_dynamic(L, 1, 0, "CGameObject"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_SetAIType'", NULL); - self->virtual_SetAIType((const CAIObjectType*)tolua_tousertype_dynamic(L, 2, 0, "CAIObjectType"), tolua_function_tointeger(L, 3, "virtual_SetAIType")); + (self->virtual_SetAIType)((const CAIObjectType*)tolua_tousertype_dynamic(L, 2, 0, "CAIObjectType"), tolua_function_tointeger(L, 3, "virtual_SetAIType")); return 0; } @@ -190139,7 +193990,7 @@ static int tolua_function_CGameObject_virtual_SetCursor(lua_State* L) { CGameObject* self = (CGameObject*)tolua_tousertype_dynamic(L, 1, 0, "CGameObject"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_SetCursor'", NULL); - self->virtual_SetCursor(tolua_function_tointeger(L, 2, "virtual_SetCursor")); + (self->virtual_SetCursor)(tolua_function_tointeger(L, 2, "virtual_SetCursor")); return 0; } @@ -190147,7 +193998,7 @@ static int tolua_function_CGameObject_virtual_SetTarget(lua_State* L) { CGameObject* self = (CGameObject*)tolua_tousertype_dynamic(L, 1, 0, "CGameObject"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_SetTarget'", NULL); - self->virtual_SetTarget(*(CPoint*)tolua_tousertype_dynamic(L, 2, 0, "CPoint"), tolua_function_tointeger(L, 3, "virtual_SetTarget")); + (self->virtual_SetTarget)(*(CPoint*)tolua_tousertype_dynamic(L, 2, 0, "CPoint"), tolua_function_tointeger(L, 3, "virtual_SetTarget")); return 0; } @@ -190155,7 +194006,7 @@ static int tolua_function_CGameObject_virtual_SetVertListPos(lua_State* L) { CGameObject* self = (CGameObject*)tolua_tousertype_dynamic(L, 1, 0, "CGameObject"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_SetVertListPos'", NULL); - self->virtual_SetVertListPos((__POSITION*)tolua_tousertype_dynamic(L, 2, 0, "__POSITION")); + (self->virtual_SetVertListPos)((__POSITION*)tolua_tousertype_dynamic(L, 2, 0, "__POSITION")); return 0; } @@ -190163,7 +194014,7 @@ static int tolua_function_CGameObject_virtual_EvaluateStatusTrigger(lua_State* L { CGameObject* self = (CGameObject*)tolua_tousertype_dynamic(L, 1, 0, "CGameObject"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_EvaluateStatusTrigger'", NULL); - int returnVal = self->virtual_EvaluateStatusTrigger((const CAITrigger*)tolua_tousertype_dynamic(L, 2, 0, "CAITrigger")); + int returnVal = (self->virtual_EvaluateStatusTrigger)((const CAITrigger*)tolua_tousertype_dynamic(L, 2, 0, "CAITrigger")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -193382,7 +197233,7 @@ static int tolua_function_CProjectile_AddEffect(lua_State* L) { CProjectile* self = (CProjectile*)tolua_tousertype_dynamic(L, 1, 0, "CProjectile"); if (!self) tolua_error(L, "invalid 'self' in calling function 'AddEffect'", NULL); - self->AddEffect((CGameEffect*)tolua_tousertype_dynamic(L, 2, 0, "CGameEffect")); + (self->AddEffect)((CGameEffect*)tolua_tousertype_dynamic(L, 2, 0, "CGameEffect")); return 0; } @@ -193390,7 +197241,7 @@ static int tolua_function_CProjectile_ClearEffects(lua_State* L) { CProjectile* self = (CProjectile*)tolua_tousertype_dynamic(L, 1, 0, "CProjectile"); if (!self) tolua_error(L, "invalid 'self' in calling function 'ClearEffects'", NULL); - self->ClearEffects(); + (self->ClearEffects)(); return 0; } @@ -193398,7 +197249,7 @@ static int tolua_function_CProjectile_DetermineHeight(lua_State* L) { CProjectile* self = (CProjectile*)tolua_tousertype_dynamic(L, 1, 0, "CProjectile"); if (!self) tolua_error(L, "invalid 'self' in calling function 'DetermineHeight'", NULL); - int returnVal = self->DetermineHeight((CGameObject*)tolua_tousertype_dynamic(L, 2, 0, "CGameObject")); + int returnVal = (self->DetermineHeight)((CGameObject*)tolua_tousertype_dynamic(L, 2, 0, "CGameObject")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -193407,7 +197258,7 @@ static int tolua_function_CProjectile_virtual_Fire(lua_State* L) { CProjectile* self = (CProjectile*)tolua_tousertype_dynamic(L, 1, 0, "CProjectile"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_Fire'", NULL); - self->virtual_Fire((CGameArea*)tolua_tousertype_dynamic(L, 2, 0, "CGameArea"), tolua_function_tointeger(L, 3, "virtual_Fire"), tolua_function_tointeger(L, 4, "virtual_Fire"), *(CPoint*)tolua_tousertype_dynamic(L, 5, 0, "CPoint"), tolua_function_tointeger(L, 6, "virtual_Fire"), tolua_function_tointeger<__int16>(L, 7, "virtual_Fire")); + (self->virtual_Fire)((CGameArea*)tolua_tousertype_dynamic(L, 2, 0, "CGameArea"), tolua_function_tointeger(L, 3, "virtual_Fire"), tolua_function_tointeger(L, 4, "virtual_Fire"), *(CPoint*)tolua_tousertype_dynamic(L, 5, 0, "CPoint"), tolua_function_tointeger(L, 6, "virtual_Fire"), tolua_function_tointeger<__int16>(L, 7, "virtual_Fire")); return 0; } @@ -193415,7 +197266,7 @@ static int tolua_function_CProjectile_virtual_OnArrival(lua_State* L) { CProjectile* self = (CProjectile*)tolua_tousertype_dynamic(L, 1, 0, "CProjectile"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_OnArrival'", NULL); - self->virtual_OnArrival(); + (self->virtual_OnArrival)(); return 0; } @@ -193423,7 +197274,7 @@ static int tolua_function_CProjectile_virtual_RemoveSelf(lua_State* L) { CProjectile* self = (CProjectile*)tolua_tousertype_dynamic(L, 1, 0, "CProjectile"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_RemoveSelf'", NULL); - self->virtual_RemoveSelf(); + (self->virtual_RemoveSelf)(); return 0; } @@ -193431,7 +197282,7 @@ static int tolua_function_CProjectile_virtual_DeliverEffects(lua_State* L) { CProjectile* self = (CProjectile*)tolua_tousertype_dynamic(L, 1, 0, "CProjectile"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_DeliverEffects'", NULL); - self->virtual_DeliverEffects(); + (self->virtual_DeliverEffects)(); return 0; } @@ -193439,7 +197290,7 @@ static int tolua_function_CProjectile_virtual_CallBack(lua_State* L) { CProjectile* self = (CProjectile*)tolua_tousertype_dynamic(L, 1, 0, "CProjectile"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_CallBack'", NULL); - self->virtual_CallBack(); + (self->virtual_CallBack)(); return 0; } @@ -193447,7 +197298,7 @@ static int tolua_function_CProjectile_virtual_GetDefaultRenderFlags(lua_State* L { CProjectile* self = (CProjectile*)tolua_tousertype_dynamic(L, 1, 0, "CProjectile"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_GetDefaultRenderFlags'", NULL); - unsigned int returnVal = self->virtual_GetDefaultRenderFlags(); + unsigned int returnVal = (self->virtual_GetDefaultRenderFlags)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -193456,7 +197307,7 @@ static int tolua_function_CProjectile_virtual_SetDefaultRenderFlags(lua_State* L { CProjectile* self = (CProjectile*)tolua_tousertype_dynamic(L, 1, 0, "CProjectile"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_SetDefaultRenderFlags'", NULL); - self->virtual_SetDefaultRenderFlags(tolua_function_tointeger(L, 2, "virtual_SetDefaultRenderFlags")); + (self->virtual_SetDefaultRenderFlags)(tolua_function_tointeger(L, 2, "virtual_SetDefaultRenderFlags")); return 0; } @@ -193464,7 +197315,7 @@ static int tolua_function_CProjectile_virtual_SaveProjectile(lua_State* L) { CProjectile* self = (CProjectile*)tolua_tousertype_dynamic(L, 1, 0, "CProjectile"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_SaveProjectile'", NULL); - int returnVal = self->virtual_SaveProjectile(); + int returnVal = (self->virtual_SaveProjectile)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -193473,7 +197324,7 @@ static int tolua_function_CProjectile_virtual_Marshal(lua_State* L) { CProjectile* self = (CProjectile*)tolua_tousertype_dynamic(L, 1, 0, "CProjectile"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_Marshal'", NULL); - self->virtual_Marshal((SProjectileWrapper*)tolua_tousertype_dynamic(L, 2, 0, "SProjectileWrapper")); + (self->virtual_Marshal)((SProjectileWrapper*)tolua_tousertype_dynamic(L, 2, 0, "SProjectileWrapper")); return 0; } @@ -193481,7 +197332,7 @@ static int tolua_function_CProjectile_virtual_GetTargetType(lua_State* L) { CProjectile* self = (CProjectile*)tolua_tousertype_dynamic(L, 1, 0, "CProjectile"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_GetTargetType'", NULL); - CAIObjectType* returnVal = self->virtual_GetTargetType(); + CAIObjectType* returnVal = (self->virtual_GetTargetType)(); tolua_pushusertype(L, (void*)returnVal, "CAIObjectType"); return 1; } @@ -193490,7 +197341,7 @@ static int tolua_function_CProjectile_virtual_SetTargetType(lua_State* L) { CProjectile* self = (CProjectile*)tolua_tousertype_dynamic(L, 1, 0, "CProjectile"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_SetTargetType'", NULL); - self->virtual_SetTargetType((const CAIObjectType*)tolua_tousertype_dynamic(L, 2, 0, "CAIObjectType")); + (self->virtual_SetTargetType)((const CAIObjectType*)tolua_tousertype_dynamic(L, 2, 0, "CAIObjectType")); return 0; } @@ -193498,7 +197349,7 @@ static int tolua_function_CProjectile_virtual_GetPreview(lua_State* L) { CProjectile* self = (CProjectile*)tolua_tousertype_dynamic(L, 1, 0, "CProjectile"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_GetPreview'", NULL); - self->virtual_GetPreview((CGameArea*)tolua_tousertype_dynamic(L, 2, 0, "CGameArea")); + (self->virtual_GetPreview)((CGameArea*)tolua_tousertype_dynamic(L, 2, 0, "CGameArea")); return 0; } @@ -194722,7 +198573,7 @@ static int tolua_function_CProjectileBAM_virtual_Move(lua_State* L) { CProjectileBAM* self = (CProjectileBAM*)tolua_tousertype_dynamic(L, 1, 0, "CProjectileBAM"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_Move'", NULL); - self->virtual_Move(*(CPoint*)tolua_tousertype_dynamic(L, 2, 0, "CPoint")); + (self->virtual_Move)(*(CPoint*)tolua_tousertype_dynamic(L, 2, 0, "CPoint")); return 0; } @@ -195708,7 +199559,7 @@ static int tolua_function_CProjectileSegment_virtual_Fire_2(lua_State* L) { CProjectileSegment* self = (CProjectileSegment*)tolua_tousertype_dynamic(L, 1, 0, "CProjectileSegment"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_Fire_2'", NULL); - self->virtual_Fire_2((CGameArea*)tolua_tousertype_dynamic(L, 2, 0, "CGameArea"), (const CPoint*)tolua_tousertype_dynamic(L, 3, 0, "CPoint"), tolua_function_tointeger(L, 4, "virtual_Fire_2")); + (self->virtual_Fire_2)((CGameArea*)tolua_tousertype_dynamic(L, 2, 0, "CGameArea"), (const CPoint*)tolua_tousertype_dynamic(L, 3, 0, "CPoint"), tolua_function_tointeger(L, 4, "virtual_Fire_2")); return 0; } @@ -196006,7 +199857,7 @@ static int tolua_function_CProjectileNewScorcher_virtual_ApplyEffectsToArea(lua_ { CProjectileNewScorcher* self = (CProjectileNewScorcher*)tolua_tousertype_dynamic(L, 1, 0, "CProjectileNewScorcher"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_ApplyEffectsToArea'", NULL); - self->virtual_ApplyEffectsToArea(); + (self->virtual_ApplyEffectsToArea)(); return 0; } @@ -196014,7 +199865,7 @@ static int tolua_function_CProjectileNewScorcher_virtual_ApplyEffectsToTarget(lu { CProjectileNewScorcher* self = (CProjectileNewScorcher*)tolua_tousertype_dynamic(L, 1, 0, "CProjectileNewScorcher"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_ApplyEffectsToTarget'", NULL); - self->virtual_ApplyEffectsToTarget((int*)tolua_tousertype_dynamic(L, 2, 0, "Primitive"), tolua_function_toboolean(L, 3, "virtual_ApplyEffectsToTarget")); + (self->virtual_ApplyEffectsToTarget)((int*)tolua_tousertype_dynamic(L, 2, 0, "Primitive"), tolua_function_toboolean(L, 3, "virtual_ApplyEffectsToTarget")); return 0; } @@ -196058,7 +199909,7 @@ static int tolua_function_CProjectileMushroom_virtual_Fire_2(lua_State* L) { CProjectileMushroom* self = (CProjectileMushroom*)tolua_tousertype_dynamic(L, 1, 0, "CProjectileMushroom"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_Fire_2'", NULL); - self->virtual_Fire_2((CGameArea*)tolua_tousertype_dynamic(L, 2, 0, "CGameArea"), *(CPoint*)tolua_tousertype_dynamic(L, 3, 0, "CPoint")); + (self->virtual_Fire_2)((CGameArea*)tolua_tousertype_dynamic(L, 2, 0, "CGameArea"), *(CPoint*)tolua_tousertype_dynamic(L, 3, 0, "CPoint")); return 0; } @@ -197428,7 +201279,7 @@ static int tolua_function_CAITrigger_OfType(lua_State* L) { CAITrigger* self = (CAITrigger*)tolua_tousertype_dynamic(L, 1, 0, "CAITrigger"); if (!self) tolua_error(L, "invalid 'self' in calling function 'OfType'", NULL); - byte returnVal = self->OfType((const CAITrigger*)tolua_tousertype_dynamic(L, 2, 0, "CAITrigger")); + byte returnVal = (self->OfType)((const CAITrigger*)tolua_tousertype_dynamic(L, 2, 0, "CAITrigger")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -198557,7 +202408,7 @@ static int tolua_function_CGameAIBase_ApplyEffectToParty(lua_State* L) { CGameAIBase* self = (CGameAIBase*)tolua_tousertype_dynamic(L, 1, 0, "CGameAIBase"); if (!self) tolua_error(L, "invalid 'self' in calling function 'ApplyEffectToParty'", NULL); - self->ApplyEffectToParty((CGameEffect*)tolua_tousertype_dynamic(L, 2, 0, "CGameEffect")); + (self->ApplyEffectToParty)((CGameEffect*)tolua_tousertype_dynamic(L, 2, 0, "CGameEffect")); return 0; } @@ -198565,7 +202416,7 @@ static int tolua_function_CGameAIBase_ForceSpell(lua_State* L) { CGameAIBase* self = (CGameAIBase*)tolua_tousertype_dynamic(L, 1, 0, "CGameAIBase"); if (!self) tolua_error(L, "invalid 'self' in calling function 'ForceSpell'", NULL); - short returnVal = self->ForceSpell((CGameSprite*)tolua_tousertype_dynamic(L, 2, 0, "CGameSprite")); + short returnVal = (self->ForceSpell)((CGameSprite*)tolua_tousertype_dynamic(L, 2, 0, "CGameSprite")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -198574,7 +202425,7 @@ static int tolua_function_CGameAIBase_ForceSpellPoint(lua_State* L) { CGameAIBase* self = (CGameAIBase*)tolua_tousertype_dynamic(L, 1, 0, "CGameAIBase"); if (!self) tolua_error(L, "invalid 'self' in calling function 'ForceSpellPoint'", NULL); - short returnVal = self->ForceSpellPoint(); + short returnVal = (self->ForceSpellPoint)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -198583,7 +202434,7 @@ static int tolua_function_CGameAIBase_GetTargetShare(lua_State* L) { CGameAIBase* self = (CGameAIBase*)tolua_tousertype_dynamic(L, 1, 0, "CGameAIBase"); if (!self) tolua_error(L, "invalid 'self' in calling function 'GetTargetShare'", NULL); - CGameObject* returnVal = self->GetTargetShare(); + CGameObject* returnVal = (self->GetTargetShare)(); tolua_pushusertype(L, (void*)returnVal, "CGameObject"); return 1; } @@ -198592,7 +202443,7 @@ static int tolua_function_CGameAIBase_GetTargetShareType_Overload_AIType_ObjectT { CGameAIBase* self = (CGameAIBase*)tolua_tousertype_dynamic(L, 1, 0, "CGameAIBase"); if (!self) tolua_error(L, "invalid 'self' in calling function 'GetTargetShareType_Overload_AIType_ObjectType'", NULL); - CGameObject* returnVal = self->GetTargetShareType((CAIObjectType*)tolua_tousertype_dynamic(L, 2, 0, "CAIObjectType"), tolua_function_tointeger(L, 3, "GetTargetShareType_Overload_AIType_ObjectType")); + CGameObject* returnVal = (self->GetTargetShareType)((CAIObjectType*)tolua_tousertype_dynamic(L, 2, 0, "CAIObjectType"), tolua_function_tointeger(L, 3, "GetTargetShareType_Overload_AIType_ObjectType")); tolua_pushusertype(L, (void*)returnVal, "CGameObject"); return 1; } @@ -198601,7 +202452,7 @@ static int tolua_function_CGameAIBase_GetTargetShareType_Overload_ObjectType(lua { CGameAIBase* self = (CGameAIBase*)tolua_tousertype_dynamic(L, 1, 0, "CGameAIBase"); if (!self) tolua_error(L, "invalid 'self' in calling function 'GetTargetShareType_Overload_ObjectType'", NULL); - CGameObject* returnVal = self->GetTargetShareType(tolua_function_tointeger(L, 2, "GetTargetShareType_Overload_ObjectType")); + CGameObject* returnVal = (self->GetTargetShareType)(tolua_function_tointeger(L, 2, "GetTargetShareType_Overload_ObjectType")); tolua_pushusertype(L, (void*)returnVal, "CGameObject"); return 1; } @@ -198610,7 +202461,7 @@ static int tolua_function_CGameAIBase_virtual_ClearActions(lua_State* L) { CGameAIBase* self = (CGameAIBase*)tolua_tousertype_dynamic(L, 1, 0, "CGameAIBase"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_ClearActions'", NULL); - self->virtual_ClearActions(tolua_function_tointeger(L, 2, "virtual_ClearActions")); + (self->virtual_ClearActions)(tolua_function_tointeger(L, 2, "virtual_ClearActions")); return 0; } @@ -198618,7 +202469,7 @@ static int tolua_function_CGameAIBase_virtual_UpdateTarget(lua_State* L) { CGameAIBase* self = (CGameAIBase*)tolua_tousertype_dynamic(L, 1, 0, "CGameAIBase"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_UpdateTarget'", NULL); - self->virtual_UpdateTarget((CGameObject*)tolua_tousertype_dynamic(L, 2, 0, "CGameObject")); + (self->virtual_UpdateTarget)((CGameObject*)tolua_tousertype_dynamic(L, 2, 0, "CGameObject")); return 0; } @@ -198626,7 +202477,7 @@ static int tolua_function_CGameAIBase_virtual_AddAction(lua_State* L) { CGameAIBase* self = (CGameAIBase*)tolua_tousertype_dynamic(L, 1, 0, "CGameAIBase"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_AddAction'", NULL); - self->virtual_AddAction((const CAIAction*)tolua_tousertype_dynamic(L, 2, 0, "CAIAction")); + (self->virtual_AddAction)((const CAIAction*)tolua_tousertype_dynamic(L, 2, 0, "CAIAction")); return 0; } @@ -198634,7 +202485,7 @@ static int tolua_function_CGameAIBase_virtual_AddEffect(lua_State* L) { CGameAIBase* self = (CGameAIBase*)tolua_tousertype_dynamic(L, 1, 0, "CGameAIBase"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_AddEffect'", NULL); - self->virtual_AddEffect((CGameEffect*)tolua_tousertype_dynamic(L, 2, 0, "CGameEffect"), tolua_function_tointeger(L, 3, "virtual_AddEffect"), tolua_function_tointeger(L, 4, "virtual_AddEffect"), tolua_function_tointeger(L, 5, "virtual_AddEffect")); + (self->virtual_AddEffect)((CGameEffect*)tolua_tousertype_dynamic(L, 2, 0, "CGameEffect"), tolua_function_tointeger(L, 3, "virtual_AddEffect"), tolua_function_tointeger(L, 4, "virtual_AddEffect"), tolua_function_tointeger(L, 5, "virtual_AddEffect")); return 0; } @@ -198642,7 +202493,7 @@ static int tolua_function_CGameAIBase_virtual_ClearAI(lua_State* L) { CGameAIBase* self = (CGameAIBase*)tolua_tousertype_dynamic(L, 1, 0, "CGameAIBase"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_ClearAI'", NULL); - self->virtual_ClearAI(tolua_function_tointeger(L, 2, "virtual_ClearAI")); + (self->virtual_ClearAI)(tolua_function_tointeger(L, 2, "virtual_ClearAI")); return 0; } @@ -198650,7 +202501,7 @@ static int tolua_function_CGameAIBase_virtual_DoAction(lua_State* L) { CGameAIBase* self = (CGameAIBase*)tolua_tousertype_dynamic(L, 1, 0, "CGameAIBase"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_DoAction'", NULL); - self->virtual_DoAction(); + (self->virtual_DoAction)(); return 0; } @@ -198658,7 +202509,7 @@ static int tolua_function_CGameAIBase_virtual_ExecuteAction(lua_State* L) { CGameAIBase* self = (CGameAIBase*)tolua_tousertype_dynamic(L, 1, 0, "CGameAIBase"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_ExecuteAction'", NULL); - __int16 returnVal = self->virtual_ExecuteAction(); + __int16 returnVal = (self->virtual_ExecuteAction)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -198667,7 +202518,7 @@ static int tolua_function_CGameAIBase_virtual_InsertAction(lua_State* L) { CGameAIBase* self = (CGameAIBase*)tolua_tousertype_dynamic(L, 1, 0, "CGameAIBase"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_InsertAction'", NULL); - self->virtual_InsertAction((const CAIAction*)tolua_tousertype_dynamic(L, 2, 0, "CAIAction")); + (self->virtual_InsertAction)((const CAIAction*)tolua_tousertype_dynamic(L, 2, 0, "CAIAction")); return 0; } @@ -198675,7 +202526,7 @@ static int tolua_function_CGameAIBase_virtual_ProcessAI(lua_State* L) { CGameAIBase* self = (CGameAIBase*)tolua_tousertype_dynamic(L, 1, 0, "CGameAIBase"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_ProcessAI'", NULL); - self->virtual_ProcessAI(); + (self->virtual_ProcessAI)(); return 0; } @@ -198683,7 +202534,7 @@ static int tolua_function_CGameAIBase_virtual_SetCurrAction(lua_State* L) { CGameAIBase* self = (CGameAIBase*)tolua_tousertype_dynamic(L, 1, 0, "CGameAIBase"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_SetCurrAction'", NULL); - self->virtual_SetCurrAction((const CAIAction*)tolua_tousertype_dynamic(L, 2, 0, "CAIAction")); + (self->virtual_SetCurrAction)((const CAIAction*)tolua_tousertype_dynamic(L, 2, 0, "CAIAction")); return 0; } @@ -198691,7 +202542,7 @@ static int tolua_function_CGameAIBase_virtual_SetScript(lua_State* L) { CGameAIBase* self = (CGameAIBase*)tolua_tousertype_dynamic(L, 1, 0, "CGameAIBase"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_SetScript'", NULL); - self->virtual_SetScript(tolua_function_tointeger<__int16>(L, 2, "virtual_SetScript"), (CAIScript*)tolua_tousertype_dynamic(L, 3, 0, "CAIScript")); + (self->virtual_SetScript)(tolua_function_tointeger<__int16>(L, 2, "virtual_SetScript"), (CAIScript*)tolua_tousertype_dynamic(L, 3, 0, "CAIScript")); return 0; } @@ -198699,7 +202550,7 @@ static int tolua_function_CGameAIBase_virtual_GetVisualRange(lua_State* L) { CGameAIBase* self = (CGameAIBase*)tolua_tousertype_dynamic(L, 1, 0, "CGameAIBase"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_GetVisualRange'", NULL); - __int16 returnVal = self->virtual_GetVisualRange(); + __int16 returnVal = (self->virtual_GetVisualRange)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -198708,7 +202559,7 @@ static int tolua_function_CGameAIBase_virtual_GetAttackRange(lua_State* L) { CGameAIBase* self = (CGameAIBase*)tolua_tousertype_dynamic(L, 1, 0, "CGameAIBase"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_GetAttackRange'", NULL); - __int16 returnVal = self->virtual_GetAttackRange(); + __int16 returnVal = (self->virtual_GetAttackRange)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -198717,7 +202568,7 @@ static int tolua_function_CGameAIBase_virtual_GetVisibleTerrainTable(lua_State* { CGameAIBase* self = (CGameAIBase*)tolua_tousertype_dynamic(L, 1, 0, "CGameAIBase"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_GetVisibleTerrainTable'", NULL); - byte* returnVal = self->virtual_GetVisibleTerrainTable(); + byte* returnVal = (self->virtual_GetVisibleTerrainTable)(); tolua_pushusertype(L, (void*)returnVal, "Primitive"); return 1; } @@ -198726,7 +202577,7 @@ static int tolua_function_CGameAIBase_virtual_GetTerrainTable(lua_State* L) { CGameAIBase* self = (CGameAIBase*)tolua_tousertype_dynamic(L, 1, 0, "CGameAIBase"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_GetTerrainTable'", NULL); - const unsigned __int8* returnVal = self->virtual_GetTerrainTable(); + const unsigned __int8* returnVal = (self->virtual_GetTerrainTable)(); tolua_pushusertype(L, (void*)returnVal, "Primitive<__int8>"); return 1; } @@ -198735,7 +202586,7 @@ static int tolua_function_CGameAIBase_virtual_QuickDecode(lua_State* L) { CGameAIBase* self = (CGameAIBase*)tolua_tousertype_dynamic(L, 1, 0, "CGameAIBase"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_QuickDecode'", NULL); - int returnVal = self->virtual_QuickDecode((CAITrigger*)tolua_tousertype_dynamic(L, 2, 0, "CAITrigger"), (CGameSprite**)tolua_tousertype_dynamic(L, 3, 0, "Pointer")); + int returnVal = (self->virtual_QuickDecode)((CAITrigger*)tolua_tousertype_dynamic(L, 2, 0, "CAITrigger"), (CGameSprite**)tolua_tousertype_dynamic(L, 3, 0, "Pointer")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -198744,7 +202595,7 @@ static int tolua_function_CGameAIBase_virtual_GetHelpRange(lua_State* L) { CGameAIBase* self = (CGameAIBase*)tolua_tousertype_dynamic(L, 1, 0, "CGameAIBase"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_GetHelpRange'", NULL); - __int16 returnVal = self->virtual_GetHelpRange(); + __int16 returnVal = (self->virtual_GetHelpRange)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -198753,7 +202604,7 @@ static int tolua_function_CGameAIBase_virtual_ApplyTriggers(lua_State* L) { CGameAIBase* self = (CGameAIBase*)tolua_tousertype_dynamic(L, 1, 0, "CGameAIBase"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_ApplyTriggers'", NULL); - self->virtual_ApplyTriggers(); + (self->virtual_ApplyTriggers)(); return 0; } @@ -198761,7 +202612,7 @@ static int tolua_function_CGameAIBase_virtual_AutoPause(lua_State* L) { CGameAIBase* self = (CGameAIBase*)tolua_tousertype_dynamic(L, 1, 0, "CGameAIBase"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_AutoPause'", NULL); - self->virtual_AutoPause(tolua_function_tointeger(L, 2, "virtual_AutoPause")); + (self->virtual_AutoPause)(tolua_function_tointeger(L, 2, "virtual_AutoPause")); return 0; } @@ -198769,7 +202620,7 @@ static int tolua_function_CGameAIBase_virtual_GetCanSeeInvisible(lua_State* L) { CGameAIBase* self = (CGameAIBase*)tolua_tousertype_dynamic(L, 1, 0, "CGameAIBase"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_GetCanSeeInvisible'", NULL); - int returnVal = self->virtual_GetCanSeeInvisible(); + int returnVal = (self->virtual_GetCanSeeInvisible)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -198778,7 +202629,7 @@ static int tolua_function_CGameAIBase_virtual_OnActionRemoval(lua_State* L) { CGameAIBase* self = (CGameAIBase*)tolua_tousertype_dynamic(L, 1, 0, "CGameAIBase"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_OnActionRemoval'", NULL); - self->virtual_OnActionRemoval((CAIAction*)tolua_tousertype_dynamic(L, 2, 0, "CAIAction")); + (self->virtual_OnActionRemoval)((CAIAction*)tolua_tousertype_dynamic(L, 2, 0, "CAIAction")); return 0; } @@ -198786,7 +202637,7 @@ static int tolua_function_CGameAIBase_virtual_GetBounding(lua_State* L) { CGameAIBase* self = (CGameAIBase*)tolua_tousertype_dynamic(L, 1, 0, "CGameAIBase"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_GetBounding'", NULL); - CRect* returnVal = self->virtual_GetBounding(); + CRect* returnVal = (self->virtual_GetBounding)(); tolua_pushusertype(L, (void*)returnVal, "CRect"); return 1; } @@ -199567,7 +203418,7 @@ static int tolua_function_CGameTrigger_SetDrawPoly(lua_State* L) { CGameTrigger* self = (CGameTrigger*)tolua_tousertype_dynamic(L, 1, 0, "CGameTrigger"); if (!self) tolua_error(L, "invalid 'self' in calling function 'SetDrawPoly'", NULL); - self->SetDrawPoly(tolua_function_tointeger(L, 2, "SetDrawPoly")); + (self->SetDrawPoly)(tolua_function_tointeger(L, 2, "SetDrawPoly")); return 0; } @@ -199575,7 +203426,7 @@ static int tolua_function_CGameTrigger_virtual_IsOverActivate(lua_State* L) { CGameTrigger* self = (CGameTrigger*)tolua_tousertype_dynamic(L, 1, 0, "CGameTrigger"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_IsOverActivate'", NULL); - int returnVal = self->virtual_IsOverActivate((const CPoint*)tolua_tousertype_dynamic(L, 2, 0, "CPoint")); + int returnVal = (self->virtual_IsOverActivate)((const CPoint*)tolua_tousertype_dynamic(L, 2, 0, "CPoint")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -206394,7 +210245,7 @@ static int tolua_function_CGameSprite_Copy(lua_State* L) { CGameSprite* self = (CGameSprite*)tolua_tousertype_dynamic(L, 1, 0, "CGameSprite"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Copy'", NULL); - CGameSprite* returnVal = self->Copy(tolua_function_tointeger(L, 2, "Copy"), tolua_function_tointeger(L, 3, "Copy"), tolua_function_tointeger(L, 4, "Copy"), tolua_function_tointeger(L, 5, "Copy")); + CGameSprite* returnVal = (self->Copy)(tolua_function_tointeger(L, 2, "Copy"), tolua_function_tointeger(L, 3, "Copy"), tolua_function_tointeger(L, 4, "Copy"), tolua_function_tointeger(L, 5, "Copy")); tolua_pushusertype(L, (void*)returnVal, "CGameSprite"); return 1; } @@ -206403,7 +210254,7 @@ static int tolua_function_CGameSprite_MakeGlobal(lua_State* L) { CGameSprite* self = (CGameSprite*)tolua_tousertype_dynamic(L, 1, 0, "CGameSprite"); if (!self) tolua_error(L, "invalid 'self' in calling function 'MakeGlobal'", NULL); - self->MakeGlobal(tolua_function_toboolean(L, 2, "MakeGlobal")); + (self->MakeGlobal)(tolua_function_toboolean(L, 2, "MakeGlobal")); return 0; } @@ -206411,7 +210262,7 @@ static int tolua_function_CGameSprite_CheckQuickLists(lua_State* L) { CGameSprite* self = (CGameSprite*)tolua_tousertype_dynamic(L, 1, 0, "CGameSprite"); if (!self) tolua_error(L, "invalid 'self' in calling function 'CheckQuickLists'", NULL); - self->CheckQuickLists((CAbilityId*)tolua_tousertype_dynamic(L, 2, 0, "CAbilityId"), tolua_function_tointeger(L, 3, "CheckQuickLists"), tolua_function_tointeger(L, 4, "CheckQuickLists"), tolua_function_tointeger(L, 5, "CheckQuickLists")); + (self->CheckQuickLists)((CAbilityId*)tolua_tousertype_dynamic(L, 2, 0, "CAbilityId"), tolua_function_tointeger(L, 3, "CheckQuickLists"), tolua_function_tointeger(L, 4, "CheckQuickLists"), tolua_function_tointeger(L, 5, "CheckQuickLists")); return 0; } @@ -206419,7 +210270,7 @@ static int tolua_function_CGameSprite_Damage(lua_State* L) { CGameSprite* self = (CGameSprite*)tolua_tousertype_dynamic(L, 1, 0, "CGameSprite"); if (!self) tolua_error(L, "invalid 'self' in calling function 'Damage'", NULL); - CGameEffectDamage* returnVal = self->Damage((CItem*)tolua_tousertype_dynamic(L, 2, 0, "CItem"), (CItem*)tolua_tousertype_dynamic(L, 3, 0, "CItem"), tolua_function_tointeger(L, 4, "Damage"), tolua_function_tointeger(L, 5, "Damage"), (CAIObjectType*)tolua_tousertype_dynamic(L, 6, 0, "CAIObjectType"), tolua_function_tointeger(L, 7, "Damage"), tolua_function_tointeger(L, 8, "Damage"), (CGameSprite*)tolua_tousertype_dynamic(L, 9, 0, "CGameSprite"), tolua_function_tointeger(L, 10, "Damage")); + CGameEffectDamage* returnVal = (self->Damage)((CItem*)tolua_tousertype_dynamic(L, 2, 0, "CItem"), (CItem*)tolua_tousertype_dynamic(L, 3, 0, "CItem"), tolua_function_tointeger(L, 4, "Damage"), tolua_function_tointeger(L, 5, "Damage"), (CAIObjectType*)tolua_tousertype_dynamic(L, 6, 0, "CAIObjectType"), tolua_function_tointeger(L, 7, "Damage"), tolua_function_tointeger(L, 8, "Damage"), (CGameSprite*)tolua_tousertype_dynamic(L, 9, 0, "CGameSprite"), tolua_function_tointeger(L, 10, "Damage")); tolua_pushusertype(L, (void*)returnVal, "CGameEffectDamage"); return 1; } @@ -206428,7 +210279,7 @@ static int tolua_function_CGameSprite_FeedBack(lua_State* L) { CGameSprite* self = (CGameSprite*)tolua_tousertype_dynamic(L, 1, 0, "CGameSprite"); if (!self) tolua_error(L, "invalid 'self' in calling function 'FeedBack'", NULL); - self->FeedBack(tolua_function_tointeger(L, 2, "FeedBack"), tolua_function_tointeger(L, 3, "FeedBack"), tolua_function_tointeger(L, 4, "FeedBack"), tolua_function_tointeger(L, 5, "FeedBack"), tolua_function_tointeger(L, 6, "FeedBack"), tolua_function_tointeger(L, 7, "FeedBack"), (CString*)tolua_tousertype_dynamic(L, 8, 0, "CString")); + (self->FeedBack)(tolua_function_tointeger(L, 2, "FeedBack"), tolua_function_tointeger(L, 3, "FeedBack"), tolua_function_tointeger(L, 4, "FeedBack"), tolua_function_tointeger(L, 5, "FeedBack"), tolua_function_tointeger(L, 6, "FeedBack"), tolua_function_tointeger(L, 7, "FeedBack"), (CString*)tolua_tousertype_dynamic(L, 8, 0, "CString")); return 0; } @@ -206436,7 +210287,7 @@ static int tolua_function_CGameSprite_GetActiveStats(lua_State* L) { CGameSprite* self = (CGameSprite*)tolua_tousertype_dynamic(L, 1, 0, "CGameSprite"); if (!self) tolua_error(L, "invalid 'self' in calling function 'GetActiveStats'", NULL); - CDerivedStats* returnVal = self->GetActiveStats(); + CDerivedStats* returnVal = (self->GetActiveStats)(); tolua_pushusertype(L, (void*)returnVal, "CDerivedStats"); return 1; } @@ -206445,7 +210296,7 @@ static int tolua_function_CGameSprite_GetCasterLevel(lua_State* L) { CGameSprite* self = (CGameSprite*)tolua_tousertype_dynamic(L, 1, 0, "CGameSprite"); if (!self) tolua_error(L, "invalid 'self' in calling function 'GetCasterLevel'", NULL); - short returnVal = self->GetCasterLevel((CSpell*)tolua_tousertype_dynamic(L, 2, 0, "CSpell"), tolua_function_tointeger(L, 3, "GetCasterLevel")); + short returnVal = (self->GetCasterLevel)((CSpell*)tolua_tousertype_dynamic(L, 2, 0, "CSpell"), tolua_function_tointeger(L, 3, "GetCasterLevel")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -206454,7 +210305,7 @@ static int tolua_function_CGameSprite_GetInternalButtonList(lua_State* L) { CGameSprite* self = (CGameSprite*)tolua_tousertype_dynamic(L, 1, 0, "CGameSprite"); if (!self) tolua_error(L, "invalid 'self' in calling function 'GetInternalButtonList'", NULL); - CGameButtonList* returnVal = self->GetInternalButtonList(); + CGameButtonList* returnVal = (self->GetInternalButtonList)(); tolua_pushusertype(L, (void*)returnVal, "CGameButtonList"); return 1; } @@ -206463,7 +210314,7 @@ static int tolua_function_CGameSprite_GetKitMask(lua_State* L) { CGameSprite* self = (CGameSprite*)tolua_tousertype_dynamic(L, 1, 0, "CGameSprite"); if (!self) tolua_error(L, "invalid 'self' in calling function 'GetKitMask'", NULL); - __int32 returnVal = self->GetKitMask(); + __int32 returnVal = (self->GetKitMask)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -206472,7 +210323,7 @@ static int tolua_function_CGameSprite_GetKnownSpellInnate(lua_State* L) { CGameSprite* self = (CGameSprite*)tolua_tousertype_dynamic(L, 1, 0, "CGameSprite"); if (!self) tolua_error(L, "invalid 'self' in calling function 'GetKnownSpellInnate'", NULL); - CCreatureFileKnownSpell* returnVal = self->GetKnownSpellInnate(tolua_function_tointeger(L, 2, "GetKnownSpellInnate"), tolua_function_tointeger(L, 3, "GetKnownSpellInnate")); + CCreatureFileKnownSpell* returnVal = (self->GetKnownSpellInnate)(tolua_function_tointeger(L, 2, "GetKnownSpellInnate"), tolua_function_tointeger(L, 3, "GetKnownSpellInnate")); tolua_pushusertype(L, (void*)returnVal, "CCreatureFileKnownSpell"); return 1; } @@ -206481,7 +210332,7 @@ static int tolua_function_CGameSprite_GetKnownSpellMage(lua_State* L) { CGameSprite* self = (CGameSprite*)tolua_tousertype_dynamic(L, 1, 0, "CGameSprite"); if (!self) tolua_error(L, "invalid 'self' in calling function 'GetKnownSpellMage'", NULL); - CCreatureFileKnownSpell* returnVal = self->GetKnownSpellMage(tolua_function_tointeger(L, 2, "GetKnownSpellMage"), tolua_function_tointeger(L, 3, "GetKnownSpellMage")); + CCreatureFileKnownSpell* returnVal = (self->GetKnownSpellMage)(tolua_function_tointeger(L, 2, "GetKnownSpellMage"), tolua_function_tointeger(L, 3, "GetKnownSpellMage")); tolua_pushusertype(L, (void*)returnVal, "CCreatureFileKnownSpell"); return 1; } @@ -206490,7 +210341,7 @@ static int tolua_function_CGameSprite_GetKnownSpellPriest(lua_State* L) { CGameSprite* self = (CGameSprite*)tolua_tousertype_dynamic(L, 1, 0, "CGameSprite"); if (!self) tolua_error(L, "invalid 'self' in calling function 'GetKnownSpellPriest'", NULL); - CCreatureFileKnownSpell* returnVal = self->GetKnownSpellPriest(tolua_function_tointeger(L, 2, "GetKnownSpellPriest"), tolua_function_tointeger(L, 3, "GetKnownSpellPriest")); + CCreatureFileKnownSpell* returnVal = (self->GetKnownSpellPriest)(tolua_function_tointeger(L, 2, "GetKnownSpellPriest"), tolua_function_tointeger(L, 3, "GetKnownSpellPriest")); tolua_pushusertype(L, (void*)returnVal, "CCreatureFileKnownSpell"); return 1; } @@ -206499,7 +210350,7 @@ static int tolua_function_CGameSprite_GetLauncher(lua_State* L) { CGameSprite* self = (CGameSprite*)tolua_tousertype_dynamic(L, 1, 0, "CGameSprite"); if (!self) tolua_error(L, "invalid 'self' in calling function 'GetLauncher'", NULL); - CItem* returnVal = self->GetLauncher((Item_ability_st*)tolua_tousertype_dynamic(L, 2, 0, "Item_ability_st"), (short*)tolua_tousertype_dynamic(L, 3, 0, "Primitive")); + CItem* returnVal = (self->GetLauncher)((Item_ability_st*)tolua_tousertype_dynamic(L, 2, 0, "Item_ability_st"), (short*)tolua_tousertype_dynamic(L, 3, 0, "Primitive")); tolua_pushusertype(L, (void*)returnVal, "CItem"); return 1; } @@ -206508,7 +210359,7 @@ static int tolua_function_CGameSprite_GetLauncherSlot(lua_State* L) { CGameSprite* self = (CGameSprite*)tolua_tousertype_dynamic(L, 1, 0, "CGameSprite"); if (!self) tolua_error(L, "invalid 'self' in calling function 'GetLauncherSlot'", NULL); - short returnVal = self->GetLauncherSlot(tolua_function_tointeger(L, 2, "GetLauncherSlot"), tolua_function_tointeger(L, 3, "GetLauncherSlot")); + short returnVal = (self->GetLauncherSlot)(tolua_function_tointeger(L, 2, "GetLauncherSlot"), tolua_function_tointeger(L, 3, "GetLauncherSlot")); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -206517,7 +210368,7 @@ static int tolua_function_CGameSprite_GetName(lua_State* L) { CGameSprite* self = (CGameSprite*)tolua_tousertype_dynamic(L, 1, 0, "CGameSprite"); if (!self) tolua_error(L, "invalid 'self' in calling function 'GetName'", NULL); - CString* returnVal = self->GetName(tolua_function_tointeger(L, 2, "GetName")); + CString* returnVal = (self->GetName)(tolua_function_tointeger(L, 2, "GetName")); tolua_pushusertype(L, (void*)returnVal, "CString"); return 1; } @@ -206526,7 +210377,7 @@ static int tolua_function_CGameSprite_GetNameRef(lua_State* L) { CGameSprite* self = (CGameSprite*)tolua_tousertype_dynamic(L, 1, 0, "CGameSprite"); if (!self) tolua_error(L, "invalid 'self' in calling function 'GetNameRef'", NULL); - uint returnVal = self->GetNameRef(); + uint returnVal = (self->GetNameRef)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -206535,7 +210386,7 @@ static int tolua_function_CGameSprite_GetQuickButtons(lua_State* L) { CGameSprite* self = (CGameSprite*)tolua_tousertype_dynamic(L, 1, 0, "CGameSprite"); if (!self) tolua_error(L, "invalid 'self' in calling function 'GetQuickButtons'", NULL); - CGameButtonList* returnVal = self->GetQuickButtons(tolua_function_tointeger(L, 2, "GetQuickButtons"), tolua_function_tointeger(L, 3, "GetQuickButtons")); + CGameButtonList* returnVal = (self->GetQuickButtons)(tolua_function_tointeger(L, 2, "GetQuickButtons"), tolua_function_tointeger(L, 3, "GetQuickButtons")); tolua_pushusertype(L, (void*)returnVal, "CGameButtonList"); return 1; } @@ -206544,7 +210395,7 @@ static int tolua_function_CGameSprite_PlaySound(lua_State* L) { CGameSprite* self = (CGameSprite*)tolua_tousertype_dynamic(L, 1, 0, "CGameSprite"); if (!self) tolua_error(L, "invalid 'self' in calling function 'PlaySound'", NULL); - self->PlaySound(tolua_function_tointeger(L, 2, "PlaySound"), tolua_function_tointeger(L, 3, "PlaySound"), tolua_function_tointeger(L, 4, "PlaySound"), tolua_function_tointeger(L, 5, "PlaySound")); + (self->PlaySound)(tolua_function_tointeger(L, 2, "PlaySound"), tolua_function_tointeger(L, 3, "PlaySound"), tolua_function_tointeger(L, 4, "PlaySound"), tolua_function_tointeger(L, 5, "PlaySound")); return 0; } @@ -206552,7 +210403,7 @@ static int tolua_function_CGameSprite_ReadyOffInternalList(lua_State* L) { CGameSprite* self = (CGameSprite*)tolua_tousertype_dynamic(L, 1, 0, "CGameSprite"); if (!self) tolua_error(L, "invalid 'self' in calling function 'ReadyOffInternalList'", NULL); - self->ReadyOffInternalList((CButtonData*)tolua_tousertype_dynamic(L, 2, 0, "CButtonData"), tolua_function_toboolean(L, 3, "ReadyOffInternalList")); + (self->ReadyOffInternalList)((CButtonData*)tolua_tousertype_dynamic(L, 2, 0, "CButtonData"), tolua_function_toboolean(L, 3, "ReadyOffInternalList")); return 0; } @@ -206560,7 +210411,7 @@ static int tolua_function_CGameSprite_ReadySpell(lua_State* L) { CGameSprite* self = (CGameSprite*)tolua_tousertype_dynamic(L, 1, 0, "CGameSprite"); if (!self) tolua_error(L, "invalid 'self' in calling function 'ReadySpell'", NULL); - self->ReadySpell((CButtonData*)tolua_tousertype_dynamic(L, 2, 0, "CButtonData"), tolua_function_toboolean(L, 3, "ReadySpell")); + (self->ReadySpell)((CButtonData*)tolua_tousertype_dynamic(L, 2, 0, "CButtonData"), tolua_function_toboolean(L, 3, "ReadySpell")); return 0; } @@ -206568,7 +210419,7 @@ static int tolua_function_CGameSprite_SpellPoint(lua_State* L) { CGameSprite* self = (CGameSprite*)tolua_tousertype_dynamic(L, 1, 0, "CGameSprite"); if (!self) tolua_error(L, "invalid 'self' in calling function 'SpellPoint'", NULL); - short returnVal = self->SpellPoint(); + short returnVal = (self->SpellPoint)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -206577,7 +210428,7 @@ static int tolua_function_CGameSprite_UpdateTarget(lua_State* L) { CGameSprite* self = (CGameSprite*)tolua_tousertype_dynamic(L, 1, 0, "CGameSprite"); if (!self) tolua_error(L, "invalid 'self' in calling function 'UpdateTarget'", NULL); - self->UpdateTarget((CGameObject*)tolua_tousertype_dynamic(L, 2, 0, "CGameObject")); + (self->UpdateTarget)((CGameObject*)tolua_tousertype_dynamic(L, 2, 0, "CGameObject")); return 0; } @@ -206585,7 +210436,7 @@ static int tolua_function_CGameSprite_MakeLocal(lua_State* L) { CGameSprite* self = (CGameSprite*)tolua_tousertype_dynamic(L, 1, 0, "CGameSprite"); if (!self) tolua_error(L, "invalid 'self' in calling function 'MakeLocal'", NULL); - self->MakeLocal(); + (self->MakeLocal)(); return 0; } @@ -206593,7 +210444,7 @@ static int tolua_function_CGameSprite_virtual_SetTarget_2(lua_State* L) { CGameSprite* self = (CGameSprite*)tolua_tousertype_dynamic(L, 1, 0, "CGameSprite"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_SetTarget_2'", NULL); - self->virtual_SetTarget_2((const CPoint*)tolua_tousertype_dynamic(L, 2, 0, "CPoint"), tolua_function_tointeger(L, 3, "virtual_SetTarget_2")); + (self->virtual_SetTarget_2)((const CPoint*)tolua_tousertype_dynamic(L, 2, 0, "CPoint"), tolua_function_tointeger(L, 3, "virtual_SetTarget_2")); return 0; } @@ -206601,7 +210452,7 @@ static int tolua_function_CGameSprite_virtual_SetAIType_2(lua_State* L) { CGameSprite* self = (CGameSprite*)tolua_tousertype_dynamic(L, 1, 0, "CGameSprite"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_SetAIType_2'", NULL); - self->virtual_SetAIType_2((const CAIObjectType*)tolua_tousertype_dynamic(L, 2, 0, "CAIObjectType"), tolua_function_tointeger(L, 3, "virtual_SetAIType_2"), tolua_function_tointeger(L, 4, "virtual_SetAIType_2")); + (self->virtual_SetAIType_2)((const CAIObjectType*)tolua_tousertype_dynamic(L, 2, 0, "CAIObjectType"), tolua_function_tointeger(L, 3, "virtual_SetAIType_2"), tolua_function_tointeger(L, 4, "virtual_SetAIType_2")); return 0; } @@ -206609,7 +210460,7 @@ static int tolua_function_CGameSprite_virtual_ResetAITypeLive(lua_State* L) { CGameSprite* self = (CGameSprite*)tolua_tousertype_dynamic(L, 1, 0, "CGameSprite"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_ResetAITypeLive'", NULL); - self->virtual_ResetAITypeLive(); + (self->virtual_ResetAITypeLive)(); return 0; } @@ -206617,7 +210468,7 @@ static int tolua_function_CGameSprite_virtual_ResetAIType(lua_State* L) { CGameSprite* self = (CGameSprite*)tolua_tousertype_dynamic(L, 1, 0, "CGameSprite"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_ResetAIType'", NULL); - self->virtual_ResetAIType(); + (self->virtual_ResetAIType)(); return 0; } @@ -206625,7 +210476,7 @@ static int tolua_function_CGameSprite_virtual_ProcessPendingTriggers(lua_State* { CGameSprite* self = (CGameSprite*)tolua_tousertype_dynamic(L, 1, 0, "CGameSprite"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_ProcessPendingTriggers'", NULL); - self->virtual_ProcessPendingTriggers(tolua_function_tointeger(L, 2, "virtual_ProcessPendingTriggers")); + (self->virtual_ProcessPendingTriggers)(tolua_function_tointeger(L, 2, "virtual_ProcessPendingTriggers")); return 0; } @@ -207531,7 +211382,7 @@ static int tolua_function_CGameDoor_SetDrawPoly(lua_State* L) { CGameDoor* self = (CGameDoor*)tolua_tousertype_dynamic(L, 1, 0, "CGameDoor"); if (!self) tolua_error(L, "invalid 'self' in calling function 'SetDrawPoly'", NULL); - self->SetDrawPoly(tolua_function_tointeger(L, 2, "SetDrawPoly")); + (self->SetDrawPoly)(tolua_function_tointeger(L, 2, "SetDrawPoly")); return 0; } @@ -208035,7 +211886,7 @@ static int tolua_function_CGameContainer_SetDrawPoly(lua_State* L) { CGameContainer* self = (CGameContainer*)tolua_tousertype_dynamic(L, 1, 0, "CGameContainer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'SetDrawPoly'", NULL); - self->SetDrawPoly(tolua_function_tointeger(L, 2, "SetDrawPoly")); + (self->SetDrawPoly)(tolua_function_tointeger(L, 2, "SetDrawPoly")); return 0; } @@ -208043,7 +211894,7 @@ static int tolua_function_CGameContainer_virtual_GetPoly(lua_State* L) { CGameContainer* self = (CGameContainer*)tolua_tousertype_dynamic(L, 1, 0, "CGameContainer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_GetPoly'", NULL); - CPoint* returnVal = self->virtual_GetPoly(); + CPoint* returnVal = (self->virtual_GetPoly)(); tolua_pushusertype(L, (void*)returnVal, "CPoint"); return 1; } @@ -208052,7 +211903,7 @@ static int tolua_function_CGameContainer_virtual_GetNPoly(lua_State* L) { CGameContainer* self = (CGameContainer*)tolua_tousertype_dynamic(L, 1, 0, "CGameContainer"); if (!self) tolua_error(L, "invalid 'self' in calling function 'virtual_GetNPoly'", NULL); - __int16 returnVal = self->virtual_GetNPoly(); + __int16 returnVal = (self->virtual_GetNPoly)(); lua_pushinteger(L, (lua_Integer)returnVal); return 1; } @@ -208255,95 +212106,96 @@ static void tolua_reg_types(lua_State* L) tolua_usertype(L, "ID3DXBaseEffect"); tolua_usertype(L, "ID3DXEffect"); tolua_usertype(L, "Primitive"); - tolua_usertype(L, "Primitive"); - tolua_usertype(L, "Primitive"); - tolua_usertype(L, "Primitive"); - tolua_usertype(L, "Primitive"); tolua_usertype(L, "Primitive"); - tolua_usertype(L, "Primitive"); tolua_usertype(L, "Primitive"); + tolua_usertype(L, "Primitive"); + tolua_usertype(L, "Primitive"); + tolua_usertype(L, "Primitive"); + tolua_usertype(L, "Primitive"); + tolua_usertype(L, "Primitive"); tolua_usertype(L, "Primitive"); tolua_usertype(L, "Primitive"); - tolua_usertype(L, "Primitive"); tolua_usertype(L, "Primitive"); + tolua_usertype(L, "Primitive"); tolua_usertype(L, "Primitive"); + tolua_usertype(L, "Primitive"); + tolua_usertype(L, "Primitive<_D3DFORMAT>"); + tolua_usertype(L, "Primitive<_D3DMULTISAMPLE_TYPE>"); + tolua_usertype(L, "Primitive<_D3DSWAPEFFECT>"); + tolua_usertype(L, "Primitive"); + tolua_usertype(L, "Primitive"); + tolua_usertype(L, "Primitive"); + tolua_usertype(L, "Primitive"); + tolua_usertype(L, "Primitive"); + tolua_usertype(L, "Primitive"); + tolua_usertype(L, "Primitive"); + tolua_usertype(L, "Primitive"); + tolua_usertype(L, "Primitive"); + tolua_usertype(L, "Primitive"); tolua_usertype(L, "Primitive"); tolua_usertype(L, "Primitive"); tolua_usertype(L, "Primitive"); tolua_usertype(L, "Primitive"); tolua_usertype(L, "Primitive"); tolua_usertype(L, "Primitive"); - tolua_usertype(L, "Primitive"); tolua_usertype(L, "Primitive"); + tolua_usertype(L, "Primitive"); + tolua_usertype(L, "Primitive"); + tolua_usertype(L, "Primitive"); + tolua_usertype(L, "Primitive"); + tolua_usertype(L, "Primitive"); + tolua_usertype(L, "Primitive"); + tolua_usertype(L, "Primitive"); tolua_usertype(L, "Primitive"); tolua_usertype(L, "Primitive"); - tolua_usertype(L, "Primitive"); - tolua_usertype(L, "Primitive"); tolua_usertype(L, "Primitive"); tolua_usertype(L, "Primitive"); + tolua_usertype(L, "Primitive"); tolua_usertype(L, "Primitive"); tolua_usertype(L, "Primitive"); - tolua_usertype(L, "Primitive"); - tolua_usertype(L, "Primitive"); tolua_usertype(L, "Primitive"); + tolua_usertype(L, "Primitive"); + tolua_usertype(L, "Primitive"); tolua_usertype(L, "Primitive"); - tolua_usertype(L, "Primitive"); - tolua_usertype(L, "Primitive"); - tolua_usertype(L, "Primitive"); - tolua_usertype(L, "Primitive"); - tolua_usertype(L, "Primitive"); - tolua_usertype(L, "Primitive"); - tolua_usertype(L, "Primitive"); - tolua_usertype(L, "Primitive"); - tolua_usertype(L, "Primitive"); - tolua_usertype(L, "Primitive"); - tolua_usertype(L, "Primitive<_D3DFORMAT>"); - tolua_usertype(L, "Primitive<_D3DSWAPEFFECT>"); - tolua_usertype(L, "Primitive<_D3DMULTISAMPLE_TYPE>"); - tolua_usertype(L, "Primitive"); - tolua_usertype(L, "Primitive"); - tolua_usertype(L, "Primitive"); - tolua_usertype(L, "Primitive"); - tolua_usertype(L, "Primitive"); - tolua_usertype(L, "Primitive"); - tolua_usertype(L, "Primitive"); - tolua_usertype(L, "Primitive"); - tolua_usertype(L, "Primitive"); + tolua_usertype(L, "Primitive"); tolua_usertype(L, "Primitive"); - tolua_usertype(L, "Primitive"); - tolua_usertype(L, "Primitive<__int16>"); - tolua_usertype(L, "Primitive"); - tolua_usertype(L, "Primitive"); + tolua_usertype(L, "Primitive"); tolua_usertype(L, "Primitive"); + tolua_usertype(L, "Primitive"); tolua_usertype(L, "Primitive"); - tolua_usertype(L, "Primitive"); - tolua_usertype(L, "Primitive"); - tolua_usertype(L, "Primitive"); + tolua_usertype(L, "Primitive"); + tolua_usertype(L, "Primitive"); tolua_usertype(L, "Primitive"); - tolua_usertype(L, "Primitive"); - tolua_usertype(L, "Primitive"); - tolua_usertype(L, "Primitive<__int64>"); - tolua_usertype(L, "Primitive"); - tolua_usertype(L, "Primitive"); - tolua_usertype(L, "Primitive"); + tolua_usertype(L, "Primitive"); + tolua_usertype(L, "Primitive<__int8>"); + tolua_usertype(L, "Primitive"); tolua_usertype(L, "Primitive"); + tolua_usertype(L, "Primitive"); + tolua_usertype(L, "Primitive"); + tolua_usertype(L, "Primitive"); tolua_usertype(L, "Primitive"); + tolua_usertype(L, "Primitive"); + tolua_usertype(L, "Primitive"); + tolua_usertype(L, "Primitive"); + tolua_usertype(L, "Primitive"); tolua_usertype(L, "Primitive"); - tolua_usertype(L, "Primitive"); + tolua_usertype(L, "Primitive<__int64>"); + tolua_usertype(L, "Primitive"); tolua_usertype(L, "Primitive"); - tolua_usertype(L, "Primitive"); - tolua_usertype(L, "Primitive"); tolua_usertype(L, "Primitive"); - tolua_usertype(L, "Primitive"); - tolua_usertype(L, "Primitive"); + tolua_usertype(L, "Primitive"); + tolua_usertype(L, "Primitive"); tolua_usertype(L, "Primitive"); - tolua_usertype(L, "Primitive"); - tolua_usertype(L, "Primitive<__int8>"); - tolua_usertype(L, "Primitive"); + tolua_usertype(L, "Primitive"); + tolua_usertype(L, "Primitive<__int16>"); + tolua_usertype(L, "Primitive"); tolua_usertype(L, "Primitive<__int32>"); - tolua_usertype(L, "Primitive"); + tolua_usertype(L, "Primitive"); + tolua_usertype(L, "Primitive"); + tolua_usertype(L, "Primitive"); tolua_usertype(L, "SAreaFileWrapper"); tolua_usertype(L, "SDL_Cursor"); + tolua_usertype(L, "SDL_PrivateGLESData"); tolua_usertype(L, "SDL_WindowUserData"); tolua_usertype(L, "SProjectileWrapper"); tolua_usertype(L, "UnmappedUserType"); @@ -208409,6 +212261,7 @@ static void tolua_reg_types(lua_State* L) tolua_usertype(L, "Upvaldesc"); tolua_usertype(L, "TILE_CODE"); tolua_usertype(L, "SDL_version"); + tolua_usertype(L, "SDL_MessageBoxColor"); tolua_usertype(L, "SDL_Color"); tolua_usertype(L, "SDL_WindowShapeParams"); tolua_usertype(L, "SDL_WindowShapeMode"); @@ -208458,13 +212311,19 @@ static void tolua_reg_types(lua_State* L) tolua_usertype(L, "SDL_SysWMmsg"); tolua_usertype(L, "SDL_SysWMmsg::msg_t"); tolua_usertype(L, "SDL_SysWMmsg::msg_t::win_t"); + tolua_usertype(L, "SDL_SysWMinfo"); + tolua_usertype(L, "SDL_SysWMinfo::info_t"); + tolua_usertype(L, "SDL_SysWMinfo::info_t::win_t"); tolua_usertype(L, "SDL_SysWMEvent"); + tolua_usertype(L, "SDL_ShapeDriver"); tolua_usertype(L, "SDL_QuitEvent"); tolua_usertype(L, "SDL_Palette"); tolua_usertype(L, "SDL_MultiGestureEvent"); tolua_usertype(L, "SDL_MouseWheelEvent"); tolua_usertype(L, "SDL_MouseMotionEvent"); tolua_usertype(L, "SDL_MouseButtonEvent"); + tolua_usertype(L, "SDL_MessageBoxData"); + tolua_usertype(L, "SDL_MessageBoxButtonData"); tolua_usertype(L, "SDL_Keysym"); tolua_usertype(L, "SDL_KeyboardEvent"); tolua_usertype(L, "SDL_JoyHatEvent"); @@ -208472,9 +212331,12 @@ static void tolua_reg_types(lua_State* L) tolua_usertype(L, "SDL_JoyButtonEvent"); tolua_usertype(L, "SDL_JoyBallEvent"); tolua_usertype(L, "SDL_JoyAxisEvent"); + tolua_usertype(L, "SDL_GLDriverData"); + tolua_usertype(L, "SDL_EGL_VideoData"); tolua_usertype(L, "SDL_DropEvent"); tolua_usertype(L, "SDL_DollarGestureEvent"); tolua_usertype(L, "SDL_DisplayMode"); + tolua_usertype(L, "SDL_VideoDisplay"); tolua_usertype(L, "SDL_ControllerDeviceEvent"); tolua_usertype(L, "SDL_ControllerButtonEvent"); tolua_usertype(L, "SDL_ControllerAxisEvent"); @@ -208498,6 +212360,8 @@ static void tolua_reg_types(lua_State* L) tolua_usertype(L, "ISteamUserStats"); tolua_usertype(L, "ISteamUserStats::vtbl"); tolua_usertype(L, "HWND__"); + tolua_usertype(L, "HGLRC__"); + tolua_usertype(L, "HDC__"); tolua_usertype(L, "DP_Packet"); tolua_usertype(L, "DP_Event"); tolua_usertype(L, "DPWrapper"); @@ -208596,9 +212460,10 @@ static void tolua_reg_types(lua_State* L) tolua_usertype(L, "VariableArray"); tolua_usertype(L, "VariableArray<_D98D369160A0DDA2B95F5D0F301081BB>"); tolua_usertype(L, "VariableArray"); + tolua_usertype(L, "VariableArray"); tolua_usertype(L, "VariableArray"); tolua_usertype(L, "VariableArray"); - tolua_usertype(L, "VariableArray"); + tolua_usertype(L, "VariableArray"); tolua_usertype(L, "VariableArray"); tolua_usertype(L, "VariableArray"); tolua_usertype(L, "VariableArray*>"); @@ -208611,7 +212476,6 @@ static void tolua_reg_types(lua_State* L) tolua_usertype(L, "VariableArray"); tolua_usertype(L, "VariableArray<__int8>"); tolua_usertype(L, "VariableArray"); - tolua_usertype(L, "VariableArray"); tolua_usertype(L, "VariableArray"); tolua_usertype(L, "VariableArray"); tolua_usertype(L, "VariableArray"); @@ -208620,6 +212484,7 @@ static void tolua_reg_types(lua_State* L) tolua_usertype(L, "VariableArray"); tolua_usertype(L, "VariableArray"); tolua_usertype(L, "VariableArray"); + tolua_usertype(L, "VariableArray"); tolua_usertype(L, "VariableArray"); tolua_usertype(L, "VariableArray"); tolua_usertype(L, "VariableArray"); @@ -208636,13 +212501,16 @@ static void tolua_reg_types(lua_State* L) tolua_usertype(L, "VariableArray"); tolua_usertype(L, "VariableArray"); tolua_usertype(L, "VariableArray"); + tolua_usertype(L, "VariableArray"); tolua_usertype(L, "VariableArray"); tolua_usertype(L, "VariableArray"); tolua_usertype(L, "VariableArray<_iobuf>"); tolua_usertype(L, "VariableArray"); + tolua_usertype(L, "VariableArray"); tolua_usertype(L, "VariableArray"); tolua_usertype(L, "VariableArray"); tolua_usertype(L, "VariableArray"); + tolua_usertype(L, "VariableArray"); tolua_usertype(L, "VariableArray"); tolua_usertype(L, "VariableArray"); tolua_usertype(L, "VariableArray"); @@ -208661,7 +212529,14 @@ static void tolua_reg_types(lua_State* L) tolua_usertype(L, "VariableArray"); tolua_usertype(L, "VariableArray"); tolua_usertype(L, "VariableArray"); + tolua_usertype(L, "VariableArray"); tolua_usertype(L, "VariableArray"); + tolua_usertype(L, "VariableArray"); + tolua_usertype(L, "VariableArray"); + tolua_usertype(L, "VariableArray"); + tolua_usertype(L, "VariableArray"); + tolua_usertype(L, "VariableArray"); + tolua_usertype(L, "VariableArray"); tolua_usertype(L, "VariableArray"); tolua_usertype(L, "VariableArray"); tolua_usertype(L, "VariableArray"); @@ -208672,6 +212547,8 @@ static void tolua_reg_types(lua_State* L) tolua_usertype(L, "VariableArray"); tolua_usertype(L, "VariableArray"); tolua_usertype(L, "VariableArray"); + tolua_usertype(L, "VariableArray"); + tolua_usertype(L, "VariableArray"); tolua_usertype(L, "VariableArray"); tolua_usertype(L, "VariableArray"); tolua_usertype(L, "VariableArray"); @@ -208732,7 +212609,6 @@ static void tolua_reg_types(lua_State* L) tolua_usertype(L, "VariableArray"); tolua_usertype(L, "VariableArray"); tolua_usertype(L, "VariableArray"); - tolua_usertype(L, "VariableArray"); tolua_usertype(L, "VariableArray"); tolua_usertype(L, "VariableArray"); tolua_usertype(L, "VariableArray"); @@ -208777,7 +212653,9 @@ static void tolua_reg_types(lua_State* L) tolua_usertype(L, "VariableArray"); tolua_usertype(L, "VariableArray"); tolua_usertype(L, "VariableArray"); + tolua_usertype(L, "VariableArray"); tolua_usertype(L, "VariableArray"); + tolua_usertype(L, "VariableArray"); tolua_usertype(L, "VariableArray"); tolua_usertype(L, "VariableArray"); tolua_usertype(L, "VariableArray"); @@ -208899,12 +212777,14 @@ static void tolua_reg_types(lua_State* L) tolua_usertype(L, "SDL_Point"); tolua_usertype(L, "uiMenu"); tolua_usertype(L, "slicedRect"); + tolua_usertype(L, "_820A8B7015E7E0FD9144A7C186FBF075"); tolua_usertype(L, "_9B9540D9920A90D57A3D80DDD1A70514"); tolua_usertype(L, "Pointer"); tolua_usertype(L, "Pointer"); tolua_usertype(L, "Pointer"); tolua_usertype(L, "Pointer"); tolua_usertype(L, "Pointer"); + tolua_usertype(L, "Pointer"); tolua_usertype(L, "Pointer"); tolua_usertype(L, "Pointer"); tolua_usertype(L, "Pointer"); @@ -209030,6 +212910,8 @@ static void tolua_reg_types(lua_State* L) tolua_usertype(L, "Pointer"); tolua_usertype(L, "Pointer"); tolua_usertype(L, "Pointer"); + tolua_usertype(L, "Pointer"); + tolua_usertype(L, "Pointer"); tolua_usertype(L, "Pointer"); tolua_usertype(L, "Pointer"); tolua_usertype(L, "Pointer"); @@ -209239,8 +213121,19 @@ static void tolua_reg_types(lua_State* L) tolua_usertype(L, "Pointer"); tolua_usertype(L, "Pointer"); tolua_usertype(L, "Pointer"); + tolua_usertype(L, "Pointer"); + tolua_usertype(L, "Pointer"); tolua_usertype(L, "Pointer"); tolua_usertype(L, "Pointer"); + tolua_usertype(L, "Pointer"); + tolua_usertype(L, "Pointer"); + tolua_usertype(L, "Pointer"); + tolua_usertype(L, "Pointer"); + tolua_usertype(L, "Pointer"); + tolua_usertype(L, "Pointer"); + tolua_usertype(L, "Pointer"); + tolua_usertype(L, "Pointer"); + tolua_usertype(L, "Pointer"); tolua_usertype(L, "Pointer>"); tolua_usertype(L, "Pointer>"); tolua_usertype(L, "Pointer>"); @@ -209254,6 +213147,7 @@ static void tolua_reg_types(lua_State* L) tolua_usertype(L, "Pointer"); tolua_usertype(L, "Pointer"); tolua_usertype(L, "Pointer"); + tolua_usertype(L, "Pointer"); tolua_usertype(L, "Pointer"); tolua_usertype(L, "Pointer"); tolua_usertype(L, "Pointer"); @@ -209374,6 +213268,8 @@ static void tolua_reg_types(lua_State* L) tolua_usertype(L, "Pointer"); tolua_usertype(L, "Pointer"); tolua_usertype(L, "Pointer"); + tolua_usertype(L, "Pointer"); + tolua_usertype(L, "Pointer"); tolua_usertype(L, "Pointer"); tolua_usertype(L, "Pointer"); tolua_usertype(L, "Pointer"); @@ -209578,8 +213474,19 @@ static void tolua_reg_types(lua_State* L) tolua_usertype(L, "Pointer"); tolua_usertype(L, "Pointer"); tolua_usertype(L, "Pointer"); + tolua_usertype(L, "Pointer"); + tolua_usertype(L, "Pointer"); tolua_usertype(L, "Pointer"); tolua_usertype(L, "Pointer"); + tolua_usertype(L, "Pointer"); + tolua_usertype(L, "Pointer"); + tolua_usertype(L, "Pointer"); + tolua_usertype(L, "Pointer"); + tolua_usertype(L, "Pointer"); + tolua_usertype(L, "Pointer"); + tolua_usertype(L, "Pointer"); + tolua_usertype(L, "Pointer"); + tolua_usertype(L, "Pointer"); tolua_usertype(L, "Pointer*>"); tolua_usertype(L, "Pointer*>"); tolua_usertype(L, "Pointer*>"); @@ -209643,42 +213550,43 @@ static void tolua_reg_types(lua_State* L) tolua_usertype(L, "Pointer"); tolua_usertype(L, "Pointer"); tolua_usertype(L, "Pointer"); - tolua_usertype(L, "Pointer>"); - tolua_usertype(L, "Pointer>"); - tolua_usertype(L, "Pointer>"); + tolua_usertype(L, "Pointer>"); tolua_usertype(L, "Pointer>"); - tolua_usertype(L, "Pointer>"); - tolua_usertype(L, "Pointer>"); - tolua_usertype(L, "Pointer>"); - tolua_usertype(L, "Pointer>"); + tolua_usertype(L, "Pointer>"); tolua_usertype(L, "Pointer>"); + tolua_usertype(L, "Pointer>"); tolua_usertype(L, "Pointer>"); - tolua_usertype(L, "Pointer>"); - tolua_usertype(L, "Pointer>"); - tolua_usertype(L, "Pointer>"); + tolua_usertype(L, "Pointer>"); + tolua_usertype(L, "Pointer>"); tolua_usertype(L, "Pointer>"); - tolua_usertype(L, "Pointer>"); - tolua_usertype(L, "Pointer>"); - tolua_usertype(L, "Pointer>"); - tolua_usertype(L, "Pointer>"); - tolua_usertype(L, "Pointer>"); - tolua_usertype(L, "Pointer>"); + tolua_usertype(L, "Pointer>"); + tolua_usertype(L, "Pointer>"); + tolua_usertype(L, "Pointer>"); tolua_usertype(L, "Pointer>"); + tolua_usertype(L, "Pointer>"); + tolua_usertype(L, "Pointer>"); + tolua_usertype(L, "Pointer>"); tolua_usertype(L, "Pointer>"); + tolua_usertype(L, "Pointer>"); + tolua_usertype(L, "Pointer>"); + tolua_usertype(L, "Pointer>"); + tolua_usertype(L, "Pointer>"); tolua_usertype(L, "Pointer>"); - tolua_usertype(L, "Pointer>"); + tolua_usertype(L, "Pointer>"); + tolua_usertype(L, "Pointer>"); tolua_usertype(L, "Pointer>"); - tolua_usertype(L, "Pointer>"); - tolua_usertype(L, "Pointer>"); tolua_usertype(L, "Pointer>"); - tolua_usertype(L, "Pointer>"); - tolua_usertype(L, "Pointer>"); + tolua_usertype(L, "Pointer>"); + tolua_usertype(L, "Pointer>"); tolua_usertype(L, "Pointer>"); - tolua_usertype(L, "Pointer>"); - tolua_usertype(L, "Pointer>"); - tolua_usertype(L, "Pointer>"); + tolua_usertype(L, "Pointer>"); + tolua_usertype(L, "Pointer>"); + tolua_usertype(L, "Pointer>"); tolua_usertype(L, "Pointer>"); - tolua_usertype(L, "Pointer>"); + tolua_usertype(L, "Pointer>"); + tolua_usertype(L, "Pointer>"); + tolua_usertype(L, "Pointer>"); + tolua_usertype(L, "Pointer"); tolua_usertype(L, "Pointer"); tolua_usertype(L, "Pointer"); tolua_usertype(L, "Pointer"); @@ -209702,17 +213610,18 @@ static void tolua_reg_types(lua_State* L) tolua_usertype(L, "Pointer"); tolua_usertype(L, "Pointer"); tolua_usertype(L, "Pointer"); + tolua_usertype(L, "Pointer"); + tolua_usertype(L, "Pointer"); tolua_usertype(L, "Pointer"); - tolua_usertype(L, "Pointer"); tolua_usertype(L, "Pointer"); tolua_usertype(L, "Pointer"); tolua_usertype(L, "Pointer"); tolua_usertype(L, "Pointer"); tolua_usertype(L, "Pointer"); tolua_usertype(L, "Pointer<_D98D369160A0DDA2B95F5D0F301081BB>"); - tolua_usertype(L, "Pointer<_D98D369160A0DDA2B95F5D0F301081BB*>"); tolua_usertype(L, "Pointer"); tolua_usertype(L, "Pointer"); + tolua_usertype(L, "Pointer<_D98D369160A0DDA2B95F5D0F301081BB*>"); tolua_usertype(L, "Pointer"); tolua_usertype(L, "Pointer"); tolua_usertype(L, "Pointer"); @@ -209745,7 +213654,9 @@ static void tolua_reg_types(lua_State* L) tolua_usertype(L, "Pointer"); tolua_usertype(L, "Pointer"); tolua_usertype(L, "Pointer"); + tolua_usertype(L, "Pointer"); tolua_usertype(L, "Pointer"); + tolua_usertype(L, "Pointer"); tolua_usertype(L, "Pointer"); tolua_usertype(L, "Pointer"); tolua_usertype(L, "Pointer"); @@ -209760,7 +213671,6 @@ static void tolua_reg_types(lua_State* L) tolua_usertype(L, "Pointer"); tolua_usertype(L, "Pointer"); tolua_usertype(L, "Pointer"); - tolua_usertype(L, "Pointer"); tolua_usertype(L, "Pointer"); tolua_usertype(L, "Pointer"); tolua_usertype(L, "Pointer"); @@ -209834,9 +213744,10 @@ static void tolua_reg_types(lua_State* L) tolua_usertype(L, "Pointer"); tolua_usertype(L, "Pointer>"); tolua_usertype(L, "Pointer>"); + tolua_usertype(L, "Pointer>"); tolua_usertype(L, "Pointer>"); tolua_usertype(L, "Pointer>"); - tolua_usertype(L, "Pointer>"); + tolua_usertype(L, "Pointer*>"); tolua_usertype(L, "Pointer*>"); tolua_usertype(L, "Pointer*>"); tolua_usertype(L, "Pointer*>*>"); @@ -209849,13 +213760,13 @@ static void tolua_reg_types(lua_State* L) tolua_usertype(L, "Pointer*>"); tolua_usertype(L, "Pointer*>"); tolua_usertype(L, "Pointer*>"); - tolua_usertype(L, "Pointer*>"); tolua_usertype(L, "Pointer"); tolua_usertype(L, "Pointer"); tolua_usertype(L, "Pointer<_4BC756EB7537E12A00FC57C6BF2CCA8B>"); tolua_usertype(L, "Pointer"); tolua_usertype(L, "Pointer"); tolua_usertype(L, "Pointer"); + tolua_usertype(L, "Pointer<_820A8B7015E7E0FD9144A7C186FBF075>"); tolua_usertype(L, "Pointer<_9B9540D9920A90D57A3D80DDD1A70514>"); tolua_usertype(L, "Pointer"); tolua_usertype(L, "Pointer"); @@ -210176,6 +214087,7 @@ static void tolua_reg_types(lua_State* L) tolua_usertype(L, "Pointer<_SETJMP_FLOAT128>"); tolua_usertype(L, "Pointer<_SETJMP_FLOAT128*>"); tolua_usertype(L, "Pointer<_GUID>"); + tolua_usertype(L, "Pointer"); tolua_usertype(L, "Pointer"); tolua_usertype(L, "Pointer>"); tolua_usertype(L, "Pointer>"); @@ -211115,10 +215027,12 @@ static void tolua_reg_types(lua_State* L) tolua_usertype(L, "Array"); tolua_usertype(L, "Array"); tolua_usertype(L, "Array"); + tolua_usertype(L, "Array"); tolua_usertype(L, "Array"); tolua_usertype(L, "Array"); tolua_usertype(L, "Array"); tolua_usertype(L, "Array"); + tolua_usertype(L, "Array"); tolua_usertype(L, "Array"); tolua_usertype(L, "Array"); tolua_usertype(L, "Array<__int8,15>"); @@ -211134,7 +215048,6 @@ static void tolua_reg_types(lua_State* L) tolua_usertype(L, "Array"); tolua_usertype(L, "Array"); tolua_usertype(L, "Array"); - tolua_usertype(L, "Array"); tolua_usertype(L, "uiItem"); tolua_usertype(L, "uiItem::bam_t"); tolua_usertype(L, "uiItem::bmp_t"); @@ -211164,7 +215077,10 @@ static void tolua_reg_types(lua_State* L) tolua_usertype(L, "_SETJMP_FLOAT128"); tolua_usertype(L, "lua_longjmp"); tolua_usertype(L, "_GUID"); + tolua_usertype(L, "SDL_VideoDevice"); + tolua_usertype(L, "SDL_VideoDevice::gl_config_t"); tolua_usertype(L, "SDL_PixelFormat"); + tolua_usertype(L, "SDL_MessageBoxColorScheme"); tolua_usertype(L, "LClosure"); tolua_usertype(L, "LCharString<32>"); tolua_usertype(L, "LCharString<4>"); @@ -211657,26 +215573,37 @@ int OpenBindingsInternal(lua_State* L) tolua_constant(L, "value", offsetoftype(value, Primitive)); tolua_endmodule(L); tolua_endmodule(L); - tolua_cclass(L, "Primitive", "Primitive", {}, NULL); - tolua_beginmodule(L, "Primitive"); - tolua_variable(L, "value", tolua_get_Primitive_CButtonType__value, tolua_set_Primitive_CButtonType__value); - tolua_variable(L, "reference_value", tolua_get_Primitive_CButtonType__reference_value, NULL); - tolua_constant(L, "sizeof", sizeof(Primitive)); - tolua_constantstring(L, "usertype_value", "Primitive"); + tolua_cclass(L, "Primitive", "Primitive", {}, NULL); + tolua_beginmodule(L, "Primitive"); + tolua_variable(L, "value", tolua_get_Primitive_WindowShapeMode__value, tolua_set_Primitive_WindowShapeMode__value); + tolua_variable(L, "reference_value", tolua_get_Primitive_WindowShapeMode__reference_value, NULL); + tolua_constant(L, "sizeof", sizeof(Primitive)); + tolua_constantstring(L, "usertype_value", "Primitive"); tolua_module(L, ".offsetof", 0); tolua_beginmodule(L, ".offsetof"); - tolua_constant(L, "value", offsetoftype(value, Primitive)); + tolua_constant(L, "value", offsetoftype(value, Primitive)); tolua_endmodule(L); tolua_endmodule(L); - tolua_cclass(L, "Primitive", "Primitive", {}, NULL); - tolua_beginmodule(L, "Primitive"); - tolua_variable(L, "value", tolua_get_Primitive_CGameJournalEntryFlag__value, tolua_set_Primitive_CGameJournalEntryFlag__value); - tolua_variable(L, "reference_value", tolua_get_Primitive_CGameJournalEntryFlag__reference_value, NULL); - tolua_constant(L, "sizeof", sizeof(Primitive)); - tolua_constantstring(L, "usertype_value", "Primitive"); + tolua_cclass(L, "Primitive", "Primitive", {}, NULL); + tolua_beginmodule(L, "Primitive"); + tolua_variable(L, "value", tolua_get_Primitive_SDL_bool__value, tolua_set_Primitive_SDL_bool__value); + tolua_variable(L, "reference_value", tolua_get_Primitive_SDL_bool__reference_value, NULL); + tolua_constant(L, "sizeof", sizeof(Primitive)); + tolua_constantstring(L, "usertype_value", "Primitive"); tolua_module(L, ".offsetof", 0); tolua_beginmodule(L, ".offsetof"); - tolua_constant(L, "value", offsetoftype(value, Primitive)); + tolua_constant(L, "value", offsetoftype(value, Primitive)); + tolua_endmodule(L); + tolua_endmodule(L); + tolua_cclass(L, "Primitive", "Primitive", {}, NULL); + tolua_beginmodule(L, "Primitive"); + tolua_variable(L, "value", tolua_get_Primitive_SDL_HitTestResult__value, tolua_set_Primitive_SDL_HitTestResult__value); + tolua_variable(L, "reference_value", tolua_get_Primitive_SDL_HitTestResult__reference_value, NULL); + tolua_constant(L, "sizeof", sizeof(Primitive)); + tolua_constantstring(L, "usertype_value", "Primitive"); + tolua_module(L, ".offsetof", 0); + tolua_beginmodule(L, ".offsetof"); + tolua_constant(L, "value", offsetoftype(value, Primitive)); tolua_endmodule(L); tolua_endmodule(L); tolua_cclass(L, "Primitive", "Primitive", {}, NULL); @@ -211690,48 +215617,37 @@ int OpenBindingsInternal(lua_State* L) tolua_constant(L, "value", offsetoftype(value, Primitive)); tolua_endmodule(L); tolua_endmodule(L); - tolua_cclass(L, "Primitive", "Primitive", {}, NULL); - tolua_beginmodule(L, "Primitive"); - tolua_variable(L, "value", tolua_get_Primitive_CAOEEntry__AOEType__value, tolua_set_Primitive_CAOEEntry__AOEType__value); - tolua_variable(L, "reference_value", tolua_get_Primitive_CAOEEntry__AOEType__reference_value, NULL); - tolua_constant(L, "sizeof", sizeof(Primitive)); - tolua_constantstring(L, "usertype_value", "Primitive"); - tolua_module(L, ".offsetof", 0); - tolua_beginmodule(L, ".offsetof"); - tolua_constant(L, "value", offsetoftype(value, Primitive)); - tolua_endmodule(L); - tolua_endmodule(L); - tolua_cclass(L, "Primitive", "Primitive", {}, NULL); - tolua_beginmodule(L, "Primitive"); - tolua_variable(L, "value", tolua_get_Primitive_WindowShapeMode__value, tolua_set_Primitive_WindowShapeMode__value); - tolua_variable(L, "reference_value", tolua_get_Primitive_WindowShapeMode__reference_value, NULL); - tolua_constant(L, "sizeof", sizeof(Primitive)); - tolua_constantstring(L, "usertype_value", "Primitive"); + tolua_cclass(L, "Primitive", "Primitive", {}, NULL); + tolua_beginmodule(L, "Primitive"); + tolua_variable(L, "value", tolua_get_Primitive_CGameJournalEntryFlag__value, tolua_set_Primitive_CGameJournalEntryFlag__value); + tolua_variable(L, "reference_value", tolua_get_Primitive_CGameJournalEntryFlag__reference_value, NULL); + tolua_constant(L, "sizeof", sizeof(Primitive)); + tolua_constantstring(L, "usertype_value", "Primitive"); tolua_module(L, ".offsetof", 0); tolua_beginmodule(L, ".offsetof"); - tolua_constant(L, "value", offsetoftype(value, Primitive)); + tolua_constant(L, "value", offsetoftype(value, Primitive)); tolua_endmodule(L); tolua_endmodule(L); - tolua_cclass(L, "Primitive", "Primitive", {}, NULL); - tolua_beginmodule(L, "Primitive"); - tolua_variable(L, "value", tolua_get_Primitive_SDL_HitTestResult__value, tolua_set_Primitive_SDL_HitTestResult__value); - tolua_variable(L, "reference_value", tolua_get_Primitive_SDL_HitTestResult__reference_value, NULL); - tolua_constant(L, "sizeof", sizeof(Primitive)); - tolua_constantstring(L, "usertype_value", "Primitive"); + tolua_cclass(L, "Primitive", "Primitive", {}, NULL); + tolua_beginmodule(L, "Primitive"); + tolua_variable(L, "value", tolua_get_Primitive_CButtonType__value, tolua_set_Primitive_CButtonType__value); + tolua_variable(L, "reference_value", tolua_get_Primitive_CButtonType__reference_value, NULL); + tolua_constant(L, "sizeof", sizeof(Primitive)); + tolua_constantstring(L, "usertype_value", "Primitive"); tolua_module(L, ".offsetof", 0); tolua_beginmodule(L, ".offsetof"); - tolua_constant(L, "value", offsetoftype(value, Primitive)); + tolua_constant(L, "value", offsetoftype(value, Primitive)); tolua_endmodule(L); tolua_endmodule(L); - tolua_cclass(L, "Primitive", "Primitive", {}, NULL); - tolua_beginmodule(L, "Primitive"); - tolua_variable(L, "value", tolua_get_Primitive_SDL_bool__value, tolua_set_Primitive_SDL_bool__value); - tolua_variable(L, "reference_value", tolua_get_Primitive_SDL_bool__reference_value, NULL); - tolua_constant(L, "sizeof", sizeof(Primitive)); - tolua_constantstring(L, "usertype_value", "Primitive"); + tolua_cclass(L, "Primitive", "Primitive", {}, NULL); + tolua_beginmodule(L, "Primitive"); + tolua_variable(L, "value", tolua_get_Primitive_CAOEEntry__AOEType__value, tolua_set_Primitive_CAOEEntry__AOEType__value); + tolua_variable(L, "reference_value", tolua_get_Primitive_CAOEEntry__AOEType__reference_value, NULL); + tolua_constant(L, "sizeof", sizeof(Primitive)); + tolua_constantstring(L, "usertype_value", "Primitive"); tolua_module(L, ".offsetof", 0); tolua_beginmodule(L, ".offsetof"); - tolua_constant(L, "value", offsetoftype(value, Primitive)); + tolua_constant(L, "value", offsetoftype(value, Primitive)); tolua_endmodule(L); tolua_endmodule(L); tolua_cclass(L, "Primitive", "Primitive", {}, NULL); @@ -211756,17 +215672,6 @@ int OpenBindingsInternal(lua_State* L) tolua_constant(L, "value", offsetoftype(value, Primitive)); tolua_endmodule(L); tolua_endmodule(L); - tolua_cclass(L, "Primitive", "Primitive", {}, NULL); - tolua_beginmodule(L, "Primitive"); - tolua_variable(L, "value", tolua_get_Primitive_SDL_Scancode__value, tolua_set_Primitive_SDL_Scancode__value); - tolua_variable(L, "reference_value", tolua_get_Primitive_SDL_Scancode__reference_value, NULL); - tolua_constant(L, "sizeof", sizeof(Primitive)); - tolua_constantstring(L, "usertype_value", "Primitive"); - tolua_module(L, ".offsetof", 0); - tolua_beginmodule(L, ".offsetof"); - tolua_constant(L, "value", offsetoftype(value, Primitive)); - tolua_endmodule(L); - tolua_endmodule(L); tolua_cclass(L, "Primitive", "Primitive", {}, NULL); tolua_beginmodule(L, "Primitive"); tolua_variable(L, "value", tolua_get_Primitive_SDL_Keycode__value, tolua_set_Primitive_SDL_Keycode__value); @@ -211778,6 +215683,17 @@ int OpenBindingsInternal(lua_State* L) tolua_constant(L, "value", offsetoftype(value, Primitive)); tolua_endmodule(L); tolua_endmodule(L); + tolua_cclass(L, "Primitive", "Primitive", {}, NULL); + tolua_beginmodule(L, "Primitive"); + tolua_variable(L, "value", tolua_get_Primitive_SDL_Scancode__value, tolua_set_Primitive_SDL_Scancode__value); + tolua_variable(L, "reference_value", tolua_get_Primitive_SDL_Scancode__reference_value, NULL); + tolua_constant(L, "sizeof", sizeof(Primitive)); + tolua_constantstring(L, "usertype_value", "Primitive"); + tolua_module(L, ".offsetof", 0); + tolua_beginmodule(L, ".offsetof"); + tolua_constant(L, "value", offsetoftype(value, Primitive)); + tolua_endmodule(L); + tolua_endmodule(L); tolua_cclass(L, "Primitive", "Primitive", {}, NULL); tolua_beginmodule(L, "Primitive"); tolua_variable(L, "value", tolua_get_Primitive_SDL_EventType__value, tolua_set_Primitive_SDL_EventType__value); @@ -211789,6 +215705,160 @@ int OpenBindingsInternal(lua_State* L) tolua_constant(L, "value", offsetoftype(value, Primitive)); tolua_endmodule(L); tolua_endmodule(L); + tolua_cclass(L, "Primitive", "Primitive", {}, NULL); + tolua_beginmodule(L, "Primitive"); + tolua_variable(L, "value", tolua_get_Primitive_uiVariantType__value, tolua_set_Primitive_uiVariantType__value); + tolua_variable(L, "reference_value", tolua_get_Primitive_uiVariantType__reference_value, NULL); + tolua_constant(L, "sizeof", sizeof(Primitive)); + tolua_constantstring(L, "usertype_value", "Primitive"); + tolua_module(L, ".offsetof", 0); + tolua_beginmodule(L, ".offsetof"); + tolua_constant(L, "value", offsetoftype(value, Primitive)); + tolua_endmodule(L); + tolua_endmodule(L); + tolua_cclass(L, "Primitive<_D3DFORMAT>", "Primitive<_D3DFORMAT>", {}, NULL); + tolua_beginmodule(L, "Primitive<_D3DFORMAT>"); + tolua_variable(L, "value", tolua_get_Primitive__D3DFORMAT__value, tolua_set_Primitive__D3DFORMAT__value); + tolua_variable(L, "reference_value", tolua_get_Primitive__D3DFORMAT__reference_value, NULL); + tolua_constant(L, "sizeof", sizeof(Primitive<_D3DFORMAT>)); + tolua_constantstring(L, "usertype_value", "Primitive<_D3DFORMAT>"); + tolua_module(L, ".offsetof", 0); + tolua_beginmodule(L, ".offsetof"); + tolua_constant(L, "value", offsetoftype(value, Primitive<_D3DFORMAT>)); + tolua_endmodule(L); + tolua_endmodule(L); + tolua_cclass(L, "Primitive<_D3DMULTISAMPLE_TYPE>", "Primitive<_D3DMULTISAMPLE_TYPE>", {}, NULL); + tolua_beginmodule(L, "Primitive<_D3DMULTISAMPLE_TYPE>"); + tolua_variable(L, "value", tolua_get_Primitive__D3DMULTISAMPLE_TYPE__value, tolua_set_Primitive__D3DMULTISAMPLE_TYPE__value); + tolua_variable(L, "reference_value", tolua_get_Primitive__D3DMULTISAMPLE_TYPE__reference_value, NULL); + tolua_constant(L, "sizeof", sizeof(Primitive<_D3DMULTISAMPLE_TYPE>)); + tolua_constantstring(L, "usertype_value", "Primitive<_D3DMULTISAMPLE_TYPE>"); + tolua_module(L, ".offsetof", 0); + tolua_beginmodule(L, ".offsetof"); + tolua_constant(L, "value", offsetoftype(value, Primitive<_D3DMULTISAMPLE_TYPE>)); + tolua_endmodule(L); + tolua_endmodule(L); + tolua_cclass(L, "Primitive<_D3DSWAPEFFECT>", "Primitive<_D3DSWAPEFFECT>", {}, NULL); + tolua_beginmodule(L, "Primitive<_D3DSWAPEFFECT>"); + tolua_variable(L, "value", tolua_get_Primitive__D3DSWAPEFFECT__value, tolua_set_Primitive__D3DSWAPEFFECT__value); + tolua_variable(L, "reference_value", tolua_get_Primitive__D3DSWAPEFFECT__reference_value, NULL); + tolua_constant(L, "sizeof", sizeof(Primitive<_D3DSWAPEFFECT>)); + tolua_constantstring(L, "usertype_value", "Primitive<_D3DSWAPEFFECT>"); + tolua_module(L, ".offsetof", 0); + tolua_beginmodule(L, ".offsetof"); + tolua_constant(L, "value", offsetoftype(value, Primitive<_D3DSWAPEFFECT>)); + tolua_endmodule(L); + tolua_endmodule(L); + tolua_cclass(L, "Primitive", "Primitive", {}, NULL); + tolua_beginmodule(L, "Primitive"); + tolua_variable(L, "value", tolua_get_Primitive_DepthLockState__value, tolua_set_Primitive_DepthLockState__value); + tolua_variable(L, "reference_value", tolua_get_Primitive_DepthLockState__reference_value, NULL); + tolua_constant(L, "sizeof", sizeof(Primitive)); + tolua_constantstring(L, "usertype_value", "Primitive"); + tolua_module(L, ".offsetof", 0); + tolua_beginmodule(L, ".offsetof"); + tolua_constant(L, "value", offsetoftype(value, Primitive)); + tolua_endmodule(L); + tolua_endmodule(L); + tolua_cclass(L, "Primitive", "Primitive", {}, NULL); + tolua_beginmodule(L, "Primitive"); + tolua_variable(L, "value", tolua_get_Primitive_DrawFilter__value, tolua_set_Primitive_DrawFilter__value); + tolua_variable(L, "reference_value", tolua_get_Primitive_DrawFilter__reference_value, NULL); + tolua_constant(L, "sizeof", sizeof(Primitive)); + tolua_constantstring(L, "usertype_value", "Primitive"); + tolua_module(L, ".offsetof", 0); + tolua_beginmodule(L, ".offsetof"); + tolua_constant(L, "value", offsetoftype(value, Primitive)); + tolua_endmodule(L); + tolua_endmodule(L); + tolua_cclass(L, "Primitive", "Primitive", {}, NULL); + tolua_beginmodule(L, "Primitive"); + tolua_variable(L, "value", tolua_get_Primitive_RendererType__value, tolua_set_Primitive_RendererType__value); + tolua_variable(L, "reference_value", tolua_get_Primitive_RendererType__reference_value, NULL); + tolua_constant(L, "sizeof", sizeof(Primitive)); + tolua_constantstring(L, "usertype_value", "Primitive"); + tolua_module(L, ".offsetof", 0); + tolua_beginmodule(L, ".offsetof"); + tolua_constant(L, "value", offsetoftype(value, Primitive)); + tolua_endmodule(L); + tolua_endmodule(L); + tolua_cclass(L, "Primitive", "Primitive", {}, NULL); + tolua_beginmodule(L, "Primitive"); + tolua_variable(L, "value", tolua_get_Primitive_DrawFeature__value, tolua_set_Primitive_DrawFeature__value); + tolua_variable(L, "reference_value", tolua_get_Primitive_DrawFeature__reference_value, NULL); + tolua_constant(L, "sizeof", sizeof(Primitive)); + tolua_constantstring(L, "usertype_value", "Primitive"); + tolua_module(L, ".offsetof", 0); + tolua_beginmodule(L, ".offsetof"); + tolua_constant(L, "value", offsetoftype(value, Primitive)); + tolua_endmodule(L); + tolua_endmodule(L); + tolua_cclass(L, "Primitive", "Primitive", {}, NULL); + tolua_beginmodule(L, "Primitive"); + tolua_variable(L, "value", tolua_get_Primitive_DrawBlend__value, tolua_set_Primitive_DrawBlend__value); + tolua_variable(L, "reference_value", tolua_get_Primitive_DrawBlend__reference_value, NULL); + tolua_constant(L, "sizeof", sizeof(Primitive)); + tolua_constantstring(L, "usertype_value", "Primitive"); + tolua_module(L, ".offsetof", 0); + tolua_beginmodule(L, ".offsetof"); + tolua_constant(L, "value", offsetoftype(value, Primitive)); + tolua_endmodule(L); + tolua_endmodule(L); + tolua_cclass(L, "Primitive", "Primitive", {}, NULL); + tolua_beginmodule(L, "Primitive"); + tolua_variable(L, "value", tolua_get_Primitive_DrawTone__value, tolua_set_Primitive_DrawTone__value); + tolua_variable(L, "reference_value", tolua_get_Primitive_DrawTone__reference_value, NULL); + tolua_constant(L, "sizeof", sizeof(Primitive)); + tolua_constantstring(L, "usertype_value", "Primitive"); + tolua_module(L, ".offsetof", 0); + tolua_beginmodule(L, ".offsetof"); + tolua_constant(L, "value", offsetoftype(value, Primitive)); + tolua_endmodule(L); + tolua_endmodule(L); + tolua_cclass(L, "Primitive", "Primitive", {}, NULL); + tolua_beginmodule(L, "Primitive"); + tolua_variable(L, "value", tolua_get_Primitive_SDL_Keymod__value, tolua_set_Primitive_SDL_Keymod__value); + tolua_variable(L, "reference_value", tolua_get_Primitive_SDL_Keymod__reference_value, NULL); + tolua_constant(L, "sizeof", sizeof(Primitive)); + tolua_constantstring(L, "usertype_value", "Primitive"); + tolua_module(L, ".offsetof", 0); + tolua_beginmodule(L, ".offsetof"); + tolua_constant(L, "value", offsetoftype(value, Primitive)); + tolua_endmodule(L); + tolua_endmodule(L); + tolua_cclass(L, "Primitive", "Primitive", {}, NULL); + tolua_beginmodule(L, "Primitive"); + tolua_variable(L, "value", tolua_get_Primitive_uiItemType__value, tolua_set_Primitive_uiItemType__value); + tolua_variable(L, "reference_value", tolua_get_Primitive_uiItemType__reference_value, NULL); + tolua_constant(L, "sizeof", sizeof(Primitive)); + tolua_constantstring(L, "usertype_value", "Primitive"); + tolua_module(L, ".offsetof", 0); + tolua_beginmodule(L, ".offsetof"); + tolua_constant(L, "value", offsetoftype(value, Primitive)); + tolua_endmodule(L); + tolua_endmodule(L); + tolua_cclass(L, "Primitive", "Primitive", {}, NULL); + tolua_beginmodule(L, "Primitive"); + tolua_variable(L, "value", tolua_get_Primitive_DrawMode__value, tolua_set_Primitive_DrawMode__value); + tolua_variable(L, "reference_value", tolua_get_Primitive_DrawMode__reference_value, NULL); + tolua_constant(L, "sizeof", sizeof(Primitive)); + tolua_constantstring(L, "usertype_value", "Primitive"); + tolua_module(L, ".offsetof", 0); + tolua_beginmodule(L, ".offsetof"); + tolua_constant(L, "value", offsetoftype(value, Primitive)); + tolua_endmodule(L); + tolua_endmodule(L); + tolua_cclass(L, "Primitive", "Primitive", {}, NULL); + tolua_beginmodule(L, "Primitive"); + tolua_variable(L, "value", tolua_get_Primitive_SDL_WindowFlags__value, tolua_set_Primitive_SDL_WindowFlags__value); + tolua_variable(L, "reference_value", tolua_get_Primitive_SDL_WindowFlags__reference_value, NULL); + tolua_constant(L, "sizeof", sizeof(Primitive)); + tolua_constantstring(L, "usertype_value", "Primitive"); + tolua_module(L, ".offsetof", 0); + tolua_beginmodule(L, ".offsetof"); + tolua_constant(L, "value", offsetoftype(value, Primitive)); + tolua_endmodule(L); + tolua_endmodule(L); tolua_cclass(L, "Primitive", "Primitive", {}, NULL); tolua_beginmodule(L, "Primitive"); tolua_variable(L, "value", tolua_get_Primitive_CScreenCreateCharStep__value, tolua_set_Primitive_CScreenCreateCharStep__value); @@ -211855,17 +215925,6 @@ int OpenBindingsInternal(lua_State* L) tolua_constant(L, "value", offsetoftype(value, Primitive)); tolua_endmodule(L); tolua_endmodule(L); - tolua_cclass(L, "Primitive", "Primitive", {}, NULL); - tolua_beginmodule(L, "Primitive"); - tolua_variable(L, "value", tolua_get_Primitive_EResult__value, tolua_set_Primitive_EResult__value); - tolua_variable(L, "reference_value", tolua_get_Primitive_EResult__reference_value, NULL); - tolua_constant(L, "sizeof", sizeof(Primitive)); - tolua_constantstring(L, "usertype_value", "Primitive"); - tolua_module(L, ".offsetof", 0); - tolua_beginmodule(L, ".offsetof"); - tolua_constant(L, "value", offsetoftype(value, Primitive)); - tolua_endmodule(L); - tolua_endmodule(L); tolua_cclass(L, "Primitive", "Primitive", {}, NULL); tolua_beginmodule(L, "Primitive"); tolua_variable(L, "value", tolua_get_Primitive_EWorkshopFileType__value, tolua_set_Primitive_EWorkshopFileType__value); @@ -211877,37 +215936,15 @@ int OpenBindingsInternal(lua_State* L) tolua_constant(L, "value", offsetoftype(value, Primitive)); tolua_endmodule(L); tolua_endmodule(L); - tolua_cclass(L, "Primitive", "Primitive", {}, NULL); - tolua_beginmodule(L, "Primitive"); - tolua_variable(L, "value", tolua_get_Primitive_EUserUGCList__value, tolua_set_Primitive_EUserUGCList__value); - tolua_variable(L, "reference_value", tolua_get_Primitive_EUserUGCList__reference_value, NULL); - tolua_constant(L, "sizeof", sizeof(Primitive)); - tolua_constantstring(L, "usertype_value", "Primitive"); - tolua_module(L, ".offsetof", 0); - tolua_beginmodule(L, ".offsetof"); - tolua_constant(L, "value", offsetoftype(value, Primitive)); - tolua_endmodule(L); - tolua_endmodule(L); - tolua_cclass(L, "Primitive", "Primitive", {}, NULL); - tolua_beginmodule(L, "Primitive"); - tolua_variable(L, "value", tolua_get_Primitive_EUGCQuery__value, tolua_set_Primitive_EUGCQuery__value); - tolua_variable(L, "reference_value", tolua_get_Primitive_EUGCQuery__reference_value, NULL); - tolua_constant(L, "sizeof", sizeof(Primitive)); - tolua_constantstring(L, "usertype_value", "Primitive"); - tolua_module(L, ".offsetof", 0); - tolua_beginmodule(L, ".offsetof"); - tolua_constant(L, "value", offsetoftype(value, Primitive)); - tolua_endmodule(L); - tolua_endmodule(L); - tolua_cclass(L, "Primitive", "Primitive", {}, NULL); - tolua_beginmodule(L, "Primitive"); - tolua_variable(L, "value", tolua_get_Primitive_EItemUpdateStatus__value, tolua_set_Primitive_EItemUpdateStatus__value); - tolua_variable(L, "reference_value", tolua_get_Primitive_EItemUpdateStatus__reference_value, NULL); - tolua_constant(L, "sizeof", sizeof(Primitive)); - tolua_constantstring(L, "usertype_value", "Primitive"); + tolua_cclass(L, "Primitive", "Primitive", {}, NULL); + tolua_beginmodule(L, "Primitive"); + tolua_variable(L, "value", tolua_get_Primitive_EWorkshopVideoProvider__value, tolua_set_Primitive_EWorkshopVideoProvider__value); + tolua_variable(L, "reference_value", tolua_get_Primitive_EWorkshopVideoProvider__reference_value, NULL); + tolua_constant(L, "sizeof", sizeof(Primitive)); + tolua_constantstring(L, "usertype_value", "Primitive"); tolua_module(L, ".offsetof", 0); tolua_beginmodule(L, ".offsetof"); - tolua_constant(L, "value", offsetoftype(value, Primitive)); + tolua_constant(L, "value", offsetoftype(value, Primitive)); tolua_endmodule(L); tolua_endmodule(L); tolua_cclass(L, "Primitive", "Primitive", {}, NULL); @@ -211921,105 +215958,6 @@ int OpenBindingsInternal(lua_State* L) tolua_constant(L, "value", offsetoftype(value, Primitive)); tolua_endmodule(L); tolua_endmodule(L); - tolua_cclass(L, "Primitive", "Primitive", {}, NULL); - tolua_beginmodule(L, "Primitive"); - tolua_variable(L, "value", tolua_get_Primitive_EUGCMatchingUGCType__value, tolua_set_Primitive_EUGCMatchingUGCType__value); - tolua_variable(L, "reference_value", tolua_get_Primitive_EUGCMatchingUGCType__reference_value, NULL); - tolua_constant(L, "sizeof", sizeof(Primitive)); - tolua_constantstring(L, "usertype_value", "Primitive"); - tolua_module(L, ".offsetof", 0); - tolua_beginmodule(L, ".offsetof"); - tolua_constant(L, "value", offsetoftype(value, Primitive)); - tolua_endmodule(L); - tolua_endmodule(L); - tolua_cclass(L, "Primitive", "Primitive", {}, NULL); - tolua_beginmodule(L, "Primitive"); - tolua_variable(L, "value", tolua_get_Primitive_EItemStatistic__value, tolua_set_Primitive_EItemStatistic__value); - tolua_variable(L, "reference_value", tolua_get_Primitive_EItemStatistic__reference_value, NULL); - tolua_constant(L, "sizeof", sizeof(Primitive)); - tolua_constantstring(L, "usertype_value", "Primitive"); - tolua_module(L, ".offsetof", 0); - tolua_beginmodule(L, ".offsetof"); - tolua_constant(L, "value", offsetoftype(value, Primitive)); - tolua_endmodule(L); - tolua_endmodule(L); - tolua_cclass(L, "Primitive", "Primitive", {}, NULL); - tolua_beginmodule(L, "Primitive"); - tolua_variable(L, "value", tolua_get_Primitive_EUserUGCListSortOrder__value, tolua_set_Primitive_EUserUGCListSortOrder__value); - tolua_variable(L, "reference_value", tolua_get_Primitive_EUserUGCListSortOrder__reference_value, NULL); - tolua_constant(L, "sizeof", sizeof(Primitive)); - tolua_constantstring(L, "usertype_value", "Primitive"); - tolua_module(L, ".offsetof", 0); - tolua_beginmodule(L, ".offsetof"); - tolua_constant(L, "value", offsetoftype(value, Primitive)); - tolua_endmodule(L); - tolua_endmodule(L); - tolua_cclass(L, "Primitive", "Primitive", {}, NULL); - tolua_beginmodule(L, "Primitive"); - tolua_variable(L, "value", tolua_get_Primitive_EItemPreviewType__value, tolua_set_Primitive_EItemPreviewType__value); - tolua_variable(L, "reference_value", tolua_get_Primitive_EItemPreviewType__reference_value, NULL); - tolua_constant(L, "sizeof", sizeof(Primitive)); - tolua_constantstring(L, "usertype_value", "Primitive"); - tolua_module(L, ".offsetof", 0); - tolua_beginmodule(L, ".offsetof"); - tolua_constant(L, "value", offsetoftype(value, Primitive)); - tolua_endmodule(L); - tolua_endmodule(L); - tolua_cclass(L, "Primitive", "Primitive", {}, NULL); - tolua_beginmodule(L, "Primitive"); - tolua_variable(L, "value", tolua_get_Primitive_ELeaderboardDataRequest__value, tolua_set_Primitive_ELeaderboardDataRequest__value); - tolua_variable(L, "reference_value", tolua_get_Primitive_ELeaderboardDataRequest__reference_value, NULL); - tolua_constant(L, "sizeof", sizeof(Primitive)); - tolua_constantstring(L, "usertype_value", "Primitive"); - tolua_module(L, ".offsetof", 0); - tolua_beginmodule(L, ".offsetof"); - tolua_constant(L, "value", offsetoftype(value, Primitive)); - tolua_endmodule(L); - tolua_endmodule(L); - tolua_cclass(L, "Primitive", "Primitive", {}, NULL); - tolua_beginmodule(L, "Primitive"); - tolua_variable(L, "value", tolua_get_Primitive_ELeaderboardSortMethod__value, tolua_set_Primitive_ELeaderboardSortMethod__value); - tolua_variable(L, "reference_value", tolua_get_Primitive_ELeaderboardSortMethod__reference_value, NULL); - tolua_constant(L, "sizeof", sizeof(Primitive)); - tolua_constantstring(L, "usertype_value", "Primitive"); - tolua_module(L, ".offsetof", 0); - tolua_beginmodule(L, ".offsetof"); - tolua_constant(L, "value", offsetoftype(value, Primitive)); - tolua_endmodule(L); - tolua_endmodule(L); - tolua_cclass(L, "Primitive", "Primitive", {}, NULL); - tolua_beginmodule(L, "Primitive"); - tolua_variable(L, "value", tolua_get_Primitive_ELeaderboardUploadScoreMethod__value, tolua_set_Primitive_ELeaderboardUploadScoreMethod__value); - tolua_variable(L, "reference_value", tolua_get_Primitive_ELeaderboardUploadScoreMethod__reference_value, NULL); - tolua_constant(L, "sizeof", sizeof(Primitive)); - tolua_constantstring(L, "usertype_value", "Primitive"); - tolua_module(L, ".offsetof", 0); - tolua_beginmodule(L, ".offsetof"); - tolua_constant(L, "value", offsetoftype(value, Primitive)); - tolua_endmodule(L); - tolua_endmodule(L); - tolua_cclass(L, "Primitive", "Primitive", {}, NULL); - tolua_beginmodule(L, "Primitive"); - tolua_variable(L, "value", tolua_get_Primitive_ELeaderboardDisplayType__value, tolua_set_Primitive_ELeaderboardDisplayType__value); - tolua_variable(L, "reference_value", tolua_get_Primitive_ELeaderboardDisplayType__reference_value, NULL); - tolua_constant(L, "sizeof", sizeof(Primitive)); - tolua_constantstring(L, "usertype_value", "Primitive"); - tolua_module(L, ".offsetof", 0); - tolua_beginmodule(L, ".offsetof"); - tolua_constant(L, "value", offsetoftype(value, Primitive)); - tolua_endmodule(L); - tolua_endmodule(L); - tolua_cclass(L, "Primitive", "Primitive", {}, NULL); - tolua_beginmodule(L, "Primitive"); - tolua_variable(L, "value", tolua_get_Primitive_EWorkshopVideoProvider__value, tolua_set_Primitive_EWorkshopVideoProvider__value); - tolua_variable(L, "reference_value", tolua_get_Primitive_EWorkshopVideoProvider__reference_value, NULL); - tolua_constant(L, "sizeof", sizeof(Primitive)); - tolua_constantstring(L, "usertype_value", "Primitive"); - tolua_module(L, ".offsetof", 0); - tolua_beginmodule(L, ".offsetof"); - tolua_constant(L, "value", offsetoftype(value, Primitive)); - tolua_endmodule(L); - tolua_endmodule(L); tolua_cclass(L, "Primitive", "Primitive", {}, NULL); tolua_beginmodule(L, "Primitive"); tolua_variable(L, "value", tolua_get_Primitive_ERemoteStoragePlatform__value, tolua_set_Primitive_ERemoteStoragePlatform__value); @@ -212064,191 +216002,147 @@ int OpenBindingsInternal(lua_State* L) tolua_constant(L, "value", offsetoftype(value, Primitive)); tolua_endmodule(L); tolua_endmodule(L); - tolua_cclass(L, "Primitive", "Primitive", {}, NULL); - tolua_beginmodule(L, "Primitive"); - tolua_variable(L, "value", tolua_get_Primitive_uiVariantType__value, tolua_set_Primitive_uiVariantType__value); - tolua_variable(L, "reference_value", tolua_get_Primitive_uiVariantType__reference_value, NULL); - tolua_constant(L, "sizeof", sizeof(Primitive)); - tolua_constantstring(L, "usertype_value", "Primitive"); - tolua_module(L, ".offsetof", 0); - tolua_beginmodule(L, ".offsetof"); - tolua_constant(L, "value", offsetoftype(value, Primitive)); - tolua_endmodule(L); - tolua_endmodule(L); - tolua_cclass(L, "Primitive", "Primitive", {}, NULL); - tolua_beginmodule(L, "Primitive"); - tolua_variable(L, "value", tolua_get_Primitive_uiItemType__value, tolua_set_Primitive_uiItemType__value); - tolua_variable(L, "reference_value", tolua_get_Primitive_uiItemType__reference_value, NULL); - tolua_constant(L, "sizeof", sizeof(Primitive)); - tolua_constantstring(L, "usertype_value", "Primitive"); - tolua_module(L, ".offsetof", 0); - tolua_beginmodule(L, ".offsetof"); - tolua_constant(L, "value", offsetoftype(value, Primitive)); - tolua_endmodule(L); - tolua_endmodule(L); - tolua_cclass(L, "Primitive", "Primitive", {}, NULL); - tolua_beginmodule(L, "Primitive"); - tolua_variable(L, "value", tolua_get_Primitive_SDL_WindowFlags__value, tolua_set_Primitive_SDL_WindowFlags__value); - tolua_variable(L, "reference_value", tolua_get_Primitive_SDL_WindowFlags__reference_value, NULL); - tolua_constant(L, "sizeof", sizeof(Primitive)); - tolua_constantstring(L, "usertype_value", "Primitive"); - tolua_module(L, ".offsetof", 0); - tolua_beginmodule(L, ".offsetof"); - tolua_constant(L, "value", offsetoftype(value, Primitive)); - tolua_endmodule(L); - tolua_endmodule(L); - tolua_cclass(L, "Primitive", "Primitive", {}, NULL); - tolua_beginmodule(L, "Primitive"); - tolua_variable(L, "value", tolua_get_Primitive_DrawFilter__value, tolua_set_Primitive_DrawFilter__value); - tolua_variable(L, "reference_value", tolua_get_Primitive_DrawFilter__reference_value, NULL); - tolua_constant(L, "sizeof", sizeof(Primitive)); - tolua_constantstring(L, "usertype_value", "Primitive"); - tolua_module(L, ".offsetof", 0); - tolua_beginmodule(L, ".offsetof"); - tolua_constant(L, "value", offsetoftype(value, Primitive)); - tolua_endmodule(L); - tolua_endmodule(L); - tolua_cclass(L, "Primitive", "Primitive", {}, NULL); - tolua_beginmodule(L, "Primitive"); - tolua_variable(L, "value", tolua_get_Primitive_DepthLockState__value, tolua_set_Primitive_DepthLockState__value); - tolua_variable(L, "reference_value", tolua_get_Primitive_DepthLockState__reference_value, NULL); - tolua_constant(L, "sizeof", sizeof(Primitive)); - tolua_constantstring(L, "usertype_value", "Primitive"); + tolua_cclass(L, "Primitive", "Primitive", {}, NULL); + tolua_beginmodule(L, "Primitive"); + tolua_variable(L, "value", tolua_get_Primitive_EResult__value, tolua_set_Primitive_EResult__value); + tolua_variable(L, "reference_value", tolua_get_Primitive_EResult__reference_value, NULL); + tolua_constant(L, "sizeof", sizeof(Primitive)); + tolua_constantstring(L, "usertype_value", "Primitive"); tolua_module(L, ".offsetof", 0); tolua_beginmodule(L, ".offsetof"); - tolua_constant(L, "value", offsetoftype(value, Primitive)); + tolua_constant(L, "value", offsetoftype(value, Primitive)); tolua_endmodule(L); tolua_endmodule(L); - tolua_cclass(L, "Primitive<_D3DFORMAT>", "Primitive<_D3DFORMAT>", {}, NULL); - tolua_beginmodule(L, "Primitive<_D3DFORMAT>"); - tolua_variable(L, "value", tolua_get_Primitive__D3DFORMAT__value, tolua_set_Primitive__D3DFORMAT__value); - tolua_variable(L, "reference_value", tolua_get_Primitive__D3DFORMAT__reference_value, NULL); - tolua_constant(L, "sizeof", sizeof(Primitive<_D3DFORMAT>)); - tolua_constantstring(L, "usertype_value", "Primitive<_D3DFORMAT>"); + tolua_cclass(L, "Primitive", "Primitive", {}, NULL); + tolua_beginmodule(L, "Primitive"); + tolua_variable(L, "value", tolua_get_Primitive_EUserUGCList__value, tolua_set_Primitive_EUserUGCList__value); + tolua_variable(L, "reference_value", tolua_get_Primitive_EUserUGCList__reference_value, NULL); + tolua_constant(L, "sizeof", sizeof(Primitive)); + tolua_constantstring(L, "usertype_value", "Primitive"); tolua_module(L, ".offsetof", 0); tolua_beginmodule(L, ".offsetof"); - tolua_constant(L, "value", offsetoftype(value, Primitive<_D3DFORMAT>)); + tolua_constant(L, "value", offsetoftype(value, Primitive)); tolua_endmodule(L); tolua_endmodule(L); - tolua_cclass(L, "Primitive<_D3DSWAPEFFECT>", "Primitive<_D3DSWAPEFFECT>", {}, NULL); - tolua_beginmodule(L, "Primitive<_D3DSWAPEFFECT>"); - tolua_variable(L, "value", tolua_get_Primitive__D3DSWAPEFFECT__value, tolua_set_Primitive__D3DSWAPEFFECT__value); - tolua_variable(L, "reference_value", tolua_get_Primitive__D3DSWAPEFFECT__reference_value, NULL); - tolua_constant(L, "sizeof", sizeof(Primitive<_D3DSWAPEFFECT>)); - tolua_constantstring(L, "usertype_value", "Primitive<_D3DSWAPEFFECT>"); + tolua_cclass(L, "Primitive", "Primitive", {}, NULL); + tolua_beginmodule(L, "Primitive"); + tolua_variable(L, "value", tolua_get_Primitive_EUGCQuery__value, tolua_set_Primitive_EUGCQuery__value); + tolua_variable(L, "reference_value", tolua_get_Primitive_EUGCQuery__reference_value, NULL); + tolua_constant(L, "sizeof", sizeof(Primitive)); + tolua_constantstring(L, "usertype_value", "Primitive"); tolua_module(L, ".offsetof", 0); tolua_beginmodule(L, ".offsetof"); - tolua_constant(L, "value", offsetoftype(value, Primitive<_D3DSWAPEFFECT>)); + tolua_constant(L, "value", offsetoftype(value, Primitive)); tolua_endmodule(L); tolua_endmodule(L); - tolua_cclass(L, "Primitive<_D3DMULTISAMPLE_TYPE>", "Primitive<_D3DMULTISAMPLE_TYPE>", {}, NULL); - tolua_beginmodule(L, "Primitive<_D3DMULTISAMPLE_TYPE>"); - tolua_variable(L, "value", tolua_get_Primitive__D3DMULTISAMPLE_TYPE__value, tolua_set_Primitive__D3DMULTISAMPLE_TYPE__value); - tolua_variable(L, "reference_value", tolua_get_Primitive__D3DMULTISAMPLE_TYPE__reference_value, NULL); - tolua_constant(L, "sizeof", sizeof(Primitive<_D3DMULTISAMPLE_TYPE>)); - tolua_constantstring(L, "usertype_value", "Primitive<_D3DMULTISAMPLE_TYPE>"); + tolua_cclass(L, "Primitive", "Primitive", {}, NULL); + tolua_beginmodule(L, "Primitive"); + tolua_variable(L, "value", tolua_get_Primitive_EUGCMatchingUGCType__value, tolua_set_Primitive_EUGCMatchingUGCType__value); + tolua_variable(L, "reference_value", tolua_get_Primitive_EUGCMatchingUGCType__reference_value, NULL); + tolua_constant(L, "sizeof", sizeof(Primitive)); + tolua_constantstring(L, "usertype_value", "Primitive"); tolua_module(L, ".offsetof", 0); tolua_beginmodule(L, ".offsetof"); - tolua_constant(L, "value", offsetoftype(value, Primitive<_D3DMULTISAMPLE_TYPE>)); + tolua_constant(L, "value", offsetoftype(value, Primitive)); tolua_endmodule(L); tolua_endmodule(L); - tolua_cclass(L, "Primitive", "Primitive", {}, NULL); - tolua_beginmodule(L, "Primitive"); - tolua_variable(L, "value", tolua_get_Primitive_RendererType__value, tolua_set_Primitive_RendererType__value); - tolua_variable(L, "reference_value", tolua_get_Primitive_RendererType__reference_value, NULL); - tolua_constant(L, "sizeof", sizeof(Primitive)); - tolua_constantstring(L, "usertype_value", "Primitive"); + tolua_cclass(L, "Primitive", "Primitive", {}, NULL); + tolua_beginmodule(L, "Primitive"); + tolua_variable(L, "value", tolua_get_Primitive_EItemStatistic__value, tolua_set_Primitive_EItemStatistic__value); + tolua_variable(L, "reference_value", tolua_get_Primitive_EItemStatistic__reference_value, NULL); + tolua_constant(L, "sizeof", sizeof(Primitive)); + tolua_constantstring(L, "usertype_value", "Primitive"); tolua_module(L, ".offsetof", 0); tolua_beginmodule(L, ".offsetof"); - tolua_constant(L, "value", offsetoftype(value, Primitive)); + tolua_constant(L, "value", offsetoftype(value, Primitive)); tolua_endmodule(L); tolua_endmodule(L); - tolua_cclass(L, "Primitive", "Primitive", {}, NULL); - tolua_beginmodule(L, "Primitive"); - tolua_variable(L, "value", tolua_get_Primitive_DrawTone__value, tolua_set_Primitive_DrawTone__value); - tolua_variable(L, "reference_value", tolua_get_Primitive_DrawTone__reference_value, NULL); - tolua_constant(L, "sizeof", sizeof(Primitive)); - tolua_constantstring(L, "usertype_value", "Primitive"); + tolua_cclass(L, "Primitive", "Primitive", {}, NULL); + tolua_beginmodule(L, "Primitive"); + tolua_variable(L, "value", tolua_get_Primitive_EItemUpdateStatus__value, tolua_set_Primitive_EItemUpdateStatus__value); + tolua_variable(L, "reference_value", tolua_get_Primitive_EItemUpdateStatus__reference_value, NULL); + tolua_constant(L, "sizeof", sizeof(Primitive)); + tolua_constantstring(L, "usertype_value", "Primitive"); tolua_module(L, ".offsetof", 0); tolua_beginmodule(L, ".offsetof"); - tolua_constant(L, "value", offsetoftype(value, Primitive)); + tolua_constant(L, "value", offsetoftype(value, Primitive)); tolua_endmodule(L); tolua_endmodule(L); - tolua_cclass(L, "Primitive", "Primitive", {}, NULL); - tolua_beginmodule(L, "Primitive"); - tolua_variable(L, "value", tolua_get_Primitive_DrawFeature__value, tolua_set_Primitive_DrawFeature__value); - tolua_variable(L, "reference_value", tolua_get_Primitive_DrawFeature__reference_value, NULL); - tolua_constant(L, "sizeof", sizeof(Primitive)); - tolua_constantstring(L, "usertype_value", "Primitive"); + tolua_cclass(L, "Primitive", "Primitive", {}, NULL); + tolua_beginmodule(L, "Primitive"); + tolua_variable(L, "value", tolua_get_Primitive_EUserUGCListSortOrder__value, tolua_set_Primitive_EUserUGCListSortOrder__value); + tolua_variable(L, "reference_value", tolua_get_Primitive_EUserUGCListSortOrder__reference_value, NULL); + tolua_constant(L, "sizeof", sizeof(Primitive)); + tolua_constantstring(L, "usertype_value", "Primitive"); tolua_module(L, ".offsetof", 0); tolua_beginmodule(L, ".offsetof"); - tolua_constant(L, "value", offsetoftype(value, Primitive)); + tolua_constant(L, "value", offsetoftype(value, Primitive)); tolua_endmodule(L); tolua_endmodule(L); - tolua_cclass(L, "Primitive", "Primitive", {}, NULL); - tolua_beginmodule(L, "Primitive"); - tolua_variable(L, "value", tolua_get_Primitive_DrawBlend__value, tolua_set_Primitive_DrawBlend__value); - tolua_variable(L, "reference_value", tolua_get_Primitive_DrawBlend__reference_value, NULL); - tolua_constant(L, "sizeof", sizeof(Primitive)); - tolua_constantstring(L, "usertype_value", "Primitive"); + tolua_cclass(L, "Primitive", "Primitive", {}, NULL); + tolua_beginmodule(L, "Primitive"); + tolua_variable(L, "value", tolua_get_Primitive_EItemPreviewType__value, tolua_set_Primitive_EItemPreviewType__value); + tolua_variable(L, "reference_value", tolua_get_Primitive_EItemPreviewType__reference_value, NULL); + tolua_constant(L, "sizeof", sizeof(Primitive)); + tolua_constantstring(L, "usertype_value", "Primitive"); tolua_module(L, ".offsetof", 0); tolua_beginmodule(L, ".offsetof"); - tolua_constant(L, "value", offsetoftype(value, Primitive)); + tolua_constant(L, "value", offsetoftype(value, Primitive)); tolua_endmodule(L); tolua_endmodule(L); - tolua_cclass(L, "Primitive", "Primitive", {}, NULL); - tolua_beginmodule(L, "Primitive"); - tolua_variable(L, "value", tolua_get_Primitive_SDL_Keymod__value, tolua_set_Primitive_SDL_Keymod__value); - tolua_variable(L, "reference_value", tolua_get_Primitive_SDL_Keymod__reference_value, NULL); - tolua_constant(L, "sizeof", sizeof(Primitive)); - tolua_constantstring(L, "usertype_value", "Primitive"); + tolua_cclass(L, "Primitive", "Primitive", {}, NULL); + tolua_beginmodule(L, "Primitive"); + tolua_variable(L, "value", tolua_get_Primitive_ELeaderboardUploadScoreMethod__value, tolua_set_Primitive_ELeaderboardUploadScoreMethod__value); + tolua_variable(L, "reference_value", tolua_get_Primitive_ELeaderboardUploadScoreMethod__reference_value, NULL); + tolua_constant(L, "sizeof", sizeof(Primitive)); + tolua_constantstring(L, "usertype_value", "Primitive"); tolua_module(L, ".offsetof", 0); tolua_beginmodule(L, ".offsetof"); - tolua_constant(L, "value", offsetoftype(value, Primitive)); + tolua_constant(L, "value", offsetoftype(value, Primitive)); tolua_endmodule(L); tolua_endmodule(L); - tolua_cclass(L, "Primitive", "Primitive", {}, NULL); - tolua_beginmodule(L, "Primitive"); - tolua_variable(L, "value", tolua_get_Primitive_DrawMode__value, tolua_set_Primitive_DrawMode__value); - tolua_variable(L, "reference_value", tolua_get_Primitive_DrawMode__reference_value, NULL); - tolua_constant(L, "sizeof", sizeof(Primitive)); - tolua_constantstring(L, "usertype_value", "Primitive"); + tolua_cclass(L, "Primitive", "Primitive", {}, NULL); + tolua_beginmodule(L, "Primitive"); + tolua_variable(L, "value", tolua_get_Primitive_ELeaderboardSortMethod__value, tolua_set_Primitive_ELeaderboardSortMethod__value); + tolua_variable(L, "reference_value", tolua_get_Primitive_ELeaderboardSortMethod__reference_value, NULL); + tolua_constant(L, "sizeof", sizeof(Primitive)); + tolua_constantstring(L, "usertype_value", "Primitive"); tolua_module(L, ".offsetof", 0); tolua_beginmodule(L, ".offsetof"); - tolua_constant(L, "value", offsetoftype(value, Primitive)); + tolua_constant(L, "value", offsetoftype(value, Primitive)); tolua_endmodule(L); tolua_endmodule(L); - tolua_cclass(L, "Primitive", "Primitive", {}, NULL); - tolua_beginmodule(L, "Primitive"); - tolua_variable(L, "value", tolua_get_Primitive_INT__value, tolua_set_Primitive_INT__value); - tolua_variable(L, "reference_value", tolua_get_Primitive_INT__reference_value, NULL); - tolua_constant(L, "sizeof", sizeof(Primitive)); - tolua_constantstring(L, "usertype_value", "Primitive"); + tolua_cclass(L, "Primitive", "Primitive", {}, NULL); + tolua_beginmodule(L, "Primitive"); + tolua_variable(L, "value", tolua_get_Primitive_ELeaderboardDataRequest__value, tolua_set_Primitive_ELeaderboardDataRequest__value); + tolua_variable(L, "reference_value", tolua_get_Primitive_ELeaderboardDataRequest__reference_value, NULL); + tolua_constant(L, "sizeof", sizeof(Primitive)); + tolua_constantstring(L, "usertype_value", "Primitive"); tolua_module(L, ".offsetof", 0); tolua_beginmodule(L, ".offsetof"); - tolua_constant(L, "value", offsetoftype(value, Primitive)); + tolua_constant(L, "value", offsetoftype(value, Primitive)); tolua_endmodule(L); tolua_endmodule(L); - tolua_cclass(L, "Primitive", "Primitive", {}, NULL); - tolua_beginmodule(L, "Primitive"); - tolua_variable(L, "value", tolua_get_Primitive_lua_Integer__value, tolua_set_Primitive_lua_Integer__value); - tolua_variable(L, "reference_value", tolua_get_Primitive_lua_Integer__reference_value, NULL); - tolua_constant(L, "sizeof", sizeof(Primitive)); - tolua_constantstring(L, "usertype_value", "Primitive"); + tolua_cclass(L, "Primitive", "Primitive", {}, NULL); + tolua_beginmodule(L, "Primitive"); + tolua_variable(L, "value", tolua_get_Primitive_ELeaderboardDisplayType__value, tolua_set_Primitive_ELeaderboardDisplayType__value); + tolua_variable(L, "reference_value", tolua_get_Primitive_ELeaderboardDisplayType__reference_value, NULL); + tolua_constant(L, "sizeof", sizeof(Primitive)); + tolua_constantstring(L, "usertype_value", "Primitive"); tolua_module(L, ".offsetof", 0); tolua_beginmodule(L, ".offsetof"); - tolua_constant(L, "value", offsetoftype(value, Primitive)); + tolua_constant(L, "value", offsetoftype(value, Primitive)); tolua_endmodule(L); tolua_endmodule(L); - tolua_cclass(L, "Primitive", "Primitive", {}, NULL); - tolua_beginmodule(L, "Primitive"); - tolua_variable(L, "value", tolua_get_Primitive_char__value, tolua_set_Primitive_char__value); - tolua_variable(L, "reference_value", tolua_get_Primitive_char__reference_value, NULL); - tolua_constant(L, "sizeof", sizeof(Primitive)); - tolua_constantstring(L, "usertype_value", "char"); + tolua_cclass(L, "Primitive", "Primitive", {}, NULL); + tolua_beginmodule(L, "Primitive"); + tolua_variable(L, "value", tolua_get_Primitive_int32_t__value, tolua_set_Primitive_int32_t__value); + tolua_variable(L, "reference_value", tolua_get_Primitive_int32_t__reference_value, NULL); + tolua_constant(L, "sizeof", sizeof(Primitive)); + tolua_constantstring(L, "usertype_value", "Primitive"); tolua_module(L, ".offsetof", 0); tolua_beginmodule(L, ".offsetof"); - tolua_constant(L, "value", offsetoftype(value, Primitive)); + tolua_constant(L, "value", offsetoftype(value, Primitive)); tolua_endmodule(L); tolua_endmodule(L); tolua_cclass(L, "Primitive", "Primitive", {}, NULL); @@ -212262,48 +216156,15 @@ int OpenBindingsInternal(lua_State* L) tolua_constant(L, "value", offsetoftype(value, Primitive)); tolua_endmodule(L); tolua_endmodule(L); - tolua_cclass(L, "Primitive", "Primitive", {}, NULL); - tolua_beginmodule(L, "Primitive"); - tolua_variable(L, "value", tolua_get_Primitive_LRESULT__value, tolua_set_Primitive_LRESULT__value); - tolua_variable(L, "reference_value", tolua_get_Primitive_LRESULT__reference_value, NULL); - tolua_constant(L, "sizeof", sizeof(Primitive)); - tolua_constantstring(L, "usertype_value", "Primitive"); - tolua_module(L, ".offsetof", 0); - tolua_beginmodule(L, ".offsetof"); - tolua_constant(L, "value", offsetoftype(value, Primitive)); - tolua_endmodule(L); - tolua_endmodule(L); - tolua_cclass(L, "Primitive<__int16>", "Primitive<__int16>", {}, NULL); - tolua_beginmodule(L, "Primitive<__int16>"); - tolua_variable(L, "value", tolua_get_Primitive___int16__value, tolua_set_Primitive___int16__value); - tolua_variable(L, "reference_value", tolua_get_Primitive___int16__reference_value, NULL); - tolua_constant(L, "sizeof", sizeof(Primitive<__int16>)); - tolua_constantstring(L, "usertype_value", "Primitive<__int16>"); - tolua_module(L, ".offsetof", 0); - tolua_beginmodule(L, ".offsetof"); - tolua_constant(L, "value", offsetoftype(value, Primitive<__int16>)); - tolua_endmodule(L); - tolua_endmodule(L); - tolua_cclass(L, "Primitive", "Primitive", {}, NULL); - tolua_beginmodule(L, "Primitive"); - tolua_variable(L, "value", tolua_get_Primitive_HRESULT__value, tolua_set_Primitive_HRESULT__value); - tolua_variable(L, "reference_value", tolua_get_Primitive_HRESULT__reference_value, NULL); - tolua_constant(L, "sizeof", sizeof(Primitive)); - tolua_constantstring(L, "usertype_value", "Primitive"); - tolua_module(L, ".offsetof", 0); - tolua_beginmodule(L, ".offsetof"); - tolua_constant(L, "value", offsetoftype(value, Primitive)); - tolua_endmodule(L); - tolua_endmodule(L); - tolua_cclass(L, "Primitive", "Primitive", {}, NULL); - tolua_beginmodule(L, "Primitive"); - tolua_variable(L, "value", tolua_get_Primitive_uint32_t__value, tolua_set_Primitive_uint32_t__value); - tolua_variable(L, "reference_value", tolua_get_Primitive_uint32_t__reference_value, NULL); - tolua_constant(L, "sizeof", sizeof(Primitive)); - tolua_constantstring(L, "usertype_value", "Primitive"); + tolua_cclass(L, "Primitive", "Primitive", {}, NULL); + tolua_beginmodule(L, "Primitive"); + tolua_variable(L, "value", tolua_get_Primitive_DWORD__value, tolua_set_Primitive_DWORD__value); + tolua_variable(L, "reference_value", tolua_get_Primitive_DWORD__reference_value, NULL); + tolua_constant(L, "sizeof", sizeof(Primitive)); + tolua_constantstring(L, "usertype_value", "Primitive"); tolua_module(L, ".offsetof", 0); tolua_beginmodule(L, ".offsetof"); - tolua_constant(L, "value", offsetoftype(value, Primitive)); + tolua_constant(L, "value", offsetoftype(value, Primitive)); tolua_endmodule(L); tolua_endmodule(L); tolua_cclass(L, "Primitive", "Primitive", {}, NULL); @@ -212317,6 +216178,17 @@ int OpenBindingsInternal(lua_State* L) tolua_constant(L, "value", offsetoftype(value, Primitive)); tolua_endmodule(L); tolua_endmodule(L); + tolua_cclass(L, "Primitive", "Primitive", {}, NULL); + tolua_beginmodule(L, "Primitive"); + tolua_variable(L, "value", tolua_get_Primitive_LONG__value, tolua_set_Primitive_LONG__value); + tolua_variable(L, "reference_value", tolua_get_Primitive_LONG__reference_value, NULL); + tolua_constant(L, "sizeof", sizeof(Primitive)); + tolua_constantstring(L, "usertype_value", "Primitive"); + tolua_module(L, ".offsetof", 0); + tolua_beginmodule(L, ".offsetof"); + tolua_constant(L, "value", offsetoftype(value, Primitive)); + tolua_endmodule(L); + tolua_endmodule(L); tolua_cclass(L, "Primitive", "Primitive", {}, NULL); tolua_beginmodule(L, "Primitive"); tolua_variable(L, "value", tolua_get_Primitive_ushort__value, tolua_set_Primitive_ushort__value); @@ -212328,36 +216200,26 @@ int OpenBindingsInternal(lua_State* L) tolua_constant(L, "value", offsetoftype(value, Primitive)); tolua_endmodule(L); tolua_endmodule(L); - tolua_cclass(L, "Primitive", "Primitive", {}, NULL); - tolua_beginmodule(L, "Primitive"); - tolua_variable(L, "value", tolua_get_Primitive_uint16_t__value, tolua_set_Primitive_uint16_t__value); - tolua_variable(L, "reference_value", tolua_get_Primitive_uint16_t__reference_value, NULL); - tolua_constant(L, "sizeof", sizeof(Primitive)); - tolua_constantstring(L, "usertype_value", "Primitive"); - tolua_module(L, ".offsetof", 0); - tolua_beginmodule(L, ".offsetof"); - tolua_constant(L, "value", offsetoftype(value, Primitive)); - tolua_endmodule(L); - tolua_endmodule(L); - tolua_cclass(L, "Primitive", "Primitive", {}, NULL); - tolua_beginmodule(L, "Primitive"); - tolua_variable(L, "value", tolua_get_Primitive_float__value, tolua_set_Primitive_float__value); - tolua_variable(L, "reference_value", tolua_get_Primitive_float__reference_value, NULL); - tolua_constant(L, "sizeof", sizeof(Primitive)); - tolua_constantstring(L, "usertype_value", "Primitive"); + tolua_cclass(L, "Primitive", "Primitive", {}, NULL); + tolua_beginmodule(L, "Primitive"); + tolua_variable(L, "value", tolua_get_Primitive_short__value, tolua_set_Primitive_short__value); + tolua_variable(L, "reference_value", tolua_get_Primitive_short__reference_value, NULL); + tolua_constant(L, "sizeof", sizeof(Primitive)); + tolua_constantstring(L, "usertype_value", "Primitive"); tolua_module(L, ".offsetof", 0); tolua_beginmodule(L, ".offsetof"); - tolua_constant(L, "value", offsetoftype(value, Primitive)); + tolua_constant(L, "value", offsetoftype(value, Primitive)); tolua_endmodule(L); tolua_endmodule(L); - tolua_cclass(L, "Primitive", "Primitive", {}, NULL); - tolua_beginmodule(L, "Primitive"); - tolua_variable(L, "value", tolua_get_Primitive_char___value, NULL); - tolua_constant(L, "sizeof", sizeof(Primitive)); - tolua_constantstring(L, "usertype_value", "ConstCharString"); + tolua_cclass(L, "Primitive", "Primitive", {}, NULL); + tolua_beginmodule(L, "Primitive"); + tolua_variable(L, "value", tolua_get_Primitive_LRESULT__value, tolua_set_Primitive_LRESULT__value); + tolua_variable(L, "reference_value", tolua_get_Primitive_LRESULT__reference_value, NULL); + tolua_constant(L, "sizeof", sizeof(Primitive)); + tolua_constantstring(L, "usertype_value", "Primitive"); tolua_module(L, ".offsetof", 0); tolua_beginmodule(L, ".offsetof"); - tolua_constant(L, "value", offsetoftype(value, Primitive)); + tolua_constant(L, "value", offsetoftype(value, Primitive)); tolua_endmodule(L); tolua_endmodule(L); tolua_cclass(L, "Primitive", "Primitive", {}, NULL); @@ -212371,81 +216233,81 @@ int OpenBindingsInternal(lua_State* L) tolua_constant(L, "value", offsetoftype(value, Primitive)); tolua_endmodule(L); tolua_endmodule(L); - tolua_cclass(L, "Primitive", "Primitive", {}, NULL); - tolua_beginmodule(L, "Primitive"); - tolua_variable(L, "value", tolua_get_Primitive_ptrdiff_t__value, tolua_set_Primitive_ptrdiff_t__value); - tolua_variable(L, "reference_value", tolua_get_Primitive_ptrdiff_t__reference_value, NULL); - tolua_constant(L, "sizeof", sizeof(Primitive)); - tolua_constantstring(L, "usertype_value", "Primitive"); + tolua_cclass(L, "Primitive", "Primitive", {}, NULL); + tolua_beginmodule(L, "Primitive"); + tolua_variable(L, "value", tolua_get_Primitive_uint32_t__value, tolua_set_Primitive_uint32_t__value); + tolua_variable(L, "reference_value", tolua_get_Primitive_uint32_t__reference_value, NULL); + tolua_constant(L, "sizeof", sizeof(Primitive)); + tolua_constantstring(L, "usertype_value", "Primitive"); tolua_module(L, ".offsetof", 0); tolua_beginmodule(L, ".offsetof"); - tolua_constant(L, "value", offsetoftype(value, Primitive)); + tolua_constant(L, "value", offsetoftype(value, Primitive)); tolua_endmodule(L); tolua_endmodule(L); - tolua_cclass(L, "Primitive", "Primitive", {}, NULL); - tolua_beginmodule(L, "Primitive"); - tolua_variable(L, "value", tolua_get_Primitive_uint64_t__value, tolua_set_Primitive_uint64_t__value); - tolua_variable(L, "reference_value", tolua_get_Primitive_uint64_t__reference_value, NULL); - tolua_constant(L, "sizeof", sizeof(Primitive)); - tolua_constantstring(L, "usertype_value", "Primitive"); + tolua_cclass(L, "Primitive<__int8>", "Primitive<__int8>", {}, NULL); + tolua_beginmodule(L, "Primitive<__int8>"); + tolua_variable(L, "value", tolua_get_Primitive___int8__value, tolua_set_Primitive___int8__value); + tolua_variable(L, "reference_value", tolua_get_Primitive___int8__reference_value, NULL); + tolua_constant(L, "sizeof", sizeof(Primitive<__int8>)); + tolua_constantstring(L, "usertype_value", "Primitive<__int8>"); tolua_module(L, ".offsetof", 0); tolua_beginmodule(L, ".offsetof"); - tolua_constant(L, "value", offsetoftype(value, Primitive)); + tolua_constant(L, "value", offsetoftype(value, Primitive<__int8>)); tolua_endmodule(L); tolua_endmodule(L); - tolua_cclass(L, "Primitive<__int64>", "Primitive<__int64>", {}, NULL); - tolua_beginmodule(L, "Primitive<__int64>"); - tolua_variable(L, "value", tolua_get_Primitive___int64__value, tolua_set_Primitive___int64__value); - tolua_variable(L, "reference_value", tolua_get_Primitive___int64__reference_value, NULL); - tolua_constant(L, "sizeof", sizeof(Primitive<__int64>)); - tolua_constantstring(L, "usertype_value", "Primitive<__int64>"); + tolua_cclass(L, "Primitive", "Primitive", {}, NULL); + tolua_beginmodule(L, "Primitive"); + tolua_variable(L, "value", tolua_get_Primitive_char__value, tolua_set_Primitive_char__value); + tolua_variable(L, "reference_value", tolua_get_Primitive_char__reference_value, NULL); + tolua_constant(L, "sizeof", sizeof(Primitive)); + tolua_constantstring(L, "usertype_value", "char"); tolua_module(L, ".offsetof", 0); tolua_beginmodule(L, ".offsetof"); - tolua_constant(L, "value", offsetoftype(value, Primitive<__int64>)); + tolua_constant(L, "value", offsetoftype(value, Primitive)); tolua_endmodule(L); tolua_endmodule(L); - tolua_cclass(L, "Primitive", "Primitive", {}, NULL); - tolua_beginmodule(L, "Primitive"); - tolua_variable(L, "value", tolua_get_Primitive_BOOL__value, tolua_set_Primitive_BOOL__value); - tolua_variable(L, "reference_value", tolua_get_Primitive_BOOL__reference_value, NULL); - tolua_constant(L, "sizeof", sizeof(Primitive)); - tolua_constantstring(L, "usertype_value", "Primitive"); + tolua_cclass(L, "Primitive", "Primitive", {}, NULL); + tolua_beginmodule(L, "Primitive"); + tolua_variable(L, "value", tolua_get_Primitive_uint__value, tolua_set_Primitive_uint__value); + tolua_variable(L, "reference_value", tolua_get_Primitive_uint__reference_value, NULL); + tolua_constant(L, "sizeof", sizeof(Primitive)); + tolua_constantstring(L, "usertype_value", "Primitive"); tolua_module(L, ".offsetof", 0); tolua_beginmodule(L, ".offsetof"); - tolua_constant(L, "value", offsetoftype(value, Primitive)); + tolua_constant(L, "value", offsetoftype(value, Primitive)); tolua_endmodule(L); tolua_endmodule(L); - tolua_cclass(L, "Primitive", "Primitive", {}, NULL); - tolua_beginmodule(L, "Primitive"); - tolua_variable(L, "value", tolua_get_Primitive_LONG__value, tolua_set_Primitive_LONG__value); - tolua_variable(L, "reference_value", tolua_get_Primitive_LONG__reference_value, NULL); - tolua_constant(L, "sizeof", sizeof(Primitive)); - tolua_constantstring(L, "usertype_value", "Primitive"); + tolua_cclass(L, "Primitive", "Primitive", {}, NULL); + tolua_beginmodule(L, "Primitive"); + tolua_variable(L, "value", tolua_get_Primitive_long_double__value, tolua_set_Primitive_long_double__value); + tolua_variable(L, "reference_value", tolua_get_Primitive_long_double__reference_value, NULL); + tolua_constant(L, "sizeof", sizeof(Primitive)); + tolua_constantstring(L, "usertype_value", "Primitive"); tolua_module(L, ".offsetof", 0); tolua_beginmodule(L, ".offsetof"); - tolua_constant(L, "value", offsetoftype(value, Primitive)); + tolua_constant(L, "value", offsetoftype(value, Primitive)); tolua_endmodule(L); tolua_endmodule(L); - tolua_cclass(L, "Primitive", "Primitive", {}, NULL); - tolua_beginmodule(L, "Primitive"); - tolua_variable(L, "value", tolua_get_Primitive_int64_t__value, tolua_set_Primitive_int64_t__value); - tolua_variable(L, "reference_value", tolua_get_Primitive_int64_t__reference_value, NULL); - tolua_constant(L, "sizeof", sizeof(Primitive)); - tolua_constantstring(L, "usertype_value", "Primitive"); + tolua_cclass(L, "Primitive", "Primitive", {}, NULL); + tolua_beginmodule(L, "Primitive"); + tolua_variable(L, "value", tolua_get_Primitive_BOOL__value, tolua_set_Primitive_BOOL__value); + tolua_variable(L, "reference_value", tolua_get_Primitive_BOOL__reference_value, NULL); + tolua_constant(L, "sizeof", sizeof(Primitive)); + tolua_constantstring(L, "usertype_value", "Primitive"); tolua_module(L, ".offsetof", 0); tolua_beginmodule(L, ".offsetof"); - tolua_constant(L, "value", offsetoftype(value, Primitive)); + tolua_constant(L, "value", offsetoftype(value, Primitive)); tolua_endmodule(L); tolua_endmodule(L); - tolua_cclass(L, "Primitive", "Primitive", {}, NULL); - tolua_beginmodule(L, "Primitive"); - tolua_variable(L, "value", tolua_get_Primitive_uint__value, tolua_set_Primitive_uint__value); - tolua_variable(L, "reference_value", tolua_get_Primitive_uint__reference_value, NULL); - tolua_constant(L, "sizeof", sizeof(Primitive)); - tolua_constantstring(L, "usertype_value", "Primitive"); + tolua_cclass(L, "Primitive", "Primitive", {}, NULL); + tolua_beginmodule(L, "Primitive"); + tolua_variable(L, "value", tolua_get_Primitive_HRESULT__value, tolua_set_Primitive_HRESULT__value); + tolua_variable(L, "reference_value", tolua_get_Primitive_HRESULT__reference_value, NULL); + tolua_constant(L, "sizeof", sizeof(Primitive)); + tolua_constantstring(L, "usertype_value", "Primitive"); tolua_module(L, ".offsetof", 0); tolua_beginmodule(L, ".offsetof"); - tolua_constant(L, "value", offsetoftype(value, Primitive)); + tolua_constant(L, "value", offsetoftype(value, Primitive)); tolua_endmodule(L); tolua_endmodule(L); tolua_cclass(L, "Primitive", "Primitive", {}, NULL); @@ -212459,6 +216321,50 @@ int OpenBindingsInternal(lua_State* L) tolua_constant(L, "value", offsetoftype(value, Primitive)); tolua_endmodule(L); tolua_endmodule(L); + tolua_cclass(L, "Primitive", "Primitive", {}, NULL); + tolua_beginmodule(L, "Primitive"); + tolua_variable(L, "value", tolua_get_Primitive_INT__value, tolua_set_Primitive_INT__value); + tolua_variable(L, "reference_value", tolua_get_Primitive_INT__reference_value, NULL); + tolua_constant(L, "sizeof", sizeof(Primitive)); + tolua_constantstring(L, "usertype_value", "Primitive"); + tolua_module(L, ".offsetof", 0); + tolua_beginmodule(L, ".offsetof"); + tolua_constant(L, "value", offsetoftype(value, Primitive)); + tolua_endmodule(L); + tolua_endmodule(L); + tolua_cclass(L, "Primitive", "Primitive", {}, NULL); + tolua_beginmodule(L, "Primitive"); + tolua_variable(L, "value", tolua_get_Primitive_double__value, tolua_set_Primitive_double__value); + tolua_variable(L, "reference_value", tolua_get_Primitive_double__reference_value, NULL); + tolua_constant(L, "sizeof", sizeof(Primitive)); + tolua_constantstring(L, "usertype_value", "Primitive"); + tolua_module(L, ".offsetof", 0); + tolua_beginmodule(L, ".offsetof"); + tolua_constant(L, "value", offsetoftype(value, Primitive)); + tolua_endmodule(L); + tolua_endmodule(L); + tolua_cclass(L, "Primitive", "Primitive", {}, NULL); + tolua_beginmodule(L, "Primitive"); + tolua_variable(L, "value", tolua_get_Primitive_float__value, tolua_set_Primitive_float__value); + tolua_variable(L, "reference_value", tolua_get_Primitive_float__reference_value, NULL); + tolua_constant(L, "sizeof", sizeof(Primitive)); + tolua_constantstring(L, "usertype_value", "Primitive"); + tolua_module(L, ".offsetof", 0); + tolua_beginmodule(L, ".offsetof"); + tolua_constant(L, "value", offsetoftype(value, Primitive)); + tolua_endmodule(L); + tolua_endmodule(L); + tolua_cclass(L, "Primitive", "Primitive", {}, NULL); + tolua_beginmodule(L, "Primitive"); + tolua_variable(L, "value", tolua_get_Primitive_int__value, tolua_set_Primitive_int__value); + tolua_variable(L, "reference_value", tolua_get_Primitive_int__reference_value, NULL); + tolua_constant(L, "sizeof", sizeof(Primitive)); + tolua_constantstring(L, "usertype_value", "Primitive"); + tolua_module(L, ".offsetof", 0); + tolua_beginmodule(L, ".offsetof"); + tolua_constant(L, "value", offsetoftype(value, Primitive)); + tolua_endmodule(L); + tolua_endmodule(L); tolua_cclass(L, "Primitive", "Primitive", {}, NULL); tolua_beginmodule(L, "Primitive"); tolua_variable(L, "value", tolua_get_Primitive_uint8_t__value, tolua_set_Primitive_uint8_t__value); @@ -212470,15 +216376,25 @@ int OpenBindingsInternal(lua_State* L) tolua_constant(L, "value", offsetoftype(value, Primitive)); tolua_endmodule(L); tolua_endmodule(L); - tolua_cclass(L, "Primitive", "Primitive", {}, NULL); - tolua_beginmodule(L, "Primitive"); - tolua_variable(L, "value", tolua_get_Primitive_short__value, tolua_set_Primitive_short__value); - tolua_variable(L, "reference_value", tolua_get_Primitive_short__reference_value, NULL); - tolua_constant(L, "sizeof", sizeof(Primitive)); - tolua_constantstring(L, "usertype_value", "Primitive"); + tolua_cclass(L, "Primitive<__int64>", "Primitive<__int64>", {}, NULL); + tolua_beginmodule(L, "Primitive<__int64>"); + tolua_variable(L, "value", tolua_get_Primitive___int64__value, tolua_set_Primitive___int64__value); + tolua_variable(L, "reference_value", tolua_get_Primitive___int64__reference_value, NULL); + tolua_constant(L, "sizeof", sizeof(Primitive<__int64>)); + tolua_constantstring(L, "usertype_value", "Primitive<__int64>"); tolua_module(L, ".offsetof", 0); tolua_beginmodule(L, ".offsetof"); - tolua_constant(L, "value", offsetoftype(value, Primitive)); + tolua_constant(L, "value", offsetoftype(value, Primitive<__int64>)); + tolua_endmodule(L); + tolua_endmodule(L); + tolua_cclass(L, "Primitive", "Primitive", {}, NULL); + tolua_beginmodule(L, "Primitive"); + tolua_variable(L, "value", tolua_get_Primitive_char___value, NULL); + tolua_constant(L, "sizeof", sizeof(Primitive)); + tolua_constantstring(L, "usertype_value", "ConstCharString"); + tolua_module(L, ".offsetof", 0); + tolua_beginmodule(L, ".offsetof"); + tolua_constant(L, "value", offsetoftype(value, Primitive)); tolua_endmodule(L); tolua_endmodule(L); tolua_cclass(L, "Primitive", "Primitive", {}, NULL); @@ -212492,28 +216408,6 @@ int OpenBindingsInternal(lua_State* L) tolua_constant(L, "value", offsetoftype(value, Primitive)); tolua_endmodule(L); tolua_endmodule(L); - tolua_cclass(L, "Primitive", "Primitive", {}, NULL); - tolua_beginmodule(L, "Primitive"); - tolua_variable(L, "value", tolua_get_Primitive_DWORD__value, tolua_set_Primitive_DWORD__value); - tolua_variable(L, "reference_value", tolua_get_Primitive_DWORD__reference_value, NULL); - tolua_constant(L, "sizeof", sizeof(Primitive)); - tolua_constantstring(L, "usertype_value", "Primitive"); - tolua_module(L, ".offsetof", 0); - tolua_beginmodule(L, ".offsetof"); - tolua_constant(L, "value", offsetoftype(value, Primitive)); - tolua_endmodule(L); - tolua_endmodule(L); - tolua_cclass(L, "Primitive", "Primitive", {}, NULL); - tolua_beginmodule(L, "Primitive"); - tolua_variable(L, "value", tolua_get_Primitive_uintptr_t__value, tolua_set_Primitive_uintptr_t__value); - tolua_variable(L, "reference_value", tolua_get_Primitive_uintptr_t__reference_value, NULL); - tolua_constant(L, "sizeof", sizeof(Primitive)); - tolua_constantstring(L, "usertype_value", "Primitive"); - tolua_module(L, ".offsetof", 0); - tolua_beginmodule(L, ".offsetof"); - tolua_constant(L, "value", offsetoftype(value, Primitive)); - tolua_endmodule(L); - tolua_endmodule(L); tolua_cclass(L, "Primitive", "Primitive", {}, NULL); tolua_beginmodule(L, "Primitive"); tolua_variable(L, "value", tolua_get_Primitive_int8_t__value, tolua_set_Primitive_int8_t__value); @@ -212525,26 +216419,26 @@ int OpenBindingsInternal(lua_State* L) tolua_constant(L, "value", offsetoftype(value, Primitive)); tolua_endmodule(L); tolua_endmodule(L); - tolua_cclass(L, "Primitive", "Primitive", {}, NULL); - tolua_beginmodule(L, "Primitive"); - tolua_variable(L, "value", tolua_get_Primitive_byte__value, tolua_set_Primitive_byte__value); - tolua_variable(L, "reference_value", tolua_get_Primitive_byte__reference_value, NULL); - tolua_constant(L, "sizeof", sizeof(Primitive)); - tolua_constantstring(L, "usertype_value", "Primitive"); + tolua_cclass(L, "Primitive", "Primitive", {}, NULL); + tolua_beginmodule(L, "Primitive"); + tolua_variable(L, "value", tolua_get_Primitive_int64_t__value, tolua_set_Primitive_int64_t__value); + tolua_variable(L, "reference_value", tolua_get_Primitive_int64_t__reference_value, NULL); + tolua_constant(L, "sizeof", sizeof(Primitive)); + tolua_constantstring(L, "usertype_value", "Primitive"); tolua_module(L, ".offsetof", 0); tolua_beginmodule(L, ".offsetof"); - tolua_constant(L, "value", offsetoftype(value, Primitive)); + tolua_constant(L, "value", offsetoftype(value, Primitive)); tolua_endmodule(L); tolua_endmodule(L); - tolua_cclass(L, "Primitive", "Primitive", {}, NULL); - tolua_beginmodule(L, "Primitive"); - tolua_variable(L, "value", tolua_get_Primitive_int__value, tolua_set_Primitive_int__value); - tolua_variable(L, "reference_value", tolua_get_Primitive_int__reference_value, NULL); - tolua_constant(L, "sizeof", sizeof(Primitive)); - tolua_constantstring(L, "usertype_value", "Primitive"); + tolua_cclass(L, "Primitive", "Primitive", {}, NULL); + tolua_beginmodule(L, "Primitive"); + tolua_variable(L, "value", tolua_get_Primitive_ptrdiff_t__value, tolua_set_Primitive_ptrdiff_t__value); + tolua_variable(L, "reference_value", tolua_get_Primitive_ptrdiff_t__reference_value, NULL); + tolua_constant(L, "sizeof", sizeof(Primitive)); + tolua_constantstring(L, "usertype_value", "Primitive"); tolua_module(L, ".offsetof", 0); tolua_beginmodule(L, ".offsetof"); - tolua_constant(L, "value", offsetoftype(value, Primitive)); + tolua_constant(L, "value", offsetoftype(value, Primitive)); tolua_endmodule(L); tolua_endmodule(L); tolua_cclass(L, "Primitive", "Primitive", {}, NULL); @@ -212558,37 +216452,37 @@ int OpenBindingsInternal(lua_State* L) tolua_constant(L, "value", offsetoftype(value, Primitive)); tolua_endmodule(L); tolua_endmodule(L); - tolua_cclass(L, "Primitive", "Primitive", {}, NULL); - tolua_beginmodule(L, "Primitive"); - tolua_variable(L, "value", tolua_get_Primitive_int32_t__value, tolua_set_Primitive_int32_t__value); - tolua_variable(L, "reference_value", tolua_get_Primitive_int32_t__reference_value, NULL); - tolua_constant(L, "sizeof", sizeof(Primitive)); - tolua_constantstring(L, "usertype_value", "Primitive"); + tolua_cclass(L, "Primitive", "Primitive", {}, NULL); + tolua_beginmodule(L, "Primitive"); + tolua_variable(L, "value", tolua_get_Primitive_uint64_t__value, tolua_set_Primitive_uint64_t__value); + tolua_variable(L, "reference_value", tolua_get_Primitive_uint64_t__reference_value, NULL); + tolua_constant(L, "sizeof", sizeof(Primitive)); + tolua_constantstring(L, "usertype_value", "Primitive"); tolua_module(L, ".offsetof", 0); tolua_beginmodule(L, ".offsetof"); - tolua_constant(L, "value", offsetoftype(value, Primitive)); + tolua_constant(L, "value", offsetoftype(value, Primitive)); tolua_endmodule(L); tolua_endmodule(L); - tolua_cclass(L, "Primitive<__int8>", "Primitive<__int8>", {}, NULL); - tolua_beginmodule(L, "Primitive<__int8>"); - tolua_variable(L, "value", tolua_get_Primitive___int8__value, tolua_set_Primitive___int8__value); - tolua_variable(L, "reference_value", tolua_get_Primitive___int8__reference_value, NULL); - tolua_constant(L, "sizeof", sizeof(Primitive<__int8>)); - tolua_constantstring(L, "usertype_value", "Primitive<__int8>"); + tolua_cclass(L, "Primitive<__int16>", "Primitive<__int16>", {}, NULL); + tolua_beginmodule(L, "Primitive<__int16>"); + tolua_variable(L, "value", tolua_get_Primitive___int16__value, tolua_set_Primitive___int16__value); + tolua_variable(L, "reference_value", tolua_get_Primitive___int16__reference_value, NULL); + tolua_constant(L, "sizeof", sizeof(Primitive<__int16>)); + tolua_constantstring(L, "usertype_value", "Primitive<__int16>"); tolua_module(L, ".offsetof", 0); tolua_beginmodule(L, ".offsetof"); - tolua_constant(L, "value", offsetoftype(value, Primitive<__int8>)); + tolua_constant(L, "value", offsetoftype(value, Primitive<__int16>)); tolua_endmodule(L); tolua_endmodule(L); - tolua_cclass(L, "Primitive", "Primitive", {}, NULL); - tolua_beginmodule(L, "Primitive"); - tolua_variable(L, "value", tolua_get_Primitive_double__value, tolua_set_Primitive_double__value); - tolua_variable(L, "reference_value", tolua_get_Primitive_double__reference_value, NULL); - tolua_constant(L, "sizeof", sizeof(Primitive)); - tolua_constantstring(L, "usertype_value", "Primitive"); + tolua_cclass(L, "Primitive", "Primitive", {}, NULL); + tolua_beginmodule(L, "Primitive"); + tolua_variable(L, "value", tolua_get_Primitive_uintptr_t__value, tolua_set_Primitive_uintptr_t__value); + tolua_variable(L, "reference_value", tolua_get_Primitive_uintptr_t__reference_value, NULL); + tolua_constant(L, "sizeof", sizeof(Primitive)); + tolua_constantstring(L, "usertype_value", "Primitive"); tolua_module(L, ".offsetof", 0); tolua_beginmodule(L, ".offsetof"); - tolua_constant(L, "value", offsetoftype(value, Primitive)); + tolua_constant(L, "value", offsetoftype(value, Primitive)); tolua_endmodule(L); tolua_endmodule(L); tolua_cclass(L, "Primitive<__int32>", "Primitive<__int32>", {}, NULL); @@ -212602,15 +216496,37 @@ int OpenBindingsInternal(lua_State* L) tolua_constant(L, "value", offsetoftype(value, Primitive<__int32>)); tolua_endmodule(L); tolua_endmodule(L); - tolua_cclass(L, "Primitive", "Primitive", {}, NULL); - tolua_beginmodule(L, "Primitive"); - tolua_variable(L, "value", tolua_get_Primitive_long_double__value, tolua_set_Primitive_long_double__value); - tolua_variable(L, "reference_value", tolua_get_Primitive_long_double__reference_value, NULL); - tolua_constant(L, "sizeof", sizeof(Primitive)); - tolua_constantstring(L, "usertype_value", "Primitive"); + tolua_cclass(L, "Primitive", "Primitive", {}, NULL); + tolua_beginmodule(L, "Primitive"); + tolua_variable(L, "value", tolua_get_Primitive_byte__value, tolua_set_Primitive_byte__value); + tolua_variable(L, "reference_value", tolua_get_Primitive_byte__reference_value, NULL); + tolua_constant(L, "sizeof", sizeof(Primitive)); + tolua_constantstring(L, "usertype_value", "Primitive"); tolua_module(L, ".offsetof", 0); tolua_beginmodule(L, ".offsetof"); - tolua_constant(L, "value", offsetoftype(value, Primitive)); + tolua_constant(L, "value", offsetoftype(value, Primitive)); + tolua_endmodule(L); + tolua_endmodule(L); + tolua_cclass(L, "Primitive", "Primitive", {}, NULL); + tolua_beginmodule(L, "Primitive"); + tolua_variable(L, "value", tolua_get_Primitive_lua_Integer__value, tolua_set_Primitive_lua_Integer__value); + tolua_variable(L, "reference_value", tolua_get_Primitive_lua_Integer__reference_value, NULL); + tolua_constant(L, "sizeof", sizeof(Primitive)); + tolua_constantstring(L, "usertype_value", "Primitive"); + tolua_module(L, ".offsetof", 0); + tolua_beginmodule(L, ".offsetof"); + tolua_constant(L, "value", offsetoftype(value, Primitive)); + tolua_endmodule(L); + tolua_endmodule(L); + tolua_cclass(L, "Primitive", "Primitive", {}, NULL); + tolua_beginmodule(L, "Primitive"); + tolua_variable(L, "value", tolua_get_Primitive_uint16_t__value, tolua_set_Primitive_uint16_t__value); + tolua_variable(L, "reference_value", tolua_get_Primitive_uint16_t__reference_value, NULL); + tolua_constant(L, "sizeof", sizeof(Primitive)); + tolua_constantstring(L, "usertype_value", "Primitive"); + tolua_module(L, ".offsetof", 0); + tolua_beginmodule(L, ".offsetof"); + tolua_constant(L, "value", offsetoftype(value, Primitive)); tolua_endmodule(L); tolua_endmodule(L); tolua_cclass(L, "SAreaFileWrapper", "SAreaFileWrapper", {}, NULL); @@ -212647,6 +216563,10 @@ int OpenBindingsInternal(lua_State* L) tolua_constant(L, "driverdata", offsetoftype(driverdata, SDL_Cursor)); tolua_endmodule(L); tolua_endmodule(L); + tolua_cclass(L, "SDL_PrivateGLESData", "SDL_PrivateGLESData", {}, NULL); + tolua_beginmodule(L, "SDL_PrivateGLESData"); + tolua_constant(L, "sizeof", sizeof(SDL_PrivateGLESData)); + tolua_endmodule(L); tolua_cclass(L, "SDL_WindowUserData", "SDL_WindowUserData", {}, NULL); tolua_beginmodule(L, "SDL_WindowUserData"); tolua_variable(L, "name", tolua_get_SDL_WindowUserData_name, NULL); @@ -214096,6 +218016,25 @@ int OpenBindingsInternal(lua_State* L) tolua_constant(L, "patch", offsetoftype(patch, SDL_version)); tolua_endmodule(L); tolua_endmodule(L); + tolua_cclass(L, "SDL_MessageBoxColor", "SDL_MessageBoxColor", {}, NULL); + tolua_beginmodule(L, "SDL_MessageBoxColor"); + tolua_variable(L, "r", tolua_get_SDL_MessageBoxColor_r, tolua_set_SDL_MessageBoxColor_r); + tolua_variable(L, "reference_r", tolua_get_SDL_MessageBoxColor_reference_r, NULL); + tolua_variable(L, "g", tolua_get_SDL_MessageBoxColor_g, tolua_set_SDL_MessageBoxColor_g); + tolua_variable(L, "reference_g", tolua_get_SDL_MessageBoxColor_reference_g, NULL); + tolua_variable(L, "b", tolua_get_SDL_MessageBoxColor_b, tolua_set_SDL_MessageBoxColor_b); + tolua_variable(L, "reference_b", tolua_get_SDL_MessageBoxColor_reference_b, NULL); + tolua_constant(L, "sizeof", sizeof(SDL_MessageBoxColor)); + tolua_constantstring(L, "usertype_r", "Primitive<__int8>"); + tolua_constantstring(L, "usertype_g", "Primitive<__int8>"); + tolua_constantstring(L, "usertype_b", "Primitive<__int8>"); + tolua_module(L, ".offsetof", 0); + tolua_beginmodule(L, ".offsetof"); + tolua_constant(L, "r", offsetoftype(r, SDL_MessageBoxColor)); + tolua_constant(L, "g", offsetoftype(g, SDL_MessageBoxColor)); + tolua_constant(L, "b", offsetoftype(b, SDL_MessageBoxColor)); + tolua_endmodule(L); + tolua_endmodule(L); tolua_cclass(L, "SDL_Color", "SDL_Color", {}, NULL); tolua_beginmodule(L, "SDL_Color"); tolua_variable(L, "r", tolua_get_SDL_Color_r, tolua_set_SDL_Color_r); @@ -215250,6 +219189,52 @@ int OpenBindingsInternal(lua_State* L) tolua_constant(L, "lParam", offsetoftype(lParam, SDL_SysWMmsg::msg_t::win_t)); tolua_endmodule(L); tolua_endmodule(L); + tolua_cclass(L, "SDL_SysWMinfo", "SDL_SysWMinfo", {}, NULL); + tolua_beginmodule(L, "SDL_SysWMinfo"); + tolua_variable(L, "version", tolua_get_SDL_SysWMinfo_version, NULL); + tolua_variable(L, "subsystem", tolua_get_SDL_SysWMinfo_subsystem, tolua_set_SDL_SysWMinfo_subsystem); + tolua_variable(L, "reference_subsystem", tolua_get_SDL_SysWMinfo_reference_subsystem, NULL); + tolua_variable(L, "info", tolua_get_SDL_SysWMinfo_info, NULL); + tolua_constant(L, "sizeof", sizeof(SDL_SysWMinfo)); + tolua_constantstring(L, "usertype_version", "SDL_version"); + tolua_constantstring(L, "usertype_subsystem", "Primitive"); + tolua_constantstring(L, "usertype_info", "SDL_SysWMinfo::info_t"); + tolua_module(L, ".offsetof", 0); + tolua_beginmodule(L, ".offsetof"); + tolua_constant(L, "version", offsetoftype(version, SDL_SysWMinfo)); + tolua_constant(L, "subsystem", offsetoftype(subsystem, SDL_SysWMinfo)); + tolua_constant(L, "info", offsetoftype(info, SDL_SysWMinfo)); + tolua_endmodule(L); + tolua_endmodule(L); + tolua_cclass(L, "SDL_SysWMinfo::info_t", "SDL_SysWMinfo::info_t", {}, NULL); + tolua_beginmodule(L, "SDL_SysWMinfo::info_t"); + tolua_variable(L, "win", tolua_get_SDL_SysWMinfo__info_t_win, NULL); + tolua_variable(L, "dummy", tolua_get_SDL_SysWMinfo__info_t_dummy, tolua_set_SDL_SysWMinfo__info_t_dummy); + tolua_variable(L, "reference_dummy", tolua_get_SDL_SysWMinfo__info_t_reference_dummy, NULL); + tolua_constant(L, "sizeof", sizeof(SDL_SysWMinfo::info_t)); + tolua_constantstring(L, "usertype_win", "SDL_SysWMinfo::info_t::win_t"); + tolua_constantstring(L, "usertype_dummy", "Primitive"); + tolua_module(L, ".offsetof", 0); + tolua_beginmodule(L, ".offsetof"); + tolua_constant(L, "win", offsetoftype(win, SDL_SysWMinfo::info_t)); + tolua_constant(L, "dummy", offsetoftype(dummy, SDL_SysWMinfo::info_t)); + tolua_endmodule(L); + tolua_endmodule(L); + tolua_cclass(L, "SDL_SysWMinfo::info_t::win_t", "SDL_SysWMinfo::info_t::win_t", {}, NULL); + tolua_beginmodule(L, "SDL_SysWMinfo::info_t::win_t"); + tolua_variable(L, "window", tolua_get_SDL_SysWMinfo__info_t__win_t_window, tolua_set_SDL_SysWMinfo__info_t__win_t_window); + tolua_variable(L, "reference_window", tolua_get_SDL_SysWMinfo__info_t__win_t_reference_window, NULL); + tolua_variable(L, "hdc", tolua_get_SDL_SysWMinfo__info_t__win_t_hdc, tolua_set_SDL_SysWMinfo__info_t__win_t_hdc); + tolua_variable(L, "reference_hdc", tolua_get_SDL_SysWMinfo__info_t__win_t_reference_hdc, NULL); + tolua_constant(L, "sizeof", sizeof(SDL_SysWMinfo::info_t::win_t)); + tolua_constantstring(L, "usertype_window", "HWND__"); + tolua_constantstring(L, "usertype_hdc", "HDC__"); + tolua_module(L, ".offsetof", 0); + tolua_beginmodule(L, ".offsetof"); + tolua_constant(L, "window", offsetoftype(window, SDL_SysWMinfo::info_t::win_t)); + tolua_constant(L, "hdc", offsetoftype(hdc, SDL_SysWMinfo::info_t::win_t)); + tolua_endmodule(L); + tolua_endmodule(L); tolua_cclass(L, "SDL_SysWMEvent", "SDL_SysWMEvent", {}, NULL); tolua_beginmodule(L, "SDL_SysWMEvent"); tolua_variable(L, "type", tolua_get_SDL_SysWMEvent_type, tolua_set_SDL_SysWMEvent_type); @@ -215269,6 +219254,19 @@ int OpenBindingsInternal(lua_State* L) tolua_constant(L, "msg", offsetoftype(msg, SDL_SysWMEvent)); tolua_endmodule(L); tolua_endmodule(L); + tolua_cclass(L, "SDL_ShapeDriver", "SDL_ShapeDriver", {}, NULL); + tolua_beginmodule(L, "SDL_ShapeDriver"); + tolua_function(L, "CreateShaper", &tolua_function_SDL_ShapeDriver_CreateShaper); + tolua_function(L, "SetWindowShape", &tolua_function_SDL_ShapeDriver_SetWindowShape); + tolua_function(L, "ResizeWindowShape", &tolua_function_SDL_ShapeDriver_ResizeWindowShape); + tolua_constant(L, "sizeof", sizeof(SDL_ShapeDriver)); + tolua_module(L, ".offsetof", 0); + tolua_beginmodule(L, ".offsetof"); + tolua_constant(L, "CreateShaper", offsetoftype(CreateShaper, SDL_ShapeDriver)); + tolua_constant(L, "SetWindowShape", offsetoftype(SetWindowShape, SDL_ShapeDriver)); + tolua_constant(L, "ResizeWindowShape", offsetoftype(ResizeWindowShape, SDL_ShapeDriver)); + tolua_endmodule(L); + tolua_endmodule(L); tolua_cclass(L, "SDL_QuitEvent", "SDL_QuitEvent", {}, NULL); tolua_beginmodule(L, "SDL_QuitEvent"); tolua_variable(L, "type", tolua_get_SDL_QuitEvent_type, tolua_set_SDL_QuitEvent_type); @@ -215475,6 +219473,57 @@ int OpenBindingsInternal(lua_State* L) tolua_constant(L, "y", offsetoftype(y, SDL_MouseButtonEvent)); tolua_endmodule(L); tolua_endmodule(L); + tolua_cclass(L, "SDL_MessageBoxData", "SDL_MessageBoxData", {}, NULL); + tolua_beginmodule(L, "SDL_MessageBoxData"); + tolua_variable(L, "flags", tolua_get_SDL_MessageBoxData_flags, tolua_set_SDL_MessageBoxData_flags); + tolua_variable(L, "reference_flags", tolua_get_SDL_MessageBoxData_reference_flags, NULL); + tolua_variable(L, "window", tolua_get_SDL_MessageBoxData_window, tolua_set_SDL_MessageBoxData_window); + tolua_variable(L, "reference_window", tolua_get_SDL_MessageBoxData_reference_window, NULL); + tolua_variable(L, "title", tolua_get_SDL_MessageBoxData_title, NULL); + tolua_variable(L, "message", tolua_get_SDL_MessageBoxData_message, NULL); + tolua_variable(L, "numbuttons", tolua_get_SDL_MessageBoxData_numbuttons, tolua_set_SDL_MessageBoxData_numbuttons); + tolua_variable(L, "reference_numbuttons", tolua_get_SDL_MessageBoxData_reference_numbuttons, NULL); + tolua_variable(L, "buttons", tolua_get_SDL_MessageBoxData_buttons, tolua_set_SDL_MessageBoxData_buttons); + tolua_variable(L, "reference_buttons", tolua_get_SDL_MessageBoxData_reference_buttons, NULL); + tolua_variable(L, "colorScheme", tolua_get_SDL_MessageBoxData_colorScheme, tolua_set_SDL_MessageBoxData_colorScheme); + tolua_variable(L, "reference_colorScheme", tolua_get_SDL_MessageBoxData_reference_colorScheme, NULL); + tolua_constant(L, "sizeof", sizeof(SDL_MessageBoxData)); + tolua_constantstring(L, "usertype_flags", "Primitive"); + tolua_constantstring(L, "usertype_window", "SDL_Window"); + tolua_constantstring(L, "usertype_title", "ConstCharString"); + tolua_constantstring(L, "usertype_message", "ConstCharString"); + tolua_constantstring(L, "usertype_numbuttons", "Primitive"); + tolua_constantstring(L, "usertype_buttons", "SDL_MessageBoxButtonData"); + tolua_constantstring(L, "usertype_colorScheme", "SDL_MessageBoxColorScheme"); + tolua_module(L, ".offsetof", 0); + tolua_beginmodule(L, ".offsetof"); + tolua_constant(L, "flags", offsetoftype(flags, SDL_MessageBoxData)); + tolua_constant(L, "window", offsetoftype(window, SDL_MessageBoxData)); + tolua_constant(L, "title", offsetoftype(title, SDL_MessageBoxData)); + tolua_constant(L, "message", offsetoftype(message, SDL_MessageBoxData)); + tolua_constant(L, "numbuttons", offsetoftype(numbuttons, SDL_MessageBoxData)); + tolua_constant(L, "buttons", offsetoftype(buttons, SDL_MessageBoxData)); + tolua_constant(L, "colorScheme", offsetoftype(colorScheme, SDL_MessageBoxData)); + tolua_endmodule(L); + tolua_endmodule(L); + tolua_cclass(L, "SDL_MessageBoxButtonData", "SDL_MessageBoxButtonData", {}, NULL); + tolua_beginmodule(L, "SDL_MessageBoxButtonData"); + tolua_variable(L, "flags", tolua_get_SDL_MessageBoxButtonData_flags, tolua_set_SDL_MessageBoxButtonData_flags); + tolua_variable(L, "reference_flags", tolua_get_SDL_MessageBoxButtonData_reference_flags, NULL); + tolua_variable(L, "buttonid", tolua_get_SDL_MessageBoxButtonData_buttonid, tolua_set_SDL_MessageBoxButtonData_buttonid); + tolua_variable(L, "reference_buttonid", tolua_get_SDL_MessageBoxButtonData_reference_buttonid, NULL); + tolua_variable(L, "text", tolua_get_SDL_MessageBoxButtonData_text, NULL); + tolua_constant(L, "sizeof", sizeof(SDL_MessageBoxButtonData)); + tolua_constantstring(L, "usertype_flags", "Primitive"); + tolua_constantstring(L, "usertype_buttonid", "Primitive"); + tolua_constantstring(L, "usertype_text", "ConstCharString"); + tolua_module(L, ".offsetof", 0); + tolua_beginmodule(L, ".offsetof"); + tolua_constant(L, "flags", offsetoftype(flags, SDL_MessageBoxButtonData)); + tolua_constant(L, "buttonid", offsetoftype(buttonid, SDL_MessageBoxButtonData)); + tolua_constant(L, "text", offsetoftype(text, SDL_MessageBoxButtonData)); + tolua_endmodule(L); + tolua_endmodule(L); tolua_cclass(L, "SDL_Keysym", "SDL_Keysym", {}, NULL); tolua_beginmodule(L, "SDL_Keysym"); tolua_variable(L, "scancode", tolua_get_SDL_Keysym_scancode, tolua_set_SDL_Keysym_scancode); @@ -215711,6 +219760,107 @@ int OpenBindingsInternal(lua_State* L) tolua_constant(L, "padding4", offsetoftype(padding4, SDL_JoyAxisEvent)); tolua_endmodule(L); tolua_endmodule(L); + tolua_cclass(L, "SDL_GLDriverData", "SDL_GLDriverData", {}, NULL); + tolua_beginmodule(L, "SDL_GLDriverData"); + tolua_variable(L, "HAS_WGL_ARB_pixel_format", tolua_get_SDL_GLDriverData_HAS_WGL_ARB_pixel_format, tolua_set_SDL_GLDriverData_HAS_WGL_ARB_pixel_format); + tolua_variable(L, "reference_HAS_WGL_ARB_pixel_format", tolua_get_SDL_GLDriverData_reference_HAS_WGL_ARB_pixel_format, NULL); + tolua_variable(L, "HAS_WGL_EXT_swap_control_tear", tolua_get_SDL_GLDriverData_HAS_WGL_EXT_swap_control_tear, tolua_set_SDL_GLDriverData_HAS_WGL_EXT_swap_control_tear); + tolua_variable(L, "reference_HAS_WGL_EXT_swap_control_tear", tolua_get_SDL_GLDriverData_reference_HAS_WGL_EXT_swap_control_tear, NULL); + tolua_variable(L, "HAS_WGL_EXT_create_context_es2_profile", tolua_get_SDL_GLDriverData_HAS_WGL_EXT_create_context_es2_profile, tolua_set_SDL_GLDriverData_HAS_WGL_EXT_create_context_es2_profile); + tolua_variable(L, "reference_HAS_WGL_EXT_create_context_es2_profile", tolua_get_SDL_GLDriverData_reference_HAS_WGL_EXT_create_context_es2_profile, NULL); + tolua_variable(L, "HAS_WGL_ARB_context_flush_control", tolua_get_SDL_GLDriverData_HAS_WGL_ARB_context_flush_control, tolua_set_SDL_GLDriverData_HAS_WGL_ARB_context_flush_control); + tolua_variable(L, "reference_HAS_WGL_ARB_context_flush_control", tolua_get_SDL_GLDriverData_reference_HAS_WGL_ARB_context_flush_control, NULL); + tolua_function(L, "wglGetProcAddress", &tolua_function_SDL_GLDriverData_wglGetProcAddress); + tolua_function(L, "wglCreateContext", &tolua_function_SDL_GLDriverData_wglCreateContext); + tolua_function(L, "wglDeleteContext", &tolua_function_SDL_GLDriverData_wglDeleteContext); + tolua_function(L, "wglMakeCurrent", &tolua_function_SDL_GLDriverData_wglMakeCurrent); + tolua_function(L, "wglShareLists", &tolua_function_SDL_GLDriverData_wglShareLists); + tolua_function(L, "wglChoosePixelFormatARB", &tolua_function_SDL_GLDriverData_wglChoosePixelFormatARB); + tolua_function(L, "wglGetPixelFormatAttribivARB", &tolua_function_SDL_GLDriverData_wglGetPixelFormatAttribivARB); + tolua_function(L, "wglSwapIntervalEXT", &tolua_function_SDL_GLDriverData_wglSwapIntervalEXT); + tolua_function(L, "wglGetSwapIntervalEXT", &tolua_function_SDL_GLDriverData_wglGetSwapIntervalEXT); + tolua_constant(L, "sizeof", sizeof(SDL_GLDriverData)); + tolua_constantstring(L, "usertype_HAS_WGL_ARB_pixel_format", "Primitive"); + tolua_constantstring(L, "usertype_HAS_WGL_EXT_swap_control_tear", "Primitive"); + tolua_constantstring(L, "usertype_HAS_WGL_EXT_create_context_es2_profile", "Primitive"); + tolua_constantstring(L, "usertype_HAS_WGL_ARB_context_flush_control", "Primitive"); + tolua_module(L, ".offsetof", 0); + tolua_beginmodule(L, ".offsetof"); + tolua_constant(L, "HAS_WGL_ARB_pixel_format", offsetoftype(HAS_WGL_ARB_pixel_format, SDL_GLDriverData)); + tolua_constant(L, "HAS_WGL_EXT_swap_control_tear", offsetoftype(HAS_WGL_EXT_swap_control_tear, SDL_GLDriverData)); + tolua_constant(L, "HAS_WGL_EXT_create_context_es2_profile", offsetoftype(HAS_WGL_EXT_create_context_es2_profile, SDL_GLDriverData)); + tolua_constant(L, "HAS_WGL_ARB_context_flush_control", offsetoftype(HAS_WGL_ARB_context_flush_control, SDL_GLDriverData)); + tolua_constant(L, "wglGetProcAddress", offsetoftype(wglGetProcAddress, SDL_GLDriverData)); + tolua_constant(L, "wglCreateContext", offsetoftype(wglCreateContext, SDL_GLDriverData)); + tolua_constant(L, "wglDeleteContext", offsetoftype(wglDeleteContext, SDL_GLDriverData)); + tolua_constant(L, "wglMakeCurrent", offsetoftype(wglMakeCurrent, SDL_GLDriverData)); + tolua_constant(L, "wglShareLists", offsetoftype(wglShareLists, SDL_GLDriverData)); + tolua_constant(L, "wglChoosePixelFormatARB", offsetoftype(wglChoosePixelFormatARB, SDL_GLDriverData)); + tolua_constant(L, "wglGetPixelFormatAttribivARB", offsetoftype(wglGetPixelFormatAttribivARB, SDL_GLDriverData)); + tolua_constant(L, "wglSwapIntervalEXT", offsetoftype(wglSwapIntervalEXT, SDL_GLDriverData)); + tolua_constant(L, "wglGetSwapIntervalEXT", offsetoftype(wglGetSwapIntervalEXT, SDL_GLDriverData)); + tolua_endmodule(L); + tolua_endmodule(L); + tolua_cclass(L, "SDL_EGL_VideoData", "SDL_EGL_VideoData", {}, NULL); + tolua_beginmodule(L, "SDL_EGL_VideoData"); + tolua_variable(L, "egl_dll_handle", tolua_get_SDL_EGL_VideoData_egl_dll_handle, tolua_set_SDL_EGL_VideoData_egl_dll_handle); + tolua_variable(L, "reference_egl_dll_handle", tolua_get_SDL_EGL_VideoData_reference_egl_dll_handle, NULL); + tolua_variable(L, "dll_handle", tolua_get_SDL_EGL_VideoData_dll_handle, tolua_set_SDL_EGL_VideoData_dll_handle); + tolua_variable(L, "reference_dll_handle", tolua_get_SDL_EGL_VideoData_reference_dll_handle, NULL); + tolua_variable(L, "egl_display", tolua_get_SDL_EGL_VideoData_egl_display, tolua_set_SDL_EGL_VideoData_egl_display); + tolua_variable(L, "reference_egl_display", tolua_get_SDL_EGL_VideoData_reference_egl_display, NULL); + tolua_variable(L, "egl_config", tolua_get_SDL_EGL_VideoData_egl_config, tolua_set_SDL_EGL_VideoData_egl_config); + tolua_variable(L, "reference_egl_config", tolua_get_SDL_EGL_VideoData_reference_egl_config, NULL); + tolua_variable(L, "egl_swapinterval", tolua_get_SDL_EGL_VideoData_egl_swapinterval, tolua_set_SDL_EGL_VideoData_egl_swapinterval); + tolua_variable(L, "reference_egl_swapinterval", tolua_get_SDL_EGL_VideoData_reference_egl_swapinterval, NULL); + tolua_function(L, "eglGetDisplay", &tolua_function_SDL_EGL_VideoData_eglGetDisplay); + tolua_function(L, "eglInitialize", &tolua_function_SDL_EGL_VideoData_eglInitialize); + tolua_function(L, "eglTerminate", &tolua_function_SDL_EGL_VideoData_eglTerminate); + tolua_function(L, "eglGetProcAddress", &tolua_function_SDL_EGL_VideoData_eglGetProcAddress); + tolua_function(L, "eglChooseConfig", &tolua_function_SDL_EGL_VideoData_eglChooseConfig); + tolua_function(L, "eglCreateContext", &tolua_function_SDL_EGL_VideoData_eglCreateContext); + tolua_function(L, "eglDestroyContext", &tolua_function_SDL_EGL_VideoData_eglDestroyContext); + tolua_function(L, "eglCreateWindowSurface", &tolua_function_SDL_EGL_VideoData_eglCreateWindowSurface); + tolua_function(L, "eglDestroySurface", &tolua_function_SDL_EGL_VideoData_eglDestroySurface); + tolua_function(L, "eglMakeCurrent", &tolua_function_SDL_EGL_VideoData_eglMakeCurrent); + tolua_function(L, "eglSwapBuffers", &tolua_function_SDL_EGL_VideoData_eglSwapBuffers); + tolua_function(L, "eglSwapInterval", &tolua_function_SDL_EGL_VideoData_eglSwapInterval); + tolua_function(L, "eglGetConfigAttrib", &tolua_function_SDL_EGL_VideoData_eglGetConfigAttrib); + tolua_function(L, "eglWaitNative", &tolua_function_SDL_EGL_VideoData_eglWaitNative); + tolua_function(L, "eglWaitGL", &tolua_function_SDL_EGL_VideoData_eglWaitGL); + tolua_function(L, "eglBindAPI", &tolua_function_SDL_EGL_VideoData_eglBindAPI); + tolua_constant(L, "sizeof", sizeof(SDL_EGL_VideoData)); + tolua_constantstring(L, "usertype_egl_dll_handle", "UnmappedUserType"); + tolua_constantstring(L, "usertype_dll_handle", "UnmappedUserType"); + tolua_constantstring(L, "usertype_egl_display", "UnmappedUserType"); + tolua_constantstring(L, "usertype_egl_config", "UnmappedUserType"); + tolua_constantstring(L, "usertype_egl_swapinterval", "Primitive"); + tolua_module(L, ".offsetof", 0); + tolua_beginmodule(L, ".offsetof"); + tolua_constant(L, "egl_dll_handle", offsetoftype(egl_dll_handle, SDL_EGL_VideoData)); + tolua_constant(L, "dll_handle", offsetoftype(dll_handle, SDL_EGL_VideoData)); + tolua_constant(L, "egl_display", offsetoftype(egl_display, SDL_EGL_VideoData)); + tolua_constant(L, "egl_config", offsetoftype(egl_config, SDL_EGL_VideoData)); + tolua_constant(L, "egl_swapinterval", offsetoftype(egl_swapinterval, SDL_EGL_VideoData)); + tolua_constant(L, "eglGetDisplay", offsetoftype(eglGetDisplay, SDL_EGL_VideoData)); + tolua_constant(L, "eglInitialize", offsetoftype(eglInitialize, SDL_EGL_VideoData)); + tolua_constant(L, "eglTerminate", offsetoftype(eglTerminate, SDL_EGL_VideoData)); + tolua_constant(L, "eglGetProcAddress", offsetoftype(eglGetProcAddress, SDL_EGL_VideoData)); + tolua_constant(L, "eglChooseConfig", offsetoftype(eglChooseConfig, SDL_EGL_VideoData)); + tolua_constant(L, "eglCreateContext", offsetoftype(eglCreateContext, SDL_EGL_VideoData)); + tolua_constant(L, "eglDestroyContext", offsetoftype(eglDestroyContext, SDL_EGL_VideoData)); + tolua_constant(L, "eglCreateWindowSurface", offsetoftype(eglCreateWindowSurface, SDL_EGL_VideoData)); + tolua_constant(L, "eglDestroySurface", offsetoftype(eglDestroySurface, SDL_EGL_VideoData)); + tolua_constant(L, "eglMakeCurrent", offsetoftype(eglMakeCurrent, SDL_EGL_VideoData)); + tolua_constant(L, "eglSwapBuffers", offsetoftype(eglSwapBuffers, SDL_EGL_VideoData)); + tolua_constant(L, "eglSwapInterval", offsetoftype(eglSwapInterval, SDL_EGL_VideoData)); + tolua_constant(L, "eglQueryString", offsetoftype(eglQueryString, SDL_EGL_VideoData)); + tolua_constant(L, "eglGetConfigAttrib", offsetoftype(eglGetConfigAttrib, SDL_EGL_VideoData)); + tolua_constant(L, "eglWaitNative", offsetoftype(eglWaitNative, SDL_EGL_VideoData)); + tolua_constant(L, "eglWaitGL", offsetoftype(eglWaitGL, SDL_EGL_VideoData)); + tolua_constant(L, "eglBindAPI", offsetoftype(eglBindAPI, SDL_EGL_VideoData)); + tolua_endmodule(L); + tolua_endmodule(L); tolua_cclass(L, "SDL_DropEvent", "SDL_DropEvent", {}, NULL); tolua_beginmodule(L, "SDL_DropEvent"); tolua_variable(L, "type", tolua_get_SDL_DropEvent_type, tolua_set_SDL_DropEvent_type); @@ -215795,6 +219945,46 @@ int OpenBindingsInternal(lua_State* L) tolua_constant(L, "driverdata", offsetoftype(driverdata, SDL_DisplayMode)); tolua_endmodule(L); tolua_endmodule(L); + tolua_cclass(L, "SDL_VideoDisplay", "SDL_VideoDisplay", {}, NULL); + tolua_beginmodule(L, "SDL_VideoDisplay"); + tolua_variable(L, "name", tolua_get_SDL_VideoDisplay_name, NULL); + tolua_variable(L, "max_display_modes", tolua_get_SDL_VideoDisplay_max_display_modes, tolua_set_SDL_VideoDisplay_max_display_modes); + tolua_variable(L, "reference_max_display_modes", tolua_get_SDL_VideoDisplay_reference_max_display_modes, NULL); + tolua_variable(L, "num_display_modes", tolua_get_SDL_VideoDisplay_num_display_modes, tolua_set_SDL_VideoDisplay_num_display_modes); + tolua_variable(L, "reference_num_display_modes", tolua_get_SDL_VideoDisplay_reference_num_display_modes, NULL); + tolua_variable(L, "display_modes", tolua_get_SDL_VideoDisplay_display_modes, tolua_set_SDL_VideoDisplay_display_modes); + tolua_variable(L, "reference_display_modes", tolua_get_SDL_VideoDisplay_reference_display_modes, NULL); + tolua_variable(L, "desktop_mode", tolua_get_SDL_VideoDisplay_desktop_mode, NULL); + tolua_variable(L, "current_mode", tolua_get_SDL_VideoDisplay_current_mode, NULL); + tolua_variable(L, "fullscreen_window", tolua_get_SDL_VideoDisplay_fullscreen_window, tolua_set_SDL_VideoDisplay_fullscreen_window); + tolua_variable(L, "reference_fullscreen_window", tolua_get_SDL_VideoDisplay_reference_fullscreen_window, NULL); + tolua_variable(L, "device", tolua_get_SDL_VideoDisplay_device, tolua_set_SDL_VideoDisplay_device); + tolua_variable(L, "reference_device", tolua_get_SDL_VideoDisplay_reference_device, NULL); + tolua_variable(L, "driverdata", tolua_get_SDL_VideoDisplay_driverdata, tolua_set_SDL_VideoDisplay_driverdata); + tolua_variable(L, "reference_driverdata", tolua_get_SDL_VideoDisplay_reference_driverdata, NULL); + tolua_constant(L, "sizeof", sizeof(SDL_VideoDisplay)); + tolua_constantstring(L, "usertype_name", "CharString"); + tolua_constantstring(L, "usertype_max_display_modes", "Primitive"); + tolua_constantstring(L, "usertype_num_display_modes", "Primitive"); + tolua_constantstring(L, "usertype_display_modes", "SDL_DisplayMode"); + tolua_constantstring(L, "usertype_desktop_mode", "SDL_DisplayMode"); + tolua_constantstring(L, "usertype_current_mode", "SDL_DisplayMode"); + tolua_constantstring(L, "usertype_fullscreen_window", "SDL_Window"); + tolua_constantstring(L, "usertype_device", "SDL_VideoDevice"); + tolua_constantstring(L, "usertype_driverdata", "UnmappedUserType"); + tolua_module(L, ".offsetof", 0); + tolua_beginmodule(L, ".offsetof"); + tolua_constant(L, "name", offsetoftype(name, SDL_VideoDisplay)); + tolua_constant(L, "max_display_modes", offsetoftype(max_display_modes, SDL_VideoDisplay)); + tolua_constant(L, "num_display_modes", offsetoftype(num_display_modes, SDL_VideoDisplay)); + tolua_constant(L, "display_modes", offsetoftype(display_modes, SDL_VideoDisplay)); + tolua_constant(L, "desktop_mode", offsetoftype(desktop_mode, SDL_VideoDisplay)); + tolua_constant(L, "current_mode", offsetoftype(current_mode, SDL_VideoDisplay)); + tolua_constant(L, "fullscreen_window", offsetoftype(fullscreen_window, SDL_VideoDisplay)); + tolua_constant(L, "device", offsetoftype(device, SDL_VideoDisplay)); + tolua_constant(L, "driverdata", offsetoftype(driverdata, SDL_VideoDisplay)); + tolua_endmodule(L); + tolua_endmodule(L); tolua_cclass(L, "SDL_ControllerDeviceEvent", "SDL_ControllerDeviceEvent", {}, NULL); tolua_beginmodule(L, "SDL_ControllerDeviceEvent"); tolua_variable(L, "type", tolua_get_SDL_ControllerDeviceEvent_type, tolua_set_SDL_ControllerDeviceEvent_type); @@ -216653,6 +220843,28 @@ int OpenBindingsInternal(lua_State* L) tolua_constant(L, "unused", offsetoftype(unused, HWND__)); tolua_endmodule(L); tolua_endmodule(L); + tolua_cclass(L, "HGLRC__", "HGLRC__", {}, NULL); + tolua_beginmodule(L, "HGLRC__"); + tolua_variable(L, "unused", tolua_get_HGLRC___unused, tolua_set_HGLRC___unused); + tolua_variable(L, "reference_unused", tolua_get_HGLRC___reference_unused, NULL); + tolua_constant(L, "sizeof", sizeof(HGLRC__)); + tolua_constantstring(L, "usertype_unused", "Primitive"); + tolua_module(L, ".offsetof", 0); + tolua_beginmodule(L, ".offsetof"); + tolua_constant(L, "unused", offsetoftype(unused, HGLRC__)); + tolua_endmodule(L); + tolua_endmodule(L); + tolua_cclass(L, "HDC__", "HDC__", {}, NULL); + tolua_beginmodule(L, "HDC__"); + tolua_variable(L, "unused", tolua_get_HDC___unused, tolua_set_HDC___unused); + tolua_variable(L, "reference_unused", tolua_get_HDC___reference_unused, NULL); + tolua_constant(L, "sizeof", sizeof(HDC__)); + tolua_constantstring(L, "usertype_unused", "Primitive"); + tolua_module(L, ".offsetof", 0); + tolua_beginmodule(L, ".offsetof"); + tolua_constant(L, "unused", offsetoftype(unused, HDC__)); + tolua_endmodule(L); + tolua_endmodule(L); tolua_cclass(L, "DP_Packet", "DP_Packet", {}, NULL); tolua_beginmodule(L, "DP_Packet"); tolua_variable(L, "flags", tolua_get_DP_Packet_flags, tolua_set_DP_Packet_flags); @@ -219396,6 +223608,13 @@ int OpenBindingsInternal(lua_State* L) tolua_function(L, "set", &tolua_function_VariableArray_short__set); tolua_constant(L, "sizeof", sizeof(VariableArray)); tolua_endmodule(L); + tolua_cclass(L, "VariableArray", "VariableArray", {}, NULL); + tolua_beginmodule(L, "VariableArray"); + tolua_function(L, "get", &tolua_function_VariableArray_ushort__get); + tolua_function(L, "getReference", &tolua_function_VariableArray_ushort__getReference); + tolua_function(L, "set", &tolua_function_VariableArray_ushort__set); + tolua_constant(L, "sizeof", sizeof(VariableArray)); + tolua_endmodule(L); tolua_cclass(L, "VariableArray", "VariableArray", {}, NULL); tolua_beginmodule(L, "VariableArray"); tolua_function(L, "get", &tolua_function_VariableArray_char__get); @@ -219409,12 +223628,11 @@ int OpenBindingsInternal(lua_State* L) tolua_function(L, "set", &tolua_function_VariableArray_byte__set); tolua_constant(L, "sizeof", sizeof(VariableArray)); tolua_endmodule(L); - tolua_cclass(L, "VariableArray", "VariableArray", {}, NULL); - tolua_beginmodule(L, "VariableArray"); - tolua_function(L, "get", &tolua_function_VariableArray_ushort__get); - tolua_function(L, "getReference", &tolua_function_VariableArray_ushort__getReference); - tolua_function(L, "set", &tolua_function_VariableArray_ushort__set); - tolua_constant(L, "sizeof", sizeof(VariableArray)); + tolua_cclass(L, "VariableArray", "VariableArray", {}, NULL); + tolua_beginmodule(L, "VariableArray"); + tolua_function(L, "getReference", &tolua_function_VariableArray_CRect__getReference); + tolua_function(L, "set", &tolua_function_VariableArray_CRect__set); + tolua_constant(L, "sizeof", sizeof(VariableArray)); tolua_endmodule(L); tolua_cclass(L, "VariableArray", "VariableArray", {}, NULL); tolua_beginmodule(L, "VariableArray"); @@ -219499,12 +223717,6 @@ int OpenBindingsInternal(lua_State* L) tolua_function(L, "set", &tolua_function_VariableArray_CSoundChannel___set); tolua_constant(L, "sizeof", sizeof(VariableArray)); tolua_endmodule(L); - tolua_cclass(L, "VariableArray", "VariableArray", {}, NULL); - tolua_beginmodule(L, "VariableArray"); - tolua_function(L, "getReference", &tolua_function_VariableArray_CRect__getReference); - tolua_function(L, "set", &tolua_function_VariableArray_CRect__set); - tolua_constant(L, "sizeof", sizeof(VariableArray)); - tolua_endmodule(L); tolua_cclass(L, "VariableArray", "VariableArray", {}, NULL); tolua_beginmodule(L, "VariableArray"); tolua_function(L, "getReference", &tolua_function_VariableArray_ALCcontext_struct__getReference); @@ -219556,6 +223768,12 @@ int OpenBindingsInternal(lua_State* L) tolua_function(L, "set", &tolua_function_VariableArray_SDL_Cursor__set); tolua_constant(L, "sizeof", sizeof(VariableArray)); tolua_endmodule(L); + tolua_cclass(L, "VariableArray", "VariableArray", {}, NULL); + tolua_beginmodule(L, "VariableArray"); + tolua_function(L, "getReference", &tolua_function_VariableArray_SDL_PrivateGLESData__getReference); + tolua_function(L, "set", &tolua_function_VariableArray_SDL_PrivateGLESData__set); + tolua_constant(L, "sizeof", sizeof(VariableArray)); + tolua_endmodule(L); tolua_cclass(L, "VariableArray", "VariableArray", {}, NULL); tolua_beginmodule(L, "VariableArray"); tolua_function(L, "getReference", &tolua_function_VariableArray_SDL_WindowUserData__getReference); @@ -219654,6 +223872,12 @@ int OpenBindingsInternal(lua_State* L) tolua_function(L, "set", &tolua_function_VariableArray_SDL_Color__set); tolua_constant(L, "sizeof", sizeof(VariableArray)); tolua_endmodule(L); + tolua_cclass(L, "VariableArray", "VariableArray", {}, NULL); + tolua_beginmodule(L, "VariableArray"); + tolua_function(L, "getReference", &tolua_function_VariableArray_SDL_WindowShapeMode__getReference); + tolua_function(L, "set", &tolua_function_VariableArray_SDL_WindowShapeMode__set); + tolua_constant(L, "sizeof", sizeof(VariableArray)); + tolua_endmodule(L); tolua_cclass(L, "VariableArray", "VariableArray", {}, NULL); tolua_beginmodule(L, "VariableArray"); tolua_function(L, "getReference", &tolua_function_VariableArray_CVisibilityMapEllipse__getReference); @@ -219679,6 +223903,12 @@ int OpenBindingsInternal(lua_State* L) tolua_function(L, "set", &tolua_function_VariableArray_bool__set); tolua_constant(L, "sizeof", sizeof(VariableArray)); tolua_endmodule(L); + tolua_cclass(L, "VariableArray", "VariableArray", {}, NULL); + tolua_beginmodule(L, "VariableArray"); + tolua_function(L, "get", &tolua_function_VariableArray_const_byte__get); + tolua_function(L, "getReference", &tolua_function_VariableArray_const_byte__getReference); + tolua_constant(L, "sizeof", sizeof(VariableArray)); + tolua_endmodule(L); tolua_cclass(L, "VariableArray", "VariableArray", {}, NULL); tolua_beginmodule(L, "VariableArray"); tolua_function(L, "getReference", &tolua_function_VariableArray_const_char___getReference); @@ -219697,6 +223927,12 @@ int OpenBindingsInternal(lua_State* L) tolua_function(L, "set", &tolua_function_VariableArray_long_double__set); tolua_constant(L, "sizeof", sizeof(VariableArray)); tolua_endmodule(L); + tolua_cclass(L, "VariableArray", "VariableArray", {}, NULL); + tolua_beginmodule(L, "VariableArray"); + tolua_function(L, "get", &tolua_function_VariableArray_const_float__get); + tolua_function(L, "getReference", &tolua_function_VariableArray_const_float__getReference); + tolua_constant(L, "sizeof", sizeof(VariableArray)); + tolua_endmodule(L); tolua_cclass(L, "VariableArray", "VariableArray", {}, NULL); tolua_beginmodule(L, "VariableArray"); tolua_function(L, "get", &tolua_function_VariableArray_const_unsigned_int__get); @@ -219804,12 +224040,52 @@ int OpenBindingsInternal(lua_State* L) tolua_function(L, "set", &tolua_function_VariableArray_SDL_SysWMmsg__set); tolua_constant(L, "sizeof", sizeof(VariableArray)); tolua_endmodule(L); + tolua_cclass(L, "VariableArray", "VariableArray", {}, NULL); + tolua_beginmodule(L, "VariableArray"); + tolua_function(L, "getReference", &tolua_function_VariableArray_SDL_SysWMinfo__getReference); + tolua_function(L, "set", &tolua_function_VariableArray_SDL_SysWMinfo__set); + tolua_constant(L, "sizeof", sizeof(VariableArray)); + tolua_endmodule(L); tolua_cclass(L, "VariableArray", "VariableArray", {}, NULL); tolua_beginmodule(L, "VariableArray"); tolua_function(L, "getReference", &tolua_function_VariableArray_SDL_Palette__getReference); tolua_function(L, "set", &tolua_function_VariableArray_SDL_Palette__set); tolua_constant(L, "sizeof", sizeof(VariableArray)); tolua_endmodule(L); + tolua_cclass(L, "VariableArray", "VariableArray", {}, NULL); + tolua_beginmodule(L, "VariableArray"); + tolua_function(L, "getReference", &tolua_function_VariableArray_const_SDL_MessageBoxData__getReference); + tolua_constant(L, "sizeof", sizeof(VariableArray)); + tolua_endmodule(L); + tolua_cclass(L, "VariableArray", "VariableArray", {}, NULL); + tolua_beginmodule(L, "VariableArray"); + tolua_function(L, "getReference", &tolua_function_VariableArray_const_SDL_MessageBoxButtonData__getReference); + tolua_constant(L, "sizeof", sizeof(VariableArray)); + tolua_endmodule(L); + tolua_cclass(L, "VariableArray", "VariableArray", {}, NULL); + tolua_beginmodule(L, "VariableArray"); + tolua_function(L, "getReference", &tolua_function_VariableArray_SDL_GLDriverData__getReference); + tolua_function(L, "set", &tolua_function_VariableArray_SDL_GLDriverData__set); + tolua_constant(L, "sizeof", sizeof(VariableArray)); + tolua_endmodule(L); + tolua_cclass(L, "VariableArray", "VariableArray", {}, NULL); + tolua_beginmodule(L, "VariableArray"); + tolua_function(L, "getReference", &tolua_function_VariableArray_SDL_EGL_VideoData__getReference); + tolua_function(L, "set", &tolua_function_VariableArray_SDL_EGL_VideoData__set); + tolua_constant(L, "sizeof", sizeof(VariableArray)); + tolua_endmodule(L); + tolua_cclass(L, "VariableArray", "VariableArray", {}, NULL); + tolua_beginmodule(L, "VariableArray"); + tolua_function(L, "getReference", &tolua_function_VariableArray_SDL_DisplayMode__getReference); + tolua_function(L, "set", &tolua_function_VariableArray_SDL_DisplayMode__set); + tolua_constant(L, "sizeof", sizeof(VariableArray)); + tolua_endmodule(L); + tolua_cclass(L, "VariableArray", "VariableArray", {}, NULL); + tolua_beginmodule(L, "VariableArray"); + tolua_function(L, "getReference", &tolua_function_VariableArray_SDL_VideoDisplay__getReference); + tolua_function(L, "set", &tolua_function_VariableArray_SDL_VideoDisplay__set); + tolua_constant(L, "sizeof", sizeof(VariableArray)); + tolua_endmodule(L); tolua_cclass(L, "VariableArray", "VariableArray", {}, NULL); tolua_beginmodule(L, "VariableArray"); tolua_function(L, "getReference", &tolua_function_VariableArray_SDL_BlitMap__getReference); @@ -219871,6 +224147,18 @@ int OpenBindingsInternal(lua_State* L) tolua_function(L, "set", &tolua_function_VariableArray_HWND____set); tolua_constant(L, "sizeof", sizeof(VariableArray)); tolua_endmodule(L); + tolua_cclass(L, "VariableArray", "VariableArray", {}, NULL); + tolua_beginmodule(L, "VariableArray"); + tolua_function(L, "getReference", &tolua_function_VariableArray_HGLRC____getReference); + tolua_function(L, "set", &tolua_function_VariableArray_HGLRC____set); + tolua_constant(L, "sizeof", sizeof(VariableArray)); + tolua_endmodule(L); + tolua_cclass(L, "VariableArray", "VariableArray", {}, NULL); + tolua_beginmodule(L, "VariableArray"); + tolua_function(L, "getReference", &tolua_function_VariableArray_HDC____getReference); + tolua_function(L, "set", &tolua_function_VariableArray_HDC____set); + tolua_constant(L, "sizeof", sizeof(VariableArray)); + tolua_endmodule(L); tolua_cclass(L, "VariableArray", "VariableArray", {}, NULL); tolua_beginmodule(L, "VariableArray"); tolua_function(L, "getReference", &tolua_function_VariableArray_DP_Packet__getReference); @@ -220230,12 +224518,6 @@ int OpenBindingsInternal(lua_State* L) tolua_function(L, "set", &tolua_function_VariableArray_CResWED__set); tolua_constant(L, "sizeof", sizeof(VariableArray)); tolua_endmodule(L); - tolua_cclass(L, "VariableArray", "VariableArray", {}, NULL); - tolua_beginmodule(L, "VariableArray"); - tolua_function(L, "getReference", &tolua_function_VariableArray_CResText__getReference); - tolua_function(L, "set", &tolua_function_VariableArray_CResText__set); - tolua_constant(L, "sizeof", sizeof(VariableArray)); - tolua_endmodule(L); tolua_cclass(L, "VariableArray", "VariableArray", {}, NULL); tolua_beginmodule(L, "VariableArray"); tolua_function(L, "getReference", &tolua_function_VariableArray_CResPVR__getReference); @@ -220499,12 +224781,23 @@ int OpenBindingsInternal(lua_State* L) tolua_function(L, "set", &tolua_function_VariableArray_lua_longjmp__set); tolua_constant(L, "sizeof", sizeof(VariableArray)); tolua_endmodule(L); + tolua_cclass(L, "VariableArray", "VariableArray", {}, NULL); + tolua_beginmodule(L, "VariableArray"); + tolua_function(L, "getReference", &tolua_function_VariableArray_SDL_VideoDevice__getReference); + tolua_function(L, "set", &tolua_function_VariableArray_SDL_VideoDevice__set); + tolua_constant(L, "sizeof", sizeof(VariableArray)); + tolua_endmodule(L); tolua_cclass(L, "VariableArray", "VariableArray", {}, NULL); tolua_beginmodule(L, "VariableArray"); tolua_function(L, "getReference", &tolua_function_VariableArray_SDL_PixelFormat__getReference); tolua_function(L, "set", &tolua_function_VariableArray_SDL_PixelFormat__set); tolua_constant(L, "sizeof", sizeof(VariableArray)); tolua_endmodule(L); + tolua_cclass(L, "VariableArray", "VariableArray", {}, NULL); + tolua_beginmodule(L, "VariableArray"); + tolua_function(L, "getReference", &tolua_function_VariableArray_const_SDL_MessageBoxColorScheme__getReference); + tolua_constant(L, "sizeof", sizeof(VariableArray)); + tolua_endmodule(L); tolua_cclass(L, "VariableArray", "VariableArray", {}, NULL); tolua_beginmodule(L, "VariableArray"); tolua_function(L, "getReference", &tolua_function_VariableArray_CVariable__getReference); @@ -221536,6 +225829,37 @@ int OpenBindingsInternal(lua_State* L) tolua_constant(L, "flags", offsetoftype(flags, slicedRect)); tolua_endmodule(L); tolua_endmodule(L); + tolua_cclass(L, "_820A8B7015E7E0FD9144A7C186FBF075", "_820A8B7015E7E0FD9144A7C186FBF075", {}, NULL); + tolua_beginmodule(L, "_820A8B7015E7E0FD9144A7C186FBF075"); + tolua_variable(L, "pt", tolua_get__820A8B7015E7E0FD9144A7C186FBF075_pt, NULL); + tolua_variable(L, "on", tolua_get__820A8B7015E7E0FD9144A7C186FBF075_on, tolua_set__820A8B7015E7E0FD9144A7C186FBF075_on); + tolua_variable(L, "reference_on", tolua_get__820A8B7015E7E0FD9144A7C186FBF075_reference_on, NULL); + tolua_variable(L, "text", tolua_get__820A8B7015E7E0FD9144A7C186FBF075_text, NULL); + tolua_variable(L, "r", tolua_get__820A8B7015E7E0FD9144A7C186FBF075_r, NULL); + tolua_variable(L, "count", tolua_get__820A8B7015E7E0FD9144A7C186FBF075_count, tolua_set__820A8B7015E7E0FD9144A7C186FBF075_count); + tolua_variable(L, "reference_count", tolua_get__820A8B7015E7E0FD9144A7C186FBF075_reference_count, NULL); + tolua_variable(L, "lastText", tolua_get__820A8B7015E7E0FD9144A7C186FBF075_lastText, NULL); + tolua_variable(L, "playedSound", tolua_get__820A8B7015E7E0FD9144A7C186FBF075_playedSound, tolua_set__820A8B7015E7E0FD9144A7C186FBF075_playedSound); + tolua_variable(L, "reference_playedSound", tolua_get__820A8B7015E7E0FD9144A7C186FBF075_reference_playedSound, NULL); + tolua_constant(L, "sizeof", sizeof(_820A8B7015E7E0FD9144A7C186FBF075)); + tolua_constantstring(L, "usertype_pt", "SDL_Point"); + tolua_constantstring(L, "usertype_on", "Primitive"); + tolua_constantstring(L, "usertype_text", "ConstCharString"); + tolua_constantstring(L, "usertype_r", "SDL_Rect"); + tolua_constantstring(L, "usertype_count", "Primitive"); + tolua_constantstring(L, "usertype_lastText", "ConstCharString"); + tolua_constantstring(L, "usertype_playedSound", "Primitive"); + tolua_module(L, ".offsetof", 0); + tolua_beginmodule(L, ".offsetof"); + tolua_constant(L, "pt", offsetoftype(pt, _820A8B7015E7E0FD9144A7C186FBF075)); + tolua_constant(L, "on", offsetoftype(on, _820A8B7015E7E0FD9144A7C186FBF075)); + tolua_constant(L, "text", offsetoftype(text, _820A8B7015E7E0FD9144A7C186FBF075)); + tolua_constant(L, "r", offsetoftype(r, _820A8B7015E7E0FD9144A7C186FBF075)); + tolua_constant(L, "count", offsetoftype(count, _820A8B7015E7E0FD9144A7C186FBF075)); + tolua_constant(L, "lastText", offsetoftype(lastText, _820A8B7015E7E0FD9144A7C186FBF075)); + tolua_constant(L, "playedSound", offsetoftype(playedSound, _820A8B7015E7E0FD9144A7C186FBF075)); + tolua_endmodule(L); + tolua_endmodule(L); tolua_cclass(L, "_9B9540D9920A90D57A3D80DDD1A70514", "_9B9540D9920A90D57A3D80DDD1A70514", {}, NULL); tolua_beginmodule(L, "_9B9540D9920A90D57A3D80DDD1A70514"); tolua_variable(L, "start", tolua_get__9B9540D9920A90D57A3D80DDD1A70514_start, NULL); @@ -221613,6 +225937,17 @@ int OpenBindingsInternal(lua_State* L) tolua_constant(L, "reference", offsetoftype(reference, Pointer)); tolua_endmodule(L); tolua_endmodule(L); + tolua_cclass(L, "Pointer", "Pointer", {}, NULL); + tolua_beginmodule(L, "Pointer"); + tolua_variable(L, "reference", tolua_get_Pointer_SDL_VideoDisplay__reference, tolua_set_Pointer_SDL_VideoDisplay__reference); + tolua_function(L, "setValue", &tolua_function_Pointer_SDL_VideoDisplay__setValue); + tolua_constant(L, "sizeof", sizeof(Pointer)); + tolua_constantstring(L, "usertype_reference", "SDL_VideoDisplay"); + tolua_module(L, ".offsetof", 0); + tolua_beginmodule(L, ".offsetof"); + tolua_constant(L, "reference", offsetoftype(reference, Pointer)); + tolua_endmodule(L); + tolua_endmodule(L); tolua_cclass(L, "Pointer", "Pointer", {}, NULL); tolua_beginmodule(L, "Pointer"); tolua_variable(L, "reference", tolua_get_Pointer_SDL_Window__reference, tolua_set_Pointer_SDL_Window__reference); @@ -222989,6 +227324,28 @@ int OpenBindingsInternal(lua_State* L) tolua_constant(L, "reference", offsetoftype(reference, Pointer)); tolua_endmodule(L); tolua_endmodule(L); + tolua_cclass(L, "Pointer", "Pointer", {}, NULL); + tolua_beginmodule(L, "Pointer"); + tolua_variable(L, "reference", tolua_get_Pointer_SDL_DisplayMode__reference, tolua_set_Pointer_SDL_DisplayMode__reference); + tolua_function(L, "setValue", &tolua_function_Pointer_SDL_DisplayMode__setValue); + tolua_constant(L, "sizeof", sizeof(Pointer)); + tolua_constantstring(L, "usertype_reference", "SDL_DisplayMode"); + tolua_module(L, ".offsetof", 0); + tolua_beginmodule(L, ".offsetof"); + tolua_constant(L, "reference", offsetoftype(reference, Pointer)); + tolua_endmodule(L); + tolua_endmodule(L); + tolua_cclass(L, "Pointer", "Pointer", {}, NULL); + tolua_beginmodule(L, "Pointer"); + tolua_variable(L, "reference", tolua_get_Pointer_SDL_VideoDevice__reference, tolua_set_Pointer_SDL_VideoDevice__reference); + tolua_function(L, "setValue", &tolua_function_Pointer_SDL_VideoDevice__setValue); + tolua_constant(L, "sizeof", sizeof(Pointer)); + tolua_constantstring(L, "usertype_reference", "SDL_VideoDevice"); + tolua_module(L, ".offsetof", 0); + tolua_beginmodule(L, ".offsetof"); + tolua_constant(L, "reference", offsetoftype(reference, Pointer)); + tolua_endmodule(L); + tolua_endmodule(L); tolua_cclass(L, "Pointer", "Pointer", {}, NULL); tolua_beginmodule(L, "Pointer"); tolua_variable(L, "reference", tolua_get_Pointer_wchar_t__reference, tolua_set_Pointer_wchar_t__reference); @@ -225302,6 +229659,26 @@ int OpenBindingsInternal(lua_State* L) tolua_constant(L, "reference", offsetoftype(reference, Pointer)); tolua_endmodule(L); tolua_endmodule(L); + tolua_cclass(L, "Pointer", "Pointer", {}, NULL); + tolua_beginmodule(L, "Pointer"); + tolua_variable(L, "reference", tolua_get_Pointer_const_SDL_MessageBoxButtonData__reference, tolua_set_Pointer_const_SDL_MessageBoxButtonData__reference); + tolua_constant(L, "sizeof", sizeof(Pointer)); + tolua_constantstring(L, "usertype_reference", "SDL_MessageBoxButtonData"); + tolua_module(L, ".offsetof", 0); + tolua_beginmodule(L, ".offsetof"); + tolua_constant(L, "reference", offsetoftype(reference, Pointer)); + tolua_endmodule(L); + tolua_endmodule(L); + tolua_cclass(L, "Pointer", "Pointer", {}, NULL); + tolua_beginmodule(L, "Pointer"); + tolua_variable(L, "reference", tolua_get_Pointer_const_SDL_MessageBoxColorScheme__reference, tolua_set_Pointer_const_SDL_MessageBoxColorScheme__reference); + tolua_constant(L, "sizeof", sizeof(Pointer)); + tolua_constantstring(L, "usertype_reference", "SDL_MessageBoxColorScheme"); + tolua_module(L, ".offsetof", 0); + tolua_beginmodule(L, ".offsetof"); + tolua_constant(L, "reference", offsetoftype(reference, Pointer)); + tolua_endmodule(L); + tolua_endmodule(L); tolua_cclass(L, "Pointer", "Pointer", {}, NULL); tolua_beginmodule(L, "Pointer"); tolua_variable(L, "reference", tolua_get_Pointer_CTimer__reference, tolua_set_Pointer_CTimer__reference); @@ -225324,6 +229701,104 @@ int OpenBindingsInternal(lua_State* L) tolua_constant(L, "reference", offsetoftype(reference, Pointer)); tolua_endmodule(L); tolua_endmodule(L); + tolua_cclass(L, "Pointer", "Pointer", {}, NULL); + tolua_beginmodule(L, "Pointer"); + tolua_variable(L, "reference", tolua_get_Pointer_HDC____reference, tolua_set_Pointer_HDC____reference); + tolua_function(L, "setValue", &tolua_function_Pointer_HDC____setValue); + tolua_constant(L, "sizeof", sizeof(Pointer)); + tolua_constantstring(L, "usertype_reference", "HDC__"); + tolua_module(L, ".offsetof", 0); + tolua_beginmodule(L, ".offsetof"); + tolua_constant(L, "reference", offsetoftype(reference, Pointer)); + tolua_endmodule(L); + tolua_endmodule(L); + tolua_cclass(L, "Pointer", "Pointer", {}, NULL); + tolua_beginmodule(L, "Pointer"); + tolua_variable(L, "reference", tolua_get_Pointer_SDL_WindowShapeMode__reference, tolua_set_Pointer_SDL_WindowShapeMode__reference); + tolua_function(L, "setValue", &tolua_function_Pointer_SDL_WindowShapeMode__setValue); + tolua_constant(L, "sizeof", sizeof(Pointer)); + tolua_constantstring(L, "usertype_reference", "SDL_WindowShapeMode"); + tolua_module(L, ".offsetof", 0); + tolua_beginmodule(L, ".offsetof"); + tolua_constant(L, "reference", offsetoftype(reference, Pointer)); + tolua_endmodule(L); + tolua_endmodule(L); + tolua_cclass(L, "Pointer", "Pointer", {}, NULL); + tolua_beginmodule(L, "Pointer"); + tolua_variable(L, "reference", tolua_get_Pointer_SDL_SysWMinfo__reference, tolua_set_Pointer_SDL_SysWMinfo__reference); + tolua_function(L, "setValue", &tolua_function_Pointer_SDL_SysWMinfo__setValue); + tolua_constant(L, "sizeof", sizeof(Pointer)); + tolua_constantstring(L, "usertype_reference", "SDL_SysWMinfo"); + tolua_module(L, ".offsetof", 0); + tolua_beginmodule(L, ".offsetof"); + tolua_constant(L, "reference", offsetoftype(reference, Pointer)); + tolua_endmodule(L); + tolua_endmodule(L); + tolua_cclass(L, "Pointer", "Pointer", {}, NULL); + tolua_beginmodule(L, "Pointer"); + tolua_variable(L, "reference", tolua_get_Pointer_const_SDL_MessageBoxData__reference, tolua_set_Pointer_const_SDL_MessageBoxData__reference); + tolua_constant(L, "sizeof", sizeof(Pointer)); + tolua_constantstring(L, "usertype_reference", "SDL_MessageBoxData"); + tolua_module(L, ".offsetof", 0); + tolua_beginmodule(L, ".offsetof"); + tolua_constant(L, "reference", offsetoftype(reference, Pointer)); + tolua_endmodule(L); + tolua_endmodule(L); + tolua_cclass(L, "Pointer", "Pointer", {}, NULL); + tolua_beginmodule(L, "Pointer"); + tolua_variable(L, "reference", tolua_get_Pointer_SDL_GLDriverData__reference, tolua_set_Pointer_SDL_GLDriverData__reference); + tolua_function(L, "setValue", &tolua_function_Pointer_SDL_GLDriverData__setValue); + tolua_constant(L, "sizeof", sizeof(Pointer)); + tolua_constantstring(L, "usertype_reference", "SDL_GLDriverData"); + tolua_module(L, ".offsetof", 0); + tolua_beginmodule(L, ".offsetof"); + tolua_constant(L, "reference", offsetoftype(reference, Pointer)); + tolua_endmodule(L); + tolua_endmodule(L); + tolua_cclass(L, "Pointer", "Pointer", {}, NULL); + tolua_beginmodule(L, "Pointer"); + tolua_variable(L, "reference", tolua_get_Pointer_SDL_EGL_VideoData__reference, tolua_set_Pointer_SDL_EGL_VideoData__reference); + tolua_function(L, "setValue", &tolua_function_Pointer_SDL_EGL_VideoData__setValue); + tolua_constant(L, "sizeof", sizeof(Pointer)); + tolua_constantstring(L, "usertype_reference", "SDL_EGL_VideoData"); + tolua_module(L, ".offsetof", 0); + tolua_beginmodule(L, ".offsetof"); + tolua_constant(L, "reference", offsetoftype(reference, Pointer)); + tolua_endmodule(L); + tolua_endmodule(L); + tolua_cclass(L, "Pointer", "Pointer", {}, NULL); + tolua_beginmodule(L, "Pointer"); + tolua_variable(L, "reference", tolua_get_Pointer_SDL_PrivateGLESData__reference, tolua_set_Pointer_SDL_PrivateGLESData__reference); + tolua_function(L, "setValue", &tolua_function_Pointer_SDL_PrivateGLESData__setValue); + tolua_constant(L, "sizeof", sizeof(Pointer)); + tolua_constantstring(L, "usertype_reference", "SDL_PrivateGLESData"); + tolua_module(L, ".offsetof", 0); + tolua_beginmodule(L, ".offsetof"); + tolua_constant(L, "reference", offsetoftype(reference, Pointer)); + tolua_endmodule(L); + tolua_endmodule(L); + tolua_cclass(L, "Pointer", "Pointer", {}, NULL); + tolua_beginmodule(L, "Pointer"); + tolua_variable(L, "reference", tolua_get_Pointer_HGLRC____reference, tolua_set_Pointer_HGLRC____reference); + tolua_function(L, "setValue", &tolua_function_Pointer_HGLRC____setValue); + tolua_constant(L, "sizeof", sizeof(Pointer)); + tolua_constantstring(L, "usertype_reference", "HGLRC__"); + tolua_module(L, ".offsetof", 0); + tolua_beginmodule(L, ".offsetof"); + tolua_constant(L, "reference", offsetoftype(reference, Pointer)); + tolua_endmodule(L); + tolua_endmodule(L); + tolua_cclass(L, "Pointer", "Pointer", {}, NULL); + tolua_beginmodule(L, "Pointer"); + tolua_variable(L, "reference", tolua_get_Pointer_const_float__reference, tolua_set_Pointer_const_float__reference); + tolua_function(L, "getValue", &tolua_function_Pointer_const_float__getValue); + tolua_constant(L, "sizeof", sizeof(Pointer)); + tolua_constantstring(L, "usertype_reference", "Pointer"); + tolua_module(L, ".offsetof", 0); + tolua_beginmodule(L, ".offsetof"); + tolua_constant(L, "reference", offsetoftype(reference, Pointer)); + tolua_endmodule(L); + tolua_endmodule(L); tolua_cclass(L, "Pointer>", "Pointer>", {}, NULL); tolua_beginmodule(L, "Pointer>"); tolua_variable(L, "reference", tolua_get_Pointer_VariableArray_CString___reference, tolua_set_Pointer_VariableArray_CString___reference); @@ -225470,6 +229945,18 @@ int OpenBindingsInternal(lua_State* L) tolua_constant(L, "reference", offsetoftype(reference, Pointer)); tolua_endmodule(L); tolua_endmodule(L); + tolua_cclass(L, "Pointer", "Pointer", {}, NULL); + tolua_beginmodule(L, "Pointer"); + tolua_variable(L, "reference", tolua_get_Pointer_SDL_VideoDisplay___reference, tolua_set_Pointer_SDL_VideoDisplay___reference); + tolua_function(L, "getValue", &tolua_function_Pointer_SDL_VideoDisplay___getValue); + tolua_function(L, "setValue", &tolua_function_Pointer_SDL_VideoDisplay___setValue); + tolua_constant(L, "sizeof", sizeof(Pointer)); + tolua_constantstring(L, "usertype_reference", "Pointer"); + tolua_module(L, ".offsetof", 0); + tolua_beginmodule(L, ".offsetof"); + tolua_constant(L, "reference", offsetoftype(reference, Pointer)); + tolua_endmodule(L); + tolua_endmodule(L); tolua_cclass(L, "Pointer", "Pointer", {}, NULL); tolua_beginmodule(L, "Pointer"); tolua_variable(L, "reference", tolua_get_Pointer_SDL_Window___reference, tolua_set_Pointer_SDL_Window___reference); @@ -226899,6 +231386,30 @@ int OpenBindingsInternal(lua_State* L) tolua_constant(L, "reference", offsetoftype(reference, Pointer)); tolua_endmodule(L); tolua_endmodule(L); + tolua_cclass(L, "Pointer", "Pointer", {}, NULL); + tolua_beginmodule(L, "Pointer"); + tolua_variable(L, "reference", tolua_get_Pointer_SDL_DisplayMode___reference, tolua_set_Pointer_SDL_DisplayMode___reference); + tolua_function(L, "getValue", &tolua_function_Pointer_SDL_DisplayMode___getValue); + tolua_function(L, "setValue", &tolua_function_Pointer_SDL_DisplayMode___setValue); + tolua_constant(L, "sizeof", sizeof(Pointer)); + tolua_constantstring(L, "usertype_reference", "Pointer"); + tolua_module(L, ".offsetof", 0); + tolua_beginmodule(L, ".offsetof"); + tolua_constant(L, "reference", offsetoftype(reference, Pointer)); + tolua_endmodule(L); + tolua_endmodule(L); + tolua_cclass(L, "Pointer", "Pointer", {}, NULL); + tolua_beginmodule(L, "Pointer"); + tolua_variable(L, "reference", tolua_get_Pointer_SDL_VideoDevice___reference, tolua_set_Pointer_SDL_VideoDevice___reference); + tolua_function(L, "getValue", &tolua_function_Pointer_SDL_VideoDevice___getValue); + tolua_function(L, "setValue", &tolua_function_Pointer_SDL_VideoDevice___setValue); + tolua_constant(L, "sizeof", sizeof(Pointer)); + tolua_constantstring(L, "usertype_reference", "Pointer"); + tolua_module(L, ".offsetof", 0); + tolua_beginmodule(L, ".offsetof"); + tolua_constant(L, "reference", offsetoftype(reference, Pointer)); + tolua_endmodule(L); + tolua_endmodule(L); tolua_cclass(L, "Pointer", "Pointer", {}, NULL); tolua_beginmodule(L, "Pointer"); tolua_variable(L, "reference", tolua_get_Pointer_wchar_t___reference, tolua_set_Pointer_wchar_t___reference); @@ -229340,6 +233851,28 @@ int OpenBindingsInternal(lua_State* L) tolua_constant(L, "reference", offsetoftype(reference, Pointer)); tolua_endmodule(L); tolua_endmodule(L); + tolua_cclass(L, "Pointer", "Pointer", {}, NULL); + tolua_beginmodule(L, "Pointer"); + tolua_variable(L, "reference", tolua_get_Pointer_const_SDL_MessageBoxButtonData___reference, tolua_set_Pointer_const_SDL_MessageBoxButtonData___reference); + tolua_function(L, "getValue", &tolua_function_Pointer_const_SDL_MessageBoxButtonData___getValue); + tolua_constant(L, "sizeof", sizeof(Pointer)); + tolua_constantstring(L, "usertype_reference", "Pointer"); + tolua_module(L, ".offsetof", 0); + tolua_beginmodule(L, ".offsetof"); + tolua_constant(L, "reference", offsetoftype(reference, Pointer)); + tolua_endmodule(L); + tolua_endmodule(L); + tolua_cclass(L, "Pointer", "Pointer", {}, NULL); + tolua_beginmodule(L, "Pointer"); + tolua_variable(L, "reference", tolua_get_Pointer_const_SDL_MessageBoxColorScheme___reference, tolua_set_Pointer_const_SDL_MessageBoxColorScheme___reference); + tolua_function(L, "getValue", &tolua_function_Pointer_const_SDL_MessageBoxColorScheme___getValue); + tolua_constant(L, "sizeof", sizeof(Pointer)); + tolua_constantstring(L, "usertype_reference", "Pointer"); + tolua_module(L, ".offsetof", 0); + tolua_beginmodule(L, ".offsetof"); + tolua_constant(L, "reference", offsetoftype(reference, Pointer)); + tolua_endmodule(L); + tolua_endmodule(L); tolua_cclass(L, "Pointer", "Pointer", {}, NULL); tolua_beginmodule(L, "Pointer"); tolua_variable(L, "reference", tolua_get_Pointer_CTimer___reference, tolua_set_Pointer_CTimer___reference); @@ -229364,6 +233897,112 @@ int OpenBindingsInternal(lua_State* L) tolua_constant(L, "reference", offsetoftype(reference, Pointer)); tolua_endmodule(L); tolua_endmodule(L); + tolua_cclass(L, "Pointer", "Pointer", {}, NULL); + tolua_beginmodule(L, "Pointer"); + tolua_variable(L, "reference", tolua_get_Pointer_HDC_____reference, tolua_set_Pointer_HDC_____reference); + tolua_function(L, "getValue", &tolua_function_Pointer_HDC_____getValue); + tolua_function(L, "setValue", &tolua_function_Pointer_HDC_____setValue); + tolua_constant(L, "sizeof", sizeof(Pointer)); + tolua_constantstring(L, "usertype_reference", "Pointer"); + tolua_module(L, ".offsetof", 0); + tolua_beginmodule(L, ".offsetof"); + tolua_constant(L, "reference", offsetoftype(reference, Pointer)); + tolua_endmodule(L); + tolua_endmodule(L); + tolua_cclass(L, "Pointer", "Pointer", {}, NULL); + tolua_beginmodule(L, "Pointer"); + tolua_variable(L, "reference", tolua_get_Pointer_SDL_WindowShapeMode___reference, tolua_set_Pointer_SDL_WindowShapeMode___reference); + tolua_function(L, "getValue", &tolua_function_Pointer_SDL_WindowShapeMode___getValue); + tolua_function(L, "setValue", &tolua_function_Pointer_SDL_WindowShapeMode___setValue); + tolua_constant(L, "sizeof", sizeof(Pointer)); + tolua_constantstring(L, "usertype_reference", "Pointer"); + tolua_module(L, ".offsetof", 0); + tolua_beginmodule(L, ".offsetof"); + tolua_constant(L, "reference", offsetoftype(reference, Pointer)); + tolua_endmodule(L); + tolua_endmodule(L); + tolua_cclass(L, "Pointer", "Pointer", {}, NULL); + tolua_beginmodule(L, "Pointer"); + tolua_variable(L, "reference", tolua_get_Pointer_SDL_SysWMinfo___reference, tolua_set_Pointer_SDL_SysWMinfo___reference); + tolua_function(L, "getValue", &tolua_function_Pointer_SDL_SysWMinfo___getValue); + tolua_function(L, "setValue", &tolua_function_Pointer_SDL_SysWMinfo___setValue); + tolua_constant(L, "sizeof", sizeof(Pointer)); + tolua_constantstring(L, "usertype_reference", "Pointer"); + tolua_module(L, ".offsetof", 0); + tolua_beginmodule(L, ".offsetof"); + tolua_constant(L, "reference", offsetoftype(reference, Pointer)); + tolua_endmodule(L); + tolua_endmodule(L); + tolua_cclass(L, "Pointer", "Pointer", {}, NULL); + tolua_beginmodule(L, "Pointer"); + tolua_variable(L, "reference", tolua_get_Pointer_const_SDL_MessageBoxData___reference, tolua_set_Pointer_const_SDL_MessageBoxData___reference); + tolua_function(L, "getValue", &tolua_function_Pointer_const_SDL_MessageBoxData___getValue); + tolua_constant(L, "sizeof", sizeof(Pointer)); + tolua_constantstring(L, "usertype_reference", "Pointer"); + tolua_module(L, ".offsetof", 0); + tolua_beginmodule(L, ".offsetof"); + tolua_constant(L, "reference", offsetoftype(reference, Pointer)); + tolua_endmodule(L); + tolua_endmodule(L); + tolua_cclass(L, "Pointer", "Pointer", {}, NULL); + tolua_beginmodule(L, "Pointer"); + tolua_variable(L, "reference", tolua_get_Pointer_SDL_GLDriverData___reference, tolua_set_Pointer_SDL_GLDriverData___reference); + tolua_function(L, "getValue", &tolua_function_Pointer_SDL_GLDriverData___getValue); + tolua_function(L, "setValue", &tolua_function_Pointer_SDL_GLDriverData___setValue); + tolua_constant(L, "sizeof", sizeof(Pointer)); + tolua_constantstring(L, "usertype_reference", "Pointer"); + tolua_module(L, ".offsetof", 0); + tolua_beginmodule(L, ".offsetof"); + tolua_constant(L, "reference", offsetoftype(reference, Pointer)); + tolua_endmodule(L); + tolua_endmodule(L); + tolua_cclass(L, "Pointer", "Pointer", {}, NULL); + tolua_beginmodule(L, "Pointer"); + tolua_variable(L, "reference", tolua_get_Pointer_SDL_EGL_VideoData___reference, tolua_set_Pointer_SDL_EGL_VideoData___reference); + tolua_function(L, "getValue", &tolua_function_Pointer_SDL_EGL_VideoData___getValue); + tolua_function(L, "setValue", &tolua_function_Pointer_SDL_EGL_VideoData___setValue); + tolua_constant(L, "sizeof", sizeof(Pointer)); + tolua_constantstring(L, "usertype_reference", "Pointer"); + tolua_module(L, ".offsetof", 0); + tolua_beginmodule(L, ".offsetof"); + tolua_constant(L, "reference", offsetoftype(reference, Pointer)); + tolua_endmodule(L); + tolua_endmodule(L); + tolua_cclass(L, "Pointer", "Pointer", {}, NULL); + tolua_beginmodule(L, "Pointer"); + tolua_variable(L, "reference", tolua_get_Pointer_SDL_PrivateGLESData___reference, tolua_set_Pointer_SDL_PrivateGLESData___reference); + tolua_function(L, "getValue", &tolua_function_Pointer_SDL_PrivateGLESData___getValue); + tolua_function(L, "setValue", &tolua_function_Pointer_SDL_PrivateGLESData___setValue); + tolua_constant(L, "sizeof", sizeof(Pointer)); + tolua_constantstring(L, "usertype_reference", "Pointer"); + tolua_module(L, ".offsetof", 0); + tolua_beginmodule(L, ".offsetof"); + tolua_constant(L, "reference", offsetoftype(reference, Pointer)); + tolua_endmodule(L); + tolua_endmodule(L); + tolua_cclass(L, "Pointer", "Pointer", {}, NULL); + tolua_beginmodule(L, "Pointer"); + tolua_variable(L, "reference", tolua_get_Pointer_HGLRC_____reference, tolua_set_Pointer_HGLRC_____reference); + tolua_function(L, "getValue", &tolua_function_Pointer_HGLRC_____getValue); + tolua_function(L, "setValue", &tolua_function_Pointer_HGLRC_____setValue); + tolua_constant(L, "sizeof", sizeof(Pointer)); + tolua_constantstring(L, "usertype_reference", "Pointer"); + tolua_module(L, ".offsetof", 0); + tolua_beginmodule(L, ".offsetof"); + tolua_constant(L, "reference", offsetoftype(reference, Pointer)); + tolua_endmodule(L); + tolua_endmodule(L); + tolua_cclass(L, "Pointer", "Pointer", {}, NULL); + tolua_beginmodule(L, "Pointer"); + tolua_variable(L, "reference", tolua_get_Pointer_const_float___reference, tolua_set_Pointer_const_float___reference); + tolua_function(L, "getValue", &tolua_function_Pointer_const_float___getValue); + tolua_constant(L, "sizeof", sizeof(Pointer)); + tolua_constantstring(L, "usertype_reference", "Pointer"); + tolua_module(L, ".offsetof", 0); + tolua_beginmodule(L, ".offsetof"); + tolua_constant(L, "reference", offsetoftype(reference, Pointer)); + tolua_endmodule(L); + tolua_endmodule(L); tolua_cclass(L, "Pointer*>", "Pointer*>", {}, NULL); tolua_beginmodule(L, "Pointer*>"); tolua_variable(L, "reference", tolua_get_Pointer_VariableArray_CString____reference, tolua_set_Pointer_VariableArray_CString____reference); @@ -230114,37 +234753,15 @@ int OpenBindingsInternal(lua_State* L) tolua_constant(L, "reference", offsetoftype(reference, Pointer)); tolua_endmodule(L); tolua_endmodule(L); - tolua_cclass(L, "Pointer>", "Pointer>", {}, NULL); - tolua_beginmodule(L, "Pointer>"); - tolua_variable(L, "reference", tolua_get_Pointer_Primitive_INT___reference, tolua_set_Pointer_Primitive_INT___reference); - tolua_function(L, "setValue", &tolua_function_Pointer_Primitive_INT___setValue); - tolua_constant(L, "sizeof", sizeof(Pointer>)); - tolua_constantstring(L, "usertype_reference", "Primitive"); - tolua_module(L, ".offsetof", 0); - tolua_beginmodule(L, ".offsetof"); - tolua_constant(L, "reference", offsetoftype(reference, Pointer>)); - tolua_endmodule(L); - tolua_endmodule(L); - tolua_cclass(L, "Pointer>", "Pointer>", {}, NULL); - tolua_beginmodule(L, "Pointer>"); - tolua_variable(L, "reference", tolua_get_Pointer_Primitive_lua_Integer___reference, tolua_set_Pointer_Primitive_lua_Integer___reference); - tolua_function(L, "setValue", &tolua_function_Pointer_Primitive_lua_Integer___setValue); - tolua_constant(L, "sizeof", sizeof(Pointer>)); - tolua_constantstring(L, "usertype_reference", "Primitive"); - tolua_module(L, ".offsetof", 0); - tolua_beginmodule(L, ".offsetof"); - tolua_constant(L, "reference", offsetoftype(reference, Pointer>)); - tolua_endmodule(L); - tolua_endmodule(L); - tolua_cclass(L, "Pointer>", "Pointer>", {}, NULL); - tolua_beginmodule(L, "Pointer>"); - tolua_variable(L, "reference", tolua_get_Pointer_Primitive_char___reference, tolua_set_Pointer_Primitive_char___reference); - tolua_function(L, "setValue", &tolua_function_Pointer_Primitive_char___setValue); - tolua_constant(L, "sizeof", sizeof(Pointer>)); - tolua_constantstring(L, "usertype_reference", "Primitive"); + tolua_cclass(L, "Pointer>", "Pointer>", {}, NULL); + tolua_beginmodule(L, "Pointer>"); + tolua_variable(L, "reference", tolua_get_Pointer_Primitive_int32_t___reference, tolua_set_Pointer_Primitive_int32_t___reference); + tolua_function(L, "setValue", &tolua_function_Pointer_Primitive_int32_t___setValue); + tolua_constant(L, "sizeof", sizeof(Pointer>)); + tolua_constantstring(L, "usertype_reference", "Primitive"); tolua_module(L, ".offsetof", 0); tolua_beginmodule(L, ".offsetof"); - tolua_constant(L, "reference", offsetoftype(reference, Pointer>)); + tolua_constant(L, "reference", offsetoftype(reference, Pointer>)); tolua_endmodule(L); tolua_endmodule(L); tolua_cclass(L, "Pointer>", "Pointer>", {}, NULL); @@ -230158,48 +234775,15 @@ int OpenBindingsInternal(lua_State* L) tolua_constant(L, "reference", offsetoftype(reference, Pointer>)); tolua_endmodule(L); tolua_endmodule(L); - tolua_cclass(L, "Pointer>", "Pointer>", {}, NULL); - tolua_beginmodule(L, "Pointer>"); - tolua_variable(L, "reference", tolua_get_Pointer_Primitive_LRESULT___reference, tolua_set_Pointer_Primitive_LRESULT___reference); - tolua_function(L, "setValue", &tolua_function_Pointer_Primitive_LRESULT___setValue); - tolua_constant(L, "sizeof", sizeof(Pointer>)); - tolua_constantstring(L, "usertype_reference", "Primitive"); - tolua_module(L, ".offsetof", 0); - tolua_beginmodule(L, ".offsetof"); - tolua_constant(L, "reference", offsetoftype(reference, Pointer>)); - tolua_endmodule(L); - tolua_endmodule(L); - tolua_cclass(L, "Pointer>", "Pointer>", {}, NULL); - tolua_beginmodule(L, "Pointer>"); - tolua_variable(L, "reference", tolua_get_Pointer_Primitive___int16___reference, tolua_set_Pointer_Primitive___int16___reference); - tolua_function(L, "setValue", &tolua_function_Pointer_Primitive___int16___setValue); - tolua_constant(L, "sizeof", sizeof(Pointer>)); - tolua_constantstring(L, "usertype_reference", "Primitive<__int16>"); - tolua_module(L, ".offsetof", 0); - tolua_beginmodule(L, ".offsetof"); - tolua_constant(L, "reference", offsetoftype(reference, Pointer>)); - tolua_endmodule(L); - tolua_endmodule(L); - tolua_cclass(L, "Pointer>", "Pointer>", {}, NULL); - tolua_beginmodule(L, "Pointer>"); - tolua_variable(L, "reference", tolua_get_Pointer_Primitive_HRESULT___reference, tolua_set_Pointer_Primitive_HRESULT___reference); - tolua_function(L, "setValue", &tolua_function_Pointer_Primitive_HRESULT___setValue); - tolua_constant(L, "sizeof", sizeof(Pointer>)); - tolua_constantstring(L, "usertype_reference", "Primitive"); - tolua_module(L, ".offsetof", 0); - tolua_beginmodule(L, ".offsetof"); - tolua_constant(L, "reference", offsetoftype(reference, Pointer>)); - tolua_endmodule(L); - tolua_endmodule(L); - tolua_cclass(L, "Pointer>", "Pointer>", {}, NULL); - tolua_beginmodule(L, "Pointer>"); - tolua_variable(L, "reference", tolua_get_Pointer_Primitive_uint32_t___reference, tolua_set_Pointer_Primitive_uint32_t___reference); - tolua_function(L, "setValue", &tolua_function_Pointer_Primitive_uint32_t___setValue); - tolua_constant(L, "sizeof", sizeof(Pointer>)); - tolua_constantstring(L, "usertype_reference", "Primitive"); + tolua_cclass(L, "Pointer>", "Pointer>", {}, NULL); + tolua_beginmodule(L, "Pointer>"); + tolua_variable(L, "reference", tolua_get_Pointer_Primitive_DWORD___reference, tolua_set_Pointer_Primitive_DWORD___reference); + tolua_function(L, "setValue", &tolua_function_Pointer_Primitive_DWORD___setValue); + tolua_constant(L, "sizeof", sizeof(Pointer>)); + tolua_constantstring(L, "usertype_reference", "Primitive"); tolua_module(L, ".offsetof", 0); tolua_beginmodule(L, ".offsetof"); - tolua_constant(L, "reference", offsetoftype(reference, Pointer>)); + tolua_constant(L, "reference", offsetoftype(reference, Pointer>)); tolua_endmodule(L); tolua_endmodule(L); tolua_cclass(L, "Pointer>", "Pointer>", {}, NULL); @@ -230213,6 +234797,17 @@ int OpenBindingsInternal(lua_State* L) tolua_constant(L, "reference", offsetoftype(reference, Pointer>)); tolua_endmodule(L); tolua_endmodule(L); + tolua_cclass(L, "Pointer>", "Pointer>", {}, NULL); + tolua_beginmodule(L, "Pointer>"); + tolua_variable(L, "reference", tolua_get_Pointer_Primitive_LONG___reference, tolua_set_Pointer_Primitive_LONG___reference); + tolua_function(L, "setValue", &tolua_function_Pointer_Primitive_LONG___setValue); + tolua_constant(L, "sizeof", sizeof(Pointer>)); + tolua_constantstring(L, "usertype_reference", "Primitive"); + tolua_module(L, ".offsetof", 0); + tolua_beginmodule(L, ".offsetof"); + tolua_constant(L, "reference", offsetoftype(reference, Pointer>)); + tolua_endmodule(L); + tolua_endmodule(L); tolua_cclass(L, "Pointer>", "Pointer>", {}, NULL); tolua_beginmodule(L, "Pointer>"); tolua_variable(L, "reference", tolua_get_Pointer_Primitive_ushort___reference, tolua_set_Pointer_Primitive_ushort___reference); @@ -230224,37 +234819,26 @@ int OpenBindingsInternal(lua_State* L) tolua_constant(L, "reference", offsetoftype(reference, Pointer>)); tolua_endmodule(L); tolua_endmodule(L); - tolua_cclass(L, "Pointer>", "Pointer>", {}, NULL); - tolua_beginmodule(L, "Pointer>"); - tolua_variable(L, "reference", tolua_get_Pointer_Primitive_uint16_t___reference, tolua_set_Pointer_Primitive_uint16_t___reference); - tolua_function(L, "setValue", &tolua_function_Pointer_Primitive_uint16_t___setValue); - tolua_constant(L, "sizeof", sizeof(Pointer>)); - tolua_constantstring(L, "usertype_reference", "Primitive"); - tolua_module(L, ".offsetof", 0); - tolua_beginmodule(L, ".offsetof"); - tolua_constant(L, "reference", offsetoftype(reference, Pointer>)); - tolua_endmodule(L); - tolua_endmodule(L); - tolua_cclass(L, "Pointer>", "Pointer>", {}, NULL); - tolua_beginmodule(L, "Pointer>"); - tolua_variable(L, "reference", tolua_get_Pointer_Primitive_float___reference, tolua_set_Pointer_Primitive_float___reference); - tolua_function(L, "setValue", &tolua_function_Pointer_Primitive_float___setValue); - tolua_constant(L, "sizeof", sizeof(Pointer>)); - tolua_constantstring(L, "usertype_reference", "Primitive"); + tolua_cclass(L, "Pointer>", "Pointer>", {}, NULL); + tolua_beginmodule(L, "Pointer>"); + tolua_variable(L, "reference", tolua_get_Pointer_Primitive_short___reference, tolua_set_Pointer_Primitive_short___reference); + tolua_function(L, "setValue", &tolua_function_Pointer_Primitive_short___setValue); + tolua_constant(L, "sizeof", sizeof(Pointer>)); + tolua_constantstring(L, "usertype_reference", "Primitive"); tolua_module(L, ".offsetof", 0); tolua_beginmodule(L, ".offsetof"); - tolua_constant(L, "reference", offsetoftype(reference, Pointer>)); + tolua_constant(L, "reference", offsetoftype(reference, Pointer>)); tolua_endmodule(L); tolua_endmodule(L); - tolua_cclass(L, "Pointer>", "Pointer>", {}, NULL); - tolua_beginmodule(L, "Pointer>"); - tolua_variable(L, "reference", tolua_get_Pointer_Primitive_const_char____reference, tolua_set_Pointer_Primitive_const_char____reference); - tolua_function(L, "setValue", &tolua_function_Pointer_Primitive_const_char____setValue); - tolua_constant(L, "sizeof", sizeof(Pointer>)); - tolua_constantstring(L, "usertype_reference", "Primitive"); + tolua_cclass(L, "Pointer>", "Pointer>", {}, NULL); + tolua_beginmodule(L, "Pointer>"); + tolua_variable(L, "reference", tolua_get_Pointer_Primitive_LRESULT___reference, tolua_set_Pointer_Primitive_LRESULT___reference); + tolua_function(L, "setValue", &tolua_function_Pointer_Primitive_LRESULT___setValue); + tolua_constant(L, "sizeof", sizeof(Pointer>)); + tolua_constantstring(L, "usertype_reference", "Primitive"); tolua_module(L, ".offsetof", 0); tolua_beginmodule(L, ".offsetof"); - tolua_constant(L, "reference", offsetoftype(reference, Pointer>)); + tolua_constant(L, "reference", offsetoftype(reference, Pointer>)); tolua_endmodule(L); tolua_endmodule(L); tolua_cclass(L, "Pointer>", "Pointer>", {}, NULL); @@ -230268,81 +234852,81 @@ int OpenBindingsInternal(lua_State* L) tolua_constant(L, "reference", offsetoftype(reference, Pointer>)); tolua_endmodule(L); tolua_endmodule(L); - tolua_cclass(L, "Pointer>", "Pointer>", {}, NULL); - tolua_beginmodule(L, "Pointer>"); - tolua_variable(L, "reference", tolua_get_Pointer_Primitive_ptrdiff_t___reference, tolua_set_Pointer_Primitive_ptrdiff_t___reference); - tolua_function(L, "setValue", &tolua_function_Pointer_Primitive_ptrdiff_t___setValue); - tolua_constant(L, "sizeof", sizeof(Pointer>)); - tolua_constantstring(L, "usertype_reference", "Primitive"); + tolua_cclass(L, "Pointer>", "Pointer>", {}, NULL); + tolua_beginmodule(L, "Pointer>"); + tolua_variable(L, "reference", tolua_get_Pointer_Primitive_uint32_t___reference, tolua_set_Pointer_Primitive_uint32_t___reference); + tolua_function(L, "setValue", &tolua_function_Pointer_Primitive_uint32_t___setValue); + tolua_constant(L, "sizeof", sizeof(Pointer>)); + tolua_constantstring(L, "usertype_reference", "Primitive"); tolua_module(L, ".offsetof", 0); tolua_beginmodule(L, ".offsetof"); - tolua_constant(L, "reference", offsetoftype(reference, Pointer>)); + tolua_constant(L, "reference", offsetoftype(reference, Pointer>)); tolua_endmodule(L); tolua_endmodule(L); - tolua_cclass(L, "Pointer>", "Pointer>", {}, NULL); - tolua_beginmodule(L, "Pointer>"); - tolua_variable(L, "reference", tolua_get_Pointer_Primitive_uint64_t___reference, tolua_set_Pointer_Primitive_uint64_t___reference); - tolua_function(L, "setValue", &tolua_function_Pointer_Primitive_uint64_t___setValue); - tolua_constant(L, "sizeof", sizeof(Pointer>)); - tolua_constantstring(L, "usertype_reference", "Primitive"); + tolua_cclass(L, "Pointer>", "Pointer>", {}, NULL); + tolua_beginmodule(L, "Pointer>"); + tolua_variable(L, "reference", tolua_get_Pointer_Primitive___int8___reference, tolua_set_Pointer_Primitive___int8___reference); + tolua_function(L, "setValue", &tolua_function_Pointer_Primitive___int8___setValue); + tolua_constant(L, "sizeof", sizeof(Pointer>)); + tolua_constantstring(L, "usertype_reference", "Primitive<__int8>"); tolua_module(L, ".offsetof", 0); tolua_beginmodule(L, ".offsetof"); - tolua_constant(L, "reference", offsetoftype(reference, Pointer>)); + tolua_constant(L, "reference", offsetoftype(reference, Pointer>)); tolua_endmodule(L); tolua_endmodule(L); - tolua_cclass(L, "Pointer>", "Pointer>", {}, NULL); - tolua_beginmodule(L, "Pointer>"); - tolua_variable(L, "reference", tolua_get_Pointer_Primitive___int64___reference, tolua_set_Pointer_Primitive___int64___reference); - tolua_function(L, "setValue", &tolua_function_Pointer_Primitive___int64___setValue); - tolua_constant(L, "sizeof", sizeof(Pointer>)); - tolua_constantstring(L, "usertype_reference", "Primitive<__int64>"); + tolua_cclass(L, "Pointer>", "Pointer>", {}, NULL); + tolua_beginmodule(L, "Pointer>"); + tolua_variable(L, "reference", tolua_get_Pointer_Primitive_char___reference, tolua_set_Pointer_Primitive_char___reference); + tolua_function(L, "setValue", &tolua_function_Pointer_Primitive_char___setValue); + tolua_constant(L, "sizeof", sizeof(Pointer>)); + tolua_constantstring(L, "usertype_reference", "Primitive"); tolua_module(L, ".offsetof", 0); tolua_beginmodule(L, ".offsetof"); - tolua_constant(L, "reference", offsetoftype(reference, Pointer>)); + tolua_constant(L, "reference", offsetoftype(reference, Pointer>)); tolua_endmodule(L); tolua_endmodule(L); - tolua_cclass(L, "Pointer>", "Pointer>", {}, NULL); - tolua_beginmodule(L, "Pointer>"); - tolua_variable(L, "reference", tolua_get_Pointer_Primitive_BOOL___reference, tolua_set_Pointer_Primitive_BOOL___reference); - tolua_function(L, "setValue", &tolua_function_Pointer_Primitive_BOOL___setValue); - tolua_constant(L, "sizeof", sizeof(Pointer>)); - tolua_constantstring(L, "usertype_reference", "Primitive"); + tolua_cclass(L, "Pointer>", "Pointer>", {}, NULL); + tolua_beginmodule(L, "Pointer>"); + tolua_variable(L, "reference", tolua_get_Pointer_Primitive_uint___reference, tolua_set_Pointer_Primitive_uint___reference); + tolua_function(L, "setValue", &tolua_function_Pointer_Primitive_uint___setValue); + tolua_constant(L, "sizeof", sizeof(Pointer>)); + tolua_constantstring(L, "usertype_reference", "Primitive"); tolua_module(L, ".offsetof", 0); tolua_beginmodule(L, ".offsetof"); - tolua_constant(L, "reference", offsetoftype(reference, Pointer>)); + tolua_constant(L, "reference", offsetoftype(reference, Pointer>)); tolua_endmodule(L); tolua_endmodule(L); - tolua_cclass(L, "Pointer>", "Pointer>", {}, NULL); - tolua_beginmodule(L, "Pointer>"); - tolua_variable(L, "reference", tolua_get_Pointer_Primitive_LONG___reference, tolua_set_Pointer_Primitive_LONG___reference); - tolua_function(L, "setValue", &tolua_function_Pointer_Primitive_LONG___setValue); - tolua_constant(L, "sizeof", sizeof(Pointer>)); - tolua_constantstring(L, "usertype_reference", "Primitive"); + tolua_cclass(L, "Pointer>", "Pointer>", {}, NULL); + tolua_beginmodule(L, "Pointer>"); + tolua_variable(L, "reference", tolua_get_Pointer_Primitive_long_double___reference, tolua_set_Pointer_Primitive_long_double___reference); + tolua_function(L, "setValue", &tolua_function_Pointer_Primitive_long_double___setValue); + tolua_constant(L, "sizeof", sizeof(Pointer>)); + tolua_constantstring(L, "usertype_reference", "Primitive"); tolua_module(L, ".offsetof", 0); tolua_beginmodule(L, ".offsetof"); - tolua_constant(L, "reference", offsetoftype(reference, Pointer>)); + tolua_constant(L, "reference", offsetoftype(reference, Pointer>)); tolua_endmodule(L); tolua_endmodule(L); - tolua_cclass(L, "Pointer>", "Pointer>", {}, NULL); - tolua_beginmodule(L, "Pointer>"); - tolua_variable(L, "reference", tolua_get_Pointer_Primitive_int64_t___reference, tolua_set_Pointer_Primitive_int64_t___reference); - tolua_function(L, "setValue", &tolua_function_Pointer_Primitive_int64_t___setValue); - tolua_constant(L, "sizeof", sizeof(Pointer>)); - tolua_constantstring(L, "usertype_reference", "Primitive"); + tolua_cclass(L, "Pointer>", "Pointer>", {}, NULL); + tolua_beginmodule(L, "Pointer>"); + tolua_variable(L, "reference", tolua_get_Pointer_Primitive_BOOL___reference, tolua_set_Pointer_Primitive_BOOL___reference); + tolua_function(L, "setValue", &tolua_function_Pointer_Primitive_BOOL___setValue); + tolua_constant(L, "sizeof", sizeof(Pointer>)); + tolua_constantstring(L, "usertype_reference", "Primitive"); tolua_module(L, ".offsetof", 0); tolua_beginmodule(L, ".offsetof"); - tolua_constant(L, "reference", offsetoftype(reference, Pointer>)); + tolua_constant(L, "reference", offsetoftype(reference, Pointer>)); tolua_endmodule(L); tolua_endmodule(L); - tolua_cclass(L, "Pointer>", "Pointer>", {}, NULL); - tolua_beginmodule(L, "Pointer>"); - tolua_variable(L, "reference", tolua_get_Pointer_Primitive_uint___reference, tolua_set_Pointer_Primitive_uint___reference); - tolua_function(L, "setValue", &tolua_function_Pointer_Primitive_uint___setValue); - tolua_constant(L, "sizeof", sizeof(Pointer>)); - tolua_constantstring(L, "usertype_reference", "Primitive"); + tolua_cclass(L, "Pointer>", "Pointer>", {}, NULL); + tolua_beginmodule(L, "Pointer>"); + tolua_variable(L, "reference", tolua_get_Pointer_Primitive_HRESULT___reference, tolua_set_Pointer_Primitive_HRESULT___reference); + tolua_function(L, "setValue", &tolua_function_Pointer_Primitive_HRESULT___setValue); + tolua_constant(L, "sizeof", sizeof(Pointer>)); + tolua_constantstring(L, "usertype_reference", "Primitive"); tolua_module(L, ".offsetof", 0); tolua_beginmodule(L, ".offsetof"); - tolua_constant(L, "reference", offsetoftype(reference, Pointer>)); + tolua_constant(L, "reference", offsetoftype(reference, Pointer>)); tolua_endmodule(L); tolua_endmodule(L); tolua_cclass(L, "Pointer>", "Pointer>", {}, NULL); @@ -230356,6 +234940,50 @@ int OpenBindingsInternal(lua_State* L) tolua_constant(L, "reference", offsetoftype(reference, Pointer>)); tolua_endmodule(L); tolua_endmodule(L); + tolua_cclass(L, "Pointer>", "Pointer>", {}, NULL); + tolua_beginmodule(L, "Pointer>"); + tolua_variable(L, "reference", tolua_get_Pointer_Primitive_INT___reference, tolua_set_Pointer_Primitive_INT___reference); + tolua_function(L, "setValue", &tolua_function_Pointer_Primitive_INT___setValue); + tolua_constant(L, "sizeof", sizeof(Pointer>)); + tolua_constantstring(L, "usertype_reference", "Primitive"); + tolua_module(L, ".offsetof", 0); + tolua_beginmodule(L, ".offsetof"); + tolua_constant(L, "reference", offsetoftype(reference, Pointer>)); + tolua_endmodule(L); + tolua_endmodule(L); + tolua_cclass(L, "Pointer>", "Pointer>", {}, NULL); + tolua_beginmodule(L, "Pointer>"); + tolua_variable(L, "reference", tolua_get_Pointer_Primitive_double___reference, tolua_set_Pointer_Primitive_double___reference); + tolua_function(L, "setValue", &tolua_function_Pointer_Primitive_double___setValue); + tolua_constant(L, "sizeof", sizeof(Pointer>)); + tolua_constantstring(L, "usertype_reference", "Primitive"); + tolua_module(L, ".offsetof", 0); + tolua_beginmodule(L, ".offsetof"); + tolua_constant(L, "reference", offsetoftype(reference, Pointer>)); + tolua_endmodule(L); + tolua_endmodule(L); + tolua_cclass(L, "Pointer>", "Pointer>", {}, NULL); + tolua_beginmodule(L, "Pointer>"); + tolua_variable(L, "reference", tolua_get_Pointer_Primitive_float___reference, tolua_set_Pointer_Primitive_float___reference); + tolua_function(L, "setValue", &tolua_function_Pointer_Primitive_float___setValue); + tolua_constant(L, "sizeof", sizeof(Pointer>)); + tolua_constantstring(L, "usertype_reference", "Primitive"); + tolua_module(L, ".offsetof", 0); + tolua_beginmodule(L, ".offsetof"); + tolua_constant(L, "reference", offsetoftype(reference, Pointer>)); + tolua_endmodule(L); + tolua_endmodule(L); + tolua_cclass(L, "Pointer>", "Pointer>", {}, NULL); + tolua_beginmodule(L, "Pointer>"); + tolua_variable(L, "reference", tolua_get_Pointer_Primitive_int___reference, tolua_set_Pointer_Primitive_int___reference); + tolua_function(L, "setValue", &tolua_function_Pointer_Primitive_int___setValue); + tolua_constant(L, "sizeof", sizeof(Pointer>)); + tolua_constantstring(L, "usertype_reference", "Primitive"); + tolua_module(L, ".offsetof", 0); + tolua_beginmodule(L, ".offsetof"); + tolua_constant(L, "reference", offsetoftype(reference, Pointer>)); + tolua_endmodule(L); + tolua_endmodule(L); tolua_cclass(L, "Pointer>", "Pointer>", {}, NULL); tolua_beginmodule(L, "Pointer>"); tolua_variable(L, "reference", tolua_get_Pointer_Primitive_uint8_t___reference, tolua_set_Pointer_Primitive_uint8_t___reference); @@ -230367,15 +234995,26 @@ int OpenBindingsInternal(lua_State* L) tolua_constant(L, "reference", offsetoftype(reference, Pointer>)); tolua_endmodule(L); tolua_endmodule(L); - tolua_cclass(L, "Pointer>", "Pointer>", {}, NULL); - tolua_beginmodule(L, "Pointer>"); - tolua_variable(L, "reference", tolua_get_Pointer_Primitive_short___reference, tolua_set_Pointer_Primitive_short___reference); - tolua_function(L, "setValue", &tolua_function_Pointer_Primitive_short___setValue); - tolua_constant(L, "sizeof", sizeof(Pointer>)); - tolua_constantstring(L, "usertype_reference", "Primitive"); + tolua_cclass(L, "Pointer>", "Pointer>", {}, NULL); + tolua_beginmodule(L, "Pointer>"); + tolua_variable(L, "reference", tolua_get_Pointer_Primitive___int64___reference, tolua_set_Pointer_Primitive___int64___reference); + tolua_function(L, "setValue", &tolua_function_Pointer_Primitive___int64___setValue); + tolua_constant(L, "sizeof", sizeof(Pointer>)); + tolua_constantstring(L, "usertype_reference", "Primitive<__int64>"); tolua_module(L, ".offsetof", 0); tolua_beginmodule(L, ".offsetof"); - tolua_constant(L, "reference", offsetoftype(reference, Pointer>)); + tolua_constant(L, "reference", offsetoftype(reference, Pointer>)); + tolua_endmodule(L); + tolua_endmodule(L); + tolua_cclass(L, "Pointer>", "Pointer>", {}, NULL); + tolua_beginmodule(L, "Pointer>"); + tolua_variable(L, "reference", tolua_get_Pointer_Primitive_const_char____reference, tolua_set_Pointer_Primitive_const_char____reference); + tolua_function(L, "setValue", &tolua_function_Pointer_Primitive_const_char____setValue); + tolua_constant(L, "sizeof", sizeof(Pointer>)); + tolua_constantstring(L, "usertype_reference", "Primitive"); + tolua_module(L, ".offsetof", 0); + tolua_beginmodule(L, ".offsetof"); + tolua_constant(L, "reference", offsetoftype(reference, Pointer>)); tolua_endmodule(L); tolua_endmodule(L); tolua_cclass(L, "Pointer>", "Pointer>", {}, NULL); @@ -230389,28 +235028,6 @@ int OpenBindingsInternal(lua_State* L) tolua_constant(L, "reference", offsetoftype(reference, Pointer>)); tolua_endmodule(L); tolua_endmodule(L); - tolua_cclass(L, "Pointer>", "Pointer>", {}, NULL); - tolua_beginmodule(L, "Pointer>"); - tolua_variable(L, "reference", tolua_get_Pointer_Primitive_DWORD___reference, tolua_set_Pointer_Primitive_DWORD___reference); - tolua_function(L, "setValue", &tolua_function_Pointer_Primitive_DWORD___setValue); - tolua_constant(L, "sizeof", sizeof(Pointer>)); - tolua_constantstring(L, "usertype_reference", "Primitive"); - tolua_module(L, ".offsetof", 0); - tolua_beginmodule(L, ".offsetof"); - tolua_constant(L, "reference", offsetoftype(reference, Pointer>)); - tolua_endmodule(L); - tolua_endmodule(L); - tolua_cclass(L, "Pointer>", "Pointer>", {}, NULL); - tolua_beginmodule(L, "Pointer>"); - tolua_variable(L, "reference", tolua_get_Pointer_Primitive_uintptr_t___reference, tolua_set_Pointer_Primitive_uintptr_t___reference); - tolua_function(L, "setValue", &tolua_function_Pointer_Primitive_uintptr_t___setValue); - tolua_constant(L, "sizeof", sizeof(Pointer>)); - tolua_constantstring(L, "usertype_reference", "Primitive"); - tolua_module(L, ".offsetof", 0); - tolua_beginmodule(L, ".offsetof"); - tolua_constant(L, "reference", offsetoftype(reference, Pointer>)); - tolua_endmodule(L); - tolua_endmodule(L); tolua_cclass(L, "Pointer>", "Pointer>", {}, NULL); tolua_beginmodule(L, "Pointer>"); tolua_variable(L, "reference", tolua_get_Pointer_Primitive_int8_t___reference, tolua_set_Pointer_Primitive_int8_t___reference); @@ -230422,26 +235039,26 @@ int OpenBindingsInternal(lua_State* L) tolua_constant(L, "reference", offsetoftype(reference, Pointer>)); tolua_endmodule(L); tolua_endmodule(L); - tolua_cclass(L, "Pointer>", "Pointer>", {}, NULL); - tolua_beginmodule(L, "Pointer>"); - tolua_variable(L, "reference", tolua_get_Pointer_Primitive_byte___reference, tolua_set_Pointer_Primitive_byte___reference); - tolua_function(L, "setValue", &tolua_function_Pointer_Primitive_byte___setValue); - tolua_constant(L, "sizeof", sizeof(Pointer>)); - tolua_constantstring(L, "usertype_reference", "Primitive"); + tolua_cclass(L, "Pointer>", "Pointer>", {}, NULL); + tolua_beginmodule(L, "Pointer>"); + tolua_variable(L, "reference", tolua_get_Pointer_Primitive_int64_t___reference, tolua_set_Pointer_Primitive_int64_t___reference); + tolua_function(L, "setValue", &tolua_function_Pointer_Primitive_int64_t___setValue); + tolua_constant(L, "sizeof", sizeof(Pointer>)); + tolua_constantstring(L, "usertype_reference", "Primitive"); tolua_module(L, ".offsetof", 0); tolua_beginmodule(L, ".offsetof"); - tolua_constant(L, "reference", offsetoftype(reference, Pointer>)); + tolua_constant(L, "reference", offsetoftype(reference, Pointer>)); tolua_endmodule(L); tolua_endmodule(L); - tolua_cclass(L, "Pointer>", "Pointer>", {}, NULL); - tolua_beginmodule(L, "Pointer>"); - tolua_variable(L, "reference", tolua_get_Pointer_Primitive_int___reference, tolua_set_Pointer_Primitive_int___reference); - tolua_function(L, "setValue", &tolua_function_Pointer_Primitive_int___setValue); - tolua_constant(L, "sizeof", sizeof(Pointer>)); - tolua_constantstring(L, "usertype_reference", "Primitive"); + tolua_cclass(L, "Pointer>", "Pointer>", {}, NULL); + tolua_beginmodule(L, "Pointer>"); + tolua_variable(L, "reference", tolua_get_Pointer_Primitive_ptrdiff_t___reference, tolua_set_Pointer_Primitive_ptrdiff_t___reference); + tolua_function(L, "setValue", &tolua_function_Pointer_Primitive_ptrdiff_t___setValue); + tolua_constant(L, "sizeof", sizeof(Pointer>)); + tolua_constantstring(L, "usertype_reference", "Primitive"); tolua_module(L, ".offsetof", 0); tolua_beginmodule(L, ".offsetof"); - tolua_constant(L, "reference", offsetoftype(reference, Pointer>)); + tolua_constant(L, "reference", offsetoftype(reference, Pointer>)); tolua_endmodule(L); tolua_endmodule(L); tolua_cclass(L, "Pointer>", "Pointer>", {}, NULL); @@ -230455,37 +235072,37 @@ int OpenBindingsInternal(lua_State* L) tolua_constant(L, "reference", offsetoftype(reference, Pointer>)); tolua_endmodule(L); tolua_endmodule(L); - tolua_cclass(L, "Pointer>", "Pointer>", {}, NULL); - tolua_beginmodule(L, "Pointer>"); - tolua_variable(L, "reference", tolua_get_Pointer_Primitive_int32_t___reference, tolua_set_Pointer_Primitive_int32_t___reference); - tolua_function(L, "setValue", &tolua_function_Pointer_Primitive_int32_t___setValue); - tolua_constant(L, "sizeof", sizeof(Pointer>)); - tolua_constantstring(L, "usertype_reference", "Primitive"); + tolua_cclass(L, "Pointer>", "Pointer>", {}, NULL); + tolua_beginmodule(L, "Pointer>"); + tolua_variable(L, "reference", tolua_get_Pointer_Primitive_uint64_t___reference, tolua_set_Pointer_Primitive_uint64_t___reference); + tolua_function(L, "setValue", &tolua_function_Pointer_Primitive_uint64_t___setValue); + tolua_constant(L, "sizeof", sizeof(Pointer>)); + tolua_constantstring(L, "usertype_reference", "Primitive"); tolua_module(L, ".offsetof", 0); tolua_beginmodule(L, ".offsetof"); - tolua_constant(L, "reference", offsetoftype(reference, Pointer>)); + tolua_constant(L, "reference", offsetoftype(reference, Pointer>)); tolua_endmodule(L); tolua_endmodule(L); - tolua_cclass(L, "Pointer>", "Pointer>", {}, NULL); - tolua_beginmodule(L, "Pointer>"); - tolua_variable(L, "reference", tolua_get_Pointer_Primitive___int8___reference, tolua_set_Pointer_Primitive___int8___reference); - tolua_function(L, "setValue", &tolua_function_Pointer_Primitive___int8___setValue); - tolua_constant(L, "sizeof", sizeof(Pointer>)); - tolua_constantstring(L, "usertype_reference", "Primitive<__int8>"); + tolua_cclass(L, "Pointer>", "Pointer>", {}, NULL); + tolua_beginmodule(L, "Pointer>"); + tolua_variable(L, "reference", tolua_get_Pointer_Primitive___int16___reference, tolua_set_Pointer_Primitive___int16___reference); + tolua_function(L, "setValue", &tolua_function_Pointer_Primitive___int16___setValue); + tolua_constant(L, "sizeof", sizeof(Pointer>)); + tolua_constantstring(L, "usertype_reference", "Primitive<__int16>"); tolua_module(L, ".offsetof", 0); tolua_beginmodule(L, ".offsetof"); - tolua_constant(L, "reference", offsetoftype(reference, Pointer>)); + tolua_constant(L, "reference", offsetoftype(reference, Pointer>)); tolua_endmodule(L); tolua_endmodule(L); - tolua_cclass(L, "Pointer>", "Pointer>", {}, NULL); - tolua_beginmodule(L, "Pointer>"); - tolua_variable(L, "reference", tolua_get_Pointer_Primitive_double___reference, tolua_set_Pointer_Primitive_double___reference); - tolua_function(L, "setValue", &tolua_function_Pointer_Primitive_double___setValue); - tolua_constant(L, "sizeof", sizeof(Pointer>)); - tolua_constantstring(L, "usertype_reference", "Primitive"); + tolua_cclass(L, "Pointer>", "Pointer>", {}, NULL); + tolua_beginmodule(L, "Pointer>"); + tolua_variable(L, "reference", tolua_get_Pointer_Primitive_uintptr_t___reference, tolua_set_Pointer_Primitive_uintptr_t___reference); + tolua_function(L, "setValue", &tolua_function_Pointer_Primitive_uintptr_t___setValue); + tolua_constant(L, "sizeof", sizeof(Pointer>)); + tolua_constantstring(L, "usertype_reference", "Primitive"); tolua_module(L, ".offsetof", 0); tolua_beginmodule(L, ".offsetof"); - tolua_constant(L, "reference", offsetoftype(reference, Pointer>)); + tolua_constant(L, "reference", offsetoftype(reference, Pointer>)); tolua_endmodule(L); tolua_endmodule(L); tolua_cclass(L, "Pointer>", "Pointer>", {}, NULL); @@ -230499,15 +235116,48 @@ int OpenBindingsInternal(lua_State* L) tolua_constant(L, "reference", offsetoftype(reference, Pointer>)); tolua_endmodule(L); tolua_endmodule(L); - tolua_cclass(L, "Pointer>", "Pointer>", {}, NULL); - tolua_beginmodule(L, "Pointer>"); - tolua_variable(L, "reference", tolua_get_Pointer_Primitive_long_double___reference, tolua_set_Pointer_Primitive_long_double___reference); - tolua_function(L, "setValue", &tolua_function_Pointer_Primitive_long_double___setValue); - tolua_constant(L, "sizeof", sizeof(Pointer>)); - tolua_constantstring(L, "usertype_reference", "Primitive"); + tolua_cclass(L, "Pointer>", "Pointer>", {}, NULL); + tolua_beginmodule(L, "Pointer>"); + tolua_variable(L, "reference", tolua_get_Pointer_Primitive_byte___reference, tolua_set_Pointer_Primitive_byte___reference); + tolua_function(L, "setValue", &tolua_function_Pointer_Primitive_byte___setValue); + tolua_constant(L, "sizeof", sizeof(Pointer>)); + tolua_constantstring(L, "usertype_reference", "Primitive"); tolua_module(L, ".offsetof", 0); tolua_beginmodule(L, ".offsetof"); - tolua_constant(L, "reference", offsetoftype(reference, Pointer>)); + tolua_constant(L, "reference", offsetoftype(reference, Pointer>)); + tolua_endmodule(L); + tolua_endmodule(L); + tolua_cclass(L, "Pointer>", "Pointer>", {}, NULL); + tolua_beginmodule(L, "Pointer>"); + tolua_variable(L, "reference", tolua_get_Pointer_Primitive_lua_Integer___reference, tolua_set_Pointer_Primitive_lua_Integer___reference); + tolua_function(L, "setValue", &tolua_function_Pointer_Primitive_lua_Integer___setValue); + tolua_constant(L, "sizeof", sizeof(Pointer>)); + tolua_constantstring(L, "usertype_reference", "Primitive"); + tolua_module(L, ".offsetof", 0); + tolua_beginmodule(L, ".offsetof"); + tolua_constant(L, "reference", offsetoftype(reference, Pointer>)); + tolua_endmodule(L); + tolua_endmodule(L); + tolua_cclass(L, "Pointer>", "Pointer>", {}, NULL); + tolua_beginmodule(L, "Pointer>"); + tolua_variable(L, "reference", tolua_get_Pointer_Primitive_uint16_t___reference, tolua_set_Pointer_Primitive_uint16_t___reference); + tolua_function(L, "setValue", &tolua_function_Pointer_Primitive_uint16_t___setValue); + tolua_constant(L, "sizeof", sizeof(Pointer>)); + tolua_constantstring(L, "usertype_reference", "Primitive"); + tolua_module(L, ".offsetof", 0); + tolua_beginmodule(L, ".offsetof"); + tolua_constant(L, "reference", offsetoftype(reference, Pointer>)); + tolua_endmodule(L); + tolua_endmodule(L); + tolua_cclass(L, "Pointer", "Pointer", {}, NULL); + tolua_beginmodule(L, "Pointer"); + tolua_variable(L, "reference", tolua_get_Pointer_SDL_SysWMinfo__info_t__win_t__reference, tolua_set_Pointer_SDL_SysWMinfo__info_t__win_t__reference); + tolua_function(L, "setValue", &tolua_function_Pointer_SDL_SysWMinfo__info_t__win_t__setValue); + tolua_constant(L, "sizeof", sizeof(Pointer)); + tolua_constantstring(L, "usertype_reference", "SDL_SysWMinfo::info_t::win_t"); + tolua_module(L, ".offsetof", 0); + tolua_beginmodule(L, ".offsetof"); + tolua_constant(L, "reference", offsetoftype(reference, Pointer)); tolua_endmodule(L); tolua_endmodule(L); tolua_cclass(L, "Pointer", "Pointer", {}, NULL); @@ -230773,6 +235423,29 @@ int OpenBindingsInternal(lua_State* L) tolua_constant(L, "reference", offsetoftype(reference, Pointer)); tolua_endmodule(L); tolua_endmodule(L); + tolua_cclass(L, "Pointer", "Pointer", {}, NULL); + tolua_beginmodule(L, "Pointer"); + tolua_variable(L, "reference", tolua_get_Pointer_SDL_MessageBoxColor__reference, tolua_set_Pointer_SDL_MessageBoxColor__reference); + tolua_function(L, "setValue", &tolua_function_Pointer_SDL_MessageBoxColor__setValue); + tolua_constant(L, "sizeof", sizeof(Pointer)); + tolua_constantstring(L, "usertype_reference", "SDL_MessageBoxColor"); + tolua_module(L, ".offsetof", 0); + tolua_beginmodule(L, ".offsetof"); + tolua_constant(L, "reference", offsetoftype(reference, Pointer)); + tolua_endmodule(L); + tolua_endmodule(L); + tolua_cclass(L, "Pointer", "Pointer", {}, NULL); + tolua_beginmodule(L, "Pointer"); + tolua_variable(L, "reference", tolua_get_Pointer_SDL_MessageBoxColor___reference, tolua_set_Pointer_SDL_MessageBoxColor___reference); + tolua_function(L, "getValue", &tolua_function_Pointer_SDL_MessageBoxColor___getValue); + tolua_function(L, "setValue", &tolua_function_Pointer_SDL_MessageBoxColor___setValue); + tolua_constant(L, "sizeof", sizeof(Pointer)); + tolua_constantstring(L, "usertype_reference", "Pointer"); + tolua_module(L, ".offsetof", 0); + tolua_beginmodule(L, ".offsetof"); + tolua_constant(L, "reference", offsetoftype(reference, Pointer)); + tolua_endmodule(L); + tolua_endmodule(L); tolua_cclass(L, "Pointer", "Pointer", {}, NULL); tolua_beginmodule(L, "Pointer"); tolua_variable(L, "reference", tolua_get_Pointer_SDL_WindowShapeParams__reference, tolua_set_Pointer_SDL_WindowShapeParams__reference); @@ -230784,17 +235457,6 @@ int OpenBindingsInternal(lua_State* L) tolua_constant(L, "reference", offsetoftype(reference, Pointer)); tolua_endmodule(L); tolua_endmodule(L); - tolua_cclass(L, "Pointer", "Pointer", {}, NULL); - tolua_beginmodule(L, "Pointer"); - tolua_variable(L, "reference", tolua_get_Pointer_SDL_WindowShapeMode__reference, tolua_set_Pointer_SDL_WindowShapeMode__reference); - tolua_function(L, "setValue", &tolua_function_Pointer_SDL_WindowShapeMode__setValue); - tolua_constant(L, "sizeof", sizeof(Pointer)); - tolua_constantstring(L, "usertype_reference", "SDL_WindowShapeMode"); - tolua_module(L, ".offsetof", 0); - tolua_beginmodule(L, ".offsetof"); - tolua_constant(L, "reference", offsetoftype(reference, Pointer)); - tolua_endmodule(L); - tolua_endmodule(L); tolua_cclass(L, "Pointer", "Pointer", {}, NULL); tolua_beginmodule(L, "Pointer"); tolua_variable(L, "reference", tolua_get_Pointer_GCheader__reference, tolua_set_Pointer_GCheader__reference); @@ -230863,18 +235525,6 @@ int OpenBindingsInternal(lua_State* L) tolua_constant(L, "reference", offsetoftype(reference, Pointer<_D98D369160A0DDA2B95F5D0F301081BB>)); tolua_endmodule(L); tolua_endmodule(L); - tolua_cclass(L, "Pointer<_D98D369160A0DDA2B95F5D0F301081BB*>", "Pointer<_D98D369160A0DDA2B95F5D0F301081BB*>", {}, NULL); - tolua_beginmodule(L, "Pointer<_D98D369160A0DDA2B95F5D0F301081BB*>"); - tolua_variable(L, "reference", tolua_get_Pointer__D98D369160A0DDA2B95F5D0F301081BB___reference, tolua_set_Pointer__D98D369160A0DDA2B95F5D0F301081BB___reference); - tolua_function(L, "getValue", &tolua_function_Pointer__D98D369160A0DDA2B95F5D0F301081BB___getValue); - tolua_function(L, "setValue", &tolua_function_Pointer__D98D369160A0DDA2B95F5D0F301081BB___setValue); - tolua_constant(L, "sizeof", sizeof(Pointer<_D98D369160A0DDA2B95F5D0F301081BB*>)); - tolua_constantstring(L, "usertype_reference", "Pointer<_D98D369160A0DDA2B95F5D0F301081BB*>"); - tolua_module(L, ".offsetof", 0); - tolua_beginmodule(L, ".offsetof"); - tolua_constant(L, "reference", offsetoftype(reference, Pointer<_D98D369160A0DDA2B95F5D0F301081BB*>)); - tolua_endmodule(L); - tolua_endmodule(L); tolua_cclass(L, "Pointer", "Pointer", {}, NULL); tolua_beginmodule(L, "Pointer"); tolua_variable(L, "reference", tolua_get_Pointer_const__D98D369160A0DDA2B95F5D0F301081BB__reference, tolua_set_Pointer_const__D98D369160A0DDA2B95F5D0F301081BB__reference); @@ -230896,6 +235546,18 @@ int OpenBindingsInternal(lua_State* L) tolua_constant(L, "reference", offsetoftype(reference, Pointer)); tolua_endmodule(L); tolua_endmodule(L); + tolua_cclass(L, "Pointer<_D98D369160A0DDA2B95F5D0F301081BB*>", "Pointer<_D98D369160A0DDA2B95F5D0F301081BB*>", {}, NULL); + tolua_beginmodule(L, "Pointer<_D98D369160A0DDA2B95F5D0F301081BB*>"); + tolua_variable(L, "reference", tolua_get_Pointer__D98D369160A0DDA2B95F5D0F301081BB___reference, tolua_set_Pointer__D98D369160A0DDA2B95F5D0F301081BB___reference); + tolua_function(L, "getValue", &tolua_function_Pointer__D98D369160A0DDA2B95F5D0F301081BB___getValue); + tolua_function(L, "setValue", &tolua_function_Pointer__D98D369160A0DDA2B95F5D0F301081BB___setValue); + tolua_constant(L, "sizeof", sizeof(Pointer<_D98D369160A0DDA2B95F5D0F301081BB*>)); + tolua_constantstring(L, "usertype_reference", "Pointer<_D98D369160A0DDA2B95F5D0F301081BB*>"); + tolua_module(L, ".offsetof", 0); + tolua_beginmodule(L, ".offsetof"); + tolua_constant(L, "reference", offsetoftype(reference, Pointer<_D98D369160A0DDA2B95F5D0F301081BB*>)); + tolua_endmodule(L); + tolua_endmodule(L); tolua_cclass(L, "Pointer", "Pointer", {}, NULL); tolua_beginmodule(L, "Pointer"); tolua_variable(L, "reference", tolua_get_Pointer_const_char___reference, tolua_set_Pointer_const_char___reference); @@ -231254,6 +235916,17 @@ int OpenBindingsInternal(lua_State* L) tolua_constant(L, "reference", offsetoftype(reference, Pointer)); tolua_endmodule(L); tolua_endmodule(L); + tolua_cclass(L, "Pointer", "Pointer", {}, NULL); + tolua_beginmodule(L, "Pointer"); + tolua_variable(L, "reference", tolua_get_Pointer_SDL_SysWMinfo__info_t__reference, tolua_set_Pointer_SDL_SysWMinfo__info_t__reference); + tolua_function(L, "setValue", &tolua_function_Pointer_SDL_SysWMinfo__info_t__setValue); + tolua_constant(L, "sizeof", sizeof(Pointer)); + tolua_constantstring(L, "usertype_reference", "SDL_SysWMinfo::info_t"); + tolua_module(L, ".offsetof", 0); + tolua_beginmodule(L, ".offsetof"); + tolua_constant(L, "reference", offsetoftype(reference, Pointer)); + tolua_endmodule(L); + tolua_endmodule(L); tolua_cclass(L, "Pointer", "Pointer", {}, NULL); tolua_beginmodule(L, "Pointer"); tolua_variable(L, "reference", tolua_get_Pointer_SDL_SysWMEvent__reference, tolua_set_Pointer_SDL_SysWMEvent__reference); @@ -231265,6 +235938,17 @@ int OpenBindingsInternal(lua_State* L) tolua_constant(L, "reference", offsetoftype(reference, Pointer)); tolua_endmodule(L); tolua_endmodule(L); + tolua_cclass(L, "Pointer", "Pointer", {}, NULL); + tolua_beginmodule(L, "Pointer"); + tolua_variable(L, "reference", tolua_get_Pointer_SDL_ShapeDriver__reference, tolua_set_Pointer_SDL_ShapeDriver__reference); + tolua_function(L, "setValue", &tolua_function_Pointer_SDL_ShapeDriver__setValue); + tolua_constant(L, "sizeof", sizeof(Pointer)); + tolua_constantstring(L, "usertype_reference", "SDL_ShapeDriver"); + tolua_module(L, ".offsetof", 0); + tolua_beginmodule(L, ".offsetof"); + tolua_constant(L, "reference", offsetoftype(reference, Pointer)); + tolua_endmodule(L); + tolua_endmodule(L); tolua_cclass(L, "Pointer", "Pointer", {}, NULL); tolua_beginmodule(L, "Pointer"); tolua_variable(L, "reference", tolua_get_Pointer_SDL_QuitEvent__reference, tolua_set_Pointer_SDL_QuitEvent__reference); @@ -231419,17 +236103,6 @@ int OpenBindingsInternal(lua_State* L) tolua_constant(L, "reference", offsetoftype(reference, Pointer)); tolua_endmodule(L); tolua_endmodule(L); - tolua_cclass(L, "Pointer", "Pointer", {}, NULL); - tolua_beginmodule(L, "Pointer"); - tolua_variable(L, "reference", tolua_get_Pointer_SDL_DisplayMode__reference, tolua_set_Pointer_SDL_DisplayMode__reference); - tolua_function(L, "setValue", &tolua_function_Pointer_SDL_DisplayMode__setValue); - tolua_constant(L, "sizeof", sizeof(Pointer)); - tolua_constantstring(L, "usertype_reference", "SDL_DisplayMode"); - tolua_module(L, ".offsetof", 0); - tolua_beginmodule(L, ".offsetof"); - tolua_constant(L, "reference", offsetoftype(reference, Pointer)); - tolua_endmodule(L); - tolua_endmodule(L); tolua_cclass(L, "Pointer", "Pointer", {}, NULL); tolua_beginmodule(L, "Pointer"); tolua_variable(L, "reference", tolua_get_Pointer_SDL_ControllerDeviceEvent__reference, tolua_set_Pointer_SDL_ControllerDeviceEvent__reference); @@ -232243,6 +236916,17 @@ int OpenBindingsInternal(lua_State* L) tolua_constant(L, "reference", offsetoftype(reference, Pointer>)); tolua_endmodule(L); tolua_endmodule(L); + tolua_cclass(L, "Pointer>", "Pointer>", {}, NULL); + tolua_beginmodule(L, "Pointer>"); + tolua_variable(L, "reference", tolua_get_Pointer_VariableArray_ushort___reference, tolua_set_Pointer_VariableArray_ushort___reference); + tolua_function(L, "setValue", &tolua_function_Pointer_VariableArray_ushort___setValue); + tolua_constant(L, "sizeof", sizeof(Pointer>)); + tolua_constantstring(L, "usertype_reference", "VariableArray"); + tolua_module(L, ".offsetof", 0); + tolua_beginmodule(L, ".offsetof"); + tolua_constant(L, "reference", offsetoftype(reference, Pointer>)); + tolua_endmodule(L); + tolua_endmodule(L); tolua_cclass(L, "Pointer>", "Pointer>", {}, NULL); tolua_beginmodule(L, "Pointer>"); tolua_variable(L, "reference", tolua_get_Pointer_VariableArray_char___reference, tolua_set_Pointer_VariableArray_char___reference); @@ -232265,15 +236949,16 @@ int OpenBindingsInternal(lua_State* L) tolua_constant(L, "reference", offsetoftype(reference, Pointer>)); tolua_endmodule(L); tolua_endmodule(L); - tolua_cclass(L, "Pointer>", "Pointer>", {}, NULL); - tolua_beginmodule(L, "Pointer>"); - tolua_variable(L, "reference", tolua_get_Pointer_VariableArray_ushort___reference, tolua_set_Pointer_VariableArray_ushort___reference); - tolua_function(L, "setValue", &tolua_function_Pointer_VariableArray_ushort___setValue); - tolua_constant(L, "sizeof", sizeof(Pointer>)); - tolua_constantstring(L, "usertype_reference", "VariableArray"); + tolua_cclass(L, "Pointer*>", "Pointer*>", {}, NULL); + tolua_beginmodule(L, "Pointer*>"); + tolua_variable(L, "reference", tolua_get_Pointer_VariableArray_CRect____reference, tolua_set_Pointer_VariableArray_CRect____reference); + tolua_function(L, "getValue", &tolua_function_Pointer_VariableArray_CRect____getValue); + tolua_function(L, "setValue", &tolua_function_Pointer_VariableArray_CRect____setValue); + tolua_constant(L, "sizeof", sizeof(Pointer*>)); + tolua_constantstring(L, "usertype_reference", "Pointer*>"); tolua_module(L, ".offsetof", 0); tolua_beginmodule(L, ".offsetof"); - tolua_constant(L, "reference", offsetoftype(reference, Pointer>)); + tolua_constant(L, "reference", offsetoftype(reference, Pointer*>)); tolua_endmodule(L); tolua_endmodule(L); tolua_cclass(L, "Pointer*>", "Pointer*>", {}, NULL); @@ -232420,18 +237105,6 @@ int OpenBindingsInternal(lua_State* L) tolua_constant(L, "reference", offsetoftype(reference, Pointer*>)); tolua_endmodule(L); tolua_endmodule(L); - tolua_cclass(L, "Pointer*>", "Pointer*>", {}, NULL); - tolua_beginmodule(L, "Pointer*>"); - tolua_variable(L, "reference", tolua_get_Pointer_VariableArray_CRect____reference, tolua_set_Pointer_VariableArray_CRect____reference); - tolua_function(L, "getValue", &tolua_function_Pointer_VariableArray_CRect____getValue); - tolua_function(L, "setValue", &tolua_function_Pointer_VariableArray_CRect____setValue); - tolua_constant(L, "sizeof", sizeof(Pointer*>)); - tolua_constantstring(L, "usertype_reference", "Pointer*>"); - tolua_module(L, ".offsetof", 0); - tolua_beginmodule(L, ".offsetof"); - tolua_constant(L, "reference", offsetoftype(reference, Pointer*>)); - tolua_endmodule(L); - tolua_endmodule(L); tolua_cclass(L, "Pointer", "Pointer", {}, NULL); tolua_beginmodule(L, "Pointer"); tolua_variable(L, "reference", tolua_get_Pointer_uiItem__movie_t__reference, tolua_set_Pointer_uiItem__movie_t__reference); @@ -232499,6 +237172,17 @@ int OpenBindingsInternal(lua_State* L) tolua_constant(L, "reference", offsetoftype(reference, Pointer)); tolua_endmodule(L); tolua_endmodule(L); + tolua_cclass(L, "Pointer<_820A8B7015E7E0FD9144A7C186FBF075>", "Pointer<_820A8B7015E7E0FD9144A7C186FBF075>", {}, NULL); + tolua_beginmodule(L, "Pointer<_820A8B7015E7E0FD9144A7C186FBF075>"); + tolua_variable(L, "reference", tolua_get_Pointer__820A8B7015E7E0FD9144A7C186FBF075__reference, tolua_set_Pointer__820A8B7015E7E0FD9144A7C186FBF075__reference); + tolua_function(L, "setValue", &tolua_function_Pointer__820A8B7015E7E0FD9144A7C186FBF075__setValue); + tolua_constant(L, "sizeof", sizeof(Pointer<_820A8B7015E7E0FD9144A7C186FBF075>)); + tolua_constantstring(L, "usertype_reference", "_820A8B7015E7E0FD9144A7C186FBF075"); + tolua_module(L, ".offsetof", 0); + tolua_beginmodule(L, ".offsetof"); + tolua_constant(L, "reference", offsetoftype(reference, Pointer<_820A8B7015E7E0FD9144A7C186FBF075>)); + tolua_endmodule(L); + tolua_endmodule(L); tolua_cclass(L, "Pointer<_9B9540D9920A90D57A3D80DDD1A70514>", "Pointer<_9B9540D9920A90D57A3D80DDD1A70514>", {}, NULL); tolua_beginmodule(L, "Pointer<_9B9540D9920A90D57A3D80DDD1A70514>"); tolua_variable(L, "reference", tolua_get_Pointer__9B9540D9920A90D57A3D80DDD1A70514__reference, tolua_set_Pointer__9B9540D9920A90D57A3D80DDD1A70514__reference); @@ -236034,6 +240718,17 @@ int OpenBindingsInternal(lua_State* L) tolua_constant(L, "reference", offsetoftype(reference, Pointer<_GUID>)); tolua_endmodule(L); tolua_endmodule(L); + tolua_cclass(L, "Pointer", "Pointer", {}, NULL); + tolua_beginmodule(L, "Pointer"); + tolua_variable(L, "reference", tolua_get_Pointer_SDL_VideoDevice__gl_config_t__reference, tolua_set_Pointer_SDL_VideoDevice__gl_config_t__reference); + tolua_function(L, "setValue", &tolua_function_Pointer_SDL_VideoDevice__gl_config_t__setValue); + tolua_constant(L, "sizeof", sizeof(Pointer)); + tolua_constantstring(L, "usertype_reference", "SDL_VideoDevice::gl_config_t"); + tolua_module(L, ".offsetof", 0); + tolua_beginmodule(L, ".offsetof"); + tolua_constant(L, "reference", offsetoftype(reference, Pointer)); + tolua_endmodule(L); + tolua_endmodule(L); tolua_cclass(L, "Pointer", "Pointer", {}, NULL); tolua_beginmodule(L, "Pointer"); tolua_variable(L, "reference", tolua_get_Pointer_LClosure__reference, tolua_set_Pointer_LClosure__reference); @@ -248731,6 +253426,14 @@ int OpenBindingsInternal(lua_State* L) tolua_constant(L, "size", 64); tolua_constant(L, "lastIndex", 63); tolua_endmodule(L); + tolua_cclass(L, "Array", "Array", {}, NULL); + tolua_beginmodule(L, "Array"); + tolua_function(L, "getReference", &tolua_function_Array_SDL_MessageBoxColor_5__getReference); + tolua_function(L, "set", &tolua_function_Array_SDL_MessageBoxColor_5__set); + tolua_constant(L, "sizeof", sizeof(Array)); + tolua_constant(L, "size", 5); + tolua_constant(L, "lastIndex", 4); + tolua_endmodule(L); tolua_cclass(L, "Array", "Array", {}, NULL); tolua_beginmodule(L, "Array"); tolua_function(L, "get", &tolua_function_Array_unsigned_int_84__get); @@ -248765,6 +253468,14 @@ int OpenBindingsInternal(lua_State* L) tolua_constant(L, "size", 32749); tolua_constant(L, "lastIndex", 32748); tolua_endmodule(L); + tolua_cclass(L, "Array", "Array", {}, NULL); + tolua_beginmodule(L, "Array"); + tolua_function(L, "get", &tolua_function_Array_char_256__get); + tolua_function(L, "set", &tolua_function_Array_char_256__set); + tolua_constant(L, "sizeof", sizeof(Array)); + tolua_constant(L, "size", 256); + tolua_constant(L, "lastIndex", 255); + tolua_endmodule(L); tolua_cclass(L, "Array", "Array", {}, NULL); tolua_beginmodule(L, "Array"); tolua_function(L, "getReference", &tolua_function_Array_texture_t_DX_512__getReference); @@ -248895,15 +253606,6 @@ int OpenBindingsInternal(lua_State* L) tolua_constant(L, "size", 129); tolua_constant(L, "lastIndex", 128); tolua_endmodule(L); - tolua_cclass(L, "Array", "Array", {}, NULL); - tolua_beginmodule(L, "Array"); - tolua_function(L, "get", &tolua_function_Array_char_256__get); - tolua_function(L, "getReference", &tolua_function_Array_char_256__getReference); - tolua_function(L, "set", &tolua_function_Array_char_256__set); - tolua_constant(L, "sizeof", sizeof(Array)); - tolua_constant(L, "size", 256); - tolua_constant(L, "lastIndex", 255); - tolua_endmodule(L); tolua_cclass(L, "uiItem", "uiItem", {}, NULL); tolua_beginmodule(L, "uiItem"); tolua_variable(L, "type", tolua_get_uiItem_type, tolua_set_uiItem_type); @@ -250202,6 +254904,310 @@ int OpenBindingsInternal(lua_State* L) tolua_constant(L, "Data4", offsetoftype(Data4, _GUID)); tolua_endmodule(L); tolua_endmodule(L); + tolua_cclass(L, "SDL_VideoDevice", "SDL_VideoDevice", {}, NULL); + tolua_beginmodule(L, "SDL_VideoDevice"); + tolua_variable(L, "name", tolua_get_SDL_VideoDevice_name, NULL); + tolua_variable(L, "shape_driver", tolua_get_SDL_VideoDevice_shape_driver, NULL); + tolua_variable(L, "suspend_screensaver", tolua_get_SDL_VideoDevice_suspend_screensaver, tolua_set_SDL_VideoDevice_suspend_screensaver); + tolua_variable(L, "reference_suspend_screensaver", tolua_get_SDL_VideoDevice_reference_suspend_screensaver, NULL); + tolua_variable(L, "num_displays", tolua_get_SDL_VideoDevice_num_displays, tolua_set_SDL_VideoDevice_num_displays); + tolua_variable(L, "reference_num_displays", tolua_get_SDL_VideoDevice_reference_num_displays, NULL); + tolua_variable(L, "displays", tolua_get_SDL_VideoDevice_displays, tolua_set_SDL_VideoDevice_displays); + tolua_variable(L, "reference_displays", tolua_get_SDL_VideoDevice_reference_displays, NULL); + tolua_variable(L, "windows", tolua_get_SDL_VideoDevice_windows, tolua_set_SDL_VideoDevice_windows); + tolua_variable(L, "reference_windows", tolua_get_SDL_VideoDevice_reference_windows, NULL); + tolua_variable(L, "grabbed_window", tolua_get_SDL_VideoDevice_grabbed_window, tolua_set_SDL_VideoDevice_grabbed_window); + tolua_variable(L, "reference_grabbed_window", tolua_get_SDL_VideoDevice_reference_grabbed_window, NULL); + tolua_variable(L, "window_magic", tolua_get_SDL_VideoDevice_window_magic, tolua_set_SDL_VideoDevice_window_magic); + tolua_variable(L, "reference_window_magic", tolua_get_SDL_VideoDevice_reference_window_magic, NULL); + tolua_variable(L, "next_object_id", tolua_get_SDL_VideoDevice_next_object_id, tolua_set_SDL_VideoDevice_next_object_id); + tolua_variable(L, "reference_next_object_id", tolua_get_SDL_VideoDevice_reference_next_object_id, NULL); + tolua_variable(L, "clipboard_text", tolua_get_SDL_VideoDevice_clipboard_text, NULL); + tolua_variable(L, "gl_config", tolua_get_SDL_VideoDevice_gl_config, NULL); + tolua_variable(L, "current_glwin", tolua_get_SDL_VideoDevice_current_glwin, tolua_set_SDL_VideoDevice_current_glwin); + tolua_variable(L, "reference_current_glwin", tolua_get_SDL_VideoDevice_reference_current_glwin, NULL); + tolua_variable(L, "current_glctx", tolua_get_SDL_VideoDevice_current_glctx, tolua_set_SDL_VideoDevice_current_glctx); + tolua_variable(L, "reference_current_glctx", tolua_get_SDL_VideoDevice_reference_current_glctx, NULL); + tolua_variable(L, "current_glwin_tls", tolua_get_SDL_VideoDevice_current_glwin_tls, tolua_set_SDL_VideoDevice_current_glwin_tls); + tolua_variable(L, "reference_current_glwin_tls", tolua_get_SDL_VideoDevice_reference_current_glwin_tls, NULL); + tolua_variable(L, "current_glctx_tls", tolua_get_SDL_VideoDevice_current_glctx_tls, tolua_set_SDL_VideoDevice_current_glctx_tls); + tolua_variable(L, "reference_current_glctx_tls", tolua_get_SDL_VideoDevice_reference_current_glctx_tls, NULL); + tolua_variable(L, "driverdata", tolua_get_SDL_VideoDevice_driverdata, tolua_set_SDL_VideoDevice_driverdata); + tolua_variable(L, "reference_driverdata", tolua_get_SDL_VideoDevice_reference_driverdata, NULL); + tolua_variable(L, "gl_data", tolua_get_SDL_VideoDevice_gl_data, tolua_set_SDL_VideoDevice_gl_data); + tolua_variable(L, "reference_gl_data", tolua_get_SDL_VideoDevice_reference_gl_data, NULL); + tolua_variable(L, "egl_data", tolua_get_SDL_VideoDevice_egl_data, tolua_set_SDL_VideoDevice_egl_data); + tolua_variable(L, "reference_egl_data", tolua_get_SDL_VideoDevice_reference_egl_data, NULL); + tolua_variable(L, "gles_data", tolua_get_SDL_VideoDevice_gles_data, tolua_set_SDL_VideoDevice_gles_data); + tolua_variable(L, "reference_gles_data", tolua_get_SDL_VideoDevice_reference_gles_data, NULL); + tolua_function(L, "VideoInit", &tolua_function_SDL_VideoDevice_VideoInit); + tolua_function(L, "VideoQuit", &tolua_function_SDL_VideoDevice_VideoQuit); + tolua_function(L, "GetDisplayBounds", &tolua_function_SDL_VideoDevice_GetDisplayBounds); + tolua_function(L, "GetDisplayDPI", &tolua_function_SDL_VideoDevice_GetDisplayDPI); + tolua_function(L, "GetDisplayModes", &tolua_function_SDL_VideoDevice_GetDisplayModes); + tolua_function(L, "SetDisplayMode", &tolua_function_SDL_VideoDevice_SetDisplayMode); + tolua_function(L, "CreateWindowA", &tolua_function_SDL_VideoDevice_CreateWindowA); + tolua_function(L, "CreateWindowFrom", &tolua_function_SDL_VideoDevice_CreateWindowFrom); + tolua_function(L, "SetWindowTitle", &tolua_function_SDL_VideoDevice_SetWindowTitle); + tolua_function(L, "SetWindowIcon", &tolua_function_SDL_VideoDevice_SetWindowIcon); + tolua_function(L, "SetWindowPosition", &tolua_function_SDL_VideoDevice_SetWindowPosition); + tolua_function(L, "SetWindowSize", &tolua_function_SDL_VideoDevice_SetWindowSize); + tolua_function(L, "SetWindowMinimumSize", &tolua_function_SDL_VideoDevice_SetWindowMinimumSize); + tolua_function(L, "SetWindowMaximumSize", &tolua_function_SDL_VideoDevice_SetWindowMaximumSize); + tolua_function(L, "ShowWindow", &tolua_function_SDL_VideoDevice_ShowWindow); + tolua_function(L, "HideWindow", &tolua_function_SDL_VideoDevice_HideWindow); + tolua_function(L, "RaiseWindow", &tolua_function_SDL_VideoDevice_RaiseWindow); + tolua_function(L, "MaximizeWindow", &tolua_function_SDL_VideoDevice_MaximizeWindow); + tolua_function(L, "MinimizeWindow", &tolua_function_SDL_VideoDevice_MinimizeWindow); + tolua_function(L, "RestoreWindow", &tolua_function_SDL_VideoDevice_RestoreWindow); + tolua_function(L, "SetWindowBordered", &tolua_function_SDL_VideoDevice_SetWindowBordered); + tolua_function(L, "SetWindowFullscreen", &tolua_function_SDL_VideoDevice_SetWindowFullscreen); + tolua_function(L, "SetWindowGammaRamp", &tolua_function_SDL_VideoDevice_SetWindowGammaRamp); + tolua_function(L, "GetWindowGammaRamp", &tolua_function_SDL_VideoDevice_GetWindowGammaRamp); + tolua_function(L, "SetWindowGrab", &tolua_function_SDL_VideoDevice_SetWindowGrab); + tolua_function(L, "DestroyWindow", &tolua_function_SDL_VideoDevice_DestroyWindow); + tolua_function(L, "CreateWindowFramebuffer", &tolua_function_SDL_VideoDevice_CreateWindowFramebuffer); + tolua_function(L, "UpdateWindowFramebuffer", &tolua_function_SDL_VideoDevice_UpdateWindowFramebuffer); + tolua_function(L, "DestroyWindowFramebuffer", &tolua_function_SDL_VideoDevice_DestroyWindowFramebuffer); + tolua_function(L, "OnWindowEnter", &tolua_function_SDL_VideoDevice_OnWindowEnter); + tolua_function(L, "GetWindowWMInfo", &tolua_function_SDL_VideoDevice_GetWindowWMInfo); + tolua_function(L, "GL_LoadLibrary", &tolua_function_SDL_VideoDevice_GL_LoadLibrary); + tolua_function(L, "GL_GetProcAddress", &tolua_function_SDL_VideoDevice_GL_GetProcAddress); + tolua_function(L, "GL_UnloadLibrary", &tolua_function_SDL_VideoDevice_GL_UnloadLibrary); + tolua_function(L, "GL_CreateContext", &tolua_function_SDL_VideoDevice_GL_CreateContext); + tolua_function(L, "GL_MakeCurrent", &tolua_function_SDL_VideoDevice_GL_MakeCurrent); + tolua_function(L, "GL_GetDrawableSize", &tolua_function_SDL_VideoDevice_GL_GetDrawableSize); + tolua_function(L, "GL_SetSwapInterval", &tolua_function_SDL_VideoDevice_GL_SetSwapInterval); + tolua_function(L, "GL_GetSwapInterval", &tolua_function_SDL_VideoDevice_GL_GetSwapInterval); + tolua_function(L, "GL_SwapWindow", &tolua_function_SDL_VideoDevice_GL_SwapWindow); + tolua_function(L, "GL_DeleteContext", &tolua_function_SDL_VideoDevice_GL_DeleteContext); + tolua_function(L, "PumpEvents", &tolua_function_SDL_VideoDevice_PumpEvents); + tolua_function(L, "SuspendScreenSaver", &tolua_function_SDL_VideoDevice_SuspendScreenSaver); + tolua_function(L, "StartTextInput", &tolua_function_SDL_VideoDevice_StartTextInput); + tolua_function(L, "StopTextInput", &tolua_function_SDL_VideoDevice_StopTextInput); + tolua_function(L, "SetTextInputRect", &tolua_function_SDL_VideoDevice_SetTextInputRect); + tolua_function(L, "HasScreenKeyboardSupport", &tolua_function_SDL_VideoDevice_HasScreenKeyboardSupport); + tolua_function(L, "ShowScreenKeyboard", &tolua_function_SDL_VideoDevice_ShowScreenKeyboard); + tolua_function(L, "HideScreenKeyboard", &tolua_function_SDL_VideoDevice_HideScreenKeyboard); + tolua_function(L, "IsScreenKeyboardShown", &tolua_function_SDL_VideoDevice_IsScreenKeyboardShown); + tolua_function(L, "SetClipboardText", &tolua_function_SDL_VideoDevice_SetClipboardText); + tolua_function(L, "HasClipboardText", &tolua_function_SDL_VideoDevice_HasClipboardText); + tolua_function(L, "ShowMessageBox", &tolua_function_SDL_VideoDevice_ShowMessageBox); + tolua_function(L, "SetWindowHitTest", &tolua_function_SDL_VideoDevice_SetWindowHitTest); + tolua_function(L, "free", &tolua_function_SDL_VideoDevice_free); + tolua_constant(L, "sizeof", sizeof(SDL_VideoDevice)); + tolua_constantstring(L, "usertype_name", "ConstCharString"); + tolua_constantstring(L, "usertype_shape_driver", "SDL_ShapeDriver"); + tolua_constantstring(L, "usertype_suspend_screensaver", "Primitive"); + tolua_constantstring(L, "usertype_num_displays", "Primitive"); + tolua_constantstring(L, "usertype_displays", "SDL_VideoDisplay"); + tolua_constantstring(L, "usertype_windows", "SDL_Window"); + tolua_constantstring(L, "usertype_grabbed_window", "SDL_Window"); + tolua_constantstring(L, "usertype_window_magic", "Primitive<__int8>"); + tolua_constantstring(L, "usertype_next_object_id", "Primitive"); + tolua_constantstring(L, "usertype_clipboard_text", "CharString"); + tolua_constantstring(L, "usertype_gl_config", "SDL_VideoDevice::gl_config_t"); + tolua_constantstring(L, "usertype_current_glwin", "SDL_Window"); + tolua_constantstring(L, "usertype_current_glctx", "UnmappedUserType"); + tolua_constantstring(L, "usertype_current_glwin_tls", "Primitive"); + tolua_constantstring(L, "usertype_current_glctx_tls", "Primitive"); + tolua_constantstring(L, "usertype_driverdata", "UnmappedUserType"); + tolua_constantstring(L, "usertype_gl_data", "SDL_GLDriverData"); + tolua_constantstring(L, "usertype_egl_data", "SDL_EGL_VideoData"); + tolua_constantstring(L, "usertype_gles_data", "SDL_PrivateGLESData"); + tolua_module(L, ".offsetof", 0); + tolua_beginmodule(L, ".offsetof"); + tolua_constant(L, "name", offsetoftype(name, SDL_VideoDevice)); + tolua_constant(L, "VideoInit", offsetoftype(VideoInit, SDL_VideoDevice)); + tolua_constant(L, "VideoQuit", offsetoftype(VideoQuit, SDL_VideoDevice)); + tolua_constant(L, "GetDisplayBounds", offsetoftype(GetDisplayBounds, SDL_VideoDevice)); + tolua_constant(L, "GetDisplayDPI", offsetoftype(GetDisplayDPI, SDL_VideoDevice)); + tolua_constant(L, "GetDisplayModes", offsetoftype(GetDisplayModes, SDL_VideoDevice)); + tolua_constant(L, "SetDisplayMode", offsetoftype(SetDisplayMode, SDL_VideoDevice)); + tolua_constant(L, "CreateWindowA", offsetoftype(CreateWindowA, SDL_VideoDevice)); + tolua_constant(L, "CreateWindowFrom", offsetoftype(CreateWindowFrom, SDL_VideoDevice)); + tolua_constant(L, "SetWindowTitle", offsetoftype(SetWindowTitle, SDL_VideoDevice)); + tolua_constant(L, "SetWindowIcon", offsetoftype(SetWindowIcon, SDL_VideoDevice)); + tolua_constant(L, "SetWindowPosition", offsetoftype(SetWindowPosition, SDL_VideoDevice)); + tolua_constant(L, "SetWindowSize", offsetoftype(SetWindowSize, SDL_VideoDevice)); + tolua_constant(L, "SetWindowMinimumSize", offsetoftype(SetWindowMinimumSize, SDL_VideoDevice)); + tolua_constant(L, "SetWindowMaximumSize", offsetoftype(SetWindowMaximumSize, SDL_VideoDevice)); + tolua_constant(L, "ShowWindow", offsetoftype(ShowWindow, SDL_VideoDevice)); + tolua_constant(L, "HideWindow", offsetoftype(HideWindow, SDL_VideoDevice)); + tolua_constant(L, "RaiseWindow", offsetoftype(RaiseWindow, SDL_VideoDevice)); + tolua_constant(L, "MaximizeWindow", offsetoftype(MaximizeWindow, SDL_VideoDevice)); + tolua_constant(L, "MinimizeWindow", offsetoftype(MinimizeWindow, SDL_VideoDevice)); + tolua_constant(L, "RestoreWindow", offsetoftype(RestoreWindow, SDL_VideoDevice)); + tolua_constant(L, "SetWindowBordered", offsetoftype(SetWindowBordered, SDL_VideoDevice)); + tolua_constant(L, "SetWindowFullscreen", offsetoftype(SetWindowFullscreen, SDL_VideoDevice)); + tolua_constant(L, "SetWindowGammaRamp", offsetoftype(SetWindowGammaRamp, SDL_VideoDevice)); + tolua_constant(L, "GetWindowGammaRamp", offsetoftype(GetWindowGammaRamp, SDL_VideoDevice)); + tolua_constant(L, "SetWindowGrab", offsetoftype(SetWindowGrab, SDL_VideoDevice)); + tolua_constant(L, "DestroyWindow", offsetoftype(DestroyWindow, SDL_VideoDevice)); + tolua_constant(L, "CreateWindowFramebuffer", offsetoftype(CreateWindowFramebuffer, SDL_VideoDevice)); + tolua_constant(L, "UpdateWindowFramebuffer", offsetoftype(UpdateWindowFramebuffer, SDL_VideoDevice)); + tolua_constant(L, "DestroyWindowFramebuffer", offsetoftype(DestroyWindowFramebuffer, SDL_VideoDevice)); + tolua_constant(L, "OnWindowEnter", offsetoftype(OnWindowEnter, SDL_VideoDevice)); + tolua_constant(L, "shape_driver", offsetoftype(shape_driver, SDL_VideoDevice)); + tolua_constant(L, "GetWindowWMInfo", offsetoftype(GetWindowWMInfo, SDL_VideoDevice)); + tolua_constant(L, "GL_LoadLibrary", offsetoftype(GL_LoadLibrary, SDL_VideoDevice)); + tolua_constant(L, "GL_GetProcAddress", offsetoftype(GL_GetProcAddress, SDL_VideoDevice)); + tolua_constant(L, "GL_UnloadLibrary", offsetoftype(GL_UnloadLibrary, SDL_VideoDevice)); + tolua_constant(L, "GL_CreateContext", offsetoftype(GL_CreateContext, SDL_VideoDevice)); + tolua_constant(L, "GL_MakeCurrent", offsetoftype(GL_MakeCurrent, SDL_VideoDevice)); + tolua_constant(L, "GL_GetDrawableSize", offsetoftype(GL_GetDrawableSize, SDL_VideoDevice)); + tolua_constant(L, "GL_SetSwapInterval", offsetoftype(GL_SetSwapInterval, SDL_VideoDevice)); + tolua_constant(L, "GL_GetSwapInterval", offsetoftype(GL_GetSwapInterval, SDL_VideoDevice)); + tolua_constant(L, "GL_SwapWindow", offsetoftype(GL_SwapWindow, SDL_VideoDevice)); + tolua_constant(L, "GL_DeleteContext", offsetoftype(GL_DeleteContext, SDL_VideoDevice)); + tolua_constant(L, "PumpEvents", offsetoftype(PumpEvents, SDL_VideoDevice)); + tolua_constant(L, "SuspendScreenSaver", offsetoftype(SuspendScreenSaver, SDL_VideoDevice)); + tolua_constant(L, "StartTextInput", offsetoftype(StartTextInput, SDL_VideoDevice)); + tolua_constant(L, "StopTextInput", offsetoftype(StopTextInput, SDL_VideoDevice)); + tolua_constant(L, "SetTextInputRect", offsetoftype(SetTextInputRect, SDL_VideoDevice)); + tolua_constant(L, "HasScreenKeyboardSupport", offsetoftype(HasScreenKeyboardSupport, SDL_VideoDevice)); + tolua_constant(L, "ShowScreenKeyboard", offsetoftype(ShowScreenKeyboard, SDL_VideoDevice)); + tolua_constant(L, "HideScreenKeyboard", offsetoftype(HideScreenKeyboard, SDL_VideoDevice)); + tolua_constant(L, "IsScreenKeyboardShown", offsetoftype(IsScreenKeyboardShown, SDL_VideoDevice)); + tolua_constant(L, "SetClipboardText", offsetoftype(SetClipboardText, SDL_VideoDevice)); + tolua_constant(L, "GetClipboardText", offsetoftype(GetClipboardText, SDL_VideoDevice)); + tolua_constant(L, "HasClipboardText", offsetoftype(HasClipboardText, SDL_VideoDevice)); + tolua_constant(L, "ShowMessageBox", offsetoftype(ShowMessageBox, SDL_VideoDevice)); + tolua_constant(L, "SetWindowHitTest", offsetoftype(SetWindowHitTest, SDL_VideoDevice)); + tolua_constant(L, "suspend_screensaver", offsetoftype(suspend_screensaver, SDL_VideoDevice)); + tolua_constant(L, "num_displays", offsetoftype(num_displays, SDL_VideoDevice)); + tolua_constant(L, "displays", offsetoftype(displays, SDL_VideoDevice)); + tolua_constant(L, "windows", offsetoftype(windows, SDL_VideoDevice)); + tolua_constant(L, "grabbed_window", offsetoftype(grabbed_window, SDL_VideoDevice)); + tolua_constant(L, "window_magic", offsetoftype(window_magic, SDL_VideoDevice)); + tolua_constant(L, "next_object_id", offsetoftype(next_object_id, SDL_VideoDevice)); + tolua_constant(L, "clipboard_text", offsetoftype(clipboard_text, SDL_VideoDevice)); + tolua_constant(L, "gl_config", offsetoftype(gl_config, SDL_VideoDevice)); + tolua_constant(L, "current_glwin", offsetoftype(current_glwin, SDL_VideoDevice)); + tolua_constant(L, "current_glctx", offsetoftype(current_glctx, SDL_VideoDevice)); + tolua_constant(L, "current_glwin_tls", offsetoftype(current_glwin_tls, SDL_VideoDevice)); + tolua_constant(L, "current_glctx_tls", offsetoftype(current_glctx_tls, SDL_VideoDevice)); + tolua_constant(L, "driverdata", offsetoftype(driverdata, SDL_VideoDevice)); + tolua_constant(L, "gl_data", offsetoftype(gl_data, SDL_VideoDevice)); + tolua_constant(L, "egl_data", offsetoftype(egl_data, SDL_VideoDevice)); + tolua_constant(L, "gles_data", offsetoftype(gles_data, SDL_VideoDevice)); + tolua_constant(L, "free", offsetoftype(free, SDL_VideoDevice)); + tolua_endmodule(L); + tolua_endmodule(L); + tolua_cclass(L, "SDL_VideoDevice::gl_config_t", "SDL_VideoDevice::gl_config_t", {}, NULL); + tolua_beginmodule(L, "SDL_VideoDevice::gl_config_t"); + tolua_variable(L, "red_size", tolua_get_SDL_VideoDevice__gl_config_t_red_size, tolua_set_SDL_VideoDevice__gl_config_t_red_size); + tolua_variable(L, "reference_red_size", tolua_get_SDL_VideoDevice__gl_config_t_reference_red_size, NULL); + tolua_variable(L, "green_size", tolua_get_SDL_VideoDevice__gl_config_t_green_size, tolua_set_SDL_VideoDevice__gl_config_t_green_size); + tolua_variable(L, "reference_green_size", tolua_get_SDL_VideoDevice__gl_config_t_reference_green_size, NULL); + tolua_variable(L, "blue_size", tolua_get_SDL_VideoDevice__gl_config_t_blue_size, tolua_set_SDL_VideoDevice__gl_config_t_blue_size); + tolua_variable(L, "reference_blue_size", tolua_get_SDL_VideoDevice__gl_config_t_reference_blue_size, NULL); + tolua_variable(L, "alpha_size", tolua_get_SDL_VideoDevice__gl_config_t_alpha_size, tolua_set_SDL_VideoDevice__gl_config_t_alpha_size); + tolua_variable(L, "reference_alpha_size", tolua_get_SDL_VideoDevice__gl_config_t_reference_alpha_size, NULL); + tolua_variable(L, "depth_size", tolua_get_SDL_VideoDevice__gl_config_t_depth_size, tolua_set_SDL_VideoDevice__gl_config_t_depth_size); + tolua_variable(L, "reference_depth_size", tolua_get_SDL_VideoDevice__gl_config_t_reference_depth_size, NULL); + tolua_variable(L, "buffer_size", tolua_get_SDL_VideoDevice__gl_config_t_buffer_size, tolua_set_SDL_VideoDevice__gl_config_t_buffer_size); + tolua_variable(L, "reference_buffer_size", tolua_get_SDL_VideoDevice__gl_config_t_reference_buffer_size, NULL); + tolua_variable(L, "stencil_size", tolua_get_SDL_VideoDevice__gl_config_t_stencil_size, tolua_set_SDL_VideoDevice__gl_config_t_stencil_size); + tolua_variable(L, "reference_stencil_size", tolua_get_SDL_VideoDevice__gl_config_t_reference_stencil_size, NULL); + tolua_variable(L, "double_buffer", tolua_get_SDL_VideoDevice__gl_config_t_double_buffer, tolua_set_SDL_VideoDevice__gl_config_t_double_buffer); + tolua_variable(L, "reference_double_buffer", tolua_get_SDL_VideoDevice__gl_config_t_reference_double_buffer, NULL); + tolua_variable(L, "accum_red_size", tolua_get_SDL_VideoDevice__gl_config_t_accum_red_size, tolua_set_SDL_VideoDevice__gl_config_t_accum_red_size); + tolua_variable(L, "reference_accum_red_size", tolua_get_SDL_VideoDevice__gl_config_t_reference_accum_red_size, NULL); + tolua_variable(L, "accum_green_size", tolua_get_SDL_VideoDevice__gl_config_t_accum_green_size, tolua_set_SDL_VideoDevice__gl_config_t_accum_green_size); + tolua_variable(L, "reference_accum_green_size", tolua_get_SDL_VideoDevice__gl_config_t_reference_accum_green_size, NULL); + tolua_variable(L, "accum_blue_size", tolua_get_SDL_VideoDevice__gl_config_t_accum_blue_size, tolua_set_SDL_VideoDevice__gl_config_t_accum_blue_size); + tolua_variable(L, "reference_accum_blue_size", tolua_get_SDL_VideoDevice__gl_config_t_reference_accum_blue_size, NULL); + tolua_variable(L, "accum_alpha_size", tolua_get_SDL_VideoDevice__gl_config_t_accum_alpha_size, tolua_set_SDL_VideoDevice__gl_config_t_accum_alpha_size); + tolua_variable(L, "reference_accum_alpha_size", tolua_get_SDL_VideoDevice__gl_config_t_reference_accum_alpha_size, NULL); + tolua_variable(L, "stereo", tolua_get_SDL_VideoDevice__gl_config_t_stereo, tolua_set_SDL_VideoDevice__gl_config_t_stereo); + tolua_variable(L, "reference_stereo", tolua_get_SDL_VideoDevice__gl_config_t_reference_stereo, NULL); + tolua_variable(L, "multisamplebuffers", tolua_get_SDL_VideoDevice__gl_config_t_multisamplebuffers, tolua_set_SDL_VideoDevice__gl_config_t_multisamplebuffers); + tolua_variable(L, "reference_multisamplebuffers", tolua_get_SDL_VideoDevice__gl_config_t_reference_multisamplebuffers, NULL); + tolua_variable(L, "multisamplesamples", tolua_get_SDL_VideoDevice__gl_config_t_multisamplesamples, tolua_set_SDL_VideoDevice__gl_config_t_multisamplesamples); + tolua_variable(L, "reference_multisamplesamples", tolua_get_SDL_VideoDevice__gl_config_t_reference_multisamplesamples, NULL); + tolua_variable(L, "accelerated", tolua_get_SDL_VideoDevice__gl_config_t_accelerated, tolua_set_SDL_VideoDevice__gl_config_t_accelerated); + tolua_variable(L, "reference_accelerated", tolua_get_SDL_VideoDevice__gl_config_t_reference_accelerated, NULL); + tolua_variable(L, "major_version", tolua_get_SDL_VideoDevice__gl_config_t_major_version, tolua_set_SDL_VideoDevice__gl_config_t_major_version); + tolua_variable(L, "reference_major_version", tolua_get_SDL_VideoDevice__gl_config_t_reference_major_version, NULL); + tolua_variable(L, "minor_version", tolua_get_SDL_VideoDevice__gl_config_t_minor_version, tolua_set_SDL_VideoDevice__gl_config_t_minor_version); + tolua_variable(L, "reference_minor_version", tolua_get_SDL_VideoDevice__gl_config_t_reference_minor_version, NULL); + tolua_variable(L, "flags", tolua_get_SDL_VideoDevice__gl_config_t_flags, tolua_set_SDL_VideoDevice__gl_config_t_flags); + tolua_variable(L, "reference_flags", tolua_get_SDL_VideoDevice__gl_config_t_reference_flags, NULL); + tolua_variable(L, "profile_mask", tolua_get_SDL_VideoDevice__gl_config_t_profile_mask, tolua_set_SDL_VideoDevice__gl_config_t_profile_mask); + tolua_variable(L, "reference_profile_mask", tolua_get_SDL_VideoDevice__gl_config_t_reference_profile_mask, NULL); + tolua_variable(L, "share_with_current_context", tolua_get_SDL_VideoDevice__gl_config_t_share_with_current_context, tolua_set_SDL_VideoDevice__gl_config_t_share_with_current_context); + tolua_variable(L, "reference_share_with_current_context", tolua_get_SDL_VideoDevice__gl_config_t_reference_share_with_current_context, NULL); + tolua_variable(L, "release_behavior", tolua_get_SDL_VideoDevice__gl_config_t_release_behavior, tolua_set_SDL_VideoDevice__gl_config_t_release_behavior); + tolua_variable(L, "reference_release_behavior", tolua_get_SDL_VideoDevice__gl_config_t_reference_release_behavior, NULL); + tolua_variable(L, "framebuffer_srgb_capable", tolua_get_SDL_VideoDevice__gl_config_t_framebuffer_srgb_capable, tolua_set_SDL_VideoDevice__gl_config_t_framebuffer_srgb_capable); + tolua_variable(L, "reference_framebuffer_srgb_capable", tolua_get_SDL_VideoDevice__gl_config_t_reference_framebuffer_srgb_capable, NULL); + tolua_variable(L, "retained_backing", tolua_get_SDL_VideoDevice__gl_config_t_retained_backing, tolua_set_SDL_VideoDevice__gl_config_t_retained_backing); + tolua_variable(L, "reference_retained_backing", tolua_get_SDL_VideoDevice__gl_config_t_reference_retained_backing, NULL); + tolua_variable(L, "driver_loaded", tolua_get_SDL_VideoDevice__gl_config_t_driver_loaded, tolua_set_SDL_VideoDevice__gl_config_t_driver_loaded); + tolua_variable(L, "reference_driver_loaded", tolua_get_SDL_VideoDevice__gl_config_t_reference_driver_loaded, NULL); + tolua_variable(L, "driver_path", tolua_get_SDL_VideoDevice__gl_config_t_driver_path, NULL); + tolua_variable(L, "dll_handle", tolua_get_SDL_VideoDevice__gl_config_t_dll_handle, tolua_set_SDL_VideoDevice__gl_config_t_dll_handle); + tolua_variable(L, "reference_dll_handle", tolua_get_SDL_VideoDevice__gl_config_t_reference_dll_handle, NULL); + tolua_constant(L, "sizeof", sizeof(SDL_VideoDevice::gl_config_t)); + tolua_constantstring(L, "usertype_red_size", "Primitive"); + tolua_constantstring(L, "usertype_green_size", "Primitive"); + tolua_constantstring(L, "usertype_blue_size", "Primitive"); + tolua_constantstring(L, "usertype_alpha_size", "Primitive"); + tolua_constantstring(L, "usertype_depth_size", "Primitive"); + tolua_constantstring(L, "usertype_buffer_size", "Primitive"); + tolua_constantstring(L, "usertype_stencil_size", "Primitive"); + tolua_constantstring(L, "usertype_double_buffer", "Primitive"); + tolua_constantstring(L, "usertype_accum_red_size", "Primitive"); + tolua_constantstring(L, "usertype_accum_green_size", "Primitive"); + tolua_constantstring(L, "usertype_accum_blue_size", "Primitive"); + tolua_constantstring(L, "usertype_accum_alpha_size", "Primitive"); + tolua_constantstring(L, "usertype_stereo", "Primitive"); + tolua_constantstring(L, "usertype_multisamplebuffers", "Primitive"); + tolua_constantstring(L, "usertype_multisamplesamples", "Primitive"); + tolua_constantstring(L, "usertype_accelerated", "Primitive"); + tolua_constantstring(L, "usertype_major_version", "Primitive"); + tolua_constantstring(L, "usertype_minor_version", "Primitive"); + tolua_constantstring(L, "usertype_flags", "Primitive"); + tolua_constantstring(L, "usertype_profile_mask", "Primitive"); + tolua_constantstring(L, "usertype_share_with_current_context", "Primitive"); + tolua_constantstring(L, "usertype_release_behavior", "Primitive"); + tolua_constantstring(L, "usertype_framebuffer_srgb_capable", "Primitive"); + tolua_constantstring(L, "usertype_retained_backing", "Primitive"); + tolua_constantstring(L, "usertype_driver_loaded", "Primitive"); + tolua_constantstring(L, "usertype_driver_path", "Array"); + tolua_constantstring(L, "usertype_dll_handle", "UnmappedUserType"); + tolua_module(L, ".offsetof", 0); + tolua_beginmodule(L, ".offsetof"); + tolua_constant(L, "red_size", offsetoftype(red_size, SDL_VideoDevice::gl_config_t)); + tolua_constant(L, "green_size", offsetoftype(green_size, SDL_VideoDevice::gl_config_t)); + tolua_constant(L, "blue_size", offsetoftype(blue_size, SDL_VideoDevice::gl_config_t)); + tolua_constant(L, "alpha_size", offsetoftype(alpha_size, SDL_VideoDevice::gl_config_t)); + tolua_constant(L, "depth_size", offsetoftype(depth_size, SDL_VideoDevice::gl_config_t)); + tolua_constant(L, "buffer_size", offsetoftype(buffer_size, SDL_VideoDevice::gl_config_t)); + tolua_constant(L, "stencil_size", offsetoftype(stencil_size, SDL_VideoDevice::gl_config_t)); + tolua_constant(L, "double_buffer", offsetoftype(double_buffer, SDL_VideoDevice::gl_config_t)); + tolua_constant(L, "accum_red_size", offsetoftype(accum_red_size, SDL_VideoDevice::gl_config_t)); + tolua_constant(L, "accum_green_size", offsetoftype(accum_green_size, SDL_VideoDevice::gl_config_t)); + tolua_constant(L, "accum_blue_size", offsetoftype(accum_blue_size, SDL_VideoDevice::gl_config_t)); + tolua_constant(L, "accum_alpha_size", offsetoftype(accum_alpha_size, SDL_VideoDevice::gl_config_t)); + tolua_constant(L, "stereo", offsetoftype(stereo, SDL_VideoDevice::gl_config_t)); + tolua_constant(L, "multisamplebuffers", offsetoftype(multisamplebuffers, SDL_VideoDevice::gl_config_t)); + tolua_constant(L, "multisamplesamples", offsetoftype(multisamplesamples, SDL_VideoDevice::gl_config_t)); + tolua_constant(L, "accelerated", offsetoftype(accelerated, SDL_VideoDevice::gl_config_t)); + tolua_constant(L, "major_version", offsetoftype(major_version, SDL_VideoDevice::gl_config_t)); + tolua_constant(L, "minor_version", offsetoftype(minor_version, SDL_VideoDevice::gl_config_t)); + tolua_constant(L, "flags", offsetoftype(flags, SDL_VideoDevice::gl_config_t)); + tolua_constant(L, "profile_mask", offsetoftype(profile_mask, SDL_VideoDevice::gl_config_t)); + tolua_constant(L, "share_with_current_context", offsetoftype(share_with_current_context, SDL_VideoDevice::gl_config_t)); + tolua_constant(L, "release_behavior", offsetoftype(release_behavior, SDL_VideoDevice::gl_config_t)); + tolua_constant(L, "framebuffer_srgb_capable", offsetoftype(framebuffer_srgb_capable, SDL_VideoDevice::gl_config_t)); + tolua_constant(L, "retained_backing", offsetoftype(retained_backing, SDL_VideoDevice::gl_config_t)); + tolua_constant(L, "driver_loaded", offsetoftype(driver_loaded, SDL_VideoDevice::gl_config_t)); + tolua_constant(L, "driver_path", offsetoftype(driver_path, SDL_VideoDevice::gl_config_t)); + tolua_constant(L, "dll_handle", offsetoftype(dll_handle, SDL_VideoDevice::gl_config_t)); + tolua_endmodule(L); + tolua_endmodule(L); tolua_cclass(L, "SDL_PixelFormat", "SDL_PixelFormat", {}, NULL); tolua_beginmodule(L, "SDL_PixelFormat"); tolua_variable(L, "format", tolua_get_SDL_PixelFormat_format, tolua_set_SDL_PixelFormat_format); @@ -250284,6 +255290,16 @@ int OpenBindingsInternal(lua_State* L) tolua_constant(L, "next", offsetoftype(next, SDL_PixelFormat)); tolua_endmodule(L); tolua_endmodule(L); + tolua_cclass(L, "SDL_MessageBoxColorScheme", "SDL_MessageBoxColorScheme", {}, NULL); + tolua_beginmodule(L, "SDL_MessageBoxColorScheme"); + tolua_variable(L, "colors", tolua_get_SDL_MessageBoxColorScheme_colors, NULL); + tolua_constant(L, "sizeof", sizeof(SDL_MessageBoxColorScheme)); + tolua_constantstring(L, "usertype_colors", "Array"); + tolua_module(L, ".offsetof", 0); + tolua_beginmodule(L, ".offsetof"); + tolua_constant(L, "colors", offsetoftype(colors, SDL_MessageBoxColorScheme)); + tolua_endmodule(L); + tolua_endmodule(L); tolua_cclass(L, "LClosure", "LClosure", {}, NULL); tolua_beginmodule(L, "LClosure"); tolua_variable(L, "next", tolua_get_LClosure_next, tolua_set_LClosure_next); @@ -250795,6 +255811,7 @@ int OpenBindingsInternal(lua_State* L) tolua_function(L, "rand", tolua_function_rand); tolua_function(L, "restoreMenuStack", tolua_function_restoreMenuStack); tolua_function(L, "saveMenuStack", tolua_function_saveMenuStack); + tolua_function(L, "SDL_GetDisplayForWindow", tolua_function_SDL_GetDisplayForWindow); tolua_function(L, "SDL_GetKeyFromName", tolua_function_SDL_GetKeyFromName); tolua_function(L, "SDL_GetKeyName", tolua_function_SDL_GetKeyName); tolua_function(L, "SDL_GetWindowFlags", tolua_function_SDL_GetWindowFlags); @@ -250809,6 +255826,10 @@ int OpenBindingsInternal(lua_State* L) tolua_function(L, "DrawQuad", tolua_function_DrawQuad); tolua_variable(L, "afxPchNil", tolua_get_afxPchNil, NULL); tolua_variable(L, "capture", tolua_get_capture, NULL); + tolua_variable(L, "fingerDown", tolua_get_fingerDown, tolua_set_fingerDown); + tolua_variable(L, "reference_fingerDown", tolua_get_reference_fingerDown, NULL); + tolua_variable(L, "g_backgroundMenu", tolua_get_g_backgroundMenu, tolua_set_g_backgroundMenu); + tolua_variable(L, "reference_g_backgroundMenu", tolua_get_reference_g_backgroundMenu, NULL); tolua_variable(L, "g_drawBackend", tolua_get_g_drawBackend, tolua_set_g_drawBackend); tolua_variable(L, "reference_g_drawBackend", tolua_get_reference_g_drawBackend, NULL); tolua_variable(L, "g_keywords", tolua_get_g_keywords, NULL); @@ -250829,6 +255850,7 @@ int OpenBindingsInternal(lua_State* L) tolua_variable(L, "numMenus", tolua_get_numMenus, tolua_set_numMenus); tolua_variable(L, "reference_numMenus", tolua_get_reference_numMenus, NULL); tolua_variable(L, "resources", tolua_get_resources, NULL); + tolua_variable(L, "tooltip", tolua_get_tooltip, NULL); tolua_variable(L, "transition", tolua_get_transition, NULL); tolua_variable(L, "yy_action", tolua_get_yy_action, NULL); tolua_variable(L, "yy_default", tolua_get_yy_default, NULL); @@ -250845,6 +255867,7 @@ int OpenBindingsInternal(lua_State* L) tolua_variable(L, "reference_rand", tolua_get_reference_rand, NULL); tolua_variable(L, "reference_restoreMenuStack", tolua_get_reference_restoreMenuStack, NULL); tolua_variable(L, "reference_saveMenuStack", tolua_get_reference_saveMenuStack, NULL); + tolua_variable(L, "reference_SDL_GetDisplayForWindow", tolua_get_reference_SDL_GetDisplayForWindow, NULL); tolua_variable(L, "reference_SDL_GetKeyFromName", tolua_get_reference_SDL_GetKeyFromName, NULL); tolua_variable(L, "reference_SDL_GetKeyName", tolua_get_reference_SDL_GetKeyName, NULL); tolua_variable(L, "reference_SDL_GetWindowFlags", tolua_get_reference_SDL_GetWindowFlags, NULL); @@ -252776,7 +257799,11 @@ int OpenBindingsInternal(lua_State* L) tolua_variable(L, "m_nBitCount", tolua_get_CVidBitmap_m_nBitCount, tolua_set_CVidBitmap_m_nBitCount); tolua_variable(L, "reference_m_nBitCount", tolua_get_CVidBitmap_reference_m_nBitCount, NULL); tolua_variable(L, "m_szResFileName", tolua_get_CVidBitmap_m_szResFileName, NULL); + tolua_function(L, "Construct", &tolua_function_CVidBitmap_Construct); + tolua_function(L, "Destruct", &tolua_function_CVidBitmap_Destruct); tolua_function(L, "GetPixelColor", &tolua_function_CVidBitmap_GetPixelColor); + tolua_function(L, "GetPixelValueOrZero", &tolua_function_CVidBitmap_GetPixelValueOrZero); + tolua_function(L, "SetResRef", &tolua_function_CVidBitmap_SetResRef); tolua_constant(L, "sizeof", sizeof(CVidBitmap)); tolua_constantstring(L, "usertype_m_nBitCount", "Primitive<__int16>"); tolua_constantstring(L, "usertype_m_szResFileName", "CString"); diff --git a/LuaJITProvider/header/LuaJITProvider/lua_pointers.h b/LuaJITProvider/header/LuaJITProvider/lua_pointers.h index 008c76e..761d77f 100644 --- a/LuaJITProvider/header/LuaJITProvider/lua_pointers.h +++ b/LuaJITProvider/header/LuaJITProvider/lua_pointers.h @@ -19,6 +19,9 @@ extern type_lua_concat p_lua_concat; typedef void (*type_lua_createtable)(lua_State* L, int narr, int nrec); extern type_lua_createtable p_lua_createtable; +typedef int (*type_lua_gc)(lua_State* L, int what, int data); +extern type_lua_gc p_lua_gc; + typedef void (*type_lua_getfield)(lua_State* L, int idx, const char* k); extern type_lua_getfield p_lua_getfield; diff --git a/LuaJITProvider/source/LuaJITProvider/lua_pointers.cpp b/LuaJITProvider/source/LuaJITProvider/lua_pointers.cpp index f1f213b..89c7169 100644 --- a/LuaJITProvider/source/LuaJITProvider/lua_pointers.cpp +++ b/LuaJITProvider/source/LuaJITProvider/lua_pointers.cpp @@ -28,6 +28,7 @@ type_lua_atpanic p_lua_atpanic; type_lua_callk p_lua_callk; type_lua_concat p_lua_concat; type_lua_createtable p_lua_createtable; +type_lua_gc p_lua_gc; type_lua_getfield p_lua_getfield; type_lua_getglobal p_lua_getglobal; type_lua_getmetatable p_lua_getmetatable; @@ -173,6 +174,10 @@ EXPORT void lua_createtable(lua_State* L, int narr, int nrec) { p_lua_createtable(L, narr, nrec); } +EXPORT int lua_gc(lua_State* L, int what, int data) { + return p_lua_gc(L, what, data); +} + EXPORT void lua_getfield(lua_State* L, int idx, const char* k) { p_lua_getfield(L, idx, k); } diff --git a/LuaJITProvider/source/LuaJITProvider/lua_provider.cpp b/LuaJITProvider/source/LuaJITProvider/lua_provider.cpp index 91b1d1d..7a816fd 100644 --- a/LuaJITProvider/source/LuaJITProvider/lua_provider.cpp +++ b/LuaJITProvider/source/LuaJITProvider/lua_provider.cpp @@ -214,6 +214,7 @@ EXPORT DWORD InitLuaProvider(SharedState sharedDLL) { setLuaPointer(lua_callk) setLuaPointer(lua_concat) setLuaPointer(lua_createtable) + setLuaPointer(lua_gc) setLuaPointer(lua_getfield) setLuaPointer(lua_getglobal) setLuaPointer(lua_getmetatable) diff --git a/LuaProvider52/header/LuaProvider52/lua_pointers.h b/LuaProvider52/header/LuaProvider52/lua_pointers.h index 9130ba1..b61e905 100644 --- a/LuaProvider52/header/LuaProvider52/lua_pointers.h +++ b/LuaProvider52/header/LuaProvider52/lua_pointers.h @@ -19,6 +19,9 @@ extern type_lua_concat p_lua_concat; typedef void (*type_lua_createtable)(lua_State* L, int narr, int nrec); extern type_lua_createtable p_lua_createtable; +typedef int (*type_lua_gc)(lua_State* L, int what, int data); +extern type_lua_gc p_lua_gc; + typedef void (*type_lua_getfield)(lua_State* L, int idx, const char* k); extern type_lua_getfield p_lua_getfield; diff --git a/LuaProvider52/source/LuaProvider52/lua_pointers.cpp b/LuaProvider52/source/LuaProvider52/lua_pointers.cpp index f127380..ada94b2 100644 --- a/LuaProvider52/source/LuaProvider52/lua_pointers.cpp +++ b/LuaProvider52/source/LuaProvider52/lua_pointers.cpp @@ -29,6 +29,7 @@ type_lua_atpanic p_lua_atpanic; type_lua_callk p_lua_callk; type_lua_concat p_lua_concat; type_lua_createtable p_lua_createtable; +type_lua_gc p_lua_gc; type_lua_getfield p_lua_getfield; type_lua_getglobal p_lua_getglobal; type_lua_getmetatable p_lua_getmetatable; @@ -103,6 +104,10 @@ EXPORT void lua_createtable(lua_State* L, int narr, int nrec) { p_lua_createtable(L, narr, nrec); } +EXPORT int lua_gc(lua_State* L, int what, int data) { + return p_lua_gc(L, what, data); +} + EXPORT void lua_getfield(lua_State* L, int idx, const char* k) { p_lua_getfield(L, idx, k); } diff --git a/LuaProvider52/source/LuaProvider52/lua_provider.cpp b/LuaProvider52/source/LuaProvider52/lua_provider.cpp index 33adada..167869b 100644 --- a/LuaProvider52/source/LuaProvider52/lua_provider.cpp +++ b/LuaProvider52/source/LuaProvider52/lua_provider.cpp @@ -98,6 +98,7 @@ EXPORT DWORD InitLuaProvider(SharedState sharedDLL) { setLuaPointer(lua_callk) setLuaPointer(lua_concat) setLuaPointer(lua_createtable) + setLuaPointer(lua_gc) setLuaPointer(lua_getfield) setLuaPointer(lua_getglobal) setLuaPointer(lua_getmetatable) diff --git a/lib/Win32/minizip.lib b/lib/Win32/minizip.lib index a326978..6278fd7 100644 Binary files a/lib/Win32/minizip.lib and b/lib/Win32/minizip.lib differ diff --git a/lib/Win32/minizip.pdb b/lib/Win32/minizip.pdb index f251bb1..63f93a8 100644 Binary files a/lib/Win32/minizip.pdb and b/lib/Win32/minizip.pdb differ diff --git a/lib/Win32/zlibstatic.lib b/lib/Win32/zlibstatic.lib index a8513f0..912a27c 100644 Binary files a/lib/Win32/zlibstatic.lib and b/lib/Win32/zlibstatic.lib differ diff --git a/lib/Win32/zlibstatic.pdb b/lib/Win32/zlibstatic.pdb index 1736200..f9c1403 100644 Binary files a/lib/Win32/zlibstatic.pdb and b/lib/Win32/zlibstatic.pdb differ diff --git a/lib/x64/minizip.lib b/lib/x64/minizip.lib index 650431d..9dd38a2 100644 Binary files a/lib/x64/minizip.lib and b/lib/x64/minizip.lib differ diff --git a/lib/x64/minizip.pdb b/lib/x64/minizip.pdb index 2b88ade..d2e1cec 100644 Binary files a/lib/x64/minizip.pdb and b/lib/x64/minizip.pdb differ diff --git a/lib/x64/zlibstatic.lib b/lib/x64/zlibstatic.lib index 8101386..ae2a8b9 100644 Binary files a/lib/x64/zlibstatic.lib and b/lib/x64/zlibstatic.lib differ diff --git a/lib/x64/zlibstatic.pdb b/lib/x64/zlibstatic.pdb index 1c1e1c3..20cc888 100644 Binary files a/lib/x64/zlibstatic.pdb and b/lib/x64/zlibstatic.pdb differ diff --git a/scripts/generate_bindings/generate_bindings.py b/scripts/generate_bindings/generate_bindings.py index 564beb4..f058ace 100644 --- a/scripts/generate_bindings/generate_bindings.py +++ b/scripts/generate_bindings/generate_bindings.py @@ -4389,7 +4389,7 @@ def checkPrimitiveHandling(paramType: TypeReference, luaVarIndex: int): elif functionImplementation.isDestructor: out.write(f"self->~{groupOpenData.appliedHeaderName}(") elif isNormal and group.groupType != "namespace" and not functionImplementation.isStatic: - out.write(f"self->{functionNameHeader}(") + out.write(f"(self->{functionNameHeader})(") else: classStr = f"{groupOpenData.appliedHeaderName}::" if isNormal else "" funcNameStr: str = f"(*p_{functionNameHeader})" if functionImplementation.isFunctionPointer else functionNameHeader