mirror of
https://github.com/cimgui/cimgui.git
synced 2025-08-11 12:18:30 +01:00
Do with ImGuiStoragePair what was done with Pair (unnamed union correction)
This commit is contained in:
@@ -568,6 +568,11 @@ if structs_and_enums_table["structs"]["Pair"] then
|
|||||||
structs_and_enums_table["structs"]["Pair"][2]["name"] = ""
|
structs_and_enums_table["structs"]["Pair"][2]["name"] = ""
|
||||||
structs_and_enums_table["structs"]["Pair"][2]["type"] = structs_and_enums_table["structs"]["Pair"][2]["type"] .. "}"
|
structs_and_enums_table["structs"]["Pair"][2]["type"] = structs_and_enums_table["structs"]["Pair"][2]["type"] .. "}"
|
||||||
end
|
end
|
||||||
|
-- 1.72 and after
|
||||||
|
if structs_and_enums_table["structs"]["ImGuiStoragePair"] then
|
||||||
|
structs_and_enums_table["structs"]["ImGuiStoragePair"][2]["name"] = ""
|
||||||
|
structs_and_enums_table["structs"]["ImGuiStoragePair"][2]["type"] = structs_and_enums_table["structs"]["ImGuiStoragePair"][2]["type"] .. "}"
|
||||||
|
end
|
||||||
-----------------------
|
-----------------------
|
||||||
save_data("./output/structs_and_enums.lua",serializeTableF(structs_and_enums_table))
|
save_data("./output/structs_and_enums.lua",serializeTableF(structs_and_enums_table))
|
||||||
save_data("./output/typedefs_dict.lua",serializeTableF(parser1.typedefs_dict))
|
save_data("./output/typedefs_dict.lua",serializeTableF(parser1.typedefs_dict))
|
||||||
|
@@ -2652,8 +2652,8 @@
|
|||||||
"type": "ImGuiID"
|
"type": "ImGuiID"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "}",
|
"name": "",
|
||||||
"type": "union { int val_i; float val_f; void* val_p;"
|
"type": "union { int val_i; float val_f; void* val_p;}"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"ImGuiStyle": [
|
"ImGuiStyle": [
|
||||||
|
@@ -2060,8 +2060,8 @@ defs["structs"]["ImGuiStoragePair"][1] = {}
|
|||||||
defs["structs"]["ImGuiStoragePair"][1]["name"] = "key"
|
defs["structs"]["ImGuiStoragePair"][1]["name"] = "key"
|
||||||
defs["structs"]["ImGuiStoragePair"][1]["type"] = "ImGuiID"
|
defs["structs"]["ImGuiStoragePair"][1]["type"] = "ImGuiID"
|
||||||
defs["structs"]["ImGuiStoragePair"][2] = {}
|
defs["structs"]["ImGuiStoragePair"][2] = {}
|
||||||
defs["structs"]["ImGuiStoragePair"][2]["name"] = "}"
|
defs["structs"]["ImGuiStoragePair"][2]["name"] = ""
|
||||||
defs["structs"]["ImGuiStoragePair"][2]["type"] = "union { int val_i; float val_f; void* val_p;"
|
defs["structs"]["ImGuiStoragePair"][2]["type"] = "union { int val_i; float val_f; void* val_p;}"
|
||||||
defs["structs"]["ImGuiStyle"] = {}
|
defs["structs"]["ImGuiStyle"] = {}
|
||||||
defs["structs"]["ImGuiStyle"][1] = {}
|
defs["structs"]["ImGuiStyle"][1] = {}
|
||||||
defs["structs"]["ImGuiStyle"][1]["name"] = "Alpha"
|
defs["structs"]["ImGuiStyle"][1]["name"] = "Alpha"
|
||||||
|
Reference in New Issue
Block a user