use loadstring for parsing size of struct members, clean spaces around +

This commit is contained in:
Victor Bombi
2020-03-26 11:56:17 +01:00
parent 906fd09e67
commit e7a883d9f3
3 changed files with 8 additions and 9 deletions

View File

@@ -3796,7 +3796,7 @@
},
{
"name": "TempBuffer[1024*3+1]",
"size": 4,
"size": 3073,
"type": "char"
}
],

View File

@@ -2940,7 +2940,7 @@ defs["structs"]["ImGuiContext"][173]["name"] = "WantTextInputNextFrame"
defs["structs"]["ImGuiContext"][173]["type"] = "int"
defs["structs"]["ImGuiContext"][174] = {}
defs["structs"]["ImGuiContext"][174]["name"] = "TempBuffer[1024*3+1]"
defs["structs"]["ImGuiContext"][174]["size"] = 4
defs["structs"]["ImGuiContext"][174]["size"] = 3073
defs["structs"]["ImGuiContext"][174]["type"] = "char"
defs["structs"]["ImGuiDataTypeInfo"] = {}
defs["structs"]["ImGuiDataTypeInfo"][1] = {}