remove static from structs

This commit is contained in:
sonoro1234
2018-11-23 10:22:48 +01:00
parent 76935a7d83
commit 14cd6715d2
7 changed files with 139 additions and 139 deletions

View File

@@ -433,7 +433,7 @@ local function struct_parser()
elseif line:match("public:") then elseif line:match("public:") then
--nothing --nothing
else else
local linea = line:gsub("%S+",{class="struct",mutable=""}) local linea = line:gsub("%S+",{class="struct",mutable="",static=""})
local template = linea:match("ImVector<(.+)>") local template = linea:match("ImVector<(.+)>")
if template then if template then
local te = template:gsub("%s","_") local te = template:gsub("%s","_")

View File

@@ -603,7 +603,7 @@ struct ImGuiTextFilter
struct ImGuiTextBuffer struct ImGuiTextBuffer
{ {
ImVector_char Buf; ImVector_char Buf;
static char EmptyString[1]; char EmptyString[1];
}; };
struct ImGuiStorage struct ImGuiStorage
{ {

File diff suppressed because one or more lines are too long

View File

@@ -9546,7 +9546,7 @@ defs["igPlotHistogram"][1]["argsT"][8]["type"] = "ImVec2"
defs["igPlotHistogram"][1]["argsT"][9] = {} defs["igPlotHistogram"][1]["argsT"][9] = {}
defs["igPlotHistogram"][1]["argsT"][9]["name"] = "stride" defs["igPlotHistogram"][1]["argsT"][9]["name"] = "stride"
defs["igPlotHistogram"][1]["argsT"][9]["type"] = "int" defs["igPlotHistogram"][1]["argsT"][9]["type"] = "int"
defs["igPlotHistogram"][1]["argsoriginal"] = "(const char* label,const float* values,int values_count,int values_offset=0,const char* overlay_text=((void*)0),float scale_min=3.40282347e+38F,float scale_max=3.40282347e+38F,ImVec2 graph_size=ImVec2(0,0),int stride=sizeof(float))" defs["igPlotHistogram"][1]["argsoriginal"] = "(const char* label,const float* values,int values_count,int values_offset=0,const char* overlay_text=((void *)0),float scale_min=3.40282346638528859812e+38F,float scale_max=3.40282346638528859812e+38F,ImVec2 graph_size=ImVec2(0,0),int stride=sizeof(float))"
defs["igPlotHistogram"][1]["call_args"] = "(label,values,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size,stride)" defs["igPlotHistogram"][1]["call_args"] = "(label,values,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size,stride)"
defs["igPlotHistogram"][1]["cimguiname"] = "igPlotHistogram" defs["igPlotHistogram"][1]["cimguiname"] = "igPlotHistogram"
defs["igPlotHistogram"][1]["comment"] = "" defs["igPlotHistogram"][1]["comment"] = ""
@@ -9594,7 +9594,7 @@ defs["igPlotHistogram"][2]["argsT"][8]["type"] = "float"
defs["igPlotHistogram"][2]["argsT"][9] = {} defs["igPlotHistogram"][2]["argsT"][9] = {}
defs["igPlotHistogram"][2]["argsT"][9]["name"] = "graph_size" defs["igPlotHistogram"][2]["argsT"][9]["name"] = "graph_size"
defs["igPlotHistogram"][2]["argsT"][9]["type"] = "ImVec2" defs["igPlotHistogram"][2]["argsT"][9]["type"] = "ImVec2"
defs["igPlotHistogram"][2]["argsoriginal"] = "(const char* label,float(*values_getter)(void* data,int idx),void* data,int values_count,int values_offset=0,const char* overlay_text=((void*)0),float scale_min=3.40282347e+38F,float scale_max=3.40282347e+38F,ImVec2 graph_size=ImVec2(0,0))" defs["igPlotHistogram"][2]["argsoriginal"] = "(const char* label,float(*values_getter)(void* data,int idx),void* data,int values_count,int values_offset=0,const char* overlay_text=((void *)0),float scale_min=3.40282346638528859812e+38F,float scale_max=3.40282346638528859812e+38F,ImVec2 graph_size=ImVec2(0,0))"
defs["igPlotHistogram"][2]["call_args"] = "(label,values_getter,data,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size)" defs["igPlotHistogram"][2]["call_args"] = "(label,values_getter,data,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size)"
defs["igPlotHistogram"][2]["cimguiname"] = "igPlotHistogram" defs["igPlotHistogram"][2]["cimguiname"] = "igPlotHistogram"
defs["igPlotHistogram"][2]["comment"] = "" defs["igPlotHistogram"][2]["comment"] = ""
@@ -9642,7 +9642,7 @@ defs["igPlotLines"][1]["argsT"][8]["type"] = "ImVec2"
defs["igPlotLines"][1]["argsT"][9] = {} defs["igPlotLines"][1]["argsT"][9] = {}
defs["igPlotLines"][1]["argsT"][9]["name"] = "stride" defs["igPlotLines"][1]["argsT"][9]["name"] = "stride"
defs["igPlotLines"][1]["argsT"][9]["type"] = "int" defs["igPlotLines"][1]["argsT"][9]["type"] = "int"
defs["igPlotLines"][1]["argsoriginal"] = "(const char* label,const float* values,int values_count,int values_offset=0,const char* overlay_text=((void*)0),float scale_min=3.40282347e+38F,float scale_max=3.40282347e+38F,ImVec2 graph_size=ImVec2(0,0),int stride=sizeof(float))" defs["igPlotLines"][1]["argsoriginal"] = "(const char* label,const float* values,int values_count,int values_offset=0,const char* overlay_text=((void *)0),float scale_min=3.40282346638528859812e+38F,float scale_max=3.40282346638528859812e+38F,ImVec2 graph_size=ImVec2(0,0),int stride=sizeof(float))"
defs["igPlotLines"][1]["call_args"] = "(label,values,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size,stride)" defs["igPlotLines"][1]["call_args"] = "(label,values,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size,stride)"
defs["igPlotLines"][1]["cimguiname"] = "igPlotLines" defs["igPlotLines"][1]["cimguiname"] = "igPlotLines"
defs["igPlotLines"][1]["comment"] = "" defs["igPlotLines"][1]["comment"] = ""
@@ -9690,7 +9690,7 @@ defs["igPlotLines"][2]["argsT"][8]["type"] = "float"
defs["igPlotLines"][2]["argsT"][9] = {} defs["igPlotLines"][2]["argsT"][9] = {}
defs["igPlotLines"][2]["argsT"][9]["name"] = "graph_size" defs["igPlotLines"][2]["argsT"][9]["name"] = "graph_size"
defs["igPlotLines"][2]["argsT"][9]["type"] = "ImVec2" defs["igPlotLines"][2]["argsT"][9]["type"] = "ImVec2"
defs["igPlotLines"][2]["argsoriginal"] = "(const char* label,float(*values_getter)(void* data,int idx),void* data,int values_count,int values_offset=0,const char* overlay_text=((void*)0),float scale_min=3.40282347e+38F,float scale_max=3.40282347e+38F,ImVec2 graph_size=ImVec2(0,0))" defs["igPlotLines"][2]["argsoriginal"] = "(const char* label,float(*values_getter)(void* data,int idx),void* data,int values_count,int values_offset=0,const char* overlay_text=((void *)0),float scale_min=3.40282346638528859812e+38F,float scale_max=3.40282346638528859812e+38F,ImVec2 graph_size=ImVec2(0,0))"
defs["igPlotLines"][2]["call_args"] = "(label,values_getter,data,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size)" defs["igPlotLines"][2]["call_args"] = "(label,values_getter,data,values_count,values_offset,overlay_text,scale_min,scale_max,graph_size)"
defs["igPlotLines"][2]["cimguiname"] = "igPlotLines" defs["igPlotLines"][2]["cimguiname"] = "igPlotLines"
defs["igPlotLines"][2]["comment"] = "" defs["igPlotLines"][2]["comment"] = ""

File diff suppressed because one or more lines are too long

View File

@@ -1961,7 +1961,7 @@ defs["structs"]["ImGuiTextBuffer"][1]["type"] = "ImVector_char"
defs["structs"]["ImGuiTextBuffer"][2] = {} defs["structs"]["ImGuiTextBuffer"][2] = {}
defs["structs"]["ImGuiTextBuffer"][2]["name"] = "EmptyString[1]" defs["structs"]["ImGuiTextBuffer"][2]["name"] = "EmptyString[1]"
defs["structs"]["ImGuiTextBuffer"][2]["size"] = 1 defs["structs"]["ImGuiTextBuffer"][2]["size"] = 1
defs["structs"]["ImGuiTextBuffer"][2]["type"] = "static char" defs["structs"]["ImGuiTextBuffer"][2]["type"] = "char"
defs["structs"]["ImGuiTextFilter"] = {} defs["structs"]["ImGuiTextFilter"] = {}
defs["structs"]["ImGuiTextFilter"][1] = {} defs["structs"]["ImGuiTextFilter"][1] = {}
defs["structs"]["ImGuiTextFilter"][1]["name"] = "InputBuf[256]" defs["structs"]["ImGuiTextFilter"][1]["name"] = "InputBuf[256]"