mirror of
https://github.com/cimgui/cimgui.git
synced 2025-08-11 04:18:29 +01:00
take care of bit fields in struct_and_enums generation.
This commit is contained in:
@@ -696,7 +696,7 @@ if structs_and_enums_table["structs"]["Pair"] then
|
||||
structs_and_enums_table["structs"]["Pair"][2]["name"] = ""
|
||||
structs_and_enums_table["structs"]["Pair"][2]["type"] = structs_and_enums_table["structs"]["Pair"][2]["type"] .. "}"
|
||||
end
|
||||
-- 1.72 and after
|
||||
-- union in 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"] .. "}"
|
||||
|
Reference in New Issue
Block a user