mirror of
https://github.com/cimgui/cimgui.git
synced 2025-08-10 03:48:30 +01:00
remove static from structs
This commit is contained in:
@@ -433,7 +433,7 @@ local function struct_parser()
|
||||
elseif line:match("public:") then
|
||||
--nothing
|
||||
else
|
||||
local linea = line:gsub("%S+",{class="struct",mutable=""})
|
||||
local linea = line:gsub("%S+",{class="struct",mutable="",static=""})
|
||||
local template = linea:match("ImVector<(.+)>")
|
||||
if template then
|
||||
local te = template:gsub("%s","_")
|
||||
|
@@ -603,7 +603,7 @@ struct ImGuiTextFilter
|
||||
struct ImGuiTextBuffer
|
||||
{
|
||||
ImVector_char Buf;
|
||||
static char EmptyString[1];
|
||||
char EmptyString[1];
|
||||
};
|
||||
struct ImGuiStorage
|
||||
{
|
||||
|
File diff suppressed because one or more lines are too long
@@ -9546,7 +9546,7 @@ defs["igPlotHistogram"][1]["argsT"][8]["type"] = "ImVec2"
|
||||
defs["igPlotHistogram"][1]["argsT"][9] = {}
|
||||
defs["igPlotHistogram"][1]["argsT"][9]["name"] = "stride"
|
||||
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]["cimguiname"] = "igPlotHistogram"
|
||||
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]["name"] = "graph_size"
|
||||
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]["cimguiname"] = "igPlotHistogram"
|
||||
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]["name"] = "stride"
|
||||
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]["cimguiname"] = "igPlotLines"
|
||||
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]["name"] = "graph_size"
|
||||
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]["cimguiname"] = "igPlotLines"
|
||||
defs["igPlotLines"][2]["comment"] = ""
|
||||
|
File diff suppressed because one or more lines are too long
@@ -1961,7 +1961,7 @@ defs["structs"]["ImGuiTextBuffer"][1]["type"] = "ImVector_char"
|
||||
defs["structs"]["ImGuiTextBuffer"][2] = {}
|
||||
defs["structs"]["ImGuiTextBuffer"][2]["name"] = "EmptyString[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"][1] = {}
|
||||
defs["structs"]["ImGuiTextFilter"][1]["name"] = "InputBuf[256]"
|
||||
|
Reference in New Issue
Block a user