make internal generation false for merging in master

This commit is contained in:
Victor Bombi
2020-03-27 12:18:47 +01:00
parent e7a883d9f3
commit e2347c174d
12 changed files with 21 additions and 27851 deletions

View File

@@ -10,14 +10,14 @@
:: impl_definitions.lua for implementation function definitions :: impl_definitions.lua for implementation function definitions
:: set your PATH if necessary for LuaJIT or Lua5.1 or luajit with: (for example) :: set your PATH if necessary for LuaJIT or Lua5.1 or luajit with: (for example)
set PATH=%PATH%;C:\anima;C:\i686-7.2.0-release-posix-dwarf-rt_v5-rev1\mingw32\bin; set PATH=%PATH%;C:\anima;C:\mingws\i686-7.2.0-release-posix-dwarf-rt_v5-rev1\mingw32\bin;
:: set PATH=%PATH%;C:\luaGL;C:\i686-7.2.0-release-posix-dwarf-rt_v5-rev1\mingw32\bin; :: set PATH=%PATH%;C:\luaGL;C:\i686-7.2.0-release-posix-dwarf-rt_v5-rev1\mingw32\bin;
:: set PATH=%PATH%;C:\luaGL\sources\luajit-master\luajit-master\bin\mingw32;C:\mingw32\bin; :: set PATH=%PATH%;C:\luaGL\sources\luajit-master\luajit-master\bin\mingw32;C:\mingw32\bin;
::process files ::process files
:: arg[1] compiler name gcc, clang, cl or nocompiler :: arg[1] compiler name gcc, clang, cl or nocompiler
:: arg[2] imgui_internal functions generation: true or false :: arg[2] imgui_internal functions generation: true or false
:: arg[3..n] name of implementations to generate :: arg[3..n] name of implementations to generate
luajit ./generator.lua gcc true glfw opengl3 opengl2 sdl luajit ./generator.lua gcc false glfw opengl3 opengl2 sdl
::leave console open ::leave console open
cmd /k cmd /k

View File

@@ -38,6 +38,7 @@ if CTEST then
end --CTEST end --CTEST
print("HAVE_COMPILER",HAVE_COMPILER) print("HAVE_COMPILER",HAVE_COMPILER)
print("INTERNAL_GENERATION",INTERNAL_GENERATION)
--get implementations --get implementations
local implementations = {} local implementations = {}
for i=3,#script_args do table.insert(implementations,script_args[i]) end for i=3,#script_args do table.insert(implementations,script_args[i]) end

View File

@@ -15,4 +15,4 @@
# arg[1] compiler name gcc, clang, cl or nocompiler # arg[1] compiler name gcc, clang, cl or nocompiler
# arg[2] imgui_internal functions generation: true or false # arg[2] imgui_internal functions generation: true or false
# arg[3..n] name of implementations to generate # arg[3..n] name of implementations to generate
luajit ./generator.lua gcc true glfw opengl3 opengl2 sdl luajit ./generator.lua gcc false glfw opengl3 opengl2 sdl

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -2,9 +2,6 @@
ImVector_resize 2 ImVector_resize 2
1 void ImVector_resize (int) 1 void ImVector_resize (int)
2 void ImVector_resizeT (int,const T) 2 void ImVector_resizeT (int,const T)
igSetScrollFromPosY 2
1 void igSetScrollFromPosY (float,float)
2 void igSetScrollFromPosYWindowPtr (ImGuiWindow*,float,float)
ImVec4_ImVec4 2 ImVec4_ImVec4 2
1 nil ImVec4_ImVec4 () 1 nil ImVec4_ImVec4 ()
2 nil ImVec4_ImVec4Float (float,float,float,float) 2 nil ImVec4_ImVec4Float (float,float,float,float)
@@ -32,16 +29,9 @@ igGetID 3
1 ImGuiID igGetIDStr (const char*) 1 ImGuiID igGetIDStr (const char*)
2 ImGuiID igGetIDRange (const char*,const char*) 2 ImGuiID igGetIDRange (const char*,const char*)
3 ImGuiID igGetIDPtr (const void*) 3 ImGuiID igGetIDPtr (const void*)
ImVec1_ImVec1 2 igSetWindowPos 2
1 nil ImVec1_ImVec1 ()
2 nil ImVec1_ImVec1Float (float)
igImPow 2
1 float igImPowFloat (float,float)
2 double igImPowdouble (double,double)
igSetWindowPos 3
1 void igSetWindowPosVec2 (const ImVec2,ImGuiCond) 1 void igSetWindowPosVec2 (const ImVec2,ImGuiCond)
2 void igSetWindowPosStr (const char*,const ImVec2,ImGuiCond) 2 void igSetWindowPosStr (const char*,const ImVec2,ImGuiCond)
3 void igSetWindowPosWindowPtr (ImGuiWindow*,const ImVec2,ImGuiCond)
igBeginChild 2 igBeginChild 2
1 bool igBeginChild (const char*,const ImVec2,bool,ImGuiWindowFlags) 1 bool igBeginChild (const char*,const ImVec2,bool,ImGuiWindowFlags)
2 bool igBeginChildID (ImGuiID,const ImVec2,bool,ImGuiWindowFlags) 2 bool igBeginChildID (ImGuiID,const ImVec2,bool,ImGuiWindowFlags)
@@ -50,32 +40,10 @@ igPushID 4
2 void igPushIDRange (const char*,const char*) 2 void igPushIDRange (const char*,const char*)
3 void igPushIDPtr (const void*) 3 void igPushIDPtr (const void*)
4 void igPushIDInt (int) 4 void igPushIDInt (int)
ImRect_Contains 2
1 bool ImRect_ContainsVec2 (const ImVec2)const
2 bool ImRect_ContainsRect (const ImRect)const
ImRect_Add 2
1 void ImRect_AddVec2 (const ImVec2)
2 void ImRect_AddRect (const ImRect)
ImGuiStoragePair_ImGuiStoragePair 3 ImGuiStoragePair_ImGuiStoragePair 3
1 nil ImGuiStoragePair_ImGuiStoragePairInt (ImGuiID,int) 1 nil ImGuiStoragePair_ImGuiStoragePairInt (ImGuiID,int)
2 nil ImGuiStoragePair_ImGuiStoragePairFloat (ImGuiID,float) 2 nil ImGuiStoragePair_ImGuiStoragePairFloat (ImGuiID,float)
3 nil ImGuiStoragePair_ImGuiStoragePairPtr (ImGuiID,void*) 3 nil ImGuiStoragePair_ImGuiStoragePairPtr (ImGuiID,void*)
igSetScrollFromPosX 2
1 void igSetScrollFromPosX (float,float)
2 void igSetScrollFromPosXWindowPtr (ImGuiWindow*,float,float)
igGetForegroundDrawList 2
1 ImDrawList* igGetForegroundDrawList ()
2 ImDrawList* igGetForegroundDrawListWindowPtr (ImGuiWindow*)
ImGuiWindow_GetIDNoKeepAlive 3
1 ImGuiID ImGuiWindow_GetIDNoKeepAliveStr (const char*,const char*)
2 ImGuiID ImGuiWindow_GetIDNoKeepAlivePtr (const void*)
3 ImGuiID ImGuiWindow_GetIDNoKeepAliveInt (int)
igImLengthSqr 2
1 float igImLengthSqrVec2 (const ImVec2)
2 float igImLengthSqrVec4 (const ImVec4)
igImFloor 2
1 float igImFloorFloat (float)
2 ImVec2 igImFloorVec2 (const ImVec2)
igTreeNode 3 igTreeNode 3
1 bool igTreeNodeStr (const char*) 1 bool igTreeNodeStr (const char*)
2 bool igTreeNodeStrStr (const char*,const char*,...) 2 bool igTreeNodeStrStr (const char*,const char*,...)
@@ -84,9 +52,6 @@ igCombo 3
1 bool igCombo (const char*,int*,const char* const[],int,int) 1 bool igCombo (const char*,int*,const char* const[],int,int)
2 bool igComboStr (const char*,int*,const char*,int) 2 bool igComboStr (const char*,int*,const char*,int)
3 bool igComboFnPtr (const char*,int*,bool(*)(void*,int,const char**),void*,int,int) 3 bool igComboFnPtr (const char*,int*,bool(*)(void*,int,const char**),void*,int,int)
igSetScrollY 2
1 void igSetScrollY (float)
2 void igSetScrollYWindowPtr (ImGuiWindow*,float)
ImVector_erase 2 ImVector_erase 2
1 T* ImVector_erase (const T*) 1 T* ImVector_erase (const T*)
2 T* ImVector_eraseTPtr (const T*,const T*) 2 T* ImVector_eraseTPtr (const T*,const T*)
@@ -99,74 +64,30 @@ igPushStyleVar 2
igSetWindowFocus 2 igSetWindowFocus 2
1 void igSetWindowFocus () 1 void igSetWindowFocus ()
2 void igSetWindowFocusStr (const char*) 2 void igSetWindowFocusStr (const char*)
igImLerp 3
1 ImVec2 igImLerpVec2Float (const ImVec2,const ImVec2,float)
2 ImVec2 igImLerpVec2Vec2 (const ImVec2,const ImVec2,const ImVec2)
3 ImVec4 igImLerpVec4 (const ImVec4,const ImVec4,float)
ImVector_end 2 ImVector_end 2
1 T* ImVector_end () 1 T* ImVector_end ()
2 const T* ImVector_end_const ()const 2 const T* ImVector_end_const ()const
igItemSize 2 igSetWindowSize 2
1 void igItemSizeVec2 (const ImVec2,float)
2 void igItemSizeRect (const ImRect,float)
igSetWindowSize 3
1 void igSetWindowSizeVec2 (const ImVec2,ImGuiCond) 1 void igSetWindowSizeVec2 (const ImVec2,ImGuiCond)
2 void igSetWindowSizeStr (const char*,const ImVec2,ImGuiCond) 2 void igSetWindowSizeStr (const char*,const ImVec2,ImGuiCond)
3 void igSetWindowSizeWindowPtr (ImGuiWindow*,const ImVec2,ImGuiCond)
igMarkIniSettingsDirty 2
1 void igMarkIniSettingsDirty ()
2 void igMarkIniSettingsDirtyWindowPtr (ImGuiWindow*)
igIsPopupOpen 2
1 bool igIsPopupOpen (const char*)
2 bool igIsPopupOpenID (ImGuiID)
ImVector_ImVector 2 ImVector_ImVector 2
1 nil ImVector_ImVector () 1 nil ImVector_ImVector ()
2 nil ImVector_ImVectorVector (const ImVector) 2 nil ImVector_ImVectorVector (const ImVector)
igSetWindowCollapsed 3 igSetWindowCollapsed 2
1 void igSetWindowCollapsedBool (bool,ImGuiCond) 1 void igSetWindowCollapsedBool (bool,ImGuiCond)
2 void igSetWindowCollapsedStr (const char*,bool,ImGuiCond) 2 void igSetWindowCollapsedStr (const char*,bool,ImGuiCond)
3 void igSetWindowCollapsedWindowPtr (ImGuiWindow*,bool,ImGuiCond)
igPlotLines 2 igPlotLines 2
1 void igPlotLines (const char*,const float*,int,int,const char*,float,float,ImVec2,int) 1 void igPlotLines (const char*,const float*,int,int,const char*,float,float,ImVec2,int)
2 void igPlotLinesFnPtr (const char*,float(*)(void*,int),void*,int,int,const char*,float,float,ImVec2) 2 void igPlotLinesFnPtr (const char*,float(*)(void*,int),void*,int,int,const char*,float,float,ImVec2)
igPushStyleColor 2 igPushStyleColor 2
1 void igPushStyleColorU32 (ImGuiCol,ImU32) 1 void igPushStyleColorU32 (ImGuiCol,ImU32)
2 void igPushStyleColor (ImGuiCol,const ImVec4) 2 void igPushStyleColor (ImGuiCol,const ImVec4)
ImGuiWindow_GetID 3
1 ImGuiID ImGuiWindow_GetIDStr (const char*,const char*)
2 ImGuiID ImGuiWindow_GetIDPtr (const void*)
3 ImGuiID ImGuiWindow_GetIDInt (int)
igTreeNodeExV 2 igTreeNodeExV 2
1 bool igTreeNodeExVStr (const char*,ImGuiTreeNodeFlags,const char*,va_list) 1 bool igTreeNodeExVStr (const char*,ImGuiTreeNodeFlags,const char*,va_list)
2 bool igTreeNodeExVPtr (const void*,ImGuiTreeNodeFlags,const char*,va_list) 2 bool igTreeNodeExVPtr (const void*,ImGuiTreeNodeFlags,const char*,va_list)
ImVec2ih_ImVec2ih 3
1 nil ImVec2ih_ImVec2ih ()
2 nil ImVec2ih_ImVec2ihshort (short,short)
3 explicit ImVec2ih_ImVec2ihVec2 (const ImVec2)
ImGuiStyleMod_ImGuiStyleMod 3
1 nil ImGuiStyleMod_ImGuiStyleModInt (ImGuiStyleVar,int)
2 nil ImGuiStyleMod_ImGuiStyleModFloat (ImGuiStyleVar,float)
3 nil ImGuiStyleMod_ImGuiStyleModVec2 (ImGuiStyleVar,ImVec2)
ImRect_Expand 2
1 void ImRect_ExpandFloat (const float)
2 void ImRect_ExpandVec2 (const ImVec2)
ImPool_Remove 2
1 void ImPool_RemoveTPtr (ImGuiID,const T*)
2 void ImPool_RemovePoolIdx (ImGuiID,ImPoolIdx)
igSelectable 2
1 bool igSelectable (const char*,bool,ImGuiSelectableFlags,const ImVec2)
2 bool igSelectableBoolPtr (const char*,bool*,ImGuiSelectableFlags,const ImVec2)
igListBox 2 igListBox 2
1 bool igListBoxStr_arr (const char*,int*,const char* const[],int,int) 1 bool igListBoxStr_arr (const char*,int*,const char* const[],int,int)
2 bool igListBoxFnPtr (const char*,int*,bool(*)(void*,int,const char**),void*,int,int) 2 bool igListBoxFnPtr (const char*,int*,bool(*)(void*,int,const char**),void*,int,int)
ImGuiPtrOrIndex_ImGuiPtrOrIndex 2
1 nil ImGuiPtrOrIndex_ImGuiPtrOrIndexPtr (void*)
2 nil ImGuiPtrOrIndex_ImGuiPtrOrIndexInt (int)
ImRect_ImRect 4
1 nil ImRect_ImRect ()
2 nil ImRect_ImRectVec2 (const ImVec2,const ImVec2)
3 nil ImRect_ImRectVec4 (const ImVec4)
4 nil ImRect_ImRectFloat (float,float,float,float)
ImVec2_ImVec2 2 ImVec2_ImVec2 2
1 nil ImVec2_ImVec2 () 1 nil ImVec2_ImVec2 ()
2 nil ImVec2_ImVec2Float (float,float) 2 nil ImVec2_ImVec2Float (float,float)
@@ -186,6 +107,9 @@ ImColor_ImColor 5
3 nil ImColor_ImColorU32 (ImU32) 3 nil ImColor_ImColorU32 (ImU32)
4 nil ImColor_ImColorFloat (float,float,float,float) 4 nil ImColor_ImColorFloat (float,float,float,float)
5 nil ImColor_ImColorVec4 (const ImVec4) 5 nil ImColor_ImColorVec4 (const ImVec4)
igSelectable 2
1 bool igSelectable (const char*,bool,ImGuiSelectableFlags,const ImVec2)
2 bool igSelectableBoolPtr (const char*,bool*,ImGuiSelectableFlags,const ImVec2)
ImVector_begin 2 ImVector_begin 2
1 T* ImVector_begin () 1 T* ImVector_begin ()
2 const T* ImVector_begin_const ()const 2 const T* ImVector_begin_const ()const
@@ -199,9 +123,6 @@ igTreeNodeEx 3
1 bool igTreeNodeExStr (const char*,ImGuiTreeNodeFlags) 1 bool igTreeNodeExStr (const char*,ImGuiTreeNodeFlags)
2 bool igTreeNodeExStrStr (const char*,ImGuiTreeNodeFlags,const char*,...) 2 bool igTreeNodeExStrStr (const char*,ImGuiTreeNodeFlags,const char*,...)
3 bool igTreeNodeExPtr (const void*,ImGuiTreeNodeFlags,const char*,...) 3 bool igTreeNodeExPtr (const void*,ImGuiTreeNodeFlags,const char*,...)
igSetScrollX 2
1 void igSetScrollX (float)
2 void igSetScrollXWindowPtr (ImGuiWindow*,float)
igMenuItem 2 igMenuItem 2
1 bool igMenuItemBool (const char*,const char*,bool,bool) 1 bool igMenuItemBool (const char*,const char*,bool,bool)
2 bool igMenuItemBoolPtr (const char*,const char*,bool*,bool) 2 bool igMenuItemBoolPtr (const char*,const char*,bool*,bool)
@@ -211,4 +132,4 @@ igListBoxHeader 2
igTreeNodeV 2 igTreeNodeV 2
1 bool igTreeNodeVStr (const char*,const char*,va_list) 1 bool igTreeNodeVStr (const char*,const char*,va_list)
2 bool igTreeNodeVPtr (const void*,const char*,va_list) 2 bool igTreeNodeVPtr (const void*,const char*,va_list)
149 overloaded 93 overloaded

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -1,19 +1,16 @@
{ {
"ImBoolVector": "struct ImBoolVector",
"ImColor": "struct ImColor", "ImColor": "struct ImColor",
"ImDrawCallback": "void(*)(const ImDrawList* parent_list,const ImDrawCmd* cmd);", "ImDrawCallback": "void(*)(const ImDrawList* parent_list,const ImDrawCmd* cmd);",
"ImDrawChannel": "struct ImDrawChannel", "ImDrawChannel": "struct ImDrawChannel",
"ImDrawCmd": "struct ImDrawCmd", "ImDrawCmd": "struct ImDrawCmd",
"ImDrawCornerFlags": "int", "ImDrawCornerFlags": "int",
"ImDrawData": "struct ImDrawData", "ImDrawData": "struct ImDrawData",
"ImDrawDataBuilder": "struct ImDrawDataBuilder",
"ImDrawIdx": "unsigned short", "ImDrawIdx": "unsigned short",
"ImDrawList": "struct ImDrawList", "ImDrawList": "struct ImDrawList",
"ImDrawListFlags": "int", "ImDrawListFlags": "int",
"ImDrawListSharedData": "struct ImDrawListSharedData", "ImDrawListSharedData": "struct ImDrawListSharedData",
"ImDrawListSplitter": "struct ImDrawListSplitter", "ImDrawListSplitter": "struct ImDrawListSplitter",
"ImDrawVert": "struct ImDrawVert", "ImDrawVert": "struct ImDrawVert",
"ImFileHandle": "FILE*",
"ImFont": "struct ImFont", "ImFont": "struct ImFont",
"ImFontAtlas": "struct ImFontAtlas", "ImFontAtlas": "struct ImFontAtlas",
"ImFontAtlasCustomRect": "struct ImFontAtlasCustomRect", "ImFontAtlasCustomRect": "struct ImFontAtlasCustomRect",
@@ -22,81 +19,43 @@
"ImFontGlyph": "struct ImFontGlyph", "ImFontGlyph": "struct ImFontGlyph",
"ImFontGlyphRangesBuilder": "struct ImFontGlyphRangesBuilder", "ImFontGlyphRangesBuilder": "struct ImFontGlyphRangesBuilder",
"ImGuiBackendFlags": "int", "ImGuiBackendFlags": "int",
"ImGuiButtonFlags": "int",
"ImGuiCol": "int", "ImGuiCol": "int",
"ImGuiColorEditFlags": "int", "ImGuiColorEditFlags": "int",
"ImGuiColorMod": "struct ImGuiColorMod",
"ImGuiColumnData": "struct ImGuiColumnData",
"ImGuiColumns": "struct ImGuiColumns",
"ImGuiColumnsFlags": "int",
"ImGuiComboFlags": "int", "ImGuiComboFlags": "int",
"ImGuiCond": "int", "ImGuiCond": "int",
"ImGuiConfigFlags": "int", "ImGuiConfigFlags": "int",
"ImGuiContext": "struct ImGuiContext", "ImGuiContext": "struct ImGuiContext",
"ImGuiDataType": "int", "ImGuiDataType": "int",
"ImGuiDataTypeInfo": "struct ImGuiDataTypeInfo",
"ImGuiDir": "int", "ImGuiDir": "int",
"ImGuiDragDropFlags": "int", "ImGuiDragDropFlags": "int",
"ImGuiDragFlags": "int",
"ImGuiFocusedFlags": "int", "ImGuiFocusedFlags": "int",
"ImGuiGroupData": "struct ImGuiGroupData",
"ImGuiHoveredFlags": "int", "ImGuiHoveredFlags": "int",
"ImGuiID": "unsigned int", "ImGuiID": "unsigned int",
"ImGuiIO": "struct ImGuiIO", "ImGuiIO": "struct ImGuiIO",
"ImGuiInputTextCallback": "int(*)(ImGuiInputTextCallbackData *data);", "ImGuiInputTextCallback": "int(*)(ImGuiInputTextCallbackData *data);",
"ImGuiInputTextCallbackData": "struct ImGuiInputTextCallbackData", "ImGuiInputTextCallbackData": "struct ImGuiInputTextCallbackData",
"ImGuiInputTextFlags": "int", "ImGuiInputTextFlags": "int",
"ImGuiInputTextState": "struct ImGuiInputTextState",
"ImGuiItemFlags": "int",
"ImGuiItemHoveredDataBackup": "struct ImGuiItemHoveredDataBackup",
"ImGuiItemStatusFlags": "int",
"ImGuiKey": "int", "ImGuiKey": "int",
"ImGuiLayoutType": "int",
"ImGuiListClipper": "struct ImGuiListClipper", "ImGuiListClipper": "struct ImGuiListClipper",
"ImGuiMenuColumns": "struct ImGuiMenuColumns",
"ImGuiMouseButton": "int", "ImGuiMouseButton": "int",
"ImGuiMouseCursor": "int", "ImGuiMouseCursor": "int",
"ImGuiNavDirSourceFlags": "int",
"ImGuiNavHighlightFlags": "int",
"ImGuiNavInput": "int", "ImGuiNavInput": "int",
"ImGuiNavMoveFlags": "int",
"ImGuiNavMoveResult": "struct ImGuiNavMoveResult",
"ImGuiNextItemData": "struct ImGuiNextItemData",
"ImGuiNextItemDataFlags": "int",
"ImGuiNextWindowData": "struct ImGuiNextWindowData",
"ImGuiNextWindowDataFlags": "int",
"ImGuiOnceUponAFrame": "struct ImGuiOnceUponAFrame", "ImGuiOnceUponAFrame": "struct ImGuiOnceUponAFrame",
"ImGuiPayload": "struct ImGuiPayload", "ImGuiPayload": "struct ImGuiPayload",
"ImGuiPopupData": "struct ImGuiPopupData",
"ImGuiPtrOrIndex": "struct ImGuiPtrOrIndex",
"ImGuiSelectableFlags": "int", "ImGuiSelectableFlags": "int",
"ImGuiSeparatorFlags": "int",
"ImGuiSettingsHandler": "struct ImGuiSettingsHandler",
"ImGuiShrinkWidthItem": "struct ImGuiShrinkWidthItem",
"ImGuiSizeCallback": "void(*)(ImGuiSizeCallbackData* data);", "ImGuiSizeCallback": "void(*)(ImGuiSizeCallbackData* data);",
"ImGuiSizeCallbackData": "struct ImGuiSizeCallbackData", "ImGuiSizeCallbackData": "struct ImGuiSizeCallbackData",
"ImGuiSliderFlags": "int",
"ImGuiStorage": "struct ImGuiStorage", "ImGuiStorage": "struct ImGuiStorage",
"ImGuiStoragePair": "struct ImGuiStoragePair", "ImGuiStoragePair": "struct ImGuiStoragePair",
"ImGuiStyle": "struct ImGuiStyle", "ImGuiStyle": "struct ImGuiStyle",
"ImGuiStyleMod": "struct ImGuiStyleMod",
"ImGuiStyleVar": "int", "ImGuiStyleVar": "int",
"ImGuiTabBar": "struct ImGuiTabBar",
"ImGuiTabBarFlags": "int", "ImGuiTabBarFlags": "int",
"ImGuiTabItem": "struct ImGuiTabItem",
"ImGuiTabItemFlags": "int", "ImGuiTabItemFlags": "int",
"ImGuiTextBuffer": "struct ImGuiTextBuffer", "ImGuiTextBuffer": "struct ImGuiTextBuffer",
"ImGuiTextFilter": "struct ImGuiTextFilter", "ImGuiTextFilter": "struct ImGuiTextFilter",
"ImGuiTextFlags": "int",
"ImGuiTextRange": "struct ImGuiTextRange", "ImGuiTextRange": "struct ImGuiTextRange",
"ImGuiTooltipFlags": "int",
"ImGuiTreeNodeFlags": "int", "ImGuiTreeNodeFlags": "int",
"ImGuiWindow": "struct ImGuiWindow",
"ImGuiWindowFlags": "int", "ImGuiWindowFlags": "int",
"ImGuiWindowSettings": "struct ImGuiWindowSettings",
"ImGuiWindowTempData": "struct ImGuiWindowTempData",
"ImPoolIdx": "int",
"ImRect": "struct ImRect",
"ImS16": "signed short", "ImS16": "signed short",
"ImS32": "signed int", "ImS32": "signed int",
"ImS64": "int64_t", "ImS64": "int64_t",
@@ -106,9 +65,7 @@
"ImU32": "unsigned int", "ImU32": "unsigned int",
"ImU64": "uint64_t", "ImU64": "uint64_t",
"ImU8": "unsigned char", "ImU8": "unsigned char",
"ImVec1": "struct ImVec1",
"ImVec2": "struct ImVec2", "ImVec2": "struct ImVec2",
"ImVec2ih": "struct ImVec2ih",
"ImVec4": "struct ImVec4", "ImVec4": "struct ImVec4",
"ImWchar": "unsigned short", "ImWchar": "unsigned short",
"const_iterator": "const value_type*", "const_iterator": "const value_type*",

View File

@@ -1,19 +1,16 @@
local defs = {} local defs = {}
defs["ImBoolVector"] = "struct ImBoolVector"
defs["ImColor"] = "struct ImColor" defs["ImColor"] = "struct ImColor"
defs["ImDrawCallback"] = "void(*)(const ImDrawList* parent_list,const ImDrawCmd* cmd);" defs["ImDrawCallback"] = "void(*)(const ImDrawList* parent_list,const ImDrawCmd* cmd);"
defs["ImDrawChannel"] = "struct ImDrawChannel" defs["ImDrawChannel"] = "struct ImDrawChannel"
defs["ImDrawCmd"] = "struct ImDrawCmd" defs["ImDrawCmd"] = "struct ImDrawCmd"
defs["ImDrawCornerFlags"] = "int" defs["ImDrawCornerFlags"] = "int"
defs["ImDrawData"] = "struct ImDrawData" defs["ImDrawData"] = "struct ImDrawData"
defs["ImDrawDataBuilder"] = "struct ImDrawDataBuilder"
defs["ImDrawIdx"] = "unsigned short" defs["ImDrawIdx"] = "unsigned short"
defs["ImDrawList"] = "struct ImDrawList" defs["ImDrawList"] = "struct ImDrawList"
defs["ImDrawListFlags"] = "int" defs["ImDrawListFlags"] = "int"
defs["ImDrawListSharedData"] = "struct ImDrawListSharedData" defs["ImDrawListSharedData"] = "struct ImDrawListSharedData"
defs["ImDrawListSplitter"] = "struct ImDrawListSplitter" defs["ImDrawListSplitter"] = "struct ImDrawListSplitter"
defs["ImDrawVert"] = "struct ImDrawVert" defs["ImDrawVert"] = "struct ImDrawVert"
defs["ImFileHandle"] = "FILE*"
defs["ImFont"] = "struct ImFont" defs["ImFont"] = "struct ImFont"
defs["ImFontAtlas"] = "struct ImFontAtlas" defs["ImFontAtlas"] = "struct ImFontAtlas"
defs["ImFontAtlasCustomRect"] = "struct ImFontAtlasCustomRect" defs["ImFontAtlasCustomRect"] = "struct ImFontAtlasCustomRect"
@@ -22,81 +19,43 @@ defs["ImFontConfig"] = "struct ImFontConfig"
defs["ImFontGlyph"] = "struct ImFontGlyph" defs["ImFontGlyph"] = "struct ImFontGlyph"
defs["ImFontGlyphRangesBuilder"] = "struct ImFontGlyphRangesBuilder" defs["ImFontGlyphRangesBuilder"] = "struct ImFontGlyphRangesBuilder"
defs["ImGuiBackendFlags"] = "int" defs["ImGuiBackendFlags"] = "int"
defs["ImGuiButtonFlags"] = "int"
defs["ImGuiCol"] = "int" defs["ImGuiCol"] = "int"
defs["ImGuiColorEditFlags"] = "int" defs["ImGuiColorEditFlags"] = "int"
defs["ImGuiColorMod"] = "struct ImGuiColorMod"
defs["ImGuiColumnData"] = "struct ImGuiColumnData"
defs["ImGuiColumns"] = "struct ImGuiColumns"
defs["ImGuiColumnsFlags"] = "int"
defs["ImGuiComboFlags"] = "int" defs["ImGuiComboFlags"] = "int"
defs["ImGuiCond"] = "int" defs["ImGuiCond"] = "int"
defs["ImGuiConfigFlags"] = "int" defs["ImGuiConfigFlags"] = "int"
defs["ImGuiContext"] = "struct ImGuiContext" defs["ImGuiContext"] = "struct ImGuiContext"
defs["ImGuiDataType"] = "int" defs["ImGuiDataType"] = "int"
defs["ImGuiDataTypeInfo"] = "struct ImGuiDataTypeInfo"
defs["ImGuiDir"] = "int" defs["ImGuiDir"] = "int"
defs["ImGuiDragDropFlags"] = "int" defs["ImGuiDragDropFlags"] = "int"
defs["ImGuiDragFlags"] = "int"
defs["ImGuiFocusedFlags"] = "int" defs["ImGuiFocusedFlags"] = "int"
defs["ImGuiGroupData"] = "struct ImGuiGroupData"
defs["ImGuiHoveredFlags"] = "int" defs["ImGuiHoveredFlags"] = "int"
defs["ImGuiID"] = "unsigned int" defs["ImGuiID"] = "unsigned int"
defs["ImGuiIO"] = "struct ImGuiIO" defs["ImGuiIO"] = "struct ImGuiIO"
defs["ImGuiInputTextCallback"] = "int(*)(ImGuiInputTextCallbackData *data);" defs["ImGuiInputTextCallback"] = "int(*)(ImGuiInputTextCallbackData *data);"
defs["ImGuiInputTextCallbackData"] = "struct ImGuiInputTextCallbackData" defs["ImGuiInputTextCallbackData"] = "struct ImGuiInputTextCallbackData"
defs["ImGuiInputTextFlags"] = "int" defs["ImGuiInputTextFlags"] = "int"
defs["ImGuiInputTextState"] = "struct ImGuiInputTextState"
defs["ImGuiItemFlags"] = "int"
defs["ImGuiItemHoveredDataBackup"] = "struct ImGuiItemHoveredDataBackup"
defs["ImGuiItemStatusFlags"] = "int"
defs["ImGuiKey"] = "int" defs["ImGuiKey"] = "int"
defs["ImGuiLayoutType"] = "int"
defs["ImGuiListClipper"] = "struct ImGuiListClipper" defs["ImGuiListClipper"] = "struct ImGuiListClipper"
defs["ImGuiMenuColumns"] = "struct ImGuiMenuColumns"
defs["ImGuiMouseButton"] = "int" defs["ImGuiMouseButton"] = "int"
defs["ImGuiMouseCursor"] = "int" defs["ImGuiMouseCursor"] = "int"
defs["ImGuiNavDirSourceFlags"] = "int"
defs["ImGuiNavHighlightFlags"] = "int"
defs["ImGuiNavInput"] = "int" defs["ImGuiNavInput"] = "int"
defs["ImGuiNavMoveFlags"] = "int"
defs["ImGuiNavMoveResult"] = "struct ImGuiNavMoveResult"
defs["ImGuiNextItemData"] = "struct ImGuiNextItemData"
defs["ImGuiNextItemDataFlags"] = "int"
defs["ImGuiNextWindowData"] = "struct ImGuiNextWindowData"
defs["ImGuiNextWindowDataFlags"] = "int"
defs["ImGuiOnceUponAFrame"] = "struct ImGuiOnceUponAFrame" defs["ImGuiOnceUponAFrame"] = "struct ImGuiOnceUponAFrame"
defs["ImGuiPayload"] = "struct ImGuiPayload" defs["ImGuiPayload"] = "struct ImGuiPayload"
defs["ImGuiPopupData"] = "struct ImGuiPopupData"
defs["ImGuiPtrOrIndex"] = "struct ImGuiPtrOrIndex"
defs["ImGuiSelectableFlags"] = "int" defs["ImGuiSelectableFlags"] = "int"
defs["ImGuiSeparatorFlags"] = "int"
defs["ImGuiSettingsHandler"] = "struct ImGuiSettingsHandler"
defs["ImGuiShrinkWidthItem"] = "struct ImGuiShrinkWidthItem"
defs["ImGuiSizeCallback"] = "void(*)(ImGuiSizeCallbackData* data);" defs["ImGuiSizeCallback"] = "void(*)(ImGuiSizeCallbackData* data);"
defs["ImGuiSizeCallbackData"] = "struct ImGuiSizeCallbackData" defs["ImGuiSizeCallbackData"] = "struct ImGuiSizeCallbackData"
defs["ImGuiSliderFlags"] = "int"
defs["ImGuiStorage"] = "struct ImGuiStorage" defs["ImGuiStorage"] = "struct ImGuiStorage"
defs["ImGuiStoragePair"] = "struct ImGuiStoragePair" defs["ImGuiStoragePair"] = "struct ImGuiStoragePair"
defs["ImGuiStyle"] = "struct ImGuiStyle" defs["ImGuiStyle"] = "struct ImGuiStyle"
defs["ImGuiStyleMod"] = "struct ImGuiStyleMod"
defs["ImGuiStyleVar"] = "int" defs["ImGuiStyleVar"] = "int"
defs["ImGuiTabBar"] = "struct ImGuiTabBar"
defs["ImGuiTabBarFlags"] = "int" defs["ImGuiTabBarFlags"] = "int"
defs["ImGuiTabItem"] = "struct ImGuiTabItem"
defs["ImGuiTabItemFlags"] = "int" defs["ImGuiTabItemFlags"] = "int"
defs["ImGuiTextBuffer"] = "struct ImGuiTextBuffer" defs["ImGuiTextBuffer"] = "struct ImGuiTextBuffer"
defs["ImGuiTextFilter"] = "struct ImGuiTextFilter" defs["ImGuiTextFilter"] = "struct ImGuiTextFilter"
defs["ImGuiTextFlags"] = "int"
defs["ImGuiTextRange"] = "struct ImGuiTextRange" defs["ImGuiTextRange"] = "struct ImGuiTextRange"
defs["ImGuiTooltipFlags"] = "int"
defs["ImGuiTreeNodeFlags"] = "int" defs["ImGuiTreeNodeFlags"] = "int"
defs["ImGuiWindow"] = "struct ImGuiWindow"
defs["ImGuiWindowFlags"] = "int" defs["ImGuiWindowFlags"] = "int"
defs["ImGuiWindowSettings"] = "struct ImGuiWindowSettings"
defs["ImGuiWindowTempData"] = "struct ImGuiWindowTempData"
defs["ImPoolIdx"] = "int"
defs["ImRect"] = "struct ImRect"
defs["ImS16"] = "signed short" defs["ImS16"] = "signed short"
defs["ImS32"] = "signed int" defs["ImS32"] = "signed int"
defs["ImS64"] = "int64_t" defs["ImS64"] = "int64_t"
@@ -106,9 +65,7 @@ defs["ImU16"] = "unsigned short"
defs["ImU32"] = "unsigned int" defs["ImU32"] = "unsigned int"
defs["ImU64"] = "uint64_t" defs["ImU64"] = "uint64_t"
defs["ImU8"] = "unsigned char" defs["ImU8"] = "unsigned char"
defs["ImVec1"] = "struct ImVec1"
defs["ImVec2"] = "struct ImVec2" defs["ImVec2"] = "struct ImVec2"
defs["ImVec2ih"] = "struct ImVec2ih"
defs["ImVec4"] = "struct ImVec4" defs["ImVec4"] = "struct ImVec4"
defs["ImWchar"] = "unsigned short" defs["ImWchar"] = "unsigned short"
defs["const_iterator"] = "const value_type*" defs["const_iterator"] = "const value_type*"