generation with non const ref to ptr

This commit is contained in:
Victor Bombi
2020-06-06 11:42:25 +02:00
parent ab53af765f
commit 74ca33d026
6 changed files with 84 additions and 68 deletions

View File

@@ -9862,7 +9862,7 @@
],
"ImVector_swap": [
{
"args": "(ImVector* self,ImVector rhs)",
"args": "(ImVector* self,ImVector* rhs)",
"argsT": [
{
"name": "self",
@@ -9870,11 +9870,12 @@
},
{
"name": "rhs",
"type": "ImVector&"
"reftoptr": true,
"type": "ImVector*"
}
],
"argsoriginal": "(ImVector<T>& rhs)",
"call_args": "(rhs)",
"call_args": "(*rhs)",
"cimguiname": "ImVector_swap",
"defaults": [],
"funcname": "swap",
@@ -11546,7 +11547,7 @@
],
"igColorConvertHSVtoRGB": [
{
"args": "(float h,float s,float v,float out_r,float out_g,float out_b)",
"args": "(float h,float s,float v,float* out_r,float* out_g,float* out_b)",
"argsT": [
{
"name": "h",
@@ -11562,24 +11563,26 @@
},
{
"name": "out_r",
"type": "float&"
"reftoptr": true,
"type": "float*"
},
{
"name": "out_g",
"type": "float&"
"reftoptr": true,
"type": "float*"
},
{
"name": "out_b",
"type": "float&"
"reftoptr": true,
"type": "float*"
}
],
"argsoriginal": "(float h,float s,float v,float& out_r,float& out_g,float& out_b)",
"call_args": "(h,s,v,out_r,out_g,out_b)",
"call_args": "(h,s,v,*out_r,*out_g,*out_b)",
"cimguiname": "igColorConvertHSVtoRGB",
"defaults": [],
"funcname": "ColorConvertHSVtoRGB",
"location": "imgui",
"manual": true,
"namespace": "ImGui",
"ov_cimguiname": "igColorConvertHSVtoRGB",
"ret": "void",
@@ -11589,7 +11592,7 @@
],
"igColorConvertRGBtoHSV": [
{
"args": "(float r,float g,float b,float out_h,float out_s,float out_v)",
"args": "(float r,float g,float b,float* out_h,float* out_s,float* out_v)",
"argsT": [
{
"name": "r",
@@ -11605,24 +11608,26 @@
},
{
"name": "out_h",
"type": "float&"
"reftoptr": true,
"type": "float*"
},
{
"name": "out_s",
"type": "float&"
"reftoptr": true,
"type": "float*"
},
{
"name": "out_v",
"type": "float&"
"reftoptr": true,
"type": "float*"
}
],
"argsoriginal": "(float r,float g,float b,float& out_h,float& out_s,float& out_v)",
"call_args": "(r,g,b,out_h,out_s,out_v)",
"call_args": "(r,g,b,*out_h,*out_s,*out_v)",
"cimguiname": "igColorConvertRGBtoHSV",
"defaults": [],
"funcname": "ColorConvertRGBtoHSV",
"location": "imgui",
"manual": true,
"namespace": "ImGui",
"ov_cimguiname": "igColorConvertRGBtoHSV",
"ret": "void",
@@ -17405,7 +17410,7 @@
],
"igImTriangleBarycentricCoords": [
{
"args": "(const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 p,float out_u,float out_v,float out_w)",
"args": "(const ImVec2 a,const ImVec2 b,const ImVec2 c,const ImVec2 p,float* out_u,float* out_v,float* out_w)",
"argsT": [
{
"name": "a",
@@ -17425,19 +17430,22 @@
},
{
"name": "out_u",
"type": "float&"
"reftoptr": true,
"type": "float*"
},
{
"name": "out_v",
"type": "float&"
"reftoptr": true,
"type": "float*"
},
{
"name": "out_w",
"type": "float&"
"reftoptr": true,
"type": "float*"
}
],
"argsoriginal": "(const ImVec2& a,const ImVec2& b,const ImVec2& c,const ImVec2& p,float& out_u,float& out_v,float& out_w)",
"call_args": "(a,b,c,p,out_u,out_v,out_w)",
"call_args": "(a,b,c,p,*out_u,*out_v,*out_w)",
"cimguiname": "igImTriangleBarycentricCoords",
"defaults": [],
"funcname": "ImTriangleBarycentricCoords",