From eb23d2068cea04910f15b3830ee1c667b8804ae0 Mon Sep 17 00:00:00 2001 From: gucio321 <73652197+gucio321@users.noreply.github.com> Date: Sun, 22 Dec 2024 14:28:37 +0100 Subject: [PATCH 1/7] codegen: add goumpot call in codegen code generally calling formatters on the generated code should be done by generator itself. Current apprach was: it generates something and if you want to read this gofumpt it yourself --- cmd/codegen/format.go | 21 +++++++++++++++++++++ cmd/codegen/gengo_funcs.go | 2 +- cmd/codegen/go.mod | 9 ++++++++- cmd/codegen/go.sum | 11 +++++++++++ 4 files changed, 41 insertions(+), 2 deletions(-) create mode 100644 cmd/codegen/format.go diff --git a/cmd/codegen/format.go b/cmd/codegen/format.go new file mode 100644 index 000000000..88fa6fc3b --- /dev/null +++ b/cmd/codegen/format.go @@ -0,0 +1,21 @@ +package main + +import ( + "github.com/kpango/glg" + "mvdan.cc/gofumpt/format" +) + +// FormatGo takes an output GO string and formats it using gofumpt and goimports returning the formatted string. +func FormatGo(s string, ctx *Context) string { + var err error + sBytes := []byte(s) + sBytes, err = format.Source(sBytes, format.Options{ + ModulePath: ctx.preset.PackagePath, + ExtraRules: true, + }) + if err != nil { + glg.Fatalf("Unable to format go code: %v", err) + } + + return string(sBytes) +} diff --git a/cmd/codegen/gengo_funcs.go b/cmd/codegen/gengo_funcs.go index 645431ba7..02e25b3be 100644 --- a/cmd/codegen/gengo_funcs.go +++ b/cmd/codegen/gengo_funcs.go @@ -91,7 +91,7 @@ func GenerateGoFuncs( defer goFile.Close() - _, err = goFile.WriteString(generator.sb.String()) + _, err = goFile.WriteString(FormatGo(generator.sb.String(), context)) if err != nil { return fmt.Errorf("failed to write content of GO file: %w", err) } diff --git a/cmd/codegen/go.mod b/cmd/codegen/go.mod index 7ad97ba3a..5edf0e526 100644 --- a/cmd/codegen/go.mod +++ b/cmd/codegen/go.mod @@ -1,10 +1,17 @@ module github.com/AllenDang/cimgui-go/cmd/codegen -go 1.20 +go 1.22 + +toolchain go1.23.1 require github.com/kpango/glg v1.6.15 require ( github.com/goccy/go-json v0.10.2 // indirect + github.com/google/go-cmp v0.6.0 // indirect github.com/kpango/fastime v1.1.9 // indirect + golang.org/x/mod v0.14.0 // indirect + golang.org/x/sync v0.6.0 // indirect + golang.org/x/tools v0.17.0 // indirect + mvdan.cc/gofumpt v0.7.0 // indirect ) diff --git a/cmd/codegen/go.sum b/cmd/codegen/go.sum index d0c50f48c..f53ffd012 100644 --- a/cmd/codegen/go.sum +++ b/cmd/codegen/go.sum @@ -1,5 +1,7 @@ github.com/goccy/go-json v0.10.2 h1:CrxCmQqYDkv1z7lO7Wbh2HN93uovUHgrECaO5ZrCXAU= github.com/goccy/go-json v0.10.2/go.mod h1:6MelG93GURQebXPDq3khkgXZkazVtN9CRI+MGFi0w8I= +github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI= +github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/kpango/fastime v1.1.9 h1:xVQHcqyPt5M69DyFH7g1EPRns1YQNap9d5eLhl/Jy84= github.com/kpango/fastime v1.1.9/go.mod h1:vyD7FnUn08zxY4b/QFBZVG+9EWMYsNl+QF0uE46urD4= github.com/kpango/glg v1.6.15 h1:nw0xSxpSyrDIWHeb3dvnE08PW+SCbK+aYFETT75IeLA= @@ -8,4 +10,13 @@ github.com/sirupsen/logrus v1.9.0 h1:trlNQbNUG3OdDrDil03MCb1H2o9nJ1x4/5LYw7byDE0 go.uber.org/atomic v1.7.0 h1:ADUqmZGgLDDfbSL9ZmPxKTybcoEYHgpYfELNoN+7hsw= go.uber.org/multierr v1.6.0 h1:y6IPFStTAIT5Ytl7/XYmHvzXQ7S3g/IeZW9hyZ5thw4= go.uber.org/zap v1.24.0 h1:FiJd5l1UOLj0wCgbSE0rwwXHzEdAZS6hiiSnxJN/D60= +golang.org/x/mod v0.14.0 h1:dGoOF9QVLYng8IHTm7BAyWqCqSheQ5pYWGhzW00YJr0= +golang.org/x/mod v0.14.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= +golang.org/x/sync v0.6.0 h1:5BMeUDZ7vkXGfEr1x9B4bRcTH4lpkTkpdh0T/J+qjbQ= +golang.org/x/sync v0.6.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk= golang.org/x/sys v0.0.0-20220715151400-c0bba94af5f8 h1:0A+M6Uqn+Eje4kHMK80dtF3JCXC4ykBgQG4Fe06QRhQ= +golang.org/x/sys v0.16.0 h1:xWw16ngr6ZMtmxDyKyIgsE93KNKz5HKmMa3b8ALHidU= +golang.org/x/tools v0.17.0 h1:FvmRgNOcs3kOa+T20R1uhfP9F6HgG2mfxDv1vrx1Htc= +golang.org/x/tools v0.17.0/go.mod h1:xsh6VxdV005rRVaS6SSAf9oiAqljS7UZUacMZ8Bnsps= +mvdan.cc/gofumpt v0.7.0 h1:bg91ttqXmi9y2xawvkuMXyvAA/1ZGJqYAEGjXuP0JXU= +mvdan.cc/gofumpt v0.7.0/go.mod h1:txVFJy/Sc/mvaycET54pV8SW8gWxTlUuGHVEcncmNUo= From 81b67da2239dc6f872990cb6e4b43be38f156992 Mon Sep 17 00:00:00 2001 From: gucio321 <73652197+gucio321@users.noreply.github.com> Date: Sun, 22 Dec 2024 14:31:08 +0100 Subject: [PATCH 2/7] regenerate code; udpate makefile now makefile dosn't call gofumpt at all --- ImGuiColorTextEdit/funcs.go | 6 +- Makefile | 1 - imgui/funcs.go | 568 ++++++++++----------- imguizmo/funcs.go | 24 +- imnodes/funcs.go | 10 +- implot/funcs.go | 986 ++++++++++++++++++------------------ 6 files changed, 797 insertions(+), 798 deletions(-) diff --git a/ImGuiColorTextEdit/funcs.go b/ImGuiColorTextEdit/funcs.go index 46b01d20f..1b8436bbb 100644 --- a/ImGuiColorTextEdit/funcs.go +++ b/ImGuiColorTextEdit/funcs.go @@ -77,7 +77,7 @@ func (self *TextEditor) Cut() { selfFin() } -func (self *TextEditor) CursorPosition(outLine *int32, outColumn *int32) { +func (self *TextEditor) CursorPosition(outLine, outColumn *int32) { selfArg, selfFin := self.Handle() outLineArg, outLineFin := internal.WrapNumberPtr[C.int, int32](outLine) outColumnArg, outColumnFin := internal.WrapNumberPtr[C.int, int32](outColumn) @@ -312,7 +312,7 @@ func (self *TextEditor) SelectNextOccurrenceOfV(aText string, aTextSize int32, a aTextFin() } -func (self *TextEditor) SelectRegion(aStartLine int32, aStartChar int32, aEndLine int32, aEndChar int32) { +func (self *TextEditor) SelectRegion(aStartLine, aStartChar, aEndLine, aEndChar int32) { selfArg, selfFin := self.Handle() C.TextEditor_SelectRegion(internal.ReinterpretCast[*C.TextEditor](selfArg), C.int(aStartLine), C.int(aStartChar), C.int(aEndLine), C.int(aEndChar)) @@ -326,7 +326,7 @@ func (self *TextEditor) SetAutoIndentEnabled(aValue bool) { selfFin() } -func (self *TextEditor) SetCursorPosition(aLine int32, aCharIndex int32) { +func (self *TextEditor) SetCursorPosition(aLine, aCharIndex int32) { selfArg, selfFin := self.Handle() C.TextEditor_SetCursorPosition(internal.ReinterpretCast[*C.TextEditor](selfArg), C.int(aLine), C.int(aCharIndex)) diff --git a/Makefile b/Makefile index 23f5cfc76..cfe57f9c0 100644 --- a/Makefile +++ b/Makefile @@ -27,7 +27,6 @@ define generate cd $(2); \ ../codegen -preset ../cmd/codegen/cimgui-go-preset.json -p $(1) -pkg $(2) -i ../$(3) -d ../$(4) -e ../$(5) -t ../$(6) $(7) go run mvdan.cc/gofumpt@latest -w $(2)/enums.go - go run mvdan.cc/gofumpt@latest -w $(2)/funcs.go go run mvdan.cc/gofumpt@latest -w $(2)/typedefs.go go run mvdan.cc/gofumpt@latest -w $(2)/callbacks.go go run golang.org/x/tools/cmd/goimports@latest -w $(2)/funcs.go diff --git a/imgui/funcs.go b/imgui/funcs.go index 435b8eb91..5cf8c183f 100644 --- a/imgui/funcs.go +++ b/imgui/funcs.go @@ -53,7 +53,7 @@ func (self *BitVector) InternalTestBit(n int32) bool { // ColorHSVV parameter default value hint: // a: 1.0f -func ColorHSVV(h float32, s float32, v float32, a float32) Color { +func ColorHSVV(h, s, v, a float32) Color { pOut := new(Color) pOutArg, pOutFin := internal.Wrap(pOut) @@ -66,7 +66,7 @@ func ColorHSVV(h float32, s float32, v float32, a float32) Color { // SetHSVV parameter default value hint: // a: 1.0f -func (self *Color) SetHSVV(h float32, s float32, v float32, a float32) { +func (self *Color) SetHSVV(h, s, v, a float32) { selfArg, selfFin := internal.Wrap(self) C.ImColor_SetHSV(internal.ReinterpretCast[*C.ImColor](selfArg), C.float(h), C.float(s), C.float(v), C.float(a)) @@ -233,7 +233,7 @@ func (self *DrawListSplitter) Destroy() { // Cubic Bezier (4 control points) // AddBezierCubicV parameter default value hint: // num_segments: 0 -func (self *DrawList) AddBezierCubicV(p1 Vec2, p2 Vec2, p3 Vec2, p4 Vec2, col uint32, thickness float32, num_segments int32) { +func (self *DrawList) AddBezierCubicV(p1, p2, p3, p4 Vec2, col uint32, thickness float32, num_segments int32) { selfArg, selfFin := self.Handle() C.ImDrawList_AddBezierCubic(internal.ReinterpretCast[*C.ImDrawList](selfArg), internal.ReinterpretCast[C.ImVec2](p1.ToC()), internal.ReinterpretCast[C.ImVec2](p2.ToC()), internal.ReinterpretCast[C.ImVec2](p3.ToC()), internal.ReinterpretCast[C.ImVec2](p4.ToC()), C.ImU32(col), C.float(thickness), C.int(num_segments)) @@ -243,7 +243,7 @@ func (self *DrawList) AddBezierCubicV(p1 Vec2, p2 Vec2, p3 Vec2, p4 Vec2, col ui // Quadratic Bezier (3 control points) // AddBezierQuadraticV parameter default value hint: // num_segments: 0 -func (self *DrawList) AddBezierQuadraticV(p1 Vec2, p2 Vec2, p3 Vec2, col uint32, thickness float32, num_segments int32) { +func (self *DrawList) AddBezierQuadraticV(p1, p2, p3 Vec2, col uint32, thickness float32, num_segments int32) { selfArg, selfFin := self.Handle() C.ImDrawList_AddBezierQuadratic(internal.ReinterpretCast[*C.ImDrawList](selfArg), internal.ReinterpretCast[C.ImVec2](p1.ToC()), internal.ReinterpretCast[C.ImVec2](p2.ToC()), internal.ReinterpretCast[C.ImVec2](p3.ToC()), C.ImU32(col), C.float(thickness), C.int(num_segments)) @@ -310,7 +310,7 @@ func (self *DrawList) AddDrawCmd() { // rot: 0.0f // num_segments: 0 // thickness: 1.0f -func (self *DrawList) AddEllipseV(center Vec2, radius Vec2, col uint32, rot float32, num_segments int32, thickness float32) { +func (self *DrawList) AddEllipseV(center, radius Vec2, col uint32, rot float32, num_segments int32, thickness float32) { selfArg, selfFin := self.Handle() C.ImDrawList_AddEllipse(internal.ReinterpretCast[*C.ImDrawList](selfArg), internal.ReinterpretCast[C.ImVec2](center.ToC()), internal.ReinterpretCast[C.ImVec2](radius.ToC()), C.ImU32(col), C.float(rot), C.int(num_segments), C.float(thickness)) @@ -320,7 +320,7 @@ func (self *DrawList) AddEllipseV(center Vec2, radius Vec2, col uint32, rot floa // AddEllipseFilledV parameter default value hint: // rot: 0.0f // num_segments: 0 -func (self *DrawList) AddEllipseFilledV(center Vec2, radius Vec2, col uint32, rot float32, num_segments int32) { +func (self *DrawList) AddEllipseFilledV(center, radius Vec2, col uint32, rot float32, num_segments int32) { selfArg, selfFin := self.Handle() C.ImDrawList_AddEllipseFilled(internal.ReinterpretCast[*C.ImDrawList](selfArg), internal.ReinterpretCast[C.ImVec2](center.ToC()), internal.ReinterpretCast[C.ImVec2](radius.ToC()), C.ImU32(col), C.float(rot), C.int(num_segments)) @@ -331,7 +331,7 @@ func (self *DrawList) AddEllipseFilledV(center Vec2, radius Vec2, col uint32, ro // uv_min: ImVec2(0,0) // uv_max: ImVec2(1,1) // col: 4294967295 -func (self *DrawList) AddImageV(user_texture_id TextureID, p_min Vec2, p_max Vec2, uv_min Vec2, uv_max Vec2, col uint32) { +func (self *DrawList) AddImageV(user_texture_id TextureID, p_min, p_max, uv_min, uv_max Vec2, col uint32) { selfArg, selfFin := self.Handle() user_texture_idArg, user_texture_idFin := user_texture_id.C() C.ImDrawList_AddImage(internal.ReinterpretCast[*C.ImDrawList](selfArg), internal.ReinterpretCast[C.ImTextureID](user_texture_idArg), internal.ReinterpretCast[C.ImVec2](p_min.ToC()), internal.ReinterpretCast[C.ImVec2](p_max.ToC()), internal.ReinterpretCast[C.ImVec2](uv_min.ToC()), internal.ReinterpretCast[C.ImVec2](uv_max.ToC()), C.ImU32(col)) @@ -346,7 +346,7 @@ func (self *DrawList) AddImageV(user_texture_id TextureID, p_min Vec2, p_max Vec // uv3: ImVec2(1,1) // uv4: ImVec2(0,1) // col: 4294967295 -func (self *DrawList) AddImageQuadV(user_texture_id TextureID, p1 Vec2, p2 Vec2, p3 Vec2, p4 Vec2, uv1 Vec2, uv2 Vec2, uv3 Vec2, uv4 Vec2, col uint32) { +func (self *DrawList) AddImageQuadV(user_texture_id TextureID, p1, p2, p3, p4, uv1, uv2, uv3, uv4 Vec2, col uint32) { selfArg, selfFin := self.Handle() user_texture_idArg, user_texture_idFin := user_texture_id.C() C.ImDrawList_AddImageQuad(internal.ReinterpretCast[*C.ImDrawList](selfArg), internal.ReinterpretCast[C.ImTextureID](user_texture_idArg), internal.ReinterpretCast[C.ImVec2](p1.ToC()), internal.ReinterpretCast[C.ImVec2](p2.ToC()), internal.ReinterpretCast[C.ImVec2](p3.ToC()), internal.ReinterpretCast[C.ImVec2](p4.ToC()), internal.ReinterpretCast[C.ImVec2](uv1.ToC()), internal.ReinterpretCast[C.ImVec2](uv2.ToC()), internal.ReinterpretCast[C.ImVec2](uv3.ToC()), internal.ReinterpretCast[C.ImVec2](uv4.ToC()), C.ImU32(col)) @@ -357,7 +357,7 @@ func (self *DrawList) AddImageQuadV(user_texture_id TextureID, p1 Vec2, p2 Vec2, // AddImageRoundedV parameter default value hint: // flags: 0 -func (self *DrawList) AddImageRoundedV(user_texture_id TextureID, p_min Vec2, p_max Vec2, uv_min Vec2, uv_max Vec2, col uint32, rounding float32, flags DrawFlags) { +func (self *DrawList) AddImageRoundedV(user_texture_id TextureID, p_min, p_max, uv_min, uv_max Vec2, col uint32, rounding float32, flags DrawFlags) { selfArg, selfFin := self.Handle() user_texture_idArg, user_texture_idFin := user_texture_id.C() C.ImDrawList_AddImageRounded(internal.ReinterpretCast[*C.ImDrawList](selfArg), internal.ReinterpretCast[C.ImTextureID](user_texture_idArg), internal.ReinterpretCast[C.ImVec2](p_min.ToC()), internal.ReinterpretCast[C.ImVec2](p_max.ToC()), internal.ReinterpretCast[C.ImVec2](uv_min.ToC()), internal.ReinterpretCast[C.ImVec2](uv_max.ToC()), C.ImU32(col), C.float(rounding), C.ImDrawFlags(flags)) @@ -368,7 +368,7 @@ func (self *DrawList) AddImageRoundedV(user_texture_id TextureID, p_min Vec2, p_ // AddLineV parameter default value hint: // thickness: 1.0f -func (self *DrawList) AddLineV(p1 Vec2, p2 Vec2, col uint32, thickness float32) { +func (self *DrawList) AddLineV(p1, p2 Vec2, col uint32, thickness float32) { selfArg, selfFin := self.Handle() C.ImDrawList_AddLine(internal.ReinterpretCast[*C.ImDrawList](selfArg), internal.ReinterpretCast[C.ImVec2](p1.ToC()), internal.ReinterpretCast[C.ImVec2](p2.ToC()), C.ImU32(col), C.float(thickness)) @@ -402,14 +402,14 @@ func (self *DrawList) AddPolyline(points *Vec2, num_points int32, col uint32, fl // AddQuadV parameter default value hint: // thickness: 1.0f -func (self *DrawList) AddQuadV(p1 Vec2, p2 Vec2, p3 Vec2, p4 Vec2, col uint32, thickness float32) { +func (self *DrawList) AddQuadV(p1, p2, p3, p4 Vec2, col uint32, thickness float32) { selfArg, selfFin := self.Handle() C.ImDrawList_AddQuad(internal.ReinterpretCast[*C.ImDrawList](selfArg), internal.ReinterpretCast[C.ImVec2](p1.ToC()), internal.ReinterpretCast[C.ImVec2](p2.ToC()), internal.ReinterpretCast[C.ImVec2](p3.ToC()), internal.ReinterpretCast[C.ImVec2](p4.ToC()), C.ImU32(col), C.float(thickness)) selfFin() } -func (self *DrawList) AddQuadFilled(p1 Vec2, p2 Vec2, p3 Vec2, p4 Vec2, col uint32) { +func (self *DrawList) AddQuadFilled(p1, p2, p3, p4 Vec2, col uint32) { selfArg, selfFin := self.Handle() C.ImDrawList_AddQuadFilled(internal.ReinterpretCast[*C.ImDrawList](selfArg), internal.ReinterpretCast[C.ImVec2](p1.ToC()), internal.ReinterpretCast[C.ImVec2](p2.ToC()), internal.ReinterpretCast[C.ImVec2](p3.ToC()), internal.ReinterpretCast[C.ImVec2](p4.ToC()), C.ImU32(col)) @@ -421,7 +421,7 @@ func (self *DrawList) AddQuadFilled(p1 Vec2, p2 Vec2, p3 Vec2, p4 Vec2, col uint // rounding: 0.0f // flags: 0 // thickness: 1.0f -func (self *DrawList) AddRectV(p_min Vec2, p_max Vec2, col uint32, rounding float32, flags DrawFlags, thickness float32) { +func (self *DrawList) AddRectV(p_min, p_max Vec2, col uint32, rounding float32, flags DrawFlags, thickness float32) { selfArg, selfFin := self.Handle() C.ImDrawList_AddRect(internal.ReinterpretCast[*C.ImDrawList](selfArg), internal.ReinterpretCast[C.ImVec2](p_min.ToC()), internal.ReinterpretCast[C.ImVec2](p_max.ToC()), C.ImU32(col), C.float(rounding), C.ImDrawFlags(flags), C.float(thickness)) @@ -432,14 +432,14 @@ func (self *DrawList) AddRectV(p_min Vec2, p_max Vec2, col uint32, rounding floa // AddRectFilledV parameter default value hint: // rounding: 0.0f // flags: 0 -func (self *DrawList) AddRectFilledV(p_min Vec2, p_max Vec2, col uint32, rounding float32, flags DrawFlags) { +func (self *DrawList) AddRectFilledV(p_min, p_max Vec2, col uint32, rounding float32, flags DrawFlags) { selfArg, selfFin := self.Handle() C.ImDrawList_AddRectFilled(internal.ReinterpretCast[*C.ImDrawList](selfArg), internal.ReinterpretCast[C.ImVec2](p_min.ToC()), internal.ReinterpretCast[C.ImVec2](p_max.ToC()), C.ImU32(col), C.float(rounding), C.ImDrawFlags(flags)) selfFin() } -func (self *DrawList) AddRectFilledMultiColor(p_min Vec2, p_max Vec2, col_upr_left uint32, col_upr_right uint32, col_bot_right uint32, col_bot_left uint32) { +func (self *DrawList) AddRectFilledMultiColor(p_min, p_max Vec2, col_upr_left, col_upr_right, col_bot_right, col_bot_left uint32) { selfArg, selfFin := self.Handle() C.ImDrawList_AddRectFilledMultiColor(internal.ReinterpretCast[*C.ImDrawList](selfArg), internal.ReinterpretCast[C.ImVec2](p_min.ToC()), internal.ReinterpretCast[C.ImVec2](p_max.ToC()), C.ImU32(col_upr_left), C.ImU32(col_upr_right), C.ImU32(col_bot_right), C.ImU32(col_bot_left)) @@ -474,14 +474,14 @@ func (self *DrawList) AddTextVec2V(pos Vec2, col uint32, text_begin string) { // AddTriangleV parameter default value hint: // thickness: 1.0f -func (self *DrawList) AddTriangleV(p1 Vec2, p2 Vec2, p3 Vec2, col uint32, thickness float32) { +func (self *DrawList) AddTriangleV(p1, p2, p3 Vec2, col uint32, thickness float32) { selfArg, selfFin := self.Handle() C.ImDrawList_AddTriangle(internal.ReinterpretCast[*C.ImDrawList](selfArg), internal.ReinterpretCast[C.ImVec2](p1.ToC()), internal.ReinterpretCast[C.ImVec2](p2.ToC()), internal.ReinterpretCast[C.ImVec2](p3.ToC()), C.ImU32(col), C.float(thickness)) selfFin() } -func (self *DrawList) AddTriangleFilled(p1 Vec2, p2 Vec2, p3 Vec2, col uint32) { +func (self *DrawList) AddTriangleFilled(p1, p2, p3 Vec2, col uint32) { selfArg, selfFin := self.Handle() C.ImDrawList_AddTriangleFilled(internal.ReinterpretCast[*C.ImDrawList](selfArg), internal.ReinterpretCast[C.ImVec2](p1.ToC()), internal.ReinterpretCast[C.ImVec2](p2.ToC()), internal.ReinterpretCast[C.ImVec2](p3.ToC()), C.ImU32(col)) @@ -556,7 +556,7 @@ func NewDrawList(shared_data *DrawListSharedData) *DrawList { // PathArcToV parameter default value hint: // num_segments: 0 -func (self *DrawList) PathArcToV(center Vec2, radius float32, a_min float32, a_max float32, num_segments int32) { +func (self *DrawList) PathArcToV(center Vec2, radius, a_min, a_max float32, num_segments int32) { selfArg, selfFin := self.Handle() C.ImDrawList_PathArcTo(internal.ReinterpretCast[*C.ImDrawList](selfArg), internal.ReinterpretCast[C.ImVec2](center.ToC()), C.float(radius), C.float(a_min), C.float(a_max), C.int(num_segments)) @@ -564,7 +564,7 @@ func (self *DrawList) PathArcToV(center Vec2, radius float32, a_min float32, a_m } // Use precomputed angles for a 12 steps circle -func (self *DrawList) PathArcToFast(center Vec2, radius float32, a_min_of_12 int32, a_max_of_12 int32) { +func (self *DrawList) PathArcToFast(center Vec2, radius float32, a_min_of_12, a_max_of_12 int32) { selfArg, selfFin := self.Handle() C.ImDrawList_PathArcToFast(internal.ReinterpretCast[*C.ImDrawList](selfArg), internal.ReinterpretCast[C.ImVec2](center.ToC()), C.float(radius), C.int(a_min_of_12), C.int(a_max_of_12)) @@ -574,7 +574,7 @@ func (self *DrawList) PathArcToFast(center Vec2, radius float32, a_min_of_12 int // Cubic Bezier (4 control points) // PathBezierCubicCurveToV parameter default value hint: // num_segments: 0 -func (self *DrawList) PathBezierCubicCurveToV(p2 Vec2, p3 Vec2, p4 Vec2, num_segments int32) { +func (self *DrawList) PathBezierCubicCurveToV(p2, p3, p4 Vec2, num_segments int32) { selfArg, selfFin := self.Handle() C.ImDrawList_PathBezierCubicCurveTo(internal.ReinterpretCast[*C.ImDrawList](selfArg), internal.ReinterpretCast[C.ImVec2](p2.ToC()), internal.ReinterpretCast[C.ImVec2](p3.ToC()), internal.ReinterpretCast[C.ImVec2](p4.ToC()), C.int(num_segments)) @@ -584,7 +584,7 @@ func (self *DrawList) PathBezierCubicCurveToV(p2 Vec2, p3 Vec2, p4 Vec2, num_seg // Quadratic Bezier (3 control points) // PathBezierQuadraticCurveToV parameter default value hint: // num_segments: 0 -func (self *DrawList) PathBezierQuadraticCurveToV(p2 Vec2, p3 Vec2, num_segments int32) { +func (self *DrawList) PathBezierQuadraticCurveToV(p2, p3 Vec2, num_segments int32) { selfArg, selfFin := self.Handle() C.ImDrawList_PathBezierQuadraticCurveTo(internal.ReinterpretCast[*C.ImDrawList](selfArg), internal.ReinterpretCast[C.ImVec2](p2.ToC()), internal.ReinterpretCast[C.ImVec2](p3.ToC()), C.int(num_segments)) @@ -601,7 +601,7 @@ func (self *DrawList) PathClear() { // Ellipse // PathEllipticalArcToV parameter default value hint: // num_segments: 0 -func (self *DrawList) PathEllipticalArcToV(center Vec2, radius Vec2, rot float32, a_min float32, a_max float32, num_segments int32) { +func (self *DrawList) PathEllipticalArcToV(center, radius Vec2, rot, a_min, a_max float32, num_segments int32) { selfArg, selfFin := self.Handle() C.ImDrawList_PathEllipticalArcTo(internal.ReinterpretCast[*C.ImDrawList](selfArg), internal.ReinterpretCast[C.ImVec2](center.ToC()), internal.ReinterpretCast[C.ImVec2](radius.ToC()), C.float(rot), C.float(a_min), C.float(a_max), C.int(num_segments)) @@ -639,7 +639,7 @@ func (self *DrawList) PathLineToMergeDuplicate(pos Vec2) { // PathRectV parameter default value hint: // rounding: 0.0f // flags: 0 -func (self *DrawList) PathRectV(rect_min Vec2, rect_max Vec2, rounding float32, flags DrawFlags) { +func (self *DrawList) PathRectV(rect_min, rect_max Vec2, rounding float32, flags DrawFlags) { selfArg, selfFin := self.Handle() C.ImDrawList_PathRect(internal.ReinterpretCast[*C.ImDrawList](selfArg), internal.ReinterpretCast[C.ImVec2](rect_min.ToC()), internal.ReinterpretCast[C.ImVec2](rect_max.ToC()), C.float(rounding), C.ImDrawFlags(flags)) @@ -670,7 +670,7 @@ func (self *DrawList) PopTextureID() { selfFin() } -func (self *DrawList) PrimQuadUV(a Vec2, b Vec2, c Vec2, d Vec2, uv_a Vec2, uv_b Vec2, uv_c Vec2, uv_d Vec2, col uint32) { +func (self *DrawList) PrimQuadUV(a, b, c, d, uv_a, uv_b, uv_c, uv_d Vec2, col uint32) { selfArg, selfFin := self.Handle() C.ImDrawList_PrimQuadUV(internal.ReinterpretCast[*C.ImDrawList](selfArg), internal.ReinterpretCast[C.ImVec2](a.ToC()), internal.ReinterpretCast[C.ImVec2](b.ToC()), internal.ReinterpretCast[C.ImVec2](c.ToC()), internal.ReinterpretCast[C.ImVec2](d.ToC()), internal.ReinterpretCast[C.ImVec2](uv_a.ToC()), internal.ReinterpretCast[C.ImVec2](uv_b.ToC()), internal.ReinterpretCast[C.ImVec2](uv_c.ToC()), internal.ReinterpretCast[C.ImVec2](uv_d.ToC()), C.ImU32(col)) @@ -678,28 +678,28 @@ func (self *DrawList) PrimQuadUV(a Vec2, b Vec2, c Vec2, d Vec2, uv_a Vec2, uv_b } // Axis aligned rectangle (composed of two triangles) -func (self *DrawList) PrimRect(a Vec2, b Vec2, col uint32) { +func (self *DrawList) PrimRect(a, b Vec2, col uint32) { selfArg, selfFin := self.Handle() C.ImDrawList_PrimRect(internal.ReinterpretCast[*C.ImDrawList](selfArg), internal.ReinterpretCast[C.ImVec2](a.ToC()), internal.ReinterpretCast[C.ImVec2](b.ToC()), C.ImU32(col)) selfFin() } -func (self *DrawList) PrimRectUV(a Vec2, b Vec2, uv_a Vec2, uv_b Vec2, col uint32) { +func (self *DrawList) PrimRectUV(a, b, uv_a, uv_b Vec2, col uint32) { selfArg, selfFin := self.Handle() C.ImDrawList_PrimRectUV(internal.ReinterpretCast[*C.ImDrawList](selfArg), internal.ReinterpretCast[C.ImVec2](a.ToC()), internal.ReinterpretCast[C.ImVec2](b.ToC()), internal.ReinterpretCast[C.ImVec2](uv_a.ToC()), internal.ReinterpretCast[C.ImVec2](uv_b.ToC()), C.ImU32(col)) selfFin() } -func (self *DrawList) PrimReserve(idx_count int32, vtx_count int32) { +func (self *DrawList) PrimReserve(idx_count, vtx_count int32) { selfArg, selfFin := self.Handle() C.ImDrawList_PrimReserve(internal.ReinterpretCast[*C.ImDrawList](selfArg), C.int(idx_count), C.int(vtx_count)) selfFin() } -func (self *DrawList) PrimUnreserve(idx_count int32, vtx_count int32) { +func (self *DrawList) PrimUnreserve(idx_count, vtx_count int32) { selfArg, selfFin := self.Handle() C.ImDrawList_PrimUnreserve(internal.ReinterpretCast[*C.ImDrawList](selfArg), C.int(idx_count), C.int(vtx_count)) @@ -707,7 +707,7 @@ func (self *DrawList) PrimUnreserve(idx_count int32, vtx_count int32) { } // Write vertex with unique index -func (self *DrawList) PrimVtx(pos Vec2, uv Vec2, col uint32) { +func (self *DrawList) PrimVtx(pos, uv Vec2, col uint32) { selfArg, selfFin := self.Handle() C.ImDrawList_PrimVtx(internal.ReinterpretCast[*C.ImDrawList](selfArg), internal.ReinterpretCast[C.ImVec2](pos.ToC()), internal.ReinterpretCast[C.ImVec2](uv.ToC()), C.ImU32(col)) @@ -723,7 +723,7 @@ func (self *DrawList) PrimWriteIdx(idx DrawIdx) { idxFin() } -func (self *DrawList) PrimWriteVtx(pos Vec2, uv Vec2, col uint32) { +func (self *DrawList) PrimWriteVtx(pos, uv Vec2, col uint32) { selfArg, selfFin := self.Handle() C.ImDrawList_PrimWriteVtx(internal.ReinterpretCast[*C.ImDrawList](selfArg), internal.ReinterpretCast[C.ImVec2](pos.ToC()), internal.ReinterpretCast[C.ImVec2](uv.ToC()), C.ImU32(col)) @@ -733,7 +733,7 @@ func (self *DrawList) PrimWriteVtx(pos Vec2, uv Vec2, col uint32) { // Render-level scissoring. This is passed down to your render function but not used for CPU-side coarse clipping. Prefer using higher-level ImGui::PushClipRect() to affect logic (hit-testing and widget culling) // PushClipRectV parameter default value hint: // intersect_with_current_clip_rect: false -func (self *DrawList) PushClipRectV(clip_rect_min Vec2, clip_rect_max Vec2, intersect_with_current_clip_rect bool) { +func (self *DrawList) PushClipRectV(clip_rect_min, clip_rect_max Vec2, intersect_with_current_clip_rect bool) { selfArg, selfFin := self.Handle() C.ImDrawList_PushClipRect(internal.ReinterpretCast[*C.ImDrawList](selfArg), internal.ReinterpretCast[C.ImVec2](clip_rect_min.ToC()), internal.ReinterpretCast[C.ImVec2](clip_rect_max.ToC()), C.bool(intersect_with_current_clip_rect)) @@ -793,14 +793,14 @@ func (self *DrawList) OnChangedVtxOffset() { selfFin() } -func (self *DrawList) PathArcToFastEx(center Vec2, radius float32, a_min_sample int32, a_max_sample int32, a_step int32) { +func (self *DrawList) PathArcToFastEx(center Vec2, radius float32, a_min_sample, a_max_sample, a_step int32) { selfArg, selfFin := self.Handle() C.ImDrawList__PathArcToFastEx(internal.ReinterpretCast[*C.ImDrawList](selfArg), internal.ReinterpretCast[C.ImVec2](center.ToC()), C.float(radius), C.int(a_min_sample), C.int(a_max_sample), C.int(a_step)) selfFin() } -func (self *DrawList) PathArcToN(center Vec2, radius float32, a_min float32, a_max float32, num_segments int32) { +func (self *DrawList) PathArcToN(center Vec2, radius, a_min, a_max float32, num_segments int32) { selfArg, selfFin := self.Handle() C.ImDrawList__PathArcToN(internal.ReinterpretCast[*C.ImDrawList](selfArg), internal.ReinterpretCast[C.ImVec2](center.ToC()), C.float(radius), C.float(a_min), C.float(a_max), C.int(num_segments)) @@ -866,7 +866,7 @@ func (self *FontAtlasCustomRect) Destroy() { // AddCustomRectFontGlyphV parameter default value hint: // offset: ImVec2(0,0) -func (self *FontAtlas) AddCustomRectFontGlyphV(font *Font, id Wchar, width int32, height int32, advance_x float32, offset Vec2) int32 { +func (self *FontAtlas) AddCustomRectFontGlyphV(font *Font, id Wchar, width, height int32, advance_x float32, offset Vec2) int32 { selfArg, selfFin := self.Handle() fontArg, fontFin := font.Handle() @@ -877,7 +877,7 @@ func (self *FontAtlas) AddCustomRectFontGlyphV(font *Font, id Wchar, width int32 return int32(C.ImFontAtlas_AddCustomRectFontGlyph(internal.ReinterpretCast[*C.ImFontAtlas](selfArg), internal.ReinterpretCast[*C.ImFont](fontArg), C.ImWchar(id), C.int(width), C.int(height), C.float(advance_x), internal.ReinterpretCast[C.ImVec2](offset.ToC()))) } -func (self *FontAtlas) AddCustomRectRegular(width int32, height int32) int32 { +func (self *FontAtlas) AddCustomRectRegular(width, height int32) int32 { selfArg, selfFin := self.Handle() defer func() { @@ -983,7 +983,7 @@ func (self *FontAtlas) Build() bool { return C.ImFontAtlas_Build(internal.ReinterpretCast[*C.ImFontAtlas](selfArg)) == C.bool(true) } -func (self *FontAtlas) CalcCustomRectUV(rect *FontAtlasCustomRect, out_uv_min *Vec2, out_uv_max *Vec2) { +func (self *FontAtlas) CalcCustomRectUV(rect *FontAtlasCustomRect, out_uv_min, out_uv_max *Vec2) { selfArg, selfFin := self.Handle() rectArg, rectFin := rect.Handle() out_uv_minArg, out_uv_minFin := internal.Wrap(out_uv_min) @@ -1127,7 +1127,7 @@ func (self *FontAtlas) GlyphRangesVietnamese() *Wchar { return (*Wchar)(C.ImFontAtlas_GetGlyphRangesVietnamese(internal.ReinterpretCast[*C.ImFontAtlas](selfArg))) } -func (self *FontAtlas) MouseCursorTexData(cursor MouseCursor, out_offset *Vec2, out_size *Vec2, out_uv_border [2]*Vec2, out_uv_fill [2]*Vec2) bool { +func (self *FontAtlas) MouseCursorTexData(cursor MouseCursor, out_offset, out_size *Vec2, out_uv_border, out_uv_fill [2]*Vec2) bool { selfArg, selfFin := self.Handle() out_offsetArg, out_offsetFin := internal.Wrap(out_offset) out_sizeArg, out_sizeFin := internal.Wrap(out_size) @@ -1267,7 +1267,7 @@ func (self *FontGlyphRangesBuilder) Destroy() { selfFin() } -func (self *Font) AddGlyph(src_cfg *FontConfig, c Wchar, x0 float32, y0 float32, x1 float32, y1 float32, u0 float32, v0 float32, u1 float32, v1 float32, advance_x float32) { +func (self *Font) AddGlyph(src_cfg *FontConfig, c Wchar, x0, y0, x1, y1, u0, v0, u1, v1, advance_x float32) { selfArg, selfFin := self.Handle() src_cfgArg, src_cfgFin := src_cfg.Handle() C.ImFont_AddGlyph(internal.ReinterpretCast[*C.ImFont](selfArg), internal.ReinterpretCast[*C.ImFontConfig](src_cfgArg), C.ImWchar(c), C.float(x0), C.float(y0), C.float(x1), C.float(y1), C.float(u0), C.float(v0), C.float(u1), C.float(v1), C.float(advance_x)) @@ -1279,7 +1279,7 @@ func (self *Font) AddGlyph(src_cfg *FontConfig, c Wchar, x0 float32, y0 float32, // Makes 'dst' character/glyph points to 'src' character/glyph. Currently needs to be called AFTER fonts have been built. // AddRemapCharV parameter default value hint: // overwrite_dst: true -func (self *Font) AddRemapCharV(dst Wchar, src Wchar, overwrite_dst bool) { +func (self *Font) AddRemapCharV(dst, src Wchar, overwrite_dst bool) { selfArg, selfFin := self.Handle() C.ImFont_AddRemapChar(internal.ReinterpretCast[*C.ImFont](selfArg), C.ImWchar(dst), C.ImWchar(src), C.bool(overwrite_dst)) @@ -1296,7 +1296,7 @@ func (self *Font) BuildLookupTable() { // utf8 // CalcTextSizeAV parameter default value hint: // remaining: NULL -func (self *Font) CalcTextSizeAV(size float32, max_width float32, wrap_width float32, text_begin string, remaining []string) Vec2 { +func (self *Font) CalcTextSizeAV(size, max_width, wrap_width float32, text_begin string, remaining []string) Vec2 { pOut := new(Vec2) pOutArg, pOutFin := internal.Wrap(pOut) @@ -1378,7 +1378,7 @@ func NewFont() *Font { return NewFontFromC(C.ImFont_ImFont()) } -func (self *Font) IsGlyphRangeUnused(c_begin uint32, c_last uint32) bool { +func (self *Font) IsGlyphRangeUnused(c_begin, c_last uint32) bool { selfArg, selfFin := self.Handle() defer func() { @@ -1720,7 +1720,7 @@ func (self *IO) AddMouseButtonEvent(button int32, down bool) { } // Queue a mouse position update. Use -FLT_MAX,-FLT_MAX to signify no mouse (e.g. app not focused and not hovered) -func (self *IO) AddMousePosEvent(x float32, y float32) { +func (self *IO) AddMousePosEvent(x, y float32) { selfArg, selfFin := self.Handle() C.ImGuiIO_AddMousePosEvent(internal.ReinterpretCast[*C.ImGuiIO](selfArg), C.float(x), C.float(y)) @@ -1746,7 +1746,7 @@ func (self *IO) AddMouseViewportEvent(id ID) { } // Queue a mouse wheel update. wheel_y<0: scroll down, wheel_y>0: scroll up, wheel_x<0: scroll right, wheel_x>0: scroll left. -func (self *IO) AddMouseWheelEvent(wheel_x float32, wheel_y float32) { +func (self *IO) AddMouseWheelEvent(wheel_x, wheel_y float32) { selfArg, selfFin := self.Handle() C.ImGuiIO_AddMouseWheelEvent(internal.ReinterpretCast[*C.ImGuiIO](selfArg), C.float(wheel_x), C.float(wheel_y)) @@ -1792,7 +1792,7 @@ func (self *IO) SetAppAcceptingEvents(accepting_events bool) { // [Optional] Specify index for legacy <1.87 IsKeyXXX() functions with native indices + specify native keycode, scancode. // SetKeyEventNativeDataV parameter default value hint: // native_legacy_index: -1 -func (self *IO) SetKeyEventNativeDataV(key Key, native_keycode int32, native_scancode int32, native_legacy_index int32) { +func (self *IO) SetKeyEventNativeDataV(key Key, native_keycode, native_scancode, native_legacy_index int32) { selfArg, selfFin := self.Handle() C.ImGuiIO_SetKeyEventNativeData(internal.ReinterpretCast[*C.ImGuiIO](selfArg), C.ImGuiKey(key), C.int(native_keycode), C.int(native_scancode), C.int(native_legacy_index)) @@ -1824,7 +1824,7 @@ func (self *InputTextCallbackData) ClearSelection() { selfFin() } -func (self *InputTextCallbackData) DeleteChars(pos int32, bytes_count int32) { +func (self *InputTextCallbackData) DeleteChars(pos, bytes_count int32) { selfArg, selfFin := self.Handle() C.ImGuiInputTextCallbackData_DeleteChars(internal.ReinterpretCast[*C.ImGuiInputTextCallbackData](selfArg), C.int(pos), C.int(bytes_count)) @@ -2082,14 +2082,14 @@ func (self *ListClipperData) Destroy() { selfFin() } -func InternalListClipperRangeFromIndices(min int32, max int32) ListClipperRange { +func InternalListClipperRangeFromIndices(min, max int32) ListClipperRange { return *NewListClipperRangeFromC(func() *C.ImGuiListClipperRange { result := C.ImGuiListClipperRange_FromIndices(C.int(min), C.int(max)) return &result }()) } -func InternalListClipperRangeFromPositions(y1 float32, y2 float32, off_min int32, off_max int32) ListClipperRange { +func InternalListClipperRangeFromPositions(y1, y2 float32, off_min, off_max int32) ListClipperRange { return *NewListClipperRangeFromC(func() *C.ImGuiListClipperRange { result := C.ImGuiListClipperRange_FromPositions(C.float(y1), C.float(y2), C.int(off_min), C.int(off_max)) return &result @@ -2125,7 +2125,7 @@ func (self *ListClipper) IncludeItemByIndex(item_index int32) { } // item_end is exclusive e.g. use (42, 42+1) to make item 42 never clipped. -func (self *ListClipper) IncludeItemsByIndex(item_begin int32, item_end int32) { +func (self *ListClipper) IncludeItemsByIndex(item_begin, item_end int32) { selfArg, selfFin := self.Handle() C.ImGuiListClipper_IncludeItemsByIndex(internal.ReinterpretCast[*C.ImGuiListClipper](selfArg), C.int(item_begin), C.int(item_end)) @@ -2163,7 +2163,7 @@ func (self *MenuColumns) InternalCalcNextTotalWidth(update_offsets bool) { selfFin() } -func (self *MenuColumns) InternalDeclColumns(w_icon float32, w_label float32, w_shortcut float32, w_mark float32) float32 { +func (self *MenuColumns) InternalDeclColumns(w_icon, w_label, w_shortcut, w_mark float32) float32 { selfArg, selfFin := self.Handle() defer func() { @@ -2881,7 +2881,7 @@ func NewTextBuffer() *TextBuffer { // AppendV parameter default value hint: // str_end: NULL -func (self *TextBuffer) AppendV(str string, str_end string) { +func (self *TextBuffer) AppendV(str, str_end string) { selfArg, selfFin := self.Handle() strArg, strFin := internal.WrapString[C.char](str) str_endArg, str_endFin := internal.WrapString[C.char](str_end) @@ -3027,7 +3027,7 @@ func (self *TextFilter) Destroy() { selfFin() } -func (self *TextIndex) InternalAppend(base string, old_size int32, new_size int32) { +func (self *TextIndex) InternalAppend(base string, old_size, new_size int32) { selfArg, selfFin := self.Handle() baseArg, baseFin := internal.WrapString[C.char](base) C.ImGuiTextIndex_append(internal.ReinterpretCast[*C.ImGuiTextIndex](selfArg), baseArg, C.int(old_size), C.int(new_size)) @@ -3078,7 +3078,7 @@ func NewTextRangeNil() *TextRange { return NewTextRangeFromC(C.ImGuiTextRange_ImGuiTextRange_Nil()) } -func NewTextRangeStr(_b string, _e string) *TextRange { +func NewTextRangeStr(_b, _e string) *TextRange { _bArg, _bFin := internal.WrapString[C.char](_b) _eArg, _eFin := internal.WrapString[C.char](_e) @@ -3137,7 +3137,7 @@ func (self *ViewportP) InternalCalcWorkRectPos(inset_min Vec2) Vec2 { return *pOut } -func (self *ViewportP) InternalCalcWorkRectSize(inset_min Vec2, inset_max Vec2) Vec2 { +func (self *ViewportP) InternalCalcWorkRectSize(inset_min, inset_max Vec2) Vec2 { pOut := new(Vec2) pOutArg, pOutFin := internal.Wrap(pOut) @@ -3342,7 +3342,7 @@ func (self *Window) InternalIDPtr(ptr uintptr) ID { // InternalIDStrV parameter default value hint: // str_end: NULL -func (self *Window) InternalIDStrV(str string, str_end string) ID { +func (self *Window) InternalIDStrV(str, str_end string) ID { selfArg, selfFin := self.Handle() strArg, strFin := internal.WrapString[C.char](str) str_endArg, str_endFin := internal.WrapString[C.char](str_end) @@ -3445,7 +3445,7 @@ func (self *Rect) InternalClipWithFull(r Rect) { selfFin() } -func (self *Rect) InternalContainsWithPad(p Vec2, pad Vec2) bool { +func (self *Rect) InternalContainsWithPad(p, pad Vec2) bool { selfArg, selfFin := internal.Wrap(self) defer func() { @@ -3683,7 +3683,7 @@ func (self *Vec2) Destroy() { selfFin() } -func NewVec4Float(_x float32, _y float32, _z float32, _w float32) *Vec4 { +func NewVec4Float(_x, _y, _z, _w float32) *Vec4 { return (&Vec4{}).FromC(unsafe.Pointer(C.ImVec4_ImVec4_Float(C.float(_x), C.float(_y), C.float(_z), C.float(_w)))) } @@ -3839,7 +3839,7 @@ func InternalBeginColumnsV(str_id string, count int32, flags OldColumnFlags) { // BeginComboV parameter default value hint: // flags: 0 -func BeginComboV(label string, preview_value string, flags ComboFlags) bool { +func BeginComboV(label, preview_value string, flags ComboFlags) bool { labelArg, labelFin := internal.WrapString[C.char](label) preview_valueArg, preview_valueFin := internal.WrapString[C.char](preview_value) @@ -3967,7 +3967,7 @@ func BeginMenuBar() bool { // InternalBeginMenuExV parameter default value hint: // enabled: true -func InternalBeginMenuExV(label string, icon string, enabled bool) bool { +func InternalBeginMenuExV(label, icon string, enabled bool) bool { labelArg, labelFin := internal.WrapString[C.char](label) iconArg, iconFin := internal.WrapString[C.char](icon) @@ -3981,7 +3981,7 @@ func InternalBeginMenuExV(label string, icon string, enabled bool) bool { // BeginMultiSelectV parameter default value hint: // selection_size: -1 // items_count: -1 -func BeginMultiSelectV(flags MultiSelectFlags, selection_size int32, items_count int32) *MultiSelectIO { +func BeginMultiSelectV(flags MultiSelectFlags, selection_size, items_count int32) *MultiSelectIO { return NewMultiSelectIOFromC(C.igBeginMultiSelect(C.ImGuiMultiSelectFlags(flags), C.int(selection_size), C.int(items_count))) } @@ -4155,7 +4155,7 @@ func InternalBringWindowToDisplayBack(window *Window) { windowFin() } -func InternalBringWindowToDisplayBehind(window *Window, above_window *Window) { +func InternalBringWindowToDisplayBehind(window, above_window *Window) { windowArg, windowFin := window.Handle() above_windowArg, above_windowFin := above_window.Handle() C.igBringWindowToDisplayBehind(internal.ReinterpretCast[*C.ImGuiWindow](windowArg), internal.ReinterpretCast[*C.ImGuiWindow](above_windowArg)) @@ -4205,7 +4205,7 @@ func ButtonV(label string, size Vec2) bool { // InternalButtonBehaviorV parameter default value hint: // flags: 0 -func InternalButtonBehaviorV(bb Rect, id ID, out_hovered *bool, out_held *bool, flags ButtonFlags) bool { +func InternalButtonBehaviorV(bb Rect, id ID, out_hovered, out_held *bool, flags ButtonFlags) bool { idArg, idFin := id.C() out_hoveredArg, out_hoveredFin := internal.WrapNumberPtr[C.bool, bool](out_hovered) out_heldArg, out_heldFin := internal.WrapNumberPtr[C.bool, bool](out_held) @@ -4230,7 +4230,7 @@ func InternalButtonExV(label string, size_arg Vec2, flags ButtonFlags) bool { return C.igButtonEx(labelArg, internal.ReinterpretCast[C.ImVec2](size_arg.ToC()), C.ImGuiButtonFlags(flags)) == C.bool(true) } -func InternalCalcItemSize(size Vec2, default_w float32, default_h float32) Vec2 { +func InternalCalcItemSize(size Vec2, default_w, default_h float32) Vec2 { pOut := new(Vec2) pOutArg, pOutFin := internal.Wrap(pOut) @@ -4246,7 +4246,7 @@ func CalcItemWidth() float32 { return float32(C.igCalcItemWidth()) } -func InternalCalcRoundingFlagsForRectInRect(r_in Rect, r_outer Rect, threshold float32) DrawFlags { +func InternalCalcRoundingFlagsForRectInRect(r_in, r_outer Rect, threshold float32) DrawFlags { return DrawFlags(C.igCalcRoundingFlagsForRectInRect(internal.ReinterpretCast[C.ImRect](r_in.ToC()), internal.ReinterpretCast[C.ImRect](r_outer.ToC()), C.float(threshold))) } @@ -4266,7 +4266,7 @@ func CalcTextSizeV(text string, hide_text_after_double_hash bool, wrap_width flo return *pOut } -func InternalCalcTypematicRepeatAmount(t0 float32, t1 float32, repeat_delay float32, repeat_rate float32) int32 { +func InternalCalcTypematicRepeatAmount(t0, t1, repeat_delay, repeat_rate float32) int32 { return int32(C.igCalcTypematicRepeatAmount(C.float(t0), C.float(t1), C.float(repeat_delay), C.float(repeat_rate))) } @@ -4451,7 +4451,7 @@ func ColorConvertFloat4ToU32(in Vec4) uint32 { return (uint32)(C.igColorConvertFloat4ToU32(internal.ReinterpretCast[C.ImVec4](in.ToC()))) } -func ColorConvertHSVtoRGB(h float32, s float32, v float32, out_r *float32, out_g *float32, out_b *float32) { +func ColorConvertHSVtoRGB(h, s, v float32, out_r, out_g, out_b *float32) { out_rArg, out_rFin := internal.WrapNumberPtr[C.float, float32](out_r) out_gArg, out_gFin := internal.WrapNumberPtr[C.float, float32](out_g) out_bArg, out_bFin := internal.WrapNumberPtr[C.float, float32](out_b) @@ -4462,7 +4462,7 @@ func ColorConvertHSVtoRGB(h float32, s float32, v float32, out_r *float32, out_g out_bFin() } -func ColorConvertRGBtoHSV(r float32, g float32, b float32, out_h *float32, out_s *float32, out_v *float32) { +func ColorConvertRGBtoHSV(r, g, b float32, out_h, out_s, out_v *float32) { out_hArg, out_hFin := internal.WrapNumberPtr[C.float, float32](out_h) out_sArg, out_sFin := internal.WrapNumberPtr[C.float, float32](out_s) out_vArg, out_vFin := internal.WrapNumberPtr[C.float, float32](out_v) @@ -4620,7 +4620,7 @@ func ComboStrV(label string, current_item *int32, items_separated_by_zeros strin // ComboStrarrV parameter default value hint: // popup_max_height_in_items: -1 -func ComboStrarrV(label string, current_item *int32, items []string, items_count int32, popup_max_height_in_items int32) bool { +func ComboStrarrV(label string, current_item *int32, items []string, items_count, popup_max_height_in_items int32) bool { labelArg, labelFin := internal.WrapString[C.char](label) current_itemArg, current_itemFin := internal.WrapNumberPtr[C.int, int32](current_item) itemsArg, itemsFin := internal.WrapStringList[C.char](items) @@ -4670,15 +4670,15 @@ func InternalDataTypeApplyFromTextV(buf string, data_type DataType, p_data uintp return C.wrap_igDataTypeApplyFromTextV(bufArg, C.ImGuiDataType(data_type), C.uintptr_t(p_data), formatArg, C.uintptr_t(p_data_when_empty)) == C.bool(true) } -func InternalDataTypeApplyOp(data_type DataType, op int32, output uintptr, arg_1 uintptr, arg_2 uintptr) { +func InternalDataTypeApplyOp(data_type DataType, op int32, output, arg_1, arg_2 uintptr) { C.wrap_igDataTypeApplyOp(C.ImGuiDataType(data_type), C.int(op), C.uintptr_t(output), C.uintptr_t(arg_1), C.uintptr_t(arg_2)) } -func InternalDataTypeClamp(data_type DataType, p_data uintptr, p_min uintptr, p_max uintptr) bool { +func InternalDataTypeClamp(data_type DataType, p_data, p_min, p_max uintptr) bool { return C.wrap_igDataTypeClamp(C.ImGuiDataType(data_type), C.uintptr_t(p_data), C.uintptr_t(p_min), C.uintptr_t(p_max)) == C.bool(true) } -func InternalDataTypeCompare(data_type DataType, arg_1 uintptr, arg_2 uintptr) int32 { +func InternalDataTypeCompare(data_type DataType, arg_1, arg_2 uintptr) int32 { return int32(C.wrap_igDataTypeCompare(C.ImGuiDataType(data_type), C.uintptr_t(arg_1), C.uintptr_t(arg_2))) } @@ -4709,7 +4709,7 @@ func InternalDebugAllocHook(info *DebugAllocInfo, frame_count int32, ptr uintptr infoFin() } -func InternalDebugBreakButton(label string, description_of_location string) bool { +func InternalDebugBreakButton(label, description_of_location string) bool { labelArg, labelFin := internal.WrapString[C.char](label) description_of_locationArg, description_of_locationFin := internal.WrapString[C.char](description_of_location) @@ -4732,7 +4732,7 @@ func InternalDebugBreakClearData() { } // This is called by IMGUI_CHECKVERSION() macro. -func DebugCheckVersionAndDataLayout(version_str string, sz_io uint64, sz_style uint64, sz_vec2 uint64, sz_vec4 uint64, sz_drawvert uint64, sz_drawidx uint64) bool { +func DebugCheckVersionAndDataLayout(version_str string, sz_io, sz_style, sz_vec2, sz_vec4, sz_drawvert, sz_drawidx uint64) bool { version_strArg, version_strFin := internal.WrapString[C.char](version_str) defer func() { @@ -4763,7 +4763,7 @@ func DebugFlashStyleColor(idx Col) { C.igDebugFlashStyleColor(C.ImGuiCol(idx)) } -func InternalDebugHookIdInfo(id ID, data_type DataType, data_id uintptr, data_id_end uintptr) { +func InternalDebugHookIdInfo(id ID, data_type DataType, data_id, data_id_end uintptr) { idArg, idFin := id.C() C.wrap_igDebugHookIdInfo(internal.ReinterpretCast[C.ImGuiID](idArg), C.ImGuiDataType(data_type), C.uintptr_t(data_id), C.uintptr_t(data_id_end)) @@ -4814,7 +4814,7 @@ func InternalDebugNodeDockNode(node *DockNode, label string) { labelFin() } -func InternalDebugNodeDrawCmdShowMeshAndBoundingBox(out_draw_list *DrawList, draw_list *DrawList, draw_cmd *DrawCmd, show_mesh bool, show_aabb bool) { +func InternalDebugNodeDrawCmdShowMeshAndBoundingBox(out_draw_list, draw_list *DrawList, draw_cmd *DrawCmd, show_mesh, show_aabb bool) { out_draw_listArg, out_draw_listFin := out_draw_list.Handle() draw_listArg, draw_listFin := draw_list.Handle() draw_cmdArg, draw_cmdFin := draw_cmd.Handle() @@ -4966,7 +4966,7 @@ func DebugTextEncoding(text string) { textFin() } -func InternalDebugTextUnformattedWithLocateItem(line_begin string, line_end string) { +func InternalDebugTextUnformattedWithLocateItem(line_begin, line_end string) { line_beginArg, line_beginFin := internal.WrapString[C.char](line_begin) line_endArg, line_endFin := internal.WrapString[C.char](line_end) C.igDebugTextUnformattedWithLocateItem(line_beginArg, line_endArg) @@ -5012,7 +5012,7 @@ func InternalDockBuilderAddNodeV(node_id ID, flags DockNodeFlags) ID { }()) } -func InternalDockBuilderCopyWindowSettings(src_name string, dst_name string) { +func InternalDockBuilderCopyWindowSettings(src_name, dst_name string) { src_nameArg, src_nameFin := internal.WrapString[C.char](src_name) dst_nameArg, dst_nameFin := internal.WrapString[C.char](dst_name) C.igDockBuilderCopyWindowSettings(src_nameArg, dst_nameArg) @@ -5095,7 +5095,7 @@ func InternalDockBuilderSetNodeSize(node_id ID, size Vec2) { } // Create 2 child nodes in this parent node. -func InternalDockBuilderSplitNode(node_id ID, split_dir Dir, size_ratio_for_node_at_dir float32, out_id_at_dir *ID, out_id_at_opposite_dir *ID) ID { +func InternalDockBuilderSplitNode(node_id ID, split_dir Dir, size_ratio_for_node_at_dir float32, out_id_at_dir, out_id_at_opposite_dir *ID) ID { node_idArg, node_idFin := node_id.C() out_id_at_dirArg, out_id_at_dirFin := out_id_at_dir.Handle() out_id_at_opposite_dirArg, out_id_at_opposite_dirFin := out_id_at_opposite_dir.Handle() @@ -5297,7 +5297,7 @@ func InternalDockNodeGetWindowMenuButtonId(node *DockNode) ID { }()) } -func InternalDockNodeIsInHierarchyOf(node *DockNode, parent *DockNode) bool { +func InternalDockNodeIsInHierarchyOf(node, parent *DockNode) bool { nodeArg, nodeFin := node.Handle() parentArg, parentFin := parent.Handle() @@ -5358,7 +5358,7 @@ func DockSpaceOverViewportV(dockspace_id ID, viewport *Viewport, flags DockNodeF }()) } -func InternalDragBehavior(id ID, data_type DataType, p_v uintptr, v_speed float32, p_min uintptr, p_max uintptr, format string, flags SliderFlags) bool { +func InternalDragBehavior(id ID, data_type DataType, p_v uintptr, v_speed float32, p_min, p_max uintptr, format string, flags SliderFlags) bool { idArg, idFin := id.C() formatArg, formatFin := internal.WrapString[C.char](format) @@ -5376,7 +5376,7 @@ func InternalDragBehavior(id ID, data_type DataType, p_v uintptr, v_speed float3 // v_max: 0.0f // format: "%.3f" // flags: 0 -func DragFloatV(label string, v *float32, v_speed float32, v_min float32, v_max float32, format string, flags SliderFlags) bool { +func DragFloatV(label string, v *float32, v_speed, v_min, v_max float32, format string, flags SliderFlags) bool { labelArg, labelFin := internal.WrapString[C.char](label) vArg, vFin := internal.WrapNumberPtr[C.float, float32](v) formatArg, formatFin := internal.WrapString[C.char](format) @@ -5395,7 +5395,7 @@ func DragFloatV(label string, v *float32, v_speed float32, v_min float32, v_max // v_max: 0.0f // format: "%.3f" // flags: 0 -func DragFloat2V(label string, v *[2]float32, v_speed float32, v_min float32, v_max float32, format string, flags SliderFlags) bool { +func DragFloat2V(label string, v *[2]float32, v_speed, v_min, v_max float32, format string, flags SliderFlags) bool { labelArg, labelFin := internal.WrapString[C.char](label) vArg := make([]C.float, len(v)) @@ -5422,7 +5422,7 @@ func DragFloat2V(label string, v *[2]float32, v_speed float32, v_min float32, v_ // v_max: 0.0f // format: "%.3f" // flags: 0 -func DragFloat3V(label string, v *[3]float32, v_speed float32, v_min float32, v_max float32, format string, flags SliderFlags) bool { +func DragFloat3V(label string, v *[3]float32, v_speed, v_min, v_max float32, format string, flags SliderFlags) bool { labelArg, labelFin := internal.WrapString[C.char](label) vArg := make([]C.float, len(v)) @@ -5449,7 +5449,7 @@ func DragFloat3V(label string, v *[3]float32, v_speed float32, v_min float32, v_ // v_max: 0.0f // format: "%.3f" // flags: 0 -func DragFloat4V(label string, v *[4]float32, v_speed float32, v_min float32, v_max float32, format string, flags SliderFlags) bool { +func DragFloat4V(label string, v *[4]float32, v_speed, v_min, v_max float32, format string, flags SliderFlags) bool { labelArg, labelFin := internal.WrapString[C.char](label) vArg := make([]C.float, len(v)) @@ -5477,7 +5477,7 @@ func DragFloat4V(label string, v *[4]float32, v_speed float32, v_min float32, v_ // format: "%.3f" // format_max: NULL // flags: 0 -func DragFloatRange2V(label string, v_current_min *float32, v_current_max *float32, v_speed float32, v_min float32, v_max float32, format string, format_max string, flags SliderFlags) bool { +func DragFloatRange2V(label string, v_current_min, v_current_max *float32, v_speed, v_min, v_max float32, format, format_max string, flags SliderFlags) bool { labelArg, labelFin := internal.WrapString[C.char](label) v_current_minArg, v_current_minFin := internal.WrapNumberPtr[C.float, float32](v_current_min) v_current_maxArg, v_current_maxFin := internal.WrapNumberPtr[C.float, float32](v_current_max) @@ -5501,7 +5501,7 @@ func DragFloatRange2V(label string, v_current_min *float32, v_current_max *float // v_max: 0 // format: "%d" // flags: 0 -func DragIntV(label string, v *int32, v_speed float32, v_min int32, v_max int32, format string, flags SliderFlags) bool { +func DragIntV(label string, v *int32, v_speed float32, v_min, v_max int32, format string, flags SliderFlags) bool { labelArg, labelFin := internal.WrapString[C.char](label) vArg, vFin := internal.WrapNumberPtr[C.int, int32](v) formatArg, formatFin := internal.WrapString[C.char](format) @@ -5520,7 +5520,7 @@ func DragIntV(label string, v *int32, v_speed float32, v_min int32, v_max int32, // v_max: 0 // format: "%d" // flags: 0 -func DragInt2V(label string, v *[2]int32, v_speed float32, v_min int32, v_max int32, format string, flags SliderFlags) bool { +func DragInt2V(label string, v *[2]int32, v_speed float32, v_min, v_max int32, format string, flags SliderFlags) bool { labelArg, labelFin := internal.WrapString[C.char](label) vArg := make([]C.int, len(v)) @@ -5547,7 +5547,7 @@ func DragInt2V(label string, v *[2]int32, v_speed float32, v_min int32, v_max in // v_max: 0 // format: "%d" // flags: 0 -func DragInt3V(label string, v *[3]int32, v_speed float32, v_min int32, v_max int32, format string, flags SliderFlags) bool { +func DragInt3V(label string, v *[3]int32, v_speed float32, v_min, v_max int32, format string, flags SliderFlags) bool { labelArg, labelFin := internal.WrapString[C.char](label) vArg := make([]C.int, len(v)) @@ -5574,7 +5574,7 @@ func DragInt3V(label string, v *[3]int32, v_speed float32, v_min int32, v_max in // v_max: 0 // format: "%d" // flags: 0 -func DragInt4V(label string, v *[4]int32, v_speed float32, v_min int32, v_max int32, format string, flags SliderFlags) bool { +func DragInt4V(label string, v *[4]int32, v_speed float32, v_min, v_max int32, format string, flags SliderFlags) bool { labelArg, labelFin := internal.WrapString[C.char](label) vArg := make([]C.int, len(v)) @@ -5602,7 +5602,7 @@ func DragInt4V(label string, v *[4]int32, v_speed float32, v_min int32, v_max in // format: "%d" // format_max: NULL // flags: 0 -func DragIntRange2V(label string, v_current_min *int32, v_current_max *int32, v_speed float32, v_min int32, v_max int32, format string, format_max string, flags SliderFlags) bool { +func DragIntRange2V(label string, v_current_min, v_current_max *int32, v_speed float32, v_min, v_max int32, format, format_max string, flags SliderFlags) bool { labelArg, labelFin := internal.WrapString[C.char](label) v_current_minArg, v_current_minFin := internal.WrapNumberPtr[C.int, int32](v_current_min) v_current_maxArg, v_current_maxFin := internal.WrapNumberPtr[C.int, int32](v_current_max) @@ -5625,7 +5625,7 @@ func DragIntRange2V(label string, v_current_min *int32, v_current_max *int32, v_ // p_max: NULL // format: NULL // flags: 0 -func DragScalarV(label string, data_type DataType, p_data uintptr, v_speed float32, p_min uintptr, p_max uintptr, format string, flags SliderFlags) bool { +func DragScalarV(label string, data_type DataType, p_data uintptr, v_speed float32, p_min, p_max uintptr, format string, flags SliderFlags) bool { labelArg, labelFin := internal.WrapString[C.char](label) formatArg, formatFin := internal.WrapString[C.char](format) @@ -5642,7 +5642,7 @@ func DragScalarV(label string, data_type DataType, p_data uintptr, v_speed float // p_max: NULL // format: NULL // flags: 0 -func DragScalarNV(label string, data_type DataType, p_data uintptr, components int32, v_speed float32, p_min uintptr, p_max uintptr, format string, flags SliderFlags) bool { +func DragScalarNV(label string, data_type DataType, p_data uintptr, components int32, v_speed float32, p_min, p_max uintptr, format string, flags SliderFlags) bool { labelArg, labelFin := internal.WrapString[C.char](label) formatArg, formatFin := internal.WrapString[C.char](format) @@ -5816,7 +5816,7 @@ func InternalFindBestWindowPosForPopup(window *Window) Vec2 { return *pOut } -func InternalFindBestWindowPosForPopupEx(ref_pos Vec2, size Vec2, last_dir *Dir, r_outer Rect, r_avoid Rect, policy PopupPositionPolicy) Vec2 { +func InternalFindBestWindowPosForPopupEx(ref_pos, size Vec2, last_dir *Dir, r_outer, r_avoid Rect, policy PopupPositionPolicy) Vec2 { pOut := new(Vec2) pOutArg, pOutFin := internal.Wrap(pOut) @@ -5957,7 +5957,7 @@ func InternalFocusItem() { C.igFocusItem() } -func InternalFocusTopMostWindowUnderOne(under_this_window *Window, ignore_window *Window, filter_viewport *Viewport, flags FocusRequestFlags) { +func InternalFocusTopMostWindowUnderOne(under_this_window, ignore_window *Window, filter_viewport *Viewport, flags FocusRequestFlags) { under_this_windowArg, under_this_windowFin := under_this_window.Handle() ignore_windowArg, ignore_windowFin := ignore_window.Handle() filter_viewportArg, filter_viewportFin := filter_viewport.Handle() @@ -6273,7 +6273,7 @@ func InternalIDWithSeedInt(n int32, seed ID) ID { }()) } -func InternalIDWithSeedStr(str_id_begin string, str_id_end string, seed ID) ID { +func InternalIDWithSeedStr(str_id_begin, str_id_end string, seed ID) ID { str_id_beginArg, str_id_beginFin := internal.WrapString[C.char](str_id_begin) str_id_endArg, str_id_endFin := internal.WrapString[C.char](str_id_end) seedArg, seedFin := seed.C() @@ -6307,7 +6307,7 @@ func IDStr(str_id string) ID { return *NewIDFromC(func() *C.ImGuiID { result := C.igGetID_Str(str_idArg); return &result }()) } -func IDStrStr(str_id_begin string, str_id_end string) ID { +func IDStrStr(str_id_begin, str_id_end string) ID { str_id_beginArg, str_id_beginFin := internal.WrapString[C.char](str_id_begin) str_id_endArg, str_id_endFin := internal.WrapString[C.char](str_id_end) @@ -6413,7 +6413,7 @@ func InternalKeyDataKey(key Key) *KeyData { return NewKeyDataFromC(C.igGetKeyData_Key(C.ImGuiKey(key))) } -func InternalKeyMagnitude2d(key_left Key, key_right Key, key_up Key, key_down Key) Vec2 { +func InternalKeyMagnitude2d(key_left, key_right, key_up, key_down Key) Vec2 { pOut := new(Vec2) pOutArg, pOutFin := internal.Wrap(pOut) @@ -6443,7 +6443,7 @@ func InternalKeyOwnerData(ctx *Context, key Key) *KeyOwnerData { } // uses provided repeat rate/delay. return a count, most often 0 or 1 but might be >1 if RepeatRate is small enough that DeltaTime > RepeatRate -func KeyPressedAmount(key Key, repeat_delay float32, rate float32) int32 { +func KeyPressedAmount(key Key, repeat_delay, rate float32) int32 { return int32(C.igGetKeyPressedAmount(C.ImGuiKey(key), C.float(repeat_delay), C.float(rate))) } @@ -6612,7 +6612,7 @@ func TreeNodeToLabelSpacing() float32 { return float32(C.igGetTreeNodeToLabelSpacing()) } -func InternalTypematicRepeatRate(flags InputFlags, repeat_delay *float32, repeat_rate *float32) { +func InternalTypematicRepeatRate(flags InputFlags, repeat_delay, repeat_rate *float32) { repeat_delayArg, repeat_delayFin := internal.WrapNumberPtr[C.float, float32](repeat_delay) repeat_rateArg, repeat_rateFin := internal.WrapNumberPtr[C.float, float32](repeat_rate) C.igGetTypematicRepeatRate(C.ImGuiInputFlags(flags), repeat_delayArg, repeat_rateArg) @@ -6769,11 +6769,11 @@ func InternalImAbsDouble(x float64) float64 { return float64(C.igImAbs_double(C.double(x))) } -func InternalImAlphaBlendColors(col_a uint32, col_b uint32) uint32 { +func InternalImAlphaBlendColors(col_a, col_b uint32) uint32 { return (uint32)(C.igImAlphaBlendColors(C.ImU32(col_a), C.ImU32(col_b))) } -func InternalImBezierCubicCalc(p1 Vec2, p2 Vec2, p3 Vec2, p4 Vec2, t float32) Vec2 { +func InternalImBezierCubicCalc(p1, p2, p3, p4 Vec2, t float32) Vec2 { pOut := new(Vec2) pOutArg, pOutFin := internal.Wrap(pOut) @@ -6785,7 +6785,7 @@ func InternalImBezierCubicCalc(p1 Vec2, p2 Vec2, p3 Vec2, p4 Vec2, t float32) Ve } // For curves with explicit number of segments -func InternalImBezierCubicClosestPoint(p1 Vec2, p2 Vec2, p3 Vec2, p4 Vec2, p Vec2, num_segments int32) Vec2 { +func InternalImBezierCubicClosestPoint(p1, p2, p3, p4, p Vec2, num_segments int32) Vec2 { pOut := new(Vec2) pOutArg, pOutFin := internal.Wrap(pOut) @@ -6797,7 +6797,7 @@ func InternalImBezierCubicClosestPoint(p1 Vec2, p2 Vec2, p3 Vec2, p4 Vec2, p Vec } // For auto-tessellated curves you can use tess_tol = style.CurveTessellationTol -func InternalImBezierCubicClosestPointCasteljau(p1 Vec2, p2 Vec2, p3 Vec2, p4 Vec2, p Vec2, tess_tol float32) Vec2 { +func InternalImBezierCubicClosestPointCasteljau(p1, p2, p3, p4, p Vec2, tess_tol float32) Vec2 { pOut := new(Vec2) pOutArg, pOutFin := internal.Wrap(pOut) @@ -6808,7 +6808,7 @@ func InternalImBezierCubicClosestPointCasteljau(p1 Vec2, p2 Vec2, p3 Vec2, p4 Ve return *pOut } -func InternalImBezierQuadraticCalc(p1 Vec2, p2 Vec2, p3 Vec2, t float32) Vec2 { +func InternalImBezierQuadraticCalc(p1, p2, p3 Vec2, t float32) Vec2 { pOut := new(Vec2) pOutArg, pOutFin := internal.Wrap(pOut) @@ -6844,7 +6844,7 @@ func InternalImBitArraySetBit(arr *uint32, n int32) { arrFin() } -func InternalImBitArraySetBitRange(arr *uint32, n int32, n2 int32) { +func InternalImBitArraySetBitRange(arr *uint32, n, n2 int32) { arrArg, arrFin := internal.WrapNumberPtr[C.ImU32, uint32](arr) C.igImBitArraySetBitRange(arrArg, C.int(n), C.int(n2)) @@ -6872,7 +6872,7 @@ func InternalImCharIsXdigitA(c rune) bool { return C.igImCharIsXdigitA(C.char(c)) == C.bool(true) } -func InternalImClamp(v Vec2, mn Vec2, mx Vec2) Vec2 { +func InternalImClamp(v, mn, mx Vec2) Vec2 { pOut := new(Vec2) pOutArg, pOutFin := internal.Wrap(pOut) @@ -6883,18 +6883,18 @@ func InternalImClamp(v Vec2, mn Vec2, mx Vec2) Vec2 { return *pOut } -func InternalImDot(a Vec2, b Vec2) float32 { +func InternalImDot(a, b Vec2) float32 { return float32(C.igImDot(internal.ReinterpretCast[C.ImVec2](a.ToC()), internal.ReinterpretCast[C.ImVec2](b.ToC()))) } -func InternalImExponentialMovingAverage(avg float32, sample float32, n int32) float32 { +func InternalImExponentialMovingAverage(avg, sample float32, n int32) float32 { return float32(C.igImExponentialMovingAverage(C.float(avg), C.float(sample), C.int(n))) } // InternalImFileLoadToMemoryV parameter default value hint: // out_file_size: NULL // padding_bytes: 0 -func InternalImFileLoadToMemoryV(filename string, mode string, out_file_size *uint64, padding_bytes int32) uintptr { +func InternalImFileLoadToMemoryV(filename, mode string, out_file_size *uint64, padding_bytes int32) uintptr { filenameArg, filenameFin := internal.WrapString[C.char](filename) modeArg, modeFin := internal.WrapString[C.char](mode) @@ -6947,7 +6947,7 @@ func InternalImFontAtlasBuildMultiplyCalcLookupTable(out_table *[256]uint, in_mu } } -func InternalImFontAtlasBuildMultiplyRectAlpha8(table *[256]uint, pixels *uint, x int32, y int32, w int32, h int32, stride int32) { +func InternalImFontAtlasBuildMultiplyRectAlpha8(table *[256]uint, pixels *uint, x, y, w, h, stride int32) { tableArg := make([]C.uchar, len(table)) for i, tableV := range table { tableArg[i] = C.uchar(tableV) @@ -6969,7 +6969,7 @@ func InternalImFontAtlasBuildPackCustomRects(atlas *FontAtlas, stbrp_context_opa atlasFin() } -func InternalImFontAtlasBuildRender32bppRectFromString(atlas *FontAtlas, x int32, y int32, w int32, h int32, in_str string, in_marker_char rune, in_marker_pixel_value uint32) { +func InternalImFontAtlasBuildRender32bppRectFromString(atlas *FontAtlas, x, y, w, h int32, in_str string, in_marker_char rune, in_marker_pixel_value uint32) { atlasArg, atlasFin := atlas.Handle() in_strArg, in_strFin := internal.WrapString[C.char](in_str) C.igImFontAtlasBuildRender32bppRectFromString(internal.ReinterpretCast[*C.ImFontAtlas](atlasArg), C.int(x), C.int(y), C.int(w), C.int(h), in_strArg, C.char(in_marker_char), C.uint(in_marker_pixel_value)) @@ -6978,7 +6978,7 @@ func InternalImFontAtlasBuildRender32bppRectFromString(atlas *FontAtlas, x int32 in_strFin() } -func InternalImFontAtlasBuildRender8bppRectFromString(atlas *FontAtlas, x int32, y int32, w int32, h int32, in_str string, in_marker_char rune, in_marker_pixel_value uint) { +func InternalImFontAtlasBuildRender8bppRectFromString(atlas *FontAtlas, x, y, w, h int32, in_str string, in_marker_char rune, in_marker_pixel_value uint) { atlasArg, atlasFin := atlas.Handle() in_strArg, in_strFin := internal.WrapString[C.char](in_str) C.igImFontAtlasBuildRender8bppRectFromString(internal.ReinterpretCast[*C.ImFontAtlas](atlasArg), C.int(x), C.int(y), C.int(w), C.int(h), in_strArg, C.char(in_marker_char), C.uchar(in_marker_pixel_value)) @@ -6987,7 +6987,7 @@ func InternalImFontAtlasBuildRender8bppRectFromString(atlas *FontAtlas, x int32, in_strFin() } -func InternalImFontAtlasBuildSetupFont(atlas *FontAtlas, font *Font, font_config *FontConfig, ascent float32, descent float32) { +func InternalImFontAtlasBuildSetupFont(atlas *FontAtlas, font *Font, font_config *FontConfig, ascent, descent float32) { atlasArg, atlasFin := atlas.Handle() fontArg, fontFin := font.Handle() font_configArg, font_configFin := font_config.Handle() @@ -7020,7 +7020,7 @@ func InternalImFormatString(buf string, buf_size uint64, fmt string) int32 { return int32(C.wrap_igImFormatString(bufArg, C.xulong(buf_size), fmtArg)) } -func InternalImFormatStringToTempBuffer(out_buf []string, out_buf_end []string, fmt string) { +func InternalImFormatStringToTempBuffer(out_buf, out_buf_end []string, fmt string) { out_bufArg, out_bufFin := internal.WrapStringList[C.char](out_buf) out_buf_endArg, out_buf_endFin := internal.WrapStringList[C.char](out_buf_end) fmtArg, fmtFin := internal.WrapString[C.char](fmt) @@ -7086,7 +7086,7 @@ func InternalImLengthSqrVec4(lhs Vec4) float32 { return float32(C.igImLengthSqr_Vec4(internal.ReinterpretCast[C.ImVec4](lhs.ToC()))) } -func InternalImLerpVec2Float(a Vec2, b Vec2, t float32) Vec2 { +func InternalImLerpVec2Float(a, b Vec2, t float32) Vec2 { pOut := new(Vec2) pOutArg, pOutFin := internal.Wrap(pOut) @@ -7097,7 +7097,7 @@ func InternalImLerpVec2Float(a Vec2, b Vec2, t float32) Vec2 { return *pOut } -func InternalImLerpVec2Vec2(a Vec2, b Vec2, t Vec2) Vec2 { +func InternalImLerpVec2Vec2(a, b, t Vec2) Vec2 { pOut := new(Vec2) pOutArg, pOutFin := internal.Wrap(pOut) @@ -7108,7 +7108,7 @@ func InternalImLerpVec2Vec2(a Vec2, b Vec2, t Vec2) Vec2 { return *pOut } -func InternalImLerpVec4(a Vec4, b Vec4, t float32) Vec4 { +func InternalImLerpVec4(a, b Vec4, t float32) Vec4 { pOut := new(Vec4) pOutArg, pOutFin := internal.Wrap(pOut) @@ -7119,7 +7119,7 @@ func InternalImLerpVec4(a Vec4, b Vec4, t float32) Vec4 { return *pOut } -func InternalImLineClosestPoint(a Vec2, b Vec2, p Vec2) Vec2 { +func InternalImLineClosestPoint(a, b, p Vec2) Vec2 { pOut := new(Vec2) pOutArg, pOutFin := internal.Wrap(pOut) @@ -7130,11 +7130,11 @@ func InternalImLineClosestPoint(a Vec2, b Vec2, p Vec2) Vec2 { return *pOut } -func InternalImLinearRemapClamp(s0 float32, s1 float32, d0 float32, d1 float32, x float32) float32 { +func InternalImLinearRemapClamp(s0, s1, d0, d1, x float32) float32 { return float32(C.igImLinearRemapClamp(C.float(s0), C.float(s1), C.float(d0), C.float(d1), C.float(x))) } -func InternalImLinearSweep(current float32, target float32, speed float32) float32 { +func InternalImLinearSweep(current, target, speed float32) float32 { return float32(C.igImLinearSweep(C.float(current), C.float(target), C.float(speed))) } @@ -7147,7 +7147,7 @@ func InternalImLogDouble(x float64) float64 { return float64(C.igImLog_double(C.double(x))) } -func InternalImLowerBound(in_begin *StoragePair, in_end *StoragePair, key ID) *StoragePair { +func InternalImLowerBound(in_begin, in_end *StoragePair, key ID) *StoragePair { in_beginArg, in_beginFin := in_begin.Handle() in_endArg, in_endFin := in_end.Handle() keyArg, keyFin := key.C() @@ -7160,7 +7160,7 @@ func InternalImLowerBound(in_begin *StoragePair, in_end *StoragePair, key ID) *S return NewStoragePairFromC(C.igImLowerBound(internal.ReinterpretCast[*C.ImGuiStoragePair](in_beginArg), internal.ReinterpretCast[*C.ImGuiStoragePair](in_endArg), internal.ReinterpretCast[C.ImGuiID](keyArg))) } -func InternalImMax(lhs Vec2, rhs Vec2) Vec2 { +func InternalImMax(lhs, rhs Vec2) Vec2 { pOut := new(Vec2) pOutArg, pOutFin := internal.Wrap(pOut) @@ -7171,7 +7171,7 @@ func InternalImMax(lhs Vec2, rhs Vec2) Vec2 { return *pOut } -func InternalImMin(lhs Vec2, rhs Vec2) Vec2 { +func InternalImMin(lhs, rhs Vec2) Vec2 { pOut := new(Vec2) pOutArg, pOutFin := internal.Wrap(pOut) @@ -7182,11 +7182,11 @@ func InternalImMin(lhs Vec2, rhs Vec2) Vec2 { return *pOut } -func InternalImModPositive(a int32, b int32) int32 { +func InternalImModPositive(a, b int32) int32 { return int32(C.igImModPositive(C.int(a), C.int(b))) } -func InternalImMul(lhs Vec2, rhs Vec2) Vec2 { +func InternalImMul(lhs, rhs Vec2) Vec2 { pOut := new(Vec2) pOutArg, pOutFin := internal.Wrap(pOut) @@ -7224,7 +7224,7 @@ func InternalImParseFormatPrecision(format string, default_value int32) int32 { return int32(C.igImParseFormatPrecision(formatArg, C.int(default_value))) } -func InternalImParseFormatSanitizeForPrinting(fmt_in string, fmt_out string, fmt_out_size uint64) { +func InternalImParseFormatSanitizeForPrinting(fmt_in, fmt_out string, fmt_out_size uint64) { fmt_inArg, fmt_inFin := internal.WrapString[C.char](fmt_in) fmt_outArg, fmt_outFin := internal.WrapString[C.char](fmt_out) C.igImParseFormatSanitizeForPrinting(fmt_inArg, fmt_outArg, C.xulong(fmt_out_size)) @@ -7233,7 +7233,7 @@ func InternalImParseFormatSanitizeForPrinting(fmt_in string, fmt_out string, fmt fmt_outFin() } -func InternalImParseFormatSanitizeForScanning(fmt_in string, fmt_out string, fmt_out_size uint64) string { +func InternalImParseFormatSanitizeForScanning(fmt_in, fmt_out string, fmt_out_size uint64) string { fmt_inArg, fmt_inFin := internal.WrapString[C.char](fmt_in) fmt_outArg, fmt_outFin := internal.WrapString[C.char](fmt_out) @@ -7244,7 +7244,7 @@ func InternalImParseFormatSanitizeForScanning(fmt_in string, fmt_out string, fmt return C.GoString(C.igImParseFormatSanitizeForScanning(fmt_inArg, fmt_outArg, C.xulong(fmt_out_size))) } -func InternalImParseFormatTrimDecorations(format string, buf string, buf_size uint64) string { +func InternalImParseFormatTrimDecorations(format, buf string, buf_size uint64) string { formatArg, formatFin := internal.WrapString[C.char](format) bufArg, bufFin := internal.WrapString[C.char](buf) @@ -7256,15 +7256,15 @@ func InternalImParseFormatTrimDecorations(format string, buf string, buf_size ui } // DragBehaviorT/SliderBehaviorT uses ImPow with either float/double and need the precision -func InternalImPowFloat(x float32, y float32) float32 { +func InternalImPowFloat(x, y float32) float32 { return float32(C.igImPow_Float(C.float(x), C.float(y))) } -func InternalImPowDouble(x float64, y float64) float64 { +func InternalImPowDouble(x, y float64) float64 { return float64(C.igImPow_double(C.double(x), C.double(y))) } -func InternalImRotate(v Vec2, cos_a float32, sin_a float32) Vec2 { +func InternalImRotate(v Vec2, cos_a, sin_a float32) Vec2 { pOut := new(Vec2) pOutArg, pOutFin := internal.Wrap(pOut) @@ -7315,7 +7315,7 @@ func InternalImStrTrimBlanks(str string) { } // Find beginning-of-line -func InternalImStrbol(buf_mid_line string, buf_begin string) string { +func InternalImStrbol(buf_mid_line, buf_begin string) string { buf_mid_lineArg, buf_mid_lineFin := internal.WrapString[C.char](buf_mid_line) buf_beginArg, buf_beginFin := internal.WrapString[C.char](buf_begin) @@ -7327,7 +7327,7 @@ func InternalImStrbol(buf_mid_line string, buf_begin string) string { } // Find first occurrence of 'c' in string range. -func InternalImStrchrRange(str_begin string, str_end string, c rune) string { +func InternalImStrchrRange(str_begin, str_end string, c rune) string { str_beginArg, str_beginFin := internal.WrapString[C.char](str_begin) str_endArg, str_endFin := internal.WrapString[C.char](str_end) @@ -7361,7 +7361,7 @@ func InternalImStrdupcpy(dst string, p_dst_size *uint64, str string) string { } // End end-of-line -func InternalImStreolRange(str string, str_end string) string { +func InternalImStreolRange(str, str_end string) string { strArg, strFin := internal.WrapString[C.char](str) str_endArg, str_endFin := internal.WrapString[C.char](str_end) @@ -7373,7 +7373,7 @@ func InternalImStreolRange(str string, str_end string) string { } // Case insensitive compare. -func InternalImStricmp(str1 string, str2 string) int32 { +func InternalImStricmp(str1, str2 string) int32 { str1Arg, str1Fin := internal.WrapString[C.char](str1) str2Arg, str2Fin := internal.WrapString[C.char](str2) @@ -7385,7 +7385,7 @@ func InternalImStricmp(str1 string, str2 string) int32 { } // Find a substring in a string range. -func InternalImStristr(haystack string, haystack_end string, needle string, needle_end string) string { +func InternalImStristr(haystack, haystack_end, needle, needle_end string) string { haystackArg, haystackFin := internal.WrapString[C.char](haystack) haystack_endArg, haystack_endFin := internal.WrapString[C.char](haystack_end) needleArg, needleFin := internal.WrapString[C.char](needle) @@ -7406,7 +7406,7 @@ func InternalImStrlenW(str *Wchar) int32 { } // Copy to a certain count and always zero terminate (strncpy doesn't). -func InternalImStrncpy(dst string, src string, count uint64) { +func InternalImStrncpy(dst, src string, count uint64) { dstArg, dstFin := internal.WrapString[C.char](dst) srcArg, srcFin := internal.WrapString[C.char](src) C.igImStrncpy(dstArg, srcArg, C.xulong(count)) @@ -7416,7 +7416,7 @@ func InternalImStrncpy(dst string, src string, count uint64) { } // Case insensitive compare to a certain count. -func InternalImStrnicmp(str1 string, str2 string, count uint64) int32 { +func InternalImStrnicmp(str1, str2 string, count uint64) int32 { str1Arg, str1Fin := internal.WrapString[C.char](str1) str2Arg, str2Fin := internal.WrapString[C.char](str2) @@ -7428,7 +7428,7 @@ func InternalImStrnicmp(str1 string, str2 string, count uint64) int32 { } // read one character. return input UTF-8 bytes count -func InternalImTextCharFromUtf8(out_char *uint32, in_text string, in_text_end string) int32 { +func InternalImTextCharFromUtf8(out_char *uint32, in_text, in_text_end string) int32 { out_charArg, out_charFin := internal.WrapNumberPtr[C.uint, uint32](out_char) in_textArg, in_textFin := internal.WrapString[C.char](in_text) in_text_endArg, in_text_endFin := internal.WrapString[C.char](in_text_end) @@ -7457,7 +7457,7 @@ func InternalImTextCharToUtf8(out_buf *[5]rune, c uint32) string { } // return number of UTF-8 code-points (NOT bytes count) -func InternalImTextCountCharsFromUtf8(in_text string, in_text_end string) int32 { +func InternalImTextCountCharsFromUtf8(in_text, in_text_end string) int32 { in_textArg, in_textFin := internal.WrapString[C.char](in_text) in_text_endArg, in_text_endFin := internal.WrapString[C.char](in_text_end) @@ -7469,7 +7469,7 @@ func InternalImTextCountCharsFromUtf8(in_text string, in_text_end string) int32 } // return number of lines taken by text. trailing carriage return doesn't count as an extra line. -func InternalImTextCountLines(in_text string, in_text_end string) int32 { +func InternalImTextCountLines(in_text, in_text_end string) int32 { in_textArg, in_textFin := internal.WrapString[C.char](in_text) in_text_endArg, in_text_endFin := internal.WrapString[C.char](in_text_end) @@ -7481,7 +7481,7 @@ func InternalImTextCountLines(in_text string, in_text_end string) int32 { } // return number of bytes to express one char in UTF-8 -func InternalImTextCountUtf8BytesFromChar(in_text string, in_text_end string) int32 { +func InternalImTextCountUtf8BytesFromChar(in_text, in_text_end string) int32 { in_textArg, in_textFin := internal.WrapString[C.char](in_text) in_text_endArg, in_text_endFin := internal.WrapString[C.char](in_text_end) @@ -7493,12 +7493,12 @@ func InternalImTextCountUtf8BytesFromChar(in_text string, in_text_end string) in } // return number of bytes to express string in UTF-8 -func InternalImTextCountUtf8BytesFromStr(in_text *Wchar, in_text_end *Wchar) int32 { +func InternalImTextCountUtf8BytesFromStr(in_text, in_text_end *Wchar) int32 { return int32(C.igImTextCountUtf8BytesFromStr((*C.ImWchar)(in_text), (*C.ImWchar)(in_text_end))) } // return previous UTF-8 code-point. -func InternalImTextFindPreviousUtf8Codepoint(in_text_start string, in_text_curr string) string { +func InternalImTextFindPreviousUtf8Codepoint(in_text_start, in_text_curr string) string { in_text_startArg, in_text_startFin := internal.WrapString[C.char](in_text_start) in_text_currArg, in_text_currFin := internal.WrapString[C.char](in_text_curr) @@ -7512,7 +7512,7 @@ func InternalImTextFindPreviousUtf8Codepoint(in_text_start string, in_text_curr // return input UTF-8 bytes count // InternalImTextStrFromUtf8V parameter default value hint: // in_remaining: NULL -func InternalImTextStrFromUtf8V(out_buf *Wchar, out_buf_size int32, in_text string, in_text_end string, in_remaining []string) int32 { +func InternalImTextStrFromUtf8V(out_buf *Wchar, out_buf_size int32, in_text, in_text_end string, in_remaining []string) int32 { in_textArg, in_textFin := internal.WrapString[C.char](in_text) in_text_endArg, in_text_endFin := internal.WrapString[C.char](in_text_end) in_remainingArg, in_remainingFin := internal.WrapStringList[C.char](in_remaining) @@ -7526,7 +7526,7 @@ func InternalImTextStrFromUtf8V(out_buf *Wchar, out_buf_size int32, in_text stri } // return output UTF-8 bytes count -func InternalImTextStrToUtf8(out_buf string, out_buf_size int32, in_text *Wchar, in_text_end *Wchar) int32 { +func InternalImTextStrToUtf8(out_buf string, out_buf_size int32, in_text, in_text_end *Wchar) int32 { out_bufArg, out_bufFin := internal.WrapString[C.char](out_buf) defer func() { @@ -7539,11 +7539,11 @@ func InternalImToUpper(c rune) rune { return rune(C.igImToUpper(C.char(c))) } -func InternalImTriangleArea(a Vec2, b Vec2, c Vec2) float32 { +func InternalImTriangleArea(a, b, c Vec2) float32 { return float32(C.igImTriangleArea(internal.ReinterpretCast[C.ImVec2](a.ToC()), internal.ReinterpretCast[C.ImVec2](b.ToC()), internal.ReinterpretCast[C.ImVec2](c.ToC()))) } -func InternalImTriangleBarycentricCoords(a Vec2, b Vec2, c Vec2, p Vec2, out_u *float32, out_v *float32, out_w *float32) { +func InternalImTriangleBarycentricCoords(a, b, c, p Vec2, out_u, out_v, out_w *float32) { out_uArg, out_uFin := internal.WrapNumberPtr[C.float, float32](out_u) out_vArg, out_vFin := internal.WrapNumberPtr[C.float, float32](out_v) out_wArg, out_wFin := internal.WrapNumberPtr[C.float, float32](out_w) @@ -7554,7 +7554,7 @@ func InternalImTriangleBarycentricCoords(a Vec2, b Vec2, c Vec2, p Vec2, out_u * out_wFin() } -func InternalImTriangleClosestPoint(a Vec2, b Vec2, c Vec2, p Vec2) Vec2 { +func InternalImTriangleClosestPoint(a, b, c, p Vec2) Vec2 { pOut := new(Vec2) pOutArg, pOutFin := internal.Wrap(pOut) @@ -7565,11 +7565,11 @@ func InternalImTriangleClosestPoint(a Vec2, b Vec2, c Vec2, p Vec2) Vec2 { return *pOut } -func InternalImTriangleContainsPoint(a Vec2, b Vec2, c Vec2, p Vec2) bool { +func InternalImTriangleContainsPoint(a, b, c, p Vec2) bool { return C.igImTriangleContainsPoint(internal.ReinterpretCast[C.ImVec2](a.ToC()), internal.ReinterpretCast[C.ImVec2](b.ToC()), internal.ReinterpretCast[C.ImVec2](c.ToC()), internal.ReinterpretCast[C.ImVec2](p.ToC())) == C.bool(true) } -func InternalImTriangleIsClockwise(a Vec2, b Vec2, c Vec2) bool { +func InternalImTriangleIsClockwise(a, b, c Vec2) bool { return C.igImTriangleIsClockwise(internal.ReinterpretCast[C.ImVec2](a.ToC()), internal.ReinterpretCast[C.ImVec2](b.ToC()), internal.ReinterpretCast[C.ImVec2](c.ToC())) == C.bool(true) } @@ -7597,7 +7597,7 @@ func InternalImUpperPowerOfTwo(v int32) int32 { // uv1: ImVec2(1,1) // tint_col: ImVec4(1,1,1,1) // border_col: ImVec4(0,0,0,0) -func ImageV(user_texture_id TextureID, image_size Vec2, uv0 Vec2, uv1 Vec2, tint_col Vec4, border_col Vec4) { +func ImageV(user_texture_id TextureID, image_size, uv0, uv1 Vec2, tint_col, border_col Vec4) { user_texture_idArg, user_texture_idFin := user_texture_id.C() C.igImage(internal.ReinterpretCast[C.ImTextureID](user_texture_idArg), internal.ReinterpretCast[C.ImVec2](image_size.ToC()), internal.ReinterpretCast[C.ImVec2](uv0.ToC()), internal.ReinterpretCast[C.ImVec2](uv1.ToC()), internal.ReinterpretCast[C.ImVec4](tint_col.ToC()), internal.ReinterpretCast[C.ImVec4](border_col.ToC())) @@ -7609,7 +7609,7 @@ func ImageV(user_texture_id TextureID, image_size Vec2, uv0 Vec2, uv1 Vec2, tint // uv1: ImVec2(1,1) // bg_col: ImVec4(0,0,0,0) // tint_col: ImVec4(1,1,1,1) -func ImageButtonV(str_id string, user_texture_id TextureID, image_size Vec2, uv0 Vec2, uv1 Vec2, bg_col Vec4, tint_col Vec4) bool { +func ImageButtonV(str_id string, user_texture_id TextureID, image_size, uv0, uv1 Vec2, bg_col, tint_col Vec4) bool { str_idArg, str_idFin := internal.WrapString[C.char](str_id) user_texture_idArg, user_texture_idFin := user_texture_id.C() @@ -7622,7 +7622,7 @@ func ImageButtonV(str_id string, user_texture_id TextureID, image_size Vec2, uv0 // InternalImageButtonExV parameter default value hint: // flags: 0 -func InternalImageButtonExV(id ID, texture_id TextureID, image_size Vec2, uv0 Vec2, uv1 Vec2, bg_col Vec4, tint_col Vec4, flags ButtonFlags) bool { +func InternalImageButtonExV(id ID, texture_id TextureID, image_size, uv0, uv1 Vec2, bg_col, tint_col Vec4, flags ButtonFlags) bool { idArg, idFin := id.C() texture_idArg, texture_idFin := texture_id.C() @@ -7649,7 +7649,7 @@ func InternalInitialize() { // step_fast: 0.0 // format: "%.6f" // flags: 0 -func InputDoubleV(label string, v *float64, step float64, step_fast float64, format string, flags InputTextFlags) bool { +func InputDoubleV(label string, v *float64, step, step_fast float64, format string, flags InputTextFlags) bool { labelArg, labelFin := internal.WrapString[C.char](label) vArg, vFin := internal.WrapNumberPtr[C.double, float64](v) formatArg, formatFin := internal.WrapString[C.char](format) @@ -7667,7 +7667,7 @@ func InputDoubleV(label string, v *float64, step float64, step_fast float64, for // step_fast: 0.0f // format: "%.3f" // flags: 0 -func InputFloatV(label string, v *float32, step float32, step_fast float32, format string, flags InputTextFlags) bool { +func InputFloatV(label string, v *float32, step, step_fast float32, format string, flags InputTextFlags) bool { labelArg, labelFin := internal.WrapString[C.char](label) vArg, vFin := internal.WrapNumberPtr[C.float, float32](v) formatArg, formatFin := internal.WrapString[C.char](format) @@ -7756,7 +7756,7 @@ func InputFloat4V(label string, v *[4]float32, format string, flags InputTextFla // step: 1 // step_fast: 100 // flags: 0 -func InputIntV(label string, v *int32, step int32, step_fast int32, flags InputTextFlags) bool { +func InputIntV(label string, v *int32, step, step_fast int32, flags InputTextFlags) bool { labelArg, labelFin := internal.WrapString[C.char](label) vArg, vFin := internal.WrapNumberPtr[C.int, int32](v) @@ -7832,7 +7832,7 @@ func InputInt4V(label string, v *[4]int32, flags InputTextFlags) bool { // p_step_fast: NULL // format: NULL // flags: 0 -func InputScalarV(label string, data_type DataType, p_data uintptr, p_step uintptr, p_step_fast uintptr, format string, flags InputTextFlags) bool { +func InputScalarV(label string, data_type DataType, p_data, p_step, p_step_fast uintptr, format string, flags InputTextFlags) bool { labelArg, labelFin := internal.WrapString[C.char](label) formatArg, formatFin := internal.WrapString[C.char](format) @@ -7848,7 +7848,7 @@ func InputScalarV(label string, data_type DataType, p_data uintptr, p_step uintp // p_step_fast: NULL // format: NULL // flags: 0 -func InputScalarNV(label string, data_type DataType, p_data uintptr, components int32, p_step uintptr, p_step_fast uintptr, format string, flags InputTextFlags) bool { +func InputScalarNV(label string, data_type DataType, p_data uintptr, components int32, p_step, p_step_fast uintptr, format string, flags InputTextFlags) bool { labelArg, labelFin := internal.WrapString[C.char](label) formatArg, formatFin := internal.WrapString[C.char](format) @@ -8130,7 +8130,7 @@ func IsMouseDraggingV(button MouseButton, lock_threshold float32) bool { // is mouse hovering given bounding rect (in screen space). clipped by current clipping settings, but disregarding of other consideration of focus/window ordering/popup-block. // IsMouseHoveringRectV parameter default value hint: // clip: true -func IsMouseHoveringRectV(r_min Vec2, r_max Vec2, clip bool) bool { +func IsMouseHoveringRectV(r_min, r_max Vec2, clip bool) bool { return C.igIsMouseHoveringRect(internal.ReinterpretCast[C.ImVec2](r_min.ToC()), internal.ReinterpretCast[C.ImVec2](r_max.ToC()), C.bool(clip)) == C.bool(true) } @@ -8199,11 +8199,11 @@ func IsRectVisible(size Vec2) bool { } // test if rectangle (in screen space) is visible / not clipped. to perform coarse clipping on user's side. -func IsRectVisibleVec2(rect_min Vec2, rect_max Vec2) bool { +func IsRectVisibleVec2(rect_min, rect_max Vec2) bool { return C.igIsRectVisible_Vec2(internal.ReinterpretCast[C.ImVec2](rect_min.ToC()), internal.ReinterpretCast[C.ImVec2](rect_max.ToC())) == C.bool(true) } -func InternalIsWindowAbove(potential_above *Window, potential_below *Window) bool { +func InternalIsWindowAbove(potential_above, potential_below *Window) bool { potential_aboveArg, potential_aboveFin := potential_above.Handle() potential_belowArg, potential_belowFin := potential_below.Handle() @@ -8218,7 +8218,7 @@ func IsWindowAppearing() bool { return C.igIsWindowAppearing() == C.bool(true) } -func InternalIsWindowChildOf(window *Window, potential_parent *Window, popup_hierarchy bool, dock_hierarchy bool) bool { +func InternalIsWindowChildOf(window, potential_parent *Window, popup_hierarchy, dock_hierarchy bool) bool { windowArg, windowFin := window.Handle() potential_parentArg, potential_parentFin := potential_parent.Handle() @@ -8272,7 +8272,7 @@ func InternalIsWindowNavFocusable(window *Window) bool { return C.igIsWindowNavFocusable(internal.ReinterpretCast[*C.ImGuiWindow](windowArg)) == C.bool(true) } -func InternalIsWindowWithinBeginStackOf(window *Window, potential_parent *Window) bool { +func InternalIsWindowWithinBeginStackOf(window, potential_parent *Window) bool { windowArg, windowFin := window.Handle() potential_parentArg, potential_parentFin := potential_parent.Handle() @@ -8327,7 +8327,7 @@ func InternalKeepAliveID(id ID) { } // display text+label aligned the same way as value+label widgets -func LabelText(label string, fmt string) { +func LabelText(label, fmt string) { labelArg, labelFin := internal.WrapString[C.char](label) fmtArg, fmtFin := internal.WrapString[C.char](fmt) C.wrap_igLabelText(labelArg, fmtArg) @@ -8338,7 +8338,7 @@ func LabelText(label string, fmt string) { // ListBoxStrarrV parameter default value hint: // height_in_items: -1 -func ListBoxStrarrV(label string, current_item *int32, items []string, items_count int32, height_in_items int32) bool { +func ListBoxStrarrV(label string, current_item *int32, items []string, items_count, height_in_items int32) bool { labelArg, labelFin := internal.WrapString[C.char](label) current_itemArg, current_itemFin := internal.WrapNumberPtr[C.int, int32](current_item) itemsArg, itemsFin := internal.WrapStringList[C.char](items) @@ -8405,7 +8405,7 @@ func InternalLogRenderedTextV(ref_pos *Vec2, text string) { textFin() } -func InternalLogSetNextTextDecoration(prefix string, suffix string) { +func InternalLogSetNextTextDecoration(prefix, suffix string) { prefixArg, prefixFin := internal.WrapString[C.char](prefix) suffixArg, suffixFin := internal.WrapString[C.char](suffix) C.igLogSetNextTextDecoration(prefixArg, suffixArg) @@ -8485,7 +8485,7 @@ func MemFree(ptr uintptr) { // shortcut: NULL // selected: false // enabled: true -func InternalMenuItemExV(label string, icon string, shortcut string, selected bool, enabled bool) bool { +func InternalMenuItemExV(label, icon, shortcut string, selected, enabled bool) bool { labelArg, labelFin := internal.WrapString[C.char](label) iconArg, iconFin := internal.WrapString[C.char](icon) shortcutArg, shortcutFin := internal.WrapString[C.char](shortcut) @@ -8503,7 +8503,7 @@ func InternalMenuItemExV(label string, icon string, shortcut string, selected bo // shortcut: NULL // selected: false // enabled: true -func MenuItemBoolV(label string, shortcut string, selected bool, enabled bool) bool { +func MenuItemBoolV(label, shortcut string, selected, enabled bool) bool { labelArg, labelFin := internal.WrapString[C.char](label) shortcutArg, shortcutFin := internal.WrapString[C.char](shortcut) @@ -8517,7 +8517,7 @@ func MenuItemBoolV(label string, shortcut string, selected bool, enabled bool) b // return true when activated + toggle (*p_selected) if p_selected != NULL // MenuItemBoolPtrV parameter default value hint: // enabled: true -func MenuItemBoolPtrV(label string, shortcut string, p_selected *bool, enabled bool) bool { +func MenuItemBoolPtrV(label, shortcut string, p_selected *bool, enabled bool) bool { labelArg, labelFin := internal.WrapString[C.char](label) shortcutArg, shortcutFin := internal.WrapString[C.char](shortcut) p_selectedArg, p_selectedFin := internal.WrapNumberPtr[C.bool, bool](p_selected) @@ -8541,7 +8541,7 @@ func InternalMultiSelectAddSetAll(ms *MultiSelectTempData, selected bool) { msFin() } -func InternalMultiSelectAddSetRange(ms *MultiSelectTempData, selected bool, range_dir int32, first_item SelectionUserData, last_item SelectionUserData) { +func InternalMultiSelectAddSetRange(ms *MultiSelectTempData, selected bool, range_dir int32, first_item, last_item SelectionUserData) { msArg, msFin := ms.Handle() first_itemArg, first_itemFin := first_item.C() last_itemArg, last_itemFin := last_item.C() @@ -8552,7 +8552,7 @@ func InternalMultiSelectAddSetRange(ms *MultiSelectTempData, selected bool, rang last_itemFin() } -func InternalMultiSelectItemFooter(id ID, p_selected *bool, p_pressed *bool) { +func InternalMultiSelectItemFooter(id ID, p_selected, p_pressed *bool) { idArg, idFin := id.C() p_selectedArg, p_selectedFin := internal.WrapNumberPtr[C.bool, bool](p_selected) p_pressedArg, p_pressedFin := internal.WrapNumberPtr[C.bool, bool](p_pressed) @@ -8606,7 +8606,7 @@ func InternalNavMoveRequestCancel() { C.igNavMoveRequestCancel() } -func InternalNavMoveRequestForward(move_dir Dir, clip_dir Dir, move_flags NavMoveFlags, scroll_flags ScrollFlags) { +func InternalNavMoveRequestForward(move_dir, clip_dir Dir, move_flags NavMoveFlags, scroll_flags ScrollFlags) { C.igNavMoveRequestForward(C.ImGuiDir(move_dir), C.ImGuiDir(clip_dir), C.ImGuiNavMoveFlags(move_flags), C.ImGuiScrollFlags(scroll_flags)) } @@ -8626,7 +8626,7 @@ func InternalNavMoveRequestResolveWithPastTreeNode(result *NavItemData, tree_nod tree_node_dataFin() } -func InternalNavMoveRequestSubmit(move_dir Dir, clip_dir Dir, move_flags NavMoveFlags, scroll_flags ScrollFlags) { +func InternalNavMoveRequestSubmit(move_dir, clip_dir Dir, move_flags NavMoveFlags, scroll_flags ScrollFlags) { C.igNavMoveRequestSubmit(C.ImGuiDir(move_dir), C.ImGuiDir(clip_dir), C.ImGuiNavMoveFlags(move_flags), C.ImGuiScrollFlags(scroll_flags)) } @@ -8703,7 +8703,7 @@ func OpenPopupStrV(str_id string, popup_flags PopupFlags) { // scale_max: FLT_MAX // graph_size: ImVec2(0,0) // stride: sizeof(float) -func PlotHistogramFloatPtrV(label string, values *float32, values_count int32, values_offset int32, overlay_text string, scale_min float32, scale_max float32, graph_size Vec2, stride int32) { +func PlotHistogramFloatPtrV(label string, values *float32, values_count, values_offset int32, overlay_text string, scale_min, scale_max float32, graph_size Vec2, stride int32) { labelArg, labelFin := internal.WrapString[C.char](label) valuesArg, valuesFin := internal.WrapNumberPtr[C.float, float32](values) overlay_textArg, overlay_textFin := internal.WrapString[C.char](overlay_text) @@ -8721,7 +8721,7 @@ func PlotHistogramFloatPtrV(label string, values *float32, values_count int32, v // scale_max: FLT_MAX // graph_size: ImVec2(0,0) // stride: sizeof(float) -func PlotLinesFloatPtrV(label string, values *float32, values_count int32, values_offset int32, overlay_text string, scale_min float32, scale_max float32, graph_size Vec2, stride int32) { +func PlotLinesFloatPtrV(label string, values *float32, values_count, values_offset int32, overlay_text string, scale_min, scale_max float32, graph_size Vec2, stride int32) { labelArg, labelFin := internal.WrapString[C.char](label) valuesArg, valuesFin := internal.WrapNumberPtr[C.float, float32](values) overlay_textArg, overlay_textFin := internal.WrapString[C.char](overlay_text) @@ -8787,7 +8787,7 @@ func ProgressBarV(fraction float32, size_arg Vec2, overlay string) { overlayFin() } -func PushClipRect(clip_rect_min Vec2, clip_rect_max Vec2, intersect_with_current_clip_rect bool) { +func PushClipRect(clip_rect_min, clip_rect_max Vec2, intersect_with_current_clip_rect bool) { C.igPushClipRect(internal.ReinterpretCast[C.ImVec2](clip_rect_min.ToC()), internal.ReinterpretCast[C.ImVec2](clip_rect_max.ToC()), C.bool(intersect_with_current_clip_rect)) } @@ -8833,7 +8833,7 @@ func PushIDStr(str_id string) { } // push string into the ID stack (will hash string). -func PushIDStrStr(str_id_begin string, str_id_end string) { +func PushIDStrStr(str_id_begin, str_id_end string) { str_id_beginArg, str_id_beginFin := internal.WrapString[C.char](str_id_begin) str_id_endArg, str_id_endFin := internal.WrapString[C.char](str_id_end) C.igPushID_StrStr(str_id_beginArg, str_id_endArg) @@ -8959,7 +8959,7 @@ func InternalRenderArrowDockMenu(draw_list *DrawList, p_min Vec2, sz float32, co draw_listFin() } -func InternalRenderArrowPointingAt(draw_list *DrawList, pos Vec2, half_sz Vec2, direction Dir, col uint32) { +func InternalRenderArrowPointingAt(draw_list *DrawList, pos, half_sz Vec2, direction Dir, col uint32) { draw_listArg, draw_listFin := draw_list.Handle() C.igRenderArrowPointingAt(internal.ReinterpretCast[*C.ImDrawList](draw_listArg), internal.ReinterpretCast[C.ImVec2](pos.ToC()), internal.ReinterpretCast[C.ImVec2](half_sz.ToC()), C.ImGuiDir(direction), C.ImU32(col)) @@ -8983,31 +8983,31 @@ func InternalRenderCheckMark(draw_list *DrawList, pos Vec2, col uint32, sz float // InternalRenderColorRectWithAlphaCheckerboardV parameter default value hint: // rounding: 0.0f // flags: 0 -func InternalRenderColorRectWithAlphaCheckerboardV(draw_list *DrawList, p_min Vec2, p_max Vec2, fill_col uint32, grid_step float32, grid_off Vec2, rounding float32, flags DrawFlags) { +func InternalRenderColorRectWithAlphaCheckerboardV(draw_list *DrawList, p_min, p_max Vec2, fill_col uint32, grid_step float32, grid_off Vec2, rounding float32, flags DrawFlags) { draw_listArg, draw_listFin := draw_list.Handle() C.igRenderColorRectWithAlphaCheckerboard(internal.ReinterpretCast[*C.ImDrawList](draw_listArg), internal.ReinterpretCast[C.ImVec2](p_min.ToC()), internal.ReinterpretCast[C.ImVec2](p_max.ToC()), C.ImU32(fill_col), C.float(grid_step), internal.ReinterpretCast[C.ImVec2](grid_off.ToC()), C.float(rounding), C.ImDrawFlags(flags)) draw_listFin() } -func InternalRenderDragDropTargetRect(bb Rect, item_clip_rect Rect) { +func InternalRenderDragDropTargetRect(bb, item_clip_rect Rect) { C.igRenderDragDropTargetRect(internal.ReinterpretCast[C.ImRect](bb.ToC()), internal.ReinterpretCast[C.ImRect](item_clip_rect.ToC())) } // InternalRenderFrameV parameter default value hint: // borders: true // rounding: 0.0f -func InternalRenderFrameV(p_min Vec2, p_max Vec2, fill_col uint32, borders bool, rounding float32) { +func InternalRenderFrameV(p_min, p_max Vec2, fill_col uint32, borders bool, rounding float32) { C.igRenderFrame(internal.ReinterpretCast[C.ImVec2](p_min.ToC()), internal.ReinterpretCast[C.ImVec2](p_max.ToC()), C.ImU32(fill_col), C.bool(borders), C.float(rounding)) } // InternalRenderFrameBorderV parameter default value hint: // rounding: 0.0f -func InternalRenderFrameBorderV(p_min Vec2, p_max Vec2, rounding float32) { +func InternalRenderFrameBorderV(p_min, p_max Vec2, rounding float32) { C.igRenderFrameBorder(internal.ReinterpretCast[C.ImVec2](p_min.ToC()), internal.ReinterpretCast[C.ImVec2](p_max.ToC()), C.float(rounding)) } -func InternalRenderMouseCursor(pos Vec2, scale float32, mouse_cursor MouseCursor, col_fill uint32, col_border uint32, col_shadow uint32) { +func InternalRenderMouseCursor(pos Vec2, scale float32, mouse_cursor MouseCursor, col_fill, col_border, col_shadow uint32) { C.igRenderMouseCursor(internal.ReinterpretCast[C.ImVec2](pos.ToC()), C.float(scale), C.ImGuiMouseCursor(mouse_cursor), C.ImU32(col_fill), C.ImU32(col_border), C.ImU32(col_shadow)) } @@ -9025,18 +9025,18 @@ func InternalRenderNavCursorV(bb Rect, id ID, flags NavRenderCursorFlags) { // RenderPlatformWindowsDefaultV parameter default value hint: // platform_render_arg: NULL // renderer_render_arg: NULL -func RenderPlatformWindowsDefaultV(platform_render_arg uintptr, renderer_render_arg uintptr) { +func RenderPlatformWindowsDefaultV(platform_render_arg, renderer_render_arg uintptr) { C.wrap_igRenderPlatformWindowsDefaultV(C.uintptr_t(platform_render_arg), C.uintptr_t(renderer_render_arg)) } -func InternalRenderRectFilledRangeH(draw_list *DrawList, rect Rect, col uint32, x_start_norm float32, x_end_norm float32, rounding float32) { +func InternalRenderRectFilledRangeH(draw_list *DrawList, rect Rect, col uint32, x_start_norm, x_end_norm, rounding float32) { draw_listArg, draw_listFin := draw_list.Handle() C.igRenderRectFilledRangeH(internal.ReinterpretCast[*C.ImDrawList](draw_listArg), internal.ReinterpretCast[C.ImRect](rect.ToC()), C.ImU32(col), C.float(x_start_norm), C.float(x_end_norm), C.float(rounding)) draw_listFin() } -func InternalRenderRectFilledWithHole(draw_list *DrawList, outer Rect, inner Rect, col uint32, rounding float32) { +func InternalRenderRectFilledWithHole(draw_list *DrawList, outer, inner Rect, col uint32, rounding float32) { draw_listArg, draw_listFin := draw_list.Handle() C.igRenderRectFilledWithHole(internal.ReinterpretCast[*C.ImDrawList](draw_listArg), internal.ReinterpretCast[C.ImRect](outer.ToC()), internal.ReinterpretCast[C.ImRect](inner.ToC()), C.ImU32(col), C.float(rounding)) @@ -9055,7 +9055,7 @@ func InternalRenderTextV(pos Vec2, text string, hide_text_after_hash bool) { // InternalRenderTextClippedV parameter default value hint: // align: ImVec2(0,0) // clip_rect: NULL -func InternalRenderTextClippedV(pos_min Vec2, pos_max Vec2, text string, text_size_if_known *Vec2, align Vec2, clip_rect *Rect) { +func InternalRenderTextClippedV(pos_min, pos_max Vec2, text string, text_size_if_known *Vec2, align Vec2, clip_rect *Rect) { textArg, textFin := internal.WrapString[C.char](text) text_size_if_knownArg, text_size_if_knownFin := internal.Wrap(text_size_if_known) clip_rectArg, clip_rectFin := internal.Wrap(clip_rect) @@ -9069,7 +9069,7 @@ func InternalRenderTextClippedV(pos_min Vec2, pos_max Vec2, text string, text_si // InternalRenderTextClippedExV parameter default value hint: // align: ImVec2(0,0) // clip_rect: NULL -func InternalRenderTextClippedExV(draw_list *DrawList, pos_min Vec2, pos_max Vec2, text string, text_size_if_known *Vec2, align Vec2, clip_rect *Rect) { +func InternalRenderTextClippedExV(draw_list *DrawList, pos_min, pos_max Vec2, text string, text_size_if_known *Vec2, align Vec2, clip_rect *Rect) { draw_listArg, draw_listFin := draw_list.Handle() textArg, textFin := internal.WrapString[C.char](text) text_size_if_knownArg, text_size_if_knownFin := internal.Wrap(text_size_if_known) @@ -9082,7 +9082,7 @@ func InternalRenderTextClippedExV(draw_list *DrawList, pos_min Vec2, pos_max Vec clip_rectFin() } -func InternalRenderTextEllipsis(draw_list *DrawList, pos_min Vec2, pos_max Vec2, clip_max_x float32, ellipsis_max_x float32, text string, text_size_if_known *Vec2) { +func InternalRenderTextEllipsis(draw_list *DrawList, pos_min, pos_max Vec2, clip_max_x, ellipsis_max_x float32, text string, text_size_if_known *Vec2) { draw_listArg, draw_listFin := draw_list.Handle() textArg, textFin := internal.WrapString[C.char](text) text_size_if_knownArg, text_size_if_knownFin := internal.Wrap(text_size_if_known) @@ -9110,7 +9110,7 @@ func ResetMouseDragDeltaV(button MouseButton) { // SameLineV parameter default value hint: // offset_from_start_x: 0.0f // spacing: -1.0f -func SameLineV(offset_from_start_x float32, spacing float32) { +func SameLineV(offset_from_start_x, spacing float32) { C.igSameLine(C.float(offset_from_start_x), C.float(spacing)) } @@ -9177,7 +9177,7 @@ func InternalScrollbar(axis Axis) { C.igScrollbar(C.ImGuiAxis(axis)) } -func InternalScrollbarEx(bb Rect, id ID, axis Axis, p_scroll_v *int64, avail_v int64, contents_v int64, flags DrawFlags) bool { +func InternalScrollbarEx(bb Rect, id ID, axis Axis, p_scroll_v *int64, avail_v, contents_v int64, flags DrawFlags) bool { idArg, idFin := id.C() p_scroll_vArg, p_scroll_vFin := internal.WrapNumberPtr[C.ImS64, int64](p_scroll_v) @@ -9236,7 +9236,7 @@ func SeparatorText(label string) { labelFin() } -func InternalSeparatorTextEx(id ID, label string, label_end string, extra_width float32) { +func InternalSeparatorTextEx(id ID, label, label_end string, extra_width float32) { idArg, idFin := id.C() labelArg, labelFin := internal.WrapString[C.char](label) label_endArg, label_endFin := internal.WrapString[C.char](label_end) @@ -9581,7 +9581,7 @@ func SetNextWindowSizeV(size Vec2, cond Cond) { // SetNextWindowSizeConstraintsV parameter default value hint: // custom_callback: NULL // custom_callback_data: NULL -func SetNextWindowSizeConstraintsV(size_min Vec2, size_max Vec2, custom_callback SizeCallback, custom_callback_data uintptr) { +func SetNextWindowSizeConstraintsV(size_min, size_max Vec2, custom_callback SizeCallback, custom_callback_data uintptr) { custom_callbackArg, custom_callbackFin := custom_callback.C() C.wrap_igSetNextWindowSizeConstraintsV(internal.ReinterpretCast[C.ImVec2](size_min.ToC()), internal.ReinterpretCast[C.ImVec2](size_max.ToC()), internal.ReinterpretCast[C.ImGuiSizeCallback](custom_callbackArg), C.uintptr_t(custom_callback_data)) @@ -9599,11 +9599,11 @@ func SetNextWindowViewport(viewport_id ID) { // adjust scrolling amount to make given position visible. Generally GetCursorStartPos() + offset to compute a valid position. // SetScrollFromPosXFloatV parameter default value hint: // center_x_ratio: 0.5f -func SetScrollFromPosXFloatV(local_x float32, center_x_ratio float32) { +func SetScrollFromPosXFloatV(local_x, center_x_ratio float32) { C.igSetScrollFromPosX_Float(C.float(local_x), C.float(center_x_ratio)) } -func InternalSetScrollFromPosXWindowPtr(window *Window, local_x float32, center_x_ratio float32) { +func InternalSetScrollFromPosXWindowPtr(window *Window, local_x, center_x_ratio float32) { windowArg, windowFin := window.Handle() C.igSetScrollFromPosX_WindowPtr(internal.ReinterpretCast[*C.ImGuiWindow](windowArg), C.float(local_x), C.float(center_x_ratio)) @@ -9613,11 +9613,11 @@ func InternalSetScrollFromPosXWindowPtr(window *Window, local_x float32, center_ // adjust scrolling amount to make given position visible. Generally GetCursorStartPos() + offset to compute a valid position. // SetScrollFromPosYFloatV parameter default value hint: // center_y_ratio: 0.5f -func SetScrollFromPosYFloatV(local_y float32, center_y_ratio float32) { +func SetScrollFromPosYFloatV(local_y, center_y_ratio float32) { C.igSetScrollFromPosY_Float(C.float(local_y), C.float(center_y_ratio)) } -func InternalSetScrollFromPosYWindowPtr(window *Window, local_y float32, center_y_ratio float32) { +func InternalSetScrollFromPosYWindowPtr(window *Window, local_y, center_y_ratio float32) { windowArg, windowFin := window.Handle() C.igSetScrollFromPosY_WindowPtr(internal.ReinterpretCast[*C.ImGuiWindow](windowArg), C.float(local_y), C.float(center_y_ratio)) @@ -9765,7 +9765,7 @@ func InternalSetWindowHiddenAndSkipItemsForCurrentFrame(window *Window) { windowFin() } -func InternalSetWindowHitTestHole(window *Window, pos Vec2, size Vec2) { +func InternalSetWindowHitTestHole(window *Window, pos, size Vec2) { windowArg, windowFin := window.Handle() C.igSetWindowHitTestHole(internal.ReinterpretCast[*C.ImGuiWindow](windowArg), internal.ReinterpretCast[C.ImVec2](pos.ToC()), internal.ReinterpretCast[C.ImVec2](size.ToC())) @@ -9773,7 +9773,7 @@ func InternalSetWindowHitTestHole(window *Window, pos Vec2, size Vec2) { } // You may also use SetNextWindowClass()'s FocusRouteParentWindowId field. -func InternalSetWindowParentWindowForFocusRoute(window *Window, parent_window *Window) { +func InternalSetWindowParentWindowForFocusRoute(window, parent_window *Window) { windowArg, windowFin := window.Handle() parent_windowArg, parent_windowFin := parent_window.Handle() C.igSetWindowParentWindowForFocusRoute(internal.ReinterpretCast[*C.ImGuiWindow](windowArg), internal.ReinterpretCast[*C.ImGuiWindow](parent_windowArg)) @@ -9843,21 +9843,21 @@ func InternalSetWindowViewport(window *Window, viewport *ViewportP) { viewportFin() } -func InternalShadeVertsLinearColorGradientKeepAlpha(draw_list *DrawList, vert_start_idx int32, vert_end_idx int32, gradient_p0 Vec2, gradient_p1 Vec2, col0 uint32, col1 uint32) { +func InternalShadeVertsLinearColorGradientKeepAlpha(draw_list *DrawList, vert_start_idx, vert_end_idx int32, gradient_p0, gradient_p1 Vec2, col0, col1 uint32) { draw_listArg, draw_listFin := draw_list.Handle() C.igShadeVertsLinearColorGradientKeepAlpha(internal.ReinterpretCast[*C.ImDrawList](draw_listArg), C.int(vert_start_idx), C.int(vert_end_idx), internal.ReinterpretCast[C.ImVec2](gradient_p0.ToC()), internal.ReinterpretCast[C.ImVec2](gradient_p1.ToC()), C.ImU32(col0), C.ImU32(col1)) draw_listFin() } -func InternalShadeVertsLinearUV(draw_list *DrawList, vert_start_idx int32, vert_end_idx int32, a Vec2, b Vec2, uv_a Vec2, uv_b Vec2, clamp bool) { +func InternalShadeVertsLinearUV(draw_list *DrawList, vert_start_idx, vert_end_idx int32, a, b, uv_a, uv_b Vec2, clamp bool) { draw_listArg, draw_listFin := draw_list.Handle() C.igShadeVertsLinearUV(internal.ReinterpretCast[*C.ImDrawList](draw_listArg), C.int(vert_start_idx), C.int(vert_end_idx), internal.ReinterpretCast[C.ImVec2](a.ToC()), internal.ReinterpretCast[C.ImVec2](b.ToC()), internal.ReinterpretCast[C.ImVec2](uv_a.ToC()), internal.ReinterpretCast[C.ImVec2](uv_b.ToC()), C.bool(clamp)) draw_listFin() } -func InternalShadeVertsTransformPos(draw_list *DrawList, vert_start_idx int32, vert_end_idx int32, pivot_in Vec2, cos_a float32, sin_a float32, pivot_out Vec2) { +func InternalShadeVertsTransformPos(draw_list *DrawList, vert_start_idx, vert_end_idx int32, pivot_in Vec2, cos_a, sin_a float32, pivot_out Vec2) { draw_listArg, draw_listFin := draw_list.Handle() C.igShadeVertsTransformPos(internal.ReinterpretCast[*C.ImDrawList](draw_listArg), C.int(vert_start_idx), C.int(vert_end_idx), internal.ReinterpretCast[C.ImVec2](pivot_in.ToC()), C.float(cos_a), C.float(sin_a), internal.ReinterpretCast[C.ImVec2](pivot_out.ToC())) @@ -9993,7 +9993,7 @@ func InternalShutdown() { // v_degrees_max: +360.0f // format: "%.0f deg" // flags: 0 -func SliderAngleV(label string, v_rad *float32, v_degrees_min float32, v_degrees_max float32, format string, flags SliderFlags) bool { +func SliderAngleV(label string, v_rad *float32, v_degrees_min, v_degrees_max float32, format string, flags SliderFlags) bool { labelArg, labelFin := internal.WrapString[C.char](label) v_radArg, v_radFin := internal.WrapNumberPtr[C.float, float32](v_rad) formatArg, formatFin := internal.WrapString[C.char](format) @@ -10006,7 +10006,7 @@ func SliderAngleV(label string, v_rad *float32, v_degrees_min float32, v_degrees return C.igSliderAngle(labelArg, v_radArg, C.float(v_degrees_min), C.float(v_degrees_max), formatArg, C.ImGuiSliderFlags(flags)) == C.bool(true) } -func InternalSliderBehavior(bb Rect, id ID, data_type DataType, p_v uintptr, p_min uintptr, p_max uintptr, format string, flags SliderFlags, out_grab_bb *Rect) bool { +func InternalSliderBehavior(bb Rect, id ID, data_type DataType, p_v, p_min, p_max uintptr, format string, flags SliderFlags, out_grab_bb *Rect) bool { idArg, idFin := id.C() formatArg, formatFin := internal.WrapString[C.char](format) out_grab_bbArg, out_grab_bbFin := internal.Wrap(out_grab_bb) @@ -10023,7 +10023,7 @@ func InternalSliderBehavior(bb Rect, id ID, data_type DataType, p_v uintptr, p_m // SliderFloatV parameter default value hint: // format: "%.3f" // flags: 0 -func SliderFloatV(label string, v *float32, v_min float32, v_max float32, format string, flags SliderFlags) bool { +func SliderFloatV(label string, v *float32, v_min, v_max float32, format string, flags SliderFlags) bool { labelArg, labelFin := internal.WrapString[C.char](label) vArg, vFin := internal.WrapNumberPtr[C.float, float32](v) formatArg, formatFin := internal.WrapString[C.char](format) @@ -10039,7 +10039,7 @@ func SliderFloatV(label string, v *float32, v_min float32, v_max float32, format // SliderFloat2V parameter default value hint: // format: "%.3f" // flags: 0 -func SliderFloat2V(label string, v *[2]float32, v_min float32, v_max float32, format string, flags SliderFlags) bool { +func SliderFloat2V(label string, v *[2]float32, v_min, v_max float32, format string, flags SliderFlags) bool { labelArg, labelFin := internal.WrapString[C.char](label) vArg := make([]C.float, len(v)) @@ -10063,7 +10063,7 @@ func SliderFloat2V(label string, v *[2]float32, v_min float32, v_max float32, fo // SliderFloat3V parameter default value hint: // format: "%.3f" // flags: 0 -func SliderFloat3V(label string, v *[3]float32, v_min float32, v_max float32, format string, flags SliderFlags) bool { +func SliderFloat3V(label string, v *[3]float32, v_min, v_max float32, format string, flags SliderFlags) bool { labelArg, labelFin := internal.WrapString[C.char](label) vArg := make([]C.float, len(v)) @@ -10087,7 +10087,7 @@ func SliderFloat3V(label string, v *[3]float32, v_min float32, v_max float32, fo // SliderFloat4V parameter default value hint: // format: "%.3f" // flags: 0 -func SliderFloat4V(label string, v *[4]float32, v_min float32, v_max float32, format string, flags SliderFlags) bool { +func SliderFloat4V(label string, v *[4]float32, v_min, v_max float32, format string, flags SliderFlags) bool { labelArg, labelFin := internal.WrapString[C.char](label) vArg := make([]C.float, len(v)) @@ -10111,7 +10111,7 @@ func SliderFloat4V(label string, v *[4]float32, v_min float32, v_max float32, fo // SliderIntV parameter default value hint: // format: "%d" // flags: 0 -func SliderIntV(label string, v *int32, v_min int32, v_max int32, format string, flags SliderFlags) bool { +func SliderIntV(label string, v *int32, v_min, v_max int32, format string, flags SliderFlags) bool { labelArg, labelFin := internal.WrapString[C.char](label) vArg, vFin := internal.WrapNumberPtr[C.int, int32](v) formatArg, formatFin := internal.WrapString[C.char](format) @@ -10127,7 +10127,7 @@ func SliderIntV(label string, v *int32, v_min int32, v_max int32, format string, // SliderInt2V parameter default value hint: // format: "%d" // flags: 0 -func SliderInt2V(label string, v *[2]int32, v_min int32, v_max int32, format string, flags SliderFlags) bool { +func SliderInt2V(label string, v *[2]int32, v_min, v_max int32, format string, flags SliderFlags) bool { labelArg, labelFin := internal.WrapString[C.char](label) vArg := make([]C.int, len(v)) @@ -10151,7 +10151,7 @@ func SliderInt2V(label string, v *[2]int32, v_min int32, v_max int32, format str // SliderInt3V parameter default value hint: // format: "%d" // flags: 0 -func SliderInt3V(label string, v *[3]int32, v_min int32, v_max int32, format string, flags SliderFlags) bool { +func SliderInt3V(label string, v *[3]int32, v_min, v_max int32, format string, flags SliderFlags) bool { labelArg, labelFin := internal.WrapString[C.char](label) vArg := make([]C.int, len(v)) @@ -10175,7 +10175,7 @@ func SliderInt3V(label string, v *[3]int32, v_min int32, v_max int32, format str // SliderInt4V parameter default value hint: // format: "%d" // flags: 0 -func SliderInt4V(label string, v *[4]int32, v_min int32, v_max int32, format string, flags SliderFlags) bool { +func SliderInt4V(label string, v *[4]int32, v_min, v_max int32, format string, flags SliderFlags) bool { labelArg, labelFin := internal.WrapString[C.char](label) vArg := make([]C.int, len(v)) @@ -10199,7 +10199,7 @@ func SliderInt4V(label string, v *[4]int32, v_min int32, v_max int32, format str // SliderScalarV parameter default value hint: // format: NULL // flags: 0 -func SliderScalarV(label string, data_type DataType, p_data uintptr, p_min uintptr, p_max uintptr, format string, flags SliderFlags) bool { +func SliderScalarV(label string, data_type DataType, p_data, p_min, p_max uintptr, format string, flags SliderFlags) bool { labelArg, labelFin := internal.WrapString[C.char](label) formatArg, formatFin := internal.WrapString[C.char](format) @@ -10213,7 +10213,7 @@ func SliderScalarV(label string, data_type DataType, p_data uintptr, p_min uintp // SliderScalarNV parameter default value hint: // format: NULL // flags: 0 -func SliderScalarNV(label string, data_type DataType, p_data uintptr, components int32, p_min uintptr, p_max uintptr, format string, flags SliderFlags) bool { +func SliderScalarNV(label string, data_type DataType, p_data uintptr, components int32, p_min, p_max uintptr, format string, flags SliderFlags) bool { labelArg, labelFin := internal.WrapString[C.char](label) formatArg, formatFin := internal.WrapString[C.char](format) @@ -10243,7 +10243,7 @@ func Spacing() { // hover_extend: 0.0f // hover_visibility_delay: 0.0f // bg_col: 0 -func InternalSplitterBehaviorV(bb Rect, id ID, axis Axis, size1 *float32, size2 *float32, min_size1 float32, min_size2 float32, hover_extend float32, hover_visibility_delay float32, bg_col uint32) bool { +func InternalSplitterBehaviorV(bb Rect, id ID, axis Axis, size1, size2 *float32, min_size1, min_size2, hover_extend, hover_visibility_delay float32, bg_col uint32) bool { idArg, idFin := id.C() size1Arg, size1Fin := internal.WrapNumberPtr[C.float, float32](size1) size2Arg, size2Fin := internal.WrapNumberPtr[C.float, float32](size2) @@ -10494,7 +10494,7 @@ func InternalTabItemEx(tab_bar *TabBar, label string, p_open *bool, flags TabIte return C.igTabItemEx(internal.ReinterpretCast[*C.ImGuiTabBar](tab_barArg), labelArg, p_openArg, C.ImGuiTabItemFlags(flags), internal.ReinterpretCast[*C.ImGuiWindow](docked_windowArg)) == C.bool(true) } -func InternalTabItemLabelAndCloseButton(draw_list *DrawList, bb Rect, flags TabItemFlags, frame_padding Vec2, label string, tab_id ID, close_button_id ID, is_contents_visible bool, out_just_closed *bool, out_text_clipped *bool) { +func InternalTabItemLabelAndCloseButton(draw_list *DrawList, bb Rect, flags TabItemFlags, frame_padding Vec2, label string, tab_id, close_button_id ID, is_contents_visible bool, out_just_closed, out_text_clipped *bool) { draw_listArg, draw_listFin := draw_list.Handle() labelArg, labelFin := internal.WrapString[C.char](label) tab_idArg, tab_idFin := tab_id.C() @@ -10516,7 +10516,7 @@ func TableAngledHeadersRow() { C.igTableAngledHeadersRow() } -func InternalTableAngledHeadersRowEx(row_id ID, angle float32, max_label_width float32, data *TableHeaderData, data_count int32) { +func InternalTableAngledHeadersRowEx(row_id ID, angle, max_label_width float32, data *TableHeaderData, data_count int32) { row_idArg, row_idFin := row_id.C() dataArg, dataFin := data.Handle() C.igTableAngledHeadersRowEx(internal.ReinterpretCast[C.ImGuiID](row_idArg), C.float(angle), C.float(max_label_width), internal.ReinterpretCast[*C.ImGuiTableHeaderData](dataArg), C.int(data_count)) @@ -10701,7 +10701,7 @@ func InternalTableGetColumnNextSortDirection(column *TableColumn) SortDirection // InternalTableGetColumnResizeIDV parameter default value hint: // instance_no: 0 -func InternalTableGetColumnResizeIDV(table *Table, column_n int32, instance_no int32) ID { +func InternalTableGetColumnResizeIDV(table *Table, column_n, instance_no int32) ID { tableArg, tableFin := table.Handle() defer func() { @@ -10930,7 +10930,7 @@ func InternalTableSetupDrawChannels(table *Table) { } // lock columns/rows so they stay visible when scrolled. -func TableSetupScrollFreeze(cols int32, rows int32) { +func TableSetupScrollFreeze(cols, rows int32) { C.igTableSetupScrollFreeze(C.int(cols), C.int(rows)) } @@ -10985,7 +10985,7 @@ func InternalTempInputIsActive(id ID) bool { // InternalTempInputScalarV parameter default value hint: // p_clamp_min: NULL // p_clamp_max: NULL -func InternalTempInputScalarV(bb Rect, id ID, label string, data_type DataType, p_data uintptr, format string, p_clamp_min uintptr, p_clamp_max uintptr) bool { +func InternalTempInputScalarV(bb Rect, id ID, label string, data_type DataType, p_data uintptr, format string, p_clamp_min, p_clamp_max uintptr) bool { idArg, idFin := id.C() labelArg, labelFin := internal.WrapString[C.char](label) formatArg, formatFin := internal.WrapString[C.char](format) @@ -10998,7 +10998,7 @@ func InternalTempInputScalarV(bb Rect, id ID, label string, data_type DataType, return C.wrap_igTempInputScalarV(internal.ReinterpretCast[C.ImRect](bb.ToC()), internal.ReinterpretCast[C.ImGuiID](idArg), labelArg, C.ImGuiDataType(data_type), C.uintptr_t(p_data), formatArg, C.uintptr_t(p_clamp_min), C.uintptr_t(p_clamp_max)) == C.bool(true) } -func InternalTempInputText(bb Rect, id ID, label string, buf string, buf_size int32, flags InputTextFlags) bool { +func InternalTempInputText(bb Rect, id ID, label, buf string, buf_size int32, flags InputTextFlags) bool { idArg, idFin := id.C() labelArg, labelFin := internal.WrapString[C.char](label) bufArg, bufFin := internal.WrapString[C.char](buf) @@ -11078,7 +11078,7 @@ func TextLink(label string) bool { // hyperlink text button, automatically open file/url when clicked // TextLinkOpenURLV parameter default value hint: // url: NULL -func TextLinkOpenURLV(label string, url string) { +func TextLinkOpenURLV(label, url string) { labelArg, labelFin := internal.WrapString[C.char](label) urlArg, urlFin := internal.WrapString[C.char](url) C.igTextLinkOpenURL(labelArg, urlArg) @@ -11104,7 +11104,7 @@ func TextWrapped(fmt string) { fmtFin() } -func InternalTranslateWindowsInViewport(viewport *ViewportP, old_pos Vec2, new_pos Vec2, old_size Vec2, new_size Vec2) { +func InternalTranslateWindowsInViewport(viewport *ViewportP, old_pos, new_pos, old_size, new_size Vec2) { viewportArg, viewportFin := viewport.Handle() C.igTranslateWindowsInViewport(internal.ReinterpretCast[*C.ImGuiViewportP](viewportArg), internal.ReinterpretCast[C.ImVec2](old_pos.ToC()), internal.ReinterpretCast[C.ImVec2](new_pos.ToC()), internal.ReinterpretCast[C.ImVec2](old_size.ToC()), internal.ReinterpretCast[C.ImVec2](new_size.ToC())) @@ -11113,7 +11113,7 @@ func InternalTranslateWindowsInViewport(viewport *ViewportP, old_pos Vec2, new_p // InternalTreeNodeBehaviorV parameter default value hint: // label_end: NULL -func InternalTreeNodeBehaviorV(id ID, flags TreeNodeFlags, label string, label_end string) bool { +func InternalTreeNodeBehaviorV(id ID, flags TreeNodeFlags, label, label_end string) bool { idArg, idFin := id.C() labelArg, labelFin := internal.WrapString[C.char](label) label_endArg, label_endFin := internal.WrapString[C.char](label_end) @@ -11203,7 +11203,7 @@ func TreeNodeStr(label string) bool { } // helper variation to easily decorelate the id from the displayed string. Read the FAQ about why and how to use ID. to align arbitrary text at the same level as a TreeNode() you can use Bullet(). -func TreeNodeStrStr(str_id string, fmt string) bool { +func TreeNodeStrStr(str_id, fmt string) bool { str_idArg, str_idFin := internal.WrapString[C.char](str_id) fmtArg, fmtFin := internal.WrapString[C.char](fmt) @@ -11286,7 +11286,7 @@ func InternalUpdateWindowSkipRefresh(window *Window) { // VSliderFloatV parameter default value hint: // format: "%.3f" // flags: 0 -func VSliderFloatV(label string, size Vec2, v *float32, v_min float32, v_max float32, format string, flags SliderFlags) bool { +func VSliderFloatV(label string, size Vec2, v *float32, v_min, v_max float32, format string, flags SliderFlags) bool { labelArg, labelFin := internal.WrapString[C.char](label) vArg, vFin := internal.WrapNumberPtr[C.float, float32](v) formatArg, formatFin := internal.WrapString[C.char](format) @@ -11302,7 +11302,7 @@ func VSliderFloatV(label string, size Vec2, v *float32, v_min float32, v_max flo // VSliderIntV parameter default value hint: // format: "%d" // flags: 0 -func VSliderIntV(label string, size Vec2, v *int32, v_min int32, v_max int32, format string, flags SliderFlags) bool { +func VSliderIntV(label string, size Vec2, v *int32, v_min, v_max int32, format string, flags SliderFlags) bool { labelArg, labelFin := internal.WrapString[C.char](label) vArg, vFin := internal.WrapNumberPtr[C.int, int32](v) formatArg, formatFin := internal.WrapString[C.char](format) @@ -11318,7 +11318,7 @@ func VSliderIntV(label string, size Vec2, v *int32, v_min int32, v_max int32, fo // VSliderScalarV parameter default value hint: // format: NULL // flags: 0 -func VSliderScalarV(label string, size Vec2, data_type DataType, p_data uintptr, p_min uintptr, p_max uintptr, format string, flags SliderFlags) bool { +func VSliderScalarV(label string, size Vec2, data_type DataType, p_data, p_min, p_max uintptr, format string, flags SliderFlags) bool { labelArg, labelFin := internal.WrapString[C.char](label) formatArg, formatFin := internal.WrapString[C.char](format) @@ -11413,7 +11413,7 @@ func InternalWindowRectRelToAbs(window *Window, r Rect) Rect { return *pOut } -func ColorHSV(h float32, s float32, v float32) Color { +func ColorHSV(h, s, v float32) Color { pOut := new(Color) pOutArg, pOutFin := internal.Wrap(pOut) @@ -11424,21 +11424,21 @@ func ColorHSV(h float32, s float32, v float32) Color { return *pOut } -func (self *Color) SetHSV(h float32, s float32, v float32) { +func (self *Color) SetHSV(h, s, v float32) { selfArg, selfFin := internal.Wrap(self) C.wrap_ImColor_SetHSV(internal.ReinterpretCast[*C.ImColor](selfArg), C.float(h), C.float(s), C.float(v)) selfFin() } -func (self *DrawList) AddBezierCubic(p1 Vec2, p2 Vec2, p3 Vec2, p4 Vec2, col uint32, thickness float32) { +func (self *DrawList) AddBezierCubic(p1, p2, p3, p4 Vec2, col uint32, thickness float32) { selfArg, selfFin := self.Handle() C.wrap_ImDrawList_AddBezierCubic(internal.ReinterpretCast[*C.ImDrawList](selfArg), internal.ReinterpretCast[C.ImVec2](p1.ToC()), internal.ReinterpretCast[C.ImVec2](p2.ToC()), internal.ReinterpretCast[C.ImVec2](p3.ToC()), internal.ReinterpretCast[C.ImVec2](p4.ToC()), C.ImU32(col), C.float(thickness)) selfFin() } -func (self *DrawList) AddBezierQuadratic(p1 Vec2, p2 Vec2, p3 Vec2, col uint32, thickness float32) { +func (self *DrawList) AddBezierQuadratic(p1, p2, p3 Vec2, col uint32, thickness float32) { selfArg, selfFin := self.Handle() C.wrap_ImDrawList_AddBezierQuadratic(internal.ReinterpretCast[*C.ImDrawList](selfArg), internal.ReinterpretCast[C.ImVec2](p1.ToC()), internal.ReinterpretCast[C.ImVec2](p2.ToC()), internal.ReinterpretCast[C.ImVec2](p3.ToC()), C.ImU32(col), C.float(thickness)) @@ -11468,21 +11468,21 @@ func (self *DrawList) AddCircleFilled(center Vec2, radius float32, col uint32) { selfFin() } -func (self *DrawList) AddEllipse(center Vec2, radius Vec2, col uint32) { +func (self *DrawList) AddEllipse(center, radius Vec2, col uint32) { selfArg, selfFin := self.Handle() C.wrap_ImDrawList_AddEllipse(internal.ReinterpretCast[*C.ImDrawList](selfArg), internal.ReinterpretCast[C.ImVec2](center.ToC()), internal.ReinterpretCast[C.ImVec2](radius.ToC()), C.ImU32(col)) selfFin() } -func (self *DrawList) AddEllipseFilled(center Vec2, radius Vec2, col uint32) { +func (self *DrawList) AddEllipseFilled(center, radius Vec2, col uint32) { selfArg, selfFin := self.Handle() C.wrap_ImDrawList_AddEllipseFilled(internal.ReinterpretCast[*C.ImDrawList](selfArg), internal.ReinterpretCast[C.ImVec2](center.ToC()), internal.ReinterpretCast[C.ImVec2](radius.ToC()), C.ImU32(col)) selfFin() } -func (self *DrawList) AddImage(user_texture_id TextureID, p_min Vec2, p_max Vec2) { +func (self *DrawList) AddImage(user_texture_id TextureID, p_min, p_max Vec2) { selfArg, selfFin := self.Handle() user_texture_idArg, user_texture_idFin := user_texture_id.C() C.wrap_ImDrawList_AddImage(internal.ReinterpretCast[*C.ImDrawList](selfArg), internal.ReinterpretCast[C.ImTextureID](user_texture_idArg), internal.ReinterpretCast[C.ImVec2](p_min.ToC()), internal.ReinterpretCast[C.ImVec2](p_max.ToC())) @@ -11491,7 +11491,7 @@ func (self *DrawList) AddImage(user_texture_id TextureID, p_min Vec2, p_max Vec2 user_texture_idFin() } -func (self *DrawList) AddImageQuad(user_texture_id TextureID, p1 Vec2, p2 Vec2, p3 Vec2, p4 Vec2) { +func (self *DrawList) AddImageQuad(user_texture_id TextureID, p1, p2, p3, p4 Vec2) { selfArg, selfFin := self.Handle() user_texture_idArg, user_texture_idFin := user_texture_id.C() C.wrap_ImDrawList_AddImageQuad(internal.ReinterpretCast[*C.ImDrawList](selfArg), internal.ReinterpretCast[C.ImTextureID](user_texture_idArg), internal.ReinterpretCast[C.ImVec2](p1.ToC()), internal.ReinterpretCast[C.ImVec2](p2.ToC()), internal.ReinterpretCast[C.ImVec2](p3.ToC()), internal.ReinterpretCast[C.ImVec2](p4.ToC())) @@ -11500,7 +11500,7 @@ func (self *DrawList) AddImageQuad(user_texture_id TextureID, p1 Vec2, p2 Vec2, user_texture_idFin() } -func (self *DrawList) AddImageRounded(user_texture_id TextureID, p_min Vec2, p_max Vec2, uv_min Vec2, uv_max Vec2, col uint32, rounding float32) { +func (self *DrawList) AddImageRounded(user_texture_id TextureID, p_min, p_max, uv_min, uv_max Vec2, col uint32, rounding float32) { selfArg, selfFin := self.Handle() user_texture_idArg, user_texture_idFin := user_texture_id.C() C.wrap_ImDrawList_AddImageRounded(internal.ReinterpretCast[*C.ImDrawList](selfArg), internal.ReinterpretCast[C.ImTextureID](user_texture_idArg), internal.ReinterpretCast[C.ImVec2](p_min.ToC()), internal.ReinterpretCast[C.ImVec2](p_max.ToC()), internal.ReinterpretCast[C.ImVec2](uv_min.ToC()), internal.ReinterpretCast[C.ImVec2](uv_max.ToC()), C.ImU32(col), C.float(rounding)) @@ -11509,7 +11509,7 @@ func (self *DrawList) AddImageRounded(user_texture_id TextureID, p_min Vec2, p_m user_texture_idFin() } -func (self *DrawList) AddLine(p1 Vec2, p2 Vec2, col uint32) { +func (self *DrawList) AddLine(p1, p2 Vec2, col uint32) { selfArg, selfFin := self.Handle() C.wrap_ImDrawList_AddLine(internal.ReinterpretCast[*C.ImDrawList](selfArg), internal.ReinterpretCast[C.ImVec2](p1.ToC()), internal.ReinterpretCast[C.ImVec2](p2.ToC()), C.ImU32(col)) @@ -11523,21 +11523,21 @@ func (self *DrawList) AddNgon(center Vec2, radius float32, col uint32, num_segme selfFin() } -func (self *DrawList) AddQuad(p1 Vec2, p2 Vec2, p3 Vec2, p4 Vec2, col uint32) { +func (self *DrawList) AddQuad(p1, p2, p3, p4 Vec2, col uint32) { selfArg, selfFin := self.Handle() C.wrap_ImDrawList_AddQuad(internal.ReinterpretCast[*C.ImDrawList](selfArg), internal.ReinterpretCast[C.ImVec2](p1.ToC()), internal.ReinterpretCast[C.ImVec2](p2.ToC()), internal.ReinterpretCast[C.ImVec2](p3.ToC()), internal.ReinterpretCast[C.ImVec2](p4.ToC()), C.ImU32(col)) selfFin() } -func (self *DrawList) AddRect(p_min Vec2, p_max Vec2, col uint32) { +func (self *DrawList) AddRect(p_min, p_max Vec2, col uint32) { selfArg, selfFin := self.Handle() C.wrap_ImDrawList_AddRect(internal.ReinterpretCast[*C.ImDrawList](selfArg), internal.ReinterpretCast[C.ImVec2](p_min.ToC()), internal.ReinterpretCast[C.ImVec2](p_max.ToC()), C.ImU32(col)) selfFin() } -func (self *DrawList) AddRectFilled(p_min Vec2, p_max Vec2, col uint32) { +func (self *DrawList) AddRectFilled(p_min, p_max Vec2, col uint32) { selfArg, selfFin := self.Handle() C.wrap_ImDrawList_AddRectFilled(internal.ReinterpretCast[*C.ImDrawList](selfArg), internal.ReinterpretCast[C.ImVec2](p_min.ToC()), internal.ReinterpretCast[C.ImVec2](p_max.ToC()), C.ImU32(col)) @@ -11564,42 +11564,42 @@ func (self *DrawList) AddTextVec2(pos Vec2, col uint32, text_begin string) { text_beginFin() } -func (self *DrawList) AddTriangle(p1 Vec2, p2 Vec2, p3 Vec2, col uint32) { +func (self *DrawList) AddTriangle(p1, p2, p3 Vec2, col uint32) { selfArg, selfFin := self.Handle() C.wrap_ImDrawList_AddTriangle(internal.ReinterpretCast[*C.ImDrawList](selfArg), internal.ReinterpretCast[C.ImVec2](p1.ToC()), internal.ReinterpretCast[C.ImVec2](p2.ToC()), internal.ReinterpretCast[C.ImVec2](p3.ToC()), C.ImU32(col)) selfFin() } -func (self *DrawList) PathArcTo(center Vec2, radius float32, a_min float32, a_max float32) { +func (self *DrawList) PathArcTo(center Vec2, radius, a_min, a_max float32) { selfArg, selfFin := self.Handle() C.wrap_ImDrawList_PathArcTo(internal.ReinterpretCast[*C.ImDrawList](selfArg), internal.ReinterpretCast[C.ImVec2](center.ToC()), C.float(radius), C.float(a_min), C.float(a_max)) selfFin() } -func (self *DrawList) PathBezierCubicCurveTo(p2 Vec2, p3 Vec2, p4 Vec2) { +func (self *DrawList) PathBezierCubicCurveTo(p2, p3, p4 Vec2) { selfArg, selfFin := self.Handle() C.wrap_ImDrawList_PathBezierCubicCurveTo(internal.ReinterpretCast[*C.ImDrawList](selfArg), internal.ReinterpretCast[C.ImVec2](p2.ToC()), internal.ReinterpretCast[C.ImVec2](p3.ToC()), internal.ReinterpretCast[C.ImVec2](p4.ToC())) selfFin() } -func (self *DrawList) PathBezierQuadraticCurveTo(p2 Vec2, p3 Vec2) { +func (self *DrawList) PathBezierQuadraticCurveTo(p2, p3 Vec2) { selfArg, selfFin := self.Handle() C.wrap_ImDrawList_PathBezierQuadraticCurveTo(internal.ReinterpretCast[*C.ImDrawList](selfArg), internal.ReinterpretCast[C.ImVec2](p2.ToC()), internal.ReinterpretCast[C.ImVec2](p3.ToC())) selfFin() } -func (self *DrawList) PathEllipticalArcTo(center Vec2, radius Vec2, rot float32, a_min float32, a_max float32) { +func (self *DrawList) PathEllipticalArcTo(center, radius Vec2, rot, a_min, a_max float32) { selfArg, selfFin := self.Handle() C.wrap_ImDrawList_PathEllipticalArcTo(internal.ReinterpretCast[*C.ImDrawList](selfArg), internal.ReinterpretCast[C.ImVec2](center.ToC()), internal.ReinterpretCast[C.ImVec2](radius.ToC()), C.float(rot), C.float(a_min), C.float(a_max)) selfFin() } -func (self *DrawList) PathRect(rect_min Vec2, rect_max Vec2) { +func (self *DrawList) PathRect(rect_min, rect_max Vec2) { selfArg, selfFin := self.Handle() C.wrap_ImDrawList_PathRect(internal.ReinterpretCast[*C.ImDrawList](selfArg), internal.ReinterpretCast[C.ImVec2](rect_min.ToC()), internal.ReinterpretCast[C.ImVec2](rect_max.ToC())) @@ -11613,14 +11613,14 @@ func (self *DrawList) PathStroke(col uint32) { selfFin() } -func (self *DrawList) PushClipRect(clip_rect_min Vec2, clip_rect_max Vec2) { +func (self *DrawList) PushClipRect(clip_rect_min, clip_rect_max Vec2) { selfArg, selfFin := self.Handle() C.wrap_ImDrawList_PushClipRect(internal.ReinterpretCast[*C.ImDrawList](selfArg), internal.ReinterpretCast[C.ImVec2](clip_rect_min.ToC()), internal.ReinterpretCast[C.ImVec2](clip_rect_max.ToC())) selfFin() } -func (self *FontAtlas) AddCustomRectFontGlyph(font *Font, id Wchar, width int32, height int32, advance_x float32) int32 { +func (self *FontAtlas) AddCustomRectFontGlyph(font *Font, id Wchar, width, height int32, advance_x float32) int32 { selfArg, selfFin := self.Handle() fontArg, fontFin := font.Handle() @@ -11689,14 +11689,14 @@ func (self *FontGlyphRangesBuilder) AddText(text string) { textFin() } -func (self *Font) AddRemapChar(dst Wchar, src Wchar) { +func (self *Font) AddRemapChar(dst, src Wchar) { selfArg, selfFin := self.Handle() C.wrap_ImFont_AddRemapChar(internal.ReinterpretCast[*C.ImFont](selfArg), C.ImWchar(dst), C.ImWchar(src)) selfFin() } -func (self *Font) CalcTextSizeA(size float32, max_width float32, wrap_width float32, text_begin string) Vec2 { +func (self *Font) CalcTextSizeA(size, max_width, wrap_width float32, text_begin string) Vec2 { pOut := new(Vec2) pOutArg, pOutFin := internal.Wrap(pOut) @@ -11722,7 +11722,7 @@ func (self *Font) RenderText(draw_list *DrawList, size float32, pos Vec2, col ui text_beginFin() } -func (self *IO) SetKeyEventNativeData(key Key, native_keycode int32, native_scancode int32) { +func (self *IO) SetKeyEventNativeData(key Key, native_keycode, native_scancode int32) { selfArg, selfFin := self.Handle() C.wrap_ImGuiIO_SetKeyEventNativeData(internal.ReinterpretCast[*C.ImGuiIO](selfArg), C.ImGuiKey(key), C.int(native_keycode), C.int(native_scancode)) @@ -11906,7 +11906,7 @@ func InternalBeginColumns(str_id string, count int32) { str_idFin() } -func BeginCombo(label string, preview_value string) bool { +func BeginCombo(label, preview_value string) bool { labelArg, labelFin := internal.WrapString[C.char](label) preview_valueArg, preview_valueFin := internal.WrapString[C.char](preview_value) @@ -11943,7 +11943,7 @@ func BeginMenu(label string) bool { return C.wrap_igBeginMenu(labelArg) == C.bool(true) } -func InternalBeginMenuEx(label string, icon string) bool { +func InternalBeginMenuEx(label, icon string) bool { labelArg, labelFin := internal.WrapString[C.char](label) iconArg, iconFin := internal.WrapString[C.char](icon) @@ -12035,7 +12035,7 @@ func Button(label string) bool { return C.wrap_igButton(labelArg) == C.bool(true) } -func InternalButtonBehavior(bb Rect, id ID, out_hovered *bool, out_held *bool) bool { +func InternalButtonBehavior(bb Rect, id ID, out_hovered, out_held *bool) bool { idArg, idFin := id.C() out_hoveredArg, out_hoveredFin := internal.WrapNumberPtr[C.bool, bool](out_hovered) out_heldArg, out_heldFin := internal.WrapNumberPtr[C.bool, bool](out_held) @@ -12333,7 +12333,7 @@ func DragFloat4(label string, v *[4]float32) bool { return C.wrap_igDragFloat4(labelArg, (*C.float)(&vArg[0])) == C.bool(true) } -func DragFloatRange2(label string, v_current_min *float32, v_current_max *float32) bool { +func DragFloatRange2(label string, v_current_min, v_current_max *float32) bool { labelArg, labelFin := internal.WrapString[C.char](label) v_current_minArg, v_current_minFin := internal.WrapNumberPtr[C.float, float32](v_current_min) v_current_maxArg, v_current_maxFin := internal.WrapNumberPtr[C.float, float32](v_current_max) @@ -12411,7 +12411,7 @@ func DragInt4(label string, v *[4]int32) bool { return C.wrap_igDragInt4(labelArg, (*C.int)(&vArg[0])) == C.bool(true) } -func DragIntRange2(label string, v_current_min *int32, v_current_max *int32) bool { +func DragIntRange2(label string, v_current_min, v_current_max *int32) bool { labelArg, labelFin := internal.WrapString[C.char](label) v_current_minArg, v_current_minFin := internal.WrapNumberPtr[C.int, int32](v_current_min) v_current_maxArg, v_current_maxFin := internal.WrapNumberPtr[C.int, int32](v_current_max) @@ -12497,7 +12497,7 @@ func InternalTypingSelectRequest() *TypingSelectRequest { return NewTypingSelectRequestFromC(C.wrap_igGetTypingSelectRequest()) } -func InternalImFileLoadToMemory(filename string, mode string) uintptr { +func InternalImFileLoadToMemory(filename, mode string) uintptr { filenameArg, filenameFin := internal.WrapString[C.char](filename) modeArg, modeFin := internal.WrapString[C.char](mode) @@ -12524,7 +12524,7 @@ func InternalImHashStr(data string) ID { return *NewIDFromC(func() *C.ImGuiID { result := C.wrap_igImHashStr(dataArg); return &result }()) } -func InternalImTextStrFromUtf8(out_buf *Wchar, out_buf_size int32, in_text string, in_text_end string) int32 { +func InternalImTextStrFromUtf8(out_buf *Wchar, out_buf_size int32, in_text, in_text_end string) int32 { in_textArg, in_textFin := internal.WrapString[C.char](in_text) in_text_endArg, in_text_endFin := internal.WrapString[C.char](in_text_end) @@ -12553,7 +12553,7 @@ func ImageButton(str_id string, user_texture_id TextureID, image_size Vec2) bool return C.wrap_igImageButton(str_idArg, internal.ReinterpretCast[C.ImTextureID](user_texture_idArg), internal.ReinterpretCast[C.ImVec2](image_size.ToC())) == C.bool(true) } -func InternalImageButtonEx(id ID, texture_id TextureID, image_size Vec2, uv0 Vec2, uv1 Vec2, bg_col Vec4, tint_col Vec4) bool { +func InternalImageButtonEx(id ID, texture_id TextureID, image_size, uv0, uv1 Vec2, bg_col, tint_col Vec4) bool { idArg, idFin := id.C() texture_idArg, texture_idFin := texture_id.C() @@ -12727,7 +12727,7 @@ func InputScalarN(label string, data_type DataType, p_data uintptr, components i return C.wrap_igInputScalarN(labelArg, C.ImGuiDataType(data_type), C.uintptr_t(p_data), C.int(components)) == C.bool(true) } -func InternalInputTextEx(label string, hint string, buf string, buf_size int32, size_arg Vec2, flags InputTextFlags) bool { +func InternalInputTextEx(label, hint, buf string, buf_size int32, size_arg Vec2, flags InputTextFlags) bool { labelArg, labelFin := internal.WrapString[C.char](label) hintArg, hintFin := internal.WrapString[C.char](hint) bufArg, bufFin := internal.WrapString[C.char](buf) @@ -12790,7 +12790,7 @@ func IsMouseDragging(button MouseButton) bool { return C.wrap_igIsMouseDragging(C.ImGuiMouseButton(button)) == C.bool(true) } -func IsMouseHoveringRect(r_min Vec2, r_max Vec2) bool { +func IsMouseHoveringRect(r_min, r_max Vec2) bool { return C.wrap_igIsMouseHoveringRect(internal.ReinterpretCast[C.ImVec2](r_min.ToC()), internal.ReinterpretCast[C.ImVec2](r_max.ToC())) == C.bool(true) } @@ -12886,7 +12886,7 @@ func LogToTTY() { C.wrap_igLogToTTY() } -func InternalMenuItemEx(label string, icon string) bool { +func InternalMenuItemEx(label, icon string) bool { labelArg, labelFin := internal.WrapString[C.char](label) iconArg, iconFin := internal.WrapString[C.char](icon) @@ -12906,7 +12906,7 @@ func MenuItemBool(label string) bool { return C.wrap_igMenuItem_Bool(labelArg) == C.bool(true) } -func MenuItemBoolPtr(label string, shortcut string, p_selected *bool) bool { +func MenuItemBoolPtr(label, shortcut string, p_selected *bool) bool { labelArg, labelFin := internal.WrapString[C.char](label) shortcutArg, shortcutFin := internal.WrapString[C.char](shortcut) p_selectedArg, p_selectedFin := internal.WrapNumberPtr[C.bool, bool](p_selected) @@ -12985,18 +12985,18 @@ func InternalRenderArrow(draw_list *DrawList, pos Vec2, col uint32, dir Dir) { draw_listFin() } -func InternalRenderColorRectWithAlphaCheckerboard(draw_list *DrawList, p_min Vec2, p_max Vec2, fill_col uint32, grid_step float32, grid_off Vec2) { +func InternalRenderColorRectWithAlphaCheckerboard(draw_list *DrawList, p_min, p_max Vec2, fill_col uint32, grid_step float32, grid_off Vec2) { draw_listArg, draw_listFin := draw_list.Handle() C.wrap_igRenderColorRectWithAlphaCheckerboard(internal.ReinterpretCast[*C.ImDrawList](draw_listArg), internal.ReinterpretCast[C.ImVec2](p_min.ToC()), internal.ReinterpretCast[C.ImVec2](p_max.ToC()), C.ImU32(fill_col), C.float(grid_step), internal.ReinterpretCast[C.ImVec2](grid_off.ToC())) draw_listFin() } -func InternalRenderFrame(p_min Vec2, p_max Vec2, fill_col uint32) { +func InternalRenderFrame(p_min, p_max Vec2, fill_col uint32) { C.wrap_igRenderFrame(internal.ReinterpretCast[C.ImVec2](p_min.ToC()), internal.ReinterpretCast[C.ImVec2](p_max.ToC()), C.ImU32(fill_col)) } -func InternalRenderFrameBorder(p_min Vec2, p_max Vec2) { +func InternalRenderFrameBorder(p_min, p_max Vec2) { C.wrap_igRenderFrameBorder(internal.ReinterpretCast[C.ImVec2](p_min.ToC()), internal.ReinterpretCast[C.ImVec2](p_max.ToC())) } @@ -13018,7 +13018,7 @@ func InternalRenderText(pos Vec2, text string) { textFin() } -func InternalRenderTextClipped(pos_min Vec2, pos_max Vec2, text string, text_size_if_known *Vec2) { +func InternalRenderTextClipped(pos_min, pos_max Vec2, text string, text_size_if_known *Vec2) { textArg, textFin := internal.WrapString[C.char](text) text_size_if_knownArg, text_size_if_knownFin := internal.Wrap(text_size_if_known) C.wrap_igRenderTextClipped(internal.ReinterpretCast[C.ImVec2](pos_min.ToC()), internal.ReinterpretCast[C.ImVec2](pos_max.ToC()), textArg, C.int(len(text)), internal.ReinterpretCast[*C.ImVec2](text_size_if_knownArg)) @@ -13027,7 +13027,7 @@ func InternalRenderTextClipped(pos_min Vec2, pos_max Vec2, text string, text_siz text_size_if_knownFin() } -func InternalRenderTextClippedEx(draw_list *DrawList, pos_min Vec2, pos_max Vec2, text string, text_size_if_known *Vec2) { +func InternalRenderTextClippedEx(draw_list *DrawList, pos_min, pos_max Vec2, text string, text_size_if_known *Vec2) { draw_listArg, draw_listFin := draw_list.Handle() textArg, textFin := internal.WrapString[C.char](text) text_size_if_knownArg, text_size_if_knownFin := internal.Wrap(text_size_if_known) @@ -13166,7 +13166,7 @@ func SetNextWindowSize(size Vec2) { C.wrap_igSetNextWindowSize(internal.ReinterpretCast[C.ImVec2](size.ToC())) } -func SetNextWindowSizeConstraints(size_min Vec2, size_max Vec2) { +func SetNextWindowSizeConstraints(size_min, size_max Vec2) { C.wrap_igSetNextWindowSizeConstraints(internal.ReinterpretCast[C.ImVec2](size_min.ToC()), internal.ReinterpretCast[C.ImVec2](size_max.ToC())) } @@ -13284,7 +13284,7 @@ func SliderAngle(label string, v_rad *float32) bool { return C.wrap_igSliderAngle(labelArg, v_radArg) == C.bool(true) } -func SliderFloat(label string, v *float32, v_min float32, v_max float32) bool { +func SliderFloat(label string, v *float32, v_min, v_max float32) bool { labelArg, labelFin := internal.WrapString[C.char](label) vArg, vFin := internal.WrapNumberPtr[C.float, float32](v) @@ -13295,7 +13295,7 @@ func SliderFloat(label string, v *float32, v_min float32, v_max float32) bool { return C.wrap_igSliderFloat(labelArg, vArg, C.float(v_min), C.float(v_max)) == C.bool(true) } -func SliderFloat2(label string, v *[2]float32, v_min float32, v_max float32) bool { +func SliderFloat2(label string, v *[2]float32, v_min, v_max float32) bool { labelArg, labelFin := internal.WrapString[C.char](label) vArg := make([]C.float, len(v)) @@ -13313,7 +13313,7 @@ func SliderFloat2(label string, v *[2]float32, v_min float32, v_max float32) boo return C.wrap_igSliderFloat2(labelArg, (*C.float)(&vArg[0]), C.float(v_min), C.float(v_max)) == C.bool(true) } -func SliderFloat3(label string, v *[3]float32, v_min float32, v_max float32) bool { +func SliderFloat3(label string, v *[3]float32, v_min, v_max float32) bool { labelArg, labelFin := internal.WrapString[C.char](label) vArg := make([]C.float, len(v)) @@ -13331,7 +13331,7 @@ func SliderFloat3(label string, v *[3]float32, v_min float32, v_max float32) boo return C.wrap_igSliderFloat3(labelArg, (*C.float)(&vArg[0]), C.float(v_min), C.float(v_max)) == C.bool(true) } -func SliderFloat4(label string, v *[4]float32, v_min float32, v_max float32) bool { +func SliderFloat4(label string, v *[4]float32, v_min, v_max float32) bool { labelArg, labelFin := internal.WrapString[C.char](label) vArg := make([]C.float, len(v)) @@ -13349,7 +13349,7 @@ func SliderFloat4(label string, v *[4]float32, v_min float32, v_max float32) boo return C.wrap_igSliderFloat4(labelArg, (*C.float)(&vArg[0]), C.float(v_min), C.float(v_max)) == C.bool(true) } -func SliderInt(label string, v *int32, v_min int32, v_max int32) bool { +func SliderInt(label string, v *int32, v_min, v_max int32) bool { labelArg, labelFin := internal.WrapString[C.char](label) vArg, vFin := internal.WrapNumberPtr[C.int, int32](v) @@ -13360,7 +13360,7 @@ func SliderInt(label string, v *int32, v_min int32, v_max int32) bool { return C.wrap_igSliderInt(labelArg, vArg, C.int(v_min), C.int(v_max)) == C.bool(true) } -func SliderInt2(label string, v *[2]int32, v_min int32, v_max int32) bool { +func SliderInt2(label string, v *[2]int32, v_min, v_max int32) bool { labelArg, labelFin := internal.WrapString[C.char](label) vArg := make([]C.int, len(v)) @@ -13378,7 +13378,7 @@ func SliderInt2(label string, v *[2]int32, v_min int32, v_max int32) bool { return C.wrap_igSliderInt2(labelArg, (*C.int)(&vArg[0]), C.int(v_min), C.int(v_max)) == C.bool(true) } -func SliderInt3(label string, v *[3]int32, v_min int32, v_max int32) bool { +func SliderInt3(label string, v *[3]int32, v_min, v_max int32) bool { labelArg, labelFin := internal.WrapString[C.char](label) vArg := make([]C.int, len(v)) @@ -13396,7 +13396,7 @@ func SliderInt3(label string, v *[3]int32, v_min int32, v_max int32) bool { return C.wrap_igSliderInt3(labelArg, (*C.int)(&vArg[0]), C.int(v_min), C.int(v_max)) == C.bool(true) } -func SliderInt4(label string, v *[4]int32, v_min int32, v_max int32) bool { +func SliderInt4(label string, v *[4]int32, v_min, v_max int32) bool { labelArg, labelFin := internal.WrapString[C.char](label) vArg := make([]C.int, len(v)) @@ -13414,7 +13414,7 @@ func SliderInt4(label string, v *[4]int32, v_min int32, v_max int32) bool { return C.wrap_igSliderInt4(labelArg, (*C.int)(&vArg[0]), C.int(v_min), C.int(v_max)) == C.bool(true) } -func SliderScalar(label string, data_type DataType, p_data uintptr, p_min uintptr, p_max uintptr) bool { +func SliderScalar(label string, data_type DataType, p_data, p_min, p_max uintptr) bool { labelArg, labelFin := internal.WrapString[C.char](label) defer func() { @@ -13423,7 +13423,7 @@ func SliderScalar(label string, data_type DataType, p_data uintptr, p_min uintpt return C.wrap_igSliderScalar(labelArg, C.ImGuiDataType(data_type), C.uintptr_t(p_data), C.uintptr_t(p_min), C.uintptr_t(p_max)) == C.bool(true) } -func SliderScalarN(label string, data_type DataType, p_data uintptr, components int32, p_min uintptr, p_max uintptr) bool { +func SliderScalarN(label string, data_type DataType, p_data uintptr, components int32, p_min, p_max uintptr) bool { labelArg, labelFin := internal.WrapString[C.char](label) defer func() { @@ -13432,7 +13432,7 @@ func SliderScalarN(label string, data_type DataType, p_data uintptr, components return C.wrap_igSliderScalarN(labelArg, C.ImGuiDataType(data_type), C.uintptr_t(p_data), C.int(components), C.uintptr_t(p_min), C.uintptr_t(p_max)) == C.bool(true) } -func InternalSplitterBehavior(bb Rect, id ID, axis Axis, size1 *float32, size2 *float32, min_size1 float32, min_size2 float32) bool { +func InternalSplitterBehavior(bb Rect, id ID, axis Axis, size1, size2 *float32, min_size1, min_size2 float32) bool { idArg, idFin := id.C() size1Arg, size1Fin := internal.WrapNumberPtr[C.float, float32](size1) size2Arg, size2Fin := internal.WrapNumberPtr[C.float, float32](size2) @@ -13563,7 +13563,7 @@ func Unindent() { C.wrap_igUnindent() } -func VSliderFloat(label string, size Vec2, v *float32, v_min float32, v_max float32) bool { +func VSliderFloat(label string, size Vec2, v *float32, v_min, v_max float32) bool { labelArg, labelFin := internal.WrapString[C.char](label) vArg, vFin := internal.WrapNumberPtr[C.float, float32](v) @@ -13574,7 +13574,7 @@ func VSliderFloat(label string, size Vec2, v *float32, v_min float32, v_max floa return C.wrap_igVSliderFloat(labelArg, internal.ReinterpretCast[C.ImVec2](size.ToC()), vArg, C.float(v_min), C.float(v_max)) == C.bool(true) } -func VSliderInt(label string, size Vec2, v *int32, v_min int32, v_max int32) bool { +func VSliderInt(label string, size Vec2, v *int32, v_min, v_max int32) bool { labelArg, labelFin := internal.WrapString[C.char](label) vArg, vFin := internal.WrapNumberPtr[C.int, int32](v) @@ -13585,7 +13585,7 @@ func VSliderInt(label string, size Vec2, v *int32, v_min int32, v_max int32) boo return C.wrap_igVSliderInt(labelArg, internal.ReinterpretCast[C.ImVec2](size.ToC()), vArg, C.int(v_min), C.int(v_max)) == C.bool(true) } -func VSliderScalar(label string, size Vec2, data_type DataType, p_data uintptr, p_min uintptr, p_max uintptr) bool { +func VSliderScalar(label string, size Vec2, data_type DataType, p_data, p_min, p_max uintptr) bool { labelArg, labelFin := internal.WrapString[C.char](label) defer func() { diff --git a/imguizmo/funcs.go b/imguizmo/funcs.go index 468c431b5..3e6efec4c 100644 --- a/imguizmo/funcs.go +++ b/imguizmo/funcs.go @@ -23,7 +23,7 @@ func BeginFrame() { C.ImGuizmo_BeginFrame() } -func DecomposeMatrixToComponents(matrix *float32, translation *float32, rotation *float32, scale *float32) { +func DecomposeMatrixToComponents(matrix, translation, rotation, scale *float32) { matrixArg, matrixFin := internal.WrapNumberPtr[C.float, float32](matrix) translationArg, translationFin := internal.WrapNumberPtr[C.float, float32](translation) rotationArg, rotationFin := internal.WrapNumberPtr[C.float, float32](rotation) @@ -36,7 +36,7 @@ func DecomposeMatrixToComponents(matrix *float32, translation *float32, rotation scaleFin() } -func DrawCubes(view *float32, projection *float32, matrices *float32, matrixCount int32) { +func DrawCubes(view, projection, matrices *float32, matrixCount int32) { viewArg, viewFin := internal.WrapNumberPtr[C.float, float32](view) projectionArg, projectionFin := internal.WrapNumberPtr[C.float, float32](projection) matricesArg, matricesFin := internal.WrapNumberPtr[C.float, float32](matrices) @@ -47,7 +47,7 @@ func DrawCubes(view *float32, projection *float32, matrices *float32, matrixCoun matricesFin() } -func DrawGrid(view *float32, projection *float32, matrix *float32, gridSize float32) { +func DrawGrid(view, projection, matrix *float32, gridSize float32) { viewArg, viewFin := internal.WrapNumberPtr[C.float, float32](view) projectionArg, projectionFin := internal.WrapNumberPtr[C.float, float32](projection) matrixArg, matrixFin := internal.WrapNumberPtr[C.float, float32](matrix) @@ -76,7 +76,7 @@ func GetIDStr(str_id string) imgui.ID { return *imgui.NewIDFromC(func() *C.ImGuiID { result := C.ImGuizmo_GetID_Str(str_idArg); return &result }()) } -func GetIDStrStr(str_id_begin string, str_id_end string) imgui.ID { +func GetIDStrStr(str_id_begin, str_id_end string) imgui.ID { str_id_beginArg, str_id_beginFin := internal.WrapString[C.char](str_id_begin) str_id_endArg, str_id_endFin := internal.WrapString[C.char](str_id_end) @@ -129,7 +129,7 @@ func IsViewManipulateHovered() bool { // snap: NULL // localBounds: NULL // boundsSnap: NULL -func ManipulateV(view *float32, projection *float32, operation OPERATION, mode MODE, matrix *float32, deltaMatrix *float32, snap *float32, localBounds *float32, boundsSnap *float32) bool { +func ManipulateV(view, projection *float32, operation OPERATION, mode MODE, matrix, deltaMatrix, snap, localBounds, boundsSnap *float32) bool { viewArg, viewFin := internal.WrapNumberPtr[C.float, float32](view) projectionArg, projectionFin := internal.WrapNumberPtr[C.float, float32](projection) matrixArg, matrixFin := internal.WrapNumberPtr[C.float, float32](matrix) @@ -174,7 +174,7 @@ func PushIDStr(str_id string) { } // push string into the ID stack (will hash string). -func PushIDStrStr(str_id_begin string, str_id_end string) { +func PushIDStrStr(str_id_begin, str_id_end string) { str_id_beginArg, str_id_beginFin := internal.WrapString[C.char](str_id_begin) str_id_endArg, str_id_endFin := internal.WrapString[C.char](str_id_end) C.ImGuizmo_PushID_StrStr(str_id_beginArg, str_id_endArg) @@ -183,7 +183,7 @@ func PushIDStrStr(str_id_begin string, str_id_end string) { str_id_endFin() } -func RecomposeMatrixFromComponents(translation *float32, rotation *float32, scale *float32, matrix *float32) { +func RecomposeMatrixFromComponents(translation, rotation, scale, matrix *float32) { translationArg, translationFin := internal.WrapNumberPtr[C.float, float32](translation) rotationArg, rotationFin := internal.WrapNumberPtr[C.float, float32](rotation) scaleArg, scaleFin := internal.WrapNumberPtr[C.float, float32](scale) @@ -207,7 +207,7 @@ func SetAxisLimit(value float32) { C.ImGuizmo_SetAxisLimit(C.float(value)) } -func SetAxisMask(x bool, y bool, z bool) { +func SetAxisMask(x, y, z bool) { C.ImGuizmo_SetAxisMask(C.bool(x), C.bool(y), C.bool(z)) } @@ -243,18 +243,18 @@ func SetPlaneLimit(value float32) { C.ImGuizmo_SetPlaneLimit(C.float(value)) } -func SetRect(x float32, y float32, width float32, height float32) { +func SetRect(x, y, width, height float32) { C.ImGuizmo_SetRect(C.float(x), C.float(y), C.float(width), C.float(height)) } -func ViewManipulateFloat(view *float32, length float32, position imgui.Vec2, size imgui.Vec2, backgroundColor uint32) { +func ViewManipulateFloat(view *float32, length float32, position, size imgui.Vec2, backgroundColor uint32) { viewArg, viewFin := internal.WrapNumberPtr[C.float, float32](view) C.ImGuizmo_ViewManipulate_Float(viewArg, C.float(length), internal.ReinterpretCast[C.ImVec2](position.ToC()), internal.ReinterpretCast[C.ImVec2](size.ToC()), C.ImU32(backgroundColor)) viewFin() } -func ViewManipulateFloatPtr(view *float32, projection *float32, operation OPERATION, mode MODE, matrix *float32, length float32, position imgui.Vec2, size imgui.Vec2, backgroundColor uint32) { +func ViewManipulateFloatPtr(view, projection *float32, operation OPERATION, mode MODE, matrix *float32, length float32, position, size imgui.Vec2, backgroundColor uint32) { viewArg, viewFin := internal.WrapNumberPtr[C.float, float32](view) projectionArg, projectionFin := internal.WrapNumberPtr[C.float, float32](projection) matrixArg, matrixFin := internal.WrapNumberPtr[C.float, float32](matrix) @@ -276,7 +276,7 @@ func (self *Style) Destroy() { selfFin() } -func Manipulate(view *float32, projection *float32, operation OPERATION, mode MODE, matrix *float32) bool { +func Manipulate(view, projection *float32, operation OPERATION, mode MODE, matrix *float32) bool { viewArg, viewFin := internal.WrapNumberPtr[C.float, float32](view) projectionArg, projectionFin := internal.WrapNumberPtr[C.float, float32](projection) matrixArg, matrixFin := internal.WrapNumberPtr[C.float, float32](matrix) diff --git a/imnodes/funcs.go b/imnodes/funcs.go index 16be91c23..9712a9ff5 100644 --- a/imnodes/funcs.go +++ b/imnodes/funcs.go @@ -279,7 +279,7 @@ func IsEditorHovered() bool { // IsLinkCreatedBoolPtrV parameter default value hint: // created_from_snap: NULL -func IsLinkCreatedBoolPtrV(started_at_attribute_id *int32, ended_at_attribute_id *int32, created_from_snap *bool) bool { +func IsLinkCreatedBoolPtrV(started_at_attribute_id, ended_at_attribute_id *int32, created_from_snap *bool) bool { started_at_attribute_idArg, started_at_attribute_idFin := internal.WrapNumberPtr[C.int, int32](started_at_attribute_id) ended_at_attribute_idArg, ended_at_attribute_idFin := internal.WrapNumberPtr[C.int, int32](ended_at_attribute_id) created_from_snapArg, created_from_snapFin := internal.WrapNumberPtr[C.bool, bool](created_from_snap) @@ -294,7 +294,7 @@ func IsLinkCreatedBoolPtrV(started_at_attribute_id *int32, ended_at_attribute_id // IsLinkCreatedIntPtrV parameter default value hint: // created_from_snap: NULL -func IsLinkCreatedIntPtrV(started_at_node_id *int32, started_at_attribute_id *int32, ended_at_node_id *int32, ended_at_attribute_id *int32, created_from_snap *bool) bool { +func IsLinkCreatedIntPtrV(started_at_node_id, started_at_attribute_id, ended_at_node_id, ended_at_attribute_id *int32, created_from_snap *bool) bool { started_at_node_idArg, started_at_node_idFin := internal.WrapNumberPtr[C.int, int32](started_at_node_id) started_at_attribute_idArg, started_at_attribute_idFin := internal.WrapNumberPtr[C.int, int32](started_at_attribute_id) ended_at_node_idArg, ended_at_node_idFin := internal.WrapNumberPtr[C.int, int32](ended_at_node_id) @@ -376,7 +376,7 @@ func IsPinHovered(attribute_id *int32) bool { return C.imnodes_IsPinHovered(attribute_idArg) == C.bool(true) } -func Link(id int32, start_attribute_id int32, end_attribute_id int32) { +func Link(id, start_attribute_id, end_attribute_id int32) { C.imnodes_Link(C.int(id), C.int(start_attribute_id), C.int(end_attribute_id)) } @@ -582,7 +582,7 @@ func IsAnyAttributeActive() bool { return C.wrap_imnodes_IsAnyAttributeActive() == C.bool(true) } -func IsLinkCreatedBoolPtr(started_at_attribute_id *int32, ended_at_attribute_id *int32) bool { +func IsLinkCreatedBoolPtr(started_at_attribute_id, ended_at_attribute_id *int32) bool { started_at_attribute_idArg, started_at_attribute_idFin := internal.WrapNumberPtr[C.int, int32](started_at_attribute_id) ended_at_attribute_idArg, ended_at_attribute_idFin := internal.WrapNumberPtr[C.int, int32](ended_at_attribute_id) @@ -593,7 +593,7 @@ func IsLinkCreatedBoolPtr(started_at_attribute_id *int32, ended_at_attribute_id return C.wrap_imnodes_IsLinkCreated_BoolPtr(started_at_attribute_idArg, ended_at_attribute_idArg) == C.bool(true) } -func IsLinkCreatedIntPtr(started_at_node_id *int32, started_at_attribute_id *int32, ended_at_node_id *int32, ended_at_attribute_id *int32) bool { +func IsLinkCreatedIntPtr(started_at_node_id, started_at_attribute_id, ended_at_node_id, ended_at_attribute_id *int32) bool { started_at_node_idArg, started_at_node_idFin := internal.WrapNumberPtr[C.int, int32](started_at_node_id) started_at_attribute_idArg, started_at_attribute_idFin := internal.WrapNumberPtr[C.int, int32](started_at_attribute_id) ended_at_node_idArg, ended_at_node_idFin := internal.WrapNumberPtr[C.int, int32](ended_at_node_id) diff --git a/implot/funcs.go b/implot/funcs.go index c2ae71b7a..d3095c9d0 100644 --- a/implot/funcs.go +++ b/implot/funcs.go @@ -41,7 +41,7 @@ func (self *AlignmentData) Reset() { selfFin() } -func (self *AlignmentData) Update(pad_a *float32, pad_b *float32, delta_a *float32, delta_b *float32) { +func (self *AlignmentData) Update(pad_a, pad_b, delta_a, delta_b *float32) { selfArg, selfFin := self.Handle() pad_aArg, pad_aFin := internal.WrapNumberPtr[C.float, float32](pad_a) pad_bArg, pad_bFin := internal.WrapNumberPtr[C.float, float32](pad_b) @@ -63,7 +63,7 @@ func (self *AlignmentData) Destroy() { selfFin() } -func (self *AnnotationCollection) Append(pos imgui.Vec2, off imgui.Vec2, bg uint32, fg uint32, clamp bool, fmt string) { +func (self *AnnotationCollection) Append(pos, off imgui.Vec2, bg, fg uint32, clamp bool, fmt string) { selfArg, selfFin := self.Handle() fmtArg, fmtFin := internal.WrapString[C.char](fmt) C.wrap_ImPlotAnnotationCollection_Append(internal.ReinterpretCast[*C.ImPlotAnnotationCollection](selfArg), internal.ReinterpretCast[C.ImVec2](pos.ToC()), internal.ReinterpretCast[C.ImVec2](off.ToC()), C.ImU32(bg), C.ImU32(fg), C.bool(clamp), fmtArg) @@ -140,7 +140,7 @@ func (self *Axis) ExtendFit(v float64) { selfFin() } -func (self *Axis) ExtendFitWith(alt *Axis, v float64, v_alt float64) { +func (self *Axis) ExtendFitWith(alt *Axis, v, v_alt float64) { selfArg, selfFin := self.Handle() altArg, altFin := alt.Handle() C.ImPlotAxis_ExtendFitWith(internal.ReinterpretCast[*C.ImPlotAxis](selfArg), internal.ReinterpretCast[*C.ImPlotAxis](altArg), C.double(v), C.double(v_alt)) @@ -401,7 +401,7 @@ func (self *Axis) SetRangePlotRange(rangeArg Range) { rangeArgFin() } -func (self *Axis) SetRangedouble(v1 float64, v2 float64) { +func (self *Axis) SetRangedouble(v1, v2 float64) { selfArg, selfFin := self.Handle() C.ImPlotAxis_SetRange_double(internal.ReinterpretCast[*C.ImPlotAxis](selfArg), C.double(v1), C.double(v2)) @@ -575,7 +575,7 @@ func NewDateTimeSpecNil() *DateTimeSpec { // NewDateTimeSpecPlotDateFmt parameter default value hint: // use_24_hr_clk: false // use_iso_8601: false -func NewDateTimeSpecPlotDateFmt(date_fmt DateFmt, time_fmt TimeFmt, use_24_hr_clk bool, use_iso_8601 bool) *DateTimeSpec { +func NewDateTimeSpecPlotDateFmt(date_fmt DateFmt, time_fmt TimeFmt, use_24_hr_clk, use_iso_8601 bool) *DateTimeSpec { return NewDateTimeSpecFromC(C.ImPlotDateTimeSpec_ImPlotDateTimeSpec_PlotDateFmt(C.ImPlotDateFmt(date_fmt), C.ImPlotTimeFmt(time_fmt), C.bool(use_24_hr_clk), C.bool(use_iso_8601))) } @@ -913,7 +913,7 @@ func (self *Plot) Destroy() { selfFin() } -func NewPointError(x float64, y float64, neg float64, pos float64) *PointError { +func NewPointError(x, y, neg, pos float64) *PointError { return NewPointErrorFromC(C.ImPlotPointError_ImPlotPointError(C.double(x), C.double(y), C.double(neg), C.double(pos))) } @@ -953,7 +953,7 @@ func NewRangeNil() *Range { return NewRangeFromC(C.ImPlotRange_ImPlotRange_Nil()) } -func NewRangedouble(_min float64, _max float64) *Range { +func NewRangedouble(_min, _max float64) *Range { return NewRangeFromC(C.ImPlotRange_ImPlotRange_double(C.double(_min), C.double(_max))) } @@ -986,7 +986,7 @@ func (self *Rect) ClampPlotPoInt(p PlotPoint) PlotPoint { return *pOut } -func (self *Rect) Clampdouble(x float64, y float64) PlotPoint { +func (self *Rect) Clampdouble(x, y float64) PlotPoint { pOut := new(PlotPoint) pOutArg, pOutFin := internal.Wrap(pOut) @@ -1008,7 +1008,7 @@ func (self *Rect) ContainsPlotPoInt(p PlotPoint) bool { return C.ImPlotRect_Contains_PlotPoInt(internal.ReinterpretCast[*C.ImPlotRect](selfArg), internal.ReinterpretCast[C.ImPlotPoint](p.ToC())) == C.bool(true) } -func (self *Rect) Containsdouble(x float64, y float64) bool { +func (self *Rect) Containsdouble(x, y float64) bool { selfArg, selfFin := self.Handle() defer func() { @@ -1021,7 +1021,7 @@ func NewRectNil() *Rect { return NewRectFromC(C.ImPlotRect_ImPlotRect_Nil()) } -func NewRectdouble(x_min float64, x_max float64, y_min float64, y_max float64) *Rect { +func NewRectdouble(x_min, x_max, y_min, y_max float64) *Rect { return NewRectFromC(C.ImPlotRect_ImPlotRect_double(C.double(x_min), C.double(x_max), C.double(y_min), C.double(y_max))) } @@ -1093,7 +1093,7 @@ func (self *Subplot) Destroy() { selfFin() } -func (self *TagCollection) Append(axis AxisEnum, value float64, bg uint32, fg uint32, fmt string) { +func (self *TagCollection) Append(axis AxisEnum, value float64, bg, fg uint32, fmt string) { selfArg, selfFin := self.Handle() fmtArg, fmtFin := internal.WrapString[C.char](fmt) C.wrap_ImPlotTagCollection_Append(internal.ReinterpretCast[*C.ImPlotTagCollection](selfArg), C.ImAxis(axis), C.double(value), C.ImU32(bg), C.ImU32(fg), fmtArg) @@ -1329,11 +1329,11 @@ func AllAxesInputLocked(axes *Axis, count int32) bool { // AnnotationBoolV parameter default value hint: // round: false -func AnnotationBoolV(x float64, y float64, col imgui.Vec4, pix_offset imgui.Vec2, clamp bool, round bool) { +func AnnotationBoolV(x, y float64, col imgui.Vec4, pix_offset imgui.Vec2, clamp, round bool) { C.ImPlot_Annotation_Bool(C.double(x), C.double(y), internal.ReinterpretCast[C.ImVec4](col.ToC()), internal.ReinterpretCast[C.ImVec2](pix_offset.ToC()), C.bool(clamp), C.bool(round)) } -func AnnotationStr(x float64, y float64, col imgui.Vec4, pix_offset imgui.Vec2, clamp bool, fmt string) { +func AnnotationStr(x, y float64, col imgui.Vec4, pix_offset imgui.Vec2, clamp bool, fmt string) { fmtArg, fmtFin := internal.WrapString[C.char](fmt) C.wrap_ImPlot_Annotation_Str(C.double(x), C.double(y), internal.ReinterpretCast[C.ImVec4](col.ToC()), internal.ReinterpretCast[C.ImVec2](pix_offset.ToC()), C.bool(clamp), fmtArg) @@ -1452,7 +1452,7 @@ func BeginPlotV(title_id string, size imgui.Vec2, flags Flags) bool { // flags: 0 // row_ratios: nullptr // col_ratios: nullptr -func BeginSubplotsV(title_id string, rows int32, cols int32, size imgui.Vec2, flags SubplotFlags, row_ratios *float32, col_ratios *float32) bool { +func BeginSubplotsV(title_id string, rows, cols int32, size imgui.Vec2, flags SubplotFlags, row_ratios, col_ratios *float32) bool { title_idArg, title_idFin := internal.WrapString[C.char](title_id) row_ratiosArg, row_ratiosFin := internal.WrapNumberPtr[C.float, float32](row_ratios) col_ratiosArg, col_ratiosFin := internal.WrapNumberPtr[C.float, float32](col_ratios) @@ -1486,7 +1486,7 @@ func CalcHoverColor(col uint32) uint32 { return (uint32)(C.ImPlot_CalcHoverColor(C.ImU32(col))) } -func CalcLegendSize(items *ItemGroup, pad imgui.Vec2, spacing imgui.Vec2, vertical bool) imgui.Vec2 { +func CalcLegendSize(items *ItemGroup, pad, spacing imgui.Vec2, vertical bool) imgui.Vec2 { pOut := new(imgui.Vec2) pOutArg, pOutFin := internal.Wrap(pOut) @@ -1665,7 +1665,7 @@ func CeilTime(t PlotTime, unit TimeUnit) PlotTime { return *pOut } -func ClampLabelPos(pos imgui.Vec2, size imgui.Vec2, Min imgui.Vec2, Max imgui.Vec2) imgui.Vec2 { +func ClampLabelPos(pos, size, Min, Max imgui.Vec2) imgui.Vec2 { pOut := new(imgui.Vec2) pOutArg, pOutFin := internal.Wrap(pOut) @@ -1706,7 +1706,7 @@ func ColormapIcon(cmap Colormap) { // format: "%g" // flags: 0 // cmap: -1 -func ColormapScaleV(label string, scale_min float64, scale_max float64, size imgui.Vec2, format string, flags ColormapScaleFlags, cmap Colormap) { +func ColormapScaleV(label string, scale_min, scale_max float64, size imgui.Vec2, format string, flags ColormapScaleFlags, cmap Colormap) { labelArg, labelFin := internal.WrapString[C.char](label) formatArg, formatFin := internal.WrapString[C.char](format) C.ImPlot_ColormapScale(labelArg, C.double(scale_min), C.double(scale_max), internal.ReinterpretCast[C.ImVec2](size.ToC()), formatArg, C.ImPlotColormapScaleFlags(flags), C.ImPlotColormap(cmap)) @@ -1734,7 +1734,7 @@ func ColormapSliderV(label string, t *float32, out *imgui.Vec4, format string, c return C.ImPlot_ColormapSlider(labelArg, tArg, internal.ReinterpretCast[*C.ImVec4](outArg), formatArg, C.ImPlotColormap(cmap)) == C.bool(true) } -func CombineDateTime(date_part PlotTime, time_part PlotTime) PlotTime { +func CombineDateTime(date_part, time_part PlotTime) PlotTime { pOut := new(PlotTime) pOutArg, pOutFin := internal.Wrap(pOut) @@ -1764,7 +1764,7 @@ func DestroyContextV(ctx *Context) { // out_clicked: nullptr // out_hovered: nullptr // held: nullptr -func DragLineXV(id int32, x *float64, col imgui.Vec4, thickness float32, flags DragToolFlags, out_clicked *bool, out_hovered *bool, held *bool) bool { +func DragLineXV(id int32, x *float64, col imgui.Vec4, thickness float32, flags DragToolFlags, out_clicked, out_hovered, held *bool) bool { xArg, xFin := internal.WrapNumberPtr[C.double, float64](x) out_clickedArg, out_clickedFin := internal.WrapNumberPtr[C.bool, bool](out_clicked) out_hoveredArg, out_hoveredFin := internal.WrapNumberPtr[C.bool, bool](out_hovered) @@ -1785,7 +1785,7 @@ func DragLineXV(id int32, x *float64, col imgui.Vec4, thickness float32, flags D // out_clicked: nullptr // out_hovered: nullptr // held: nullptr -func DragLineYV(id int32, y *float64, col imgui.Vec4, thickness float32, flags DragToolFlags, out_clicked *bool, out_hovered *bool, held *bool) bool { +func DragLineYV(id int32, y *float64, col imgui.Vec4, thickness float32, flags DragToolFlags, out_clicked, out_hovered, held *bool) bool { yArg, yFin := internal.WrapNumberPtr[C.double, float64](y) out_clickedArg, out_clickedFin := internal.WrapNumberPtr[C.bool, bool](out_clicked) out_hoveredArg, out_hoveredFin := internal.WrapNumberPtr[C.bool, bool](out_hovered) @@ -1806,7 +1806,7 @@ func DragLineYV(id int32, y *float64, col imgui.Vec4, thickness float32, flags D // out_clicked: nullptr // out_hovered: nullptr // held: nullptr -func DragPointV(id int32, x *float64, y *float64, col imgui.Vec4, size float32, flags DragToolFlags, out_clicked *bool, out_hovered *bool, held *bool) bool { +func DragPointV(id int32, x, y *float64, col imgui.Vec4, size float32, flags DragToolFlags, out_clicked, out_hovered, held *bool) bool { xArg, xFin := internal.WrapNumberPtr[C.double, float64](x) yArg, yFin := internal.WrapNumberPtr[C.double, float64](y) out_clickedArg, out_clickedFin := internal.WrapNumberPtr[C.bool, bool](out_clicked) @@ -1828,7 +1828,7 @@ func DragPointV(id int32, x *float64, y *float64, col imgui.Vec4, size float32, // out_clicked: nullptr // out_hovered: nullptr // held: nullptr -func DragRectV(id int32, x1 *float64, y1 *float64, x2 *float64, y2 *float64, col imgui.Vec4, flags DragToolFlags, out_clicked *bool, out_hovered *bool, held *bool) bool { +func DragRectV(id int32, x1, y1, x2, y2 *float64, col imgui.Vec4, flags DragToolFlags, out_clicked, out_hovered, held *bool) bool { x1Arg, x1Fin := internal.WrapNumberPtr[C.double, float64](x1) y1Arg, y1Fin := internal.WrapNumberPtr[C.double, float64](y1) x2Arg, x2Fin := internal.WrapNumberPtr[C.double, float64](x2) @@ -2023,7 +2023,7 @@ func GetCurrentPlot() *Plot { return NewPlotFromC(C.ImPlot_GetCurrentPlot()) } -func GetDaysInMonth(year int32, month int32) int32 { +func GetDaysInMonth(year, month int32) int32 { return int32(C.ImPlot_GetDaysInMonth(C.int(year), C.int(month))) } @@ -2088,7 +2088,7 @@ func GetPlotDrawList() *imgui.DrawList { // GetPlotLimitsV parameter default value hint: // x_axis: -1 // y_axis: -1 -func GetPlotLimitsV(x_axis AxisEnum, y_axis AxisEnum) Rect { +func GetPlotLimitsV(x_axis, y_axis AxisEnum) Rect { pOut := new(Rect) pOutArg, pOutFin := pOut.Handle() @@ -2102,7 +2102,7 @@ func GetPlotLimitsV(x_axis AxisEnum, y_axis AxisEnum) Rect { // GetPlotMousePosV parameter default value hint: // x_axis: -1 // y_axis: -1 -func GetPlotMousePosV(x_axis AxisEnum, y_axis AxisEnum) PlotPoint { +func GetPlotMousePosV(x_axis, y_axis AxisEnum) PlotPoint { pOut := new(PlotPoint) pOutArg, pOutFin := internal.Wrap(pOut) @@ -2127,7 +2127,7 @@ func GetPlotPos() imgui.Vec2 { // GetPlotSelectionV parameter default value hint: // x_axis: -1 // y_axis: -1 -func GetPlotSelectionV(x_axis AxisEnum, y_axis AxisEnum) Rect { +func GetPlotSelectionV(x_axis, y_axis AxisEnum) Rect { pOut := new(Rect) pOutArg, pOutFin := pOut.Handle() @@ -2185,7 +2185,7 @@ func HideNextItemV(hidden bool, cond Cond) { // ImAlmostEqualV parameter default value hint: // ulp: 2 -func ImAlmostEqualV(v1 float64, v2 float64, ulp int32) bool { +func ImAlmostEqualV(v1, v2 float64, ulp int32) bool { return C.ImPlot_ImAlmostEqual(C.double(v1), C.double(v2), C.int(ulp)) == C.bool(true) } @@ -2504,7 +2504,7 @@ func ImMinArraydoublePtr(values *float64, count int32) float64 { return float64(C.ImPlot_ImMinArray_doublePtr(valuesArg, C.int(count))) } -func ImMinMaxArrayFloatPtr(values *float32, count int32, min_out *float32, max_out *float32) { +func ImMinMaxArrayFloatPtr(values *float32, count int32, min_out, max_out *float32) { valuesArg, valuesFin := internal.WrapNumberPtr[C.float, float32](values) min_outArg, min_outFin := internal.WrapNumberPtr[C.float, float32](min_out) max_outArg, max_outFin := internal.WrapNumberPtr[C.float, float32](max_out) @@ -2515,7 +2515,7 @@ func ImMinMaxArrayFloatPtr(values *float32, count int32, min_out *float32, max_o max_outFin() } -func ImMinMaxArrayS16Ptr(values *int16, count int32, min_out *int16, max_out *int16) { +func ImMinMaxArrayS16Ptr(values *int16, count int32, min_out, max_out *int16) { valuesArg, valuesFin := internal.WrapNumberPtr[C.ImS16, int16](values) min_outArg, min_outFin := internal.WrapNumberPtr[C.ImS16, int16](min_out) max_outArg, max_outFin := internal.WrapNumberPtr[C.ImS16, int16](max_out) @@ -2526,7 +2526,7 @@ func ImMinMaxArrayS16Ptr(values *int16, count int32, min_out *int16, max_out *in max_outFin() } -func ImMinMaxArrayS32Ptr(values *int32, count int32, min_out *int32, max_out *int32) { +func ImMinMaxArrayS32Ptr(values *int32, count int32, min_out, max_out *int32) { valuesArg, valuesFin := internal.WrapNumberPtr[C.ImS32, int32](values) min_outArg, min_outFin := internal.WrapNumberPtr[C.ImS32, int32](min_out) max_outArg, max_outFin := internal.WrapNumberPtr[C.ImS32, int32](max_out) @@ -2537,7 +2537,7 @@ func ImMinMaxArrayS32Ptr(values *int32, count int32, min_out *int32, max_out *in max_outFin() } -func ImMinMaxArrayS64Ptr(values *int64, count int32, min_out *int64, max_out *int64) { +func ImMinMaxArrayS64Ptr(values *int64, count int32, min_out, max_out *int64) { valuesArg, valuesFin := internal.WrapNumberPtr[C.ImS64, int64](values) min_outArg, min_outFin := internal.WrapNumberPtr[C.ImS64, int64](min_out) max_outArg, max_outFin := internal.WrapNumberPtr[C.ImS64, int64](max_out) @@ -2548,7 +2548,7 @@ func ImMinMaxArrayS64Ptr(values *int64, count int32, min_out *int64, max_out *in max_outFin() } -func ImMinMaxArrayS8Ptr(values *int8, count int32, min_out *int8, max_out *int8) { +func ImMinMaxArrayS8Ptr(values *int8, count int32, min_out, max_out *int8) { valuesArg, valuesFin := internal.WrapNumberPtr[C.ImS8, int8](values) min_outArg, min_outFin := internal.WrapNumberPtr[C.ImS8, int8](min_out) max_outArg, max_outFin := internal.WrapNumberPtr[C.ImS8, int8](max_out) @@ -2559,7 +2559,7 @@ func ImMinMaxArrayS8Ptr(values *int8, count int32, min_out *int8, max_out *int8) max_outFin() } -func ImMinMaxArrayU16Ptr(values *uint16, count int32, min_out *uint16, max_out *uint16) { +func ImMinMaxArrayU16Ptr(values *uint16, count int32, min_out, max_out *uint16) { valuesArg, valuesFin := internal.WrapNumberPtr[C.ImU16, uint16](values) min_outArg, min_outFin := internal.WrapNumberPtr[C.ImU16, uint16](min_out) max_outArg, max_outFin := internal.WrapNumberPtr[C.ImU16, uint16](max_out) @@ -2570,7 +2570,7 @@ func ImMinMaxArrayU16Ptr(values *uint16, count int32, min_out *uint16, max_out * max_outFin() } -func ImMinMaxArrayU32Ptr(values *uint32, count int32, min_out *uint32, max_out *uint32) { +func ImMinMaxArrayU32Ptr(values *uint32, count int32, min_out, max_out *uint32) { valuesArg, valuesFin := internal.WrapNumberPtr[C.ImU32, uint32](values) min_outArg, min_outFin := internal.WrapNumberPtr[C.ImU32, uint32](min_out) max_outArg, max_outFin := internal.WrapNumberPtr[C.ImU32, uint32](max_out) @@ -2581,7 +2581,7 @@ func ImMinMaxArrayU32Ptr(values *uint32, count int32, min_out *uint32, max_out * max_outFin() } -func ImMinMaxArrayU64Ptr(values *uint64, count int32, min_out *uint64, max_out *uint64) { +func ImMinMaxArrayU64Ptr(values *uint64, count int32, min_out, max_out *uint64) { valuesArg, valuesFin := internal.WrapNumberPtr[C.ImU64, uint64](values) min_outArg, min_outFin := internal.WrapNumberPtr[C.ImU64, uint64](min_out) max_outArg, max_outFin := internal.WrapNumberPtr[C.ImU64, uint64](max_out) @@ -2592,7 +2592,7 @@ func ImMinMaxArrayU64Ptr(values *uint64, count int32, min_out *uint64, max_out * max_outFin() } -func ImMinMaxArrayU8Ptr(values *byte, count int32, min_out *byte, max_out *byte) { +func ImMinMaxArrayU8Ptr(values *byte, count int32, min_out, max_out *byte) { valuesArg, valuesFin := internal.WrapNumberPtr[C.ImU8, byte](values) min_outArg, min_outFin := internal.WrapNumberPtr[C.ImU8, byte](min_out) max_outArg, max_outFin := internal.WrapNumberPtr[C.ImU8, byte](max_out) @@ -2603,7 +2603,7 @@ func ImMinMaxArrayU8Ptr(values *byte, count int32, min_out *byte, max_out *byte) max_outFin() } -func ImMinMaxArraydoublePtr(values *float64, count int32, min_out *float64, max_out *float64) { +func ImMinMaxArraydoublePtr(values *float64, count int32, min_out, max_out *float64) { valuesArg, valuesFin := internal.WrapNumberPtr[C.double, float64](values) min_outArg, min_outFin := internal.WrapNumberPtr[C.double, float64](min_out) max_outArg, max_outFin := internal.WrapNumberPtr[C.double, float64](max_out) @@ -2614,7 +2614,7 @@ func ImMinMaxArraydoublePtr(values *float64, count int32, min_out *float64, max_ max_outFin() } -func ImMixU32(a uint32, b uint32, s uint32) uint32 { +func ImMixU32(a, b, s uint32) uint32 { return (uint32)(C.ImPlot_ImMixU32(C.ImU32(a), C.ImU32(b), C.ImU32(s))) } @@ -2626,127 +2626,127 @@ func ImNanOrInf(val float64) bool { return C.ImPlot_ImNanOrInf(C.double(val)) == C.bool(true) } -func ImOverlapsFloat(min_a float32, max_a float32, min_b float32, max_b float32) bool { +func ImOverlapsFloat(min_a, max_a, min_b, max_b float32) bool { return C.ImPlot_ImOverlaps_Float(C.float(min_a), C.float(max_a), C.float(min_b), C.float(max_b)) == C.bool(true) } -func ImOverlapsS16(min_a int16, max_a int16, min_b int16, max_b int16) bool { +func ImOverlapsS16(min_a, max_a, min_b, max_b int16) bool { return C.ImPlot_ImOverlaps_S16(C.ImS16(min_a), C.ImS16(max_a), C.ImS16(min_b), C.ImS16(max_b)) == C.bool(true) } -func ImOverlapsS32(min_a int, max_a int, min_b int, max_b int) bool { +func ImOverlapsS32(min_a, max_a, min_b, max_b int) bool { return C.ImPlot_ImOverlaps_S32(C.ImS32(min_a), C.ImS32(max_a), C.ImS32(min_b), C.ImS32(max_b)) == C.bool(true) } -func ImOverlapsS64(min_a int64, max_a int64, min_b int64, max_b int64) bool { +func ImOverlapsS64(min_a, max_a, min_b, max_b int64) bool { return C.ImPlot_ImOverlaps_S64(C.ImS64(min_a), C.ImS64(max_a), C.ImS64(min_b), C.ImS64(max_b)) == C.bool(true) } -func ImOverlapsS8(min_a int, max_a int, min_b int, max_b int) bool { +func ImOverlapsS8(min_a, max_a, min_b, max_b int) bool { return C.ImPlot_ImOverlaps_S8(C.ImS8(min_a), C.ImS8(max_a), C.ImS8(min_b), C.ImS8(max_b)) == C.bool(true) } -func ImOverlapsU16(min_a uint16, max_a uint16, min_b uint16, max_b uint16) bool { +func ImOverlapsU16(min_a, max_a, min_b, max_b uint16) bool { return C.ImPlot_ImOverlaps_U16(C.ImU16(min_a), C.ImU16(max_a), C.ImU16(min_b), C.ImU16(max_b)) == C.bool(true) } -func ImOverlapsU32(min_a uint32, max_a uint32, min_b uint32, max_b uint32) bool { +func ImOverlapsU32(min_a, max_a, min_b, max_b uint32) bool { return C.ImPlot_ImOverlaps_U32(C.ImU32(min_a), C.ImU32(max_a), C.ImU32(min_b), C.ImU32(max_b)) == C.bool(true) } -func ImOverlapsU64(min_a uint64, max_a uint64, min_b uint64, max_b uint64) bool { +func ImOverlapsU64(min_a, max_a, min_b, max_b uint64) bool { return C.ImPlot_ImOverlaps_U64(C.ImU64(min_a), C.ImU64(max_a), C.ImU64(min_b), C.ImU64(max_b)) == C.bool(true) } -func ImOverlapsU8(min_a byte, max_a byte, min_b byte, max_b byte) bool { +func ImOverlapsU8(min_a, max_a, min_b, max_b byte) bool { return C.ImPlot_ImOverlaps_U8(C.ImU8(min_a), C.ImU8(max_a), C.ImU8(min_b), C.ImU8(max_b)) == C.bool(true) } -func ImOverlapsdouble(min_a float64, max_a float64, min_b float64, max_b float64) bool { +func ImOverlapsdouble(min_a, max_a, min_b, max_b float64) bool { return C.ImPlot_ImOverlaps_double(C.double(min_a), C.double(max_a), C.double(min_b), C.double(max_b)) == C.bool(true) } -func ImPosMod(l int32, r int32) int32 { +func ImPosMod(l, r int32) int32 { return int32(C.ImPlot_ImPosMod(C.int(l), C.int(r))) } -func ImRemap01Float(x float32, x0 float32, x1 float32) float32 { +func ImRemap01Float(x, x0, x1 float32) float32 { return float32(C.ImPlot_ImRemap01_Float(C.float(x), C.float(x0), C.float(x1))) } -func ImRemap01S16(x int16, x0 int16, x1 int16) int16 { +func ImRemap01S16(x, x0, x1 int16) int16 { return (int16)(C.ImPlot_ImRemap01_S16(C.ImS16(x), C.ImS16(x0), C.ImS16(x1))) } -func ImRemap01S32(x int, x0 int, x1 int) int { +func ImRemap01S32(x, x0, x1 int) int { return (int)(C.ImPlot_ImRemap01_S32(C.ImS32(x), C.ImS32(x0), C.ImS32(x1))) } -func ImRemap01S64(x int64, x0 int64, x1 int64) int64 { +func ImRemap01S64(x, x0, x1 int64) int64 { return (int64)(C.ImPlot_ImRemap01_S64(C.ImS64(x), C.ImS64(x0), C.ImS64(x1))) } -func ImRemap01S8(x int, x0 int, x1 int) int { +func ImRemap01S8(x, x0, x1 int) int { return (int)(C.ImPlot_ImRemap01_S8(C.ImS8(x), C.ImS8(x0), C.ImS8(x1))) } -func ImRemap01U16(x uint16, x0 uint16, x1 uint16) uint16 { +func ImRemap01U16(x, x0, x1 uint16) uint16 { return (uint16)(C.ImPlot_ImRemap01_U16(C.ImU16(x), C.ImU16(x0), C.ImU16(x1))) } -func ImRemap01U32(x uint32, x0 uint32, x1 uint32) uint32 { +func ImRemap01U32(x, x0, x1 uint32) uint32 { return (uint32)(C.ImPlot_ImRemap01_U32(C.ImU32(x), C.ImU32(x0), C.ImU32(x1))) } -func ImRemap01U64(x uint64, x0 uint64, x1 uint64) uint64 { +func ImRemap01U64(x, x0, x1 uint64) uint64 { return (uint64)(C.ImPlot_ImRemap01_U64(C.ImU64(x), C.ImU64(x0), C.ImU64(x1))) } -func ImRemap01U8(x byte, x0 byte, x1 byte) byte { +func ImRemap01U8(x, x0, x1 byte) byte { return (byte)(C.ImPlot_ImRemap01_U8(C.ImU8(x), C.ImU8(x0), C.ImU8(x1))) } -func ImRemap01double(x float64, x0 float64, x1 float64) float64 { +func ImRemap01double(x, x0, x1 float64) float64 { return float64(C.ImPlot_ImRemap01_double(C.double(x), C.double(x0), C.double(x1))) } -func ImRemapFloat(x float32, x0 float32, x1 float32, y0 float32, y1 float32) float32 { +func ImRemapFloat(x, x0, x1, y0, y1 float32) float32 { return float32(C.ImPlot_ImRemap_Float(C.float(x), C.float(x0), C.float(x1), C.float(y0), C.float(y1))) } -func ImRemapS16(x int16, x0 int16, x1 int16, y0 int16, y1 int16) int16 { +func ImRemapS16(x, x0, x1, y0, y1 int16) int16 { return (int16)(C.ImPlot_ImRemap_S16(C.ImS16(x), C.ImS16(x0), C.ImS16(x1), C.ImS16(y0), C.ImS16(y1))) } -func ImRemapS32(x int, x0 int, x1 int, y0 int, y1 int) int { +func ImRemapS32(x, x0, x1, y0, y1 int) int { return (int)(C.ImPlot_ImRemap_S32(C.ImS32(x), C.ImS32(x0), C.ImS32(x1), C.ImS32(y0), C.ImS32(y1))) } -func ImRemapS64(x int64, x0 int64, x1 int64, y0 int64, y1 int64) int64 { +func ImRemapS64(x, x0, x1, y0, y1 int64) int64 { return (int64)(C.ImPlot_ImRemap_S64(C.ImS64(x), C.ImS64(x0), C.ImS64(x1), C.ImS64(y0), C.ImS64(y1))) } -func ImRemapS8(x int, x0 int, x1 int, y0 int, y1 int) int { +func ImRemapS8(x, x0, x1, y0, y1 int) int { return (int)(C.ImPlot_ImRemap_S8(C.ImS8(x), C.ImS8(x0), C.ImS8(x1), C.ImS8(y0), C.ImS8(y1))) } -func ImRemapU16(x uint16, x0 uint16, x1 uint16, y0 uint16, y1 uint16) uint16 { +func ImRemapU16(x, x0, x1, y0, y1 uint16) uint16 { return (uint16)(C.ImPlot_ImRemap_U16(C.ImU16(x), C.ImU16(x0), C.ImU16(x1), C.ImU16(y0), C.ImU16(y1))) } -func ImRemapU32(x uint32, x0 uint32, x1 uint32, y0 uint32, y1 uint32) uint32 { +func ImRemapU32(x, x0, x1, y0, y1 uint32) uint32 { return (uint32)(C.ImPlot_ImRemap_U32(C.ImU32(x), C.ImU32(x0), C.ImU32(x1), C.ImU32(y0), C.ImU32(y1))) } -func ImRemapU64(x uint64, x0 uint64, x1 uint64, y0 uint64, y1 uint64) uint64 { +func ImRemapU64(x, x0, x1, y0, y1 uint64) uint64 { return (uint64)(C.ImPlot_ImRemap_U64(C.ImU64(x), C.ImU64(x0), C.ImU64(x1), C.ImU64(y0), C.ImU64(y1))) } -func ImRemapU8(x byte, x0 byte, x1 byte, y0 byte, y1 byte) byte { +func ImRemapU8(x, x0, x1, y0, y1 byte) byte { return (byte)(C.ImPlot_ImRemap_U8(C.ImU8(x), C.ImU8(x0), C.ImU8(x1), C.ImU8(y0), C.ImU8(y1))) } -func ImRemapdouble(x float64, x0 float64, x1 float64, y0 float64, y1 float64) float64 { +func ImRemapdouble(x, x0, x1, y0, y1 float64) float64 { return float64(C.ImPlot_ImRemap_double(C.double(x), C.double(x0), C.double(x1), C.double(y0), C.double(y1))) } @@ -2945,7 +2945,7 @@ func Initialize(ctx *Context) { ctxFin() } -func Intersection(a1 imgui.Vec2, a2 imgui.Vec2, b1 imgui.Vec2, b2 imgui.Vec2) imgui.Vec2 { +func Intersection(a1, a2, b1, b2 imgui.Vec2) imgui.Vec2 { pOut := new(imgui.Vec2) pOutArg, pOutFin := internal.Wrap(pOut) @@ -3063,7 +3063,7 @@ func LocatorTime(ticker *Ticker, rangeArg Range, pixels float32, vertical bool, // min: 0 // sec: 0 // us: 0 -func MakeTimeV(year int32, month int32, day int32, hour int32, min int32, sec int32, us int32) PlotTime { +func MakeTimeV(year, month, day, hour, min, sec, us int32) PlotTime { pOut := new(PlotTime) pOutArg, pOutFin := internal.Wrap(pOut) @@ -3122,7 +3122,7 @@ func OrderToPrecision(order int32) int32 { // PixelsToPlotFloatV parameter default value hint: // x_axis: -1 // y_axis: -1 -func PixelsToPlotFloatV(x float32, y float32, x_axis AxisEnum, y_axis AxisEnum) PlotPoint { +func PixelsToPlotFloatV(x, y float32, x_axis, y_axis AxisEnum) PlotPoint { pOut := new(PlotPoint) pOutArg, pOutFin := internal.Wrap(pOut) @@ -3136,7 +3136,7 @@ func PixelsToPlotFloatV(x float32, y float32, x_axis AxisEnum, y_axis AxisEnum) // PixelsToPlotVec2V parameter default value hint: // x_axis: -1 // y_axis: -1 -func PixelsToPlotVec2V(pix imgui.Vec2, x_axis AxisEnum, y_axis AxisEnum) PlotPoint { +func PixelsToPlotVec2V(pix imgui.Vec2, x_axis, y_axis AxisEnum) PlotPoint { pOut := new(PlotPoint) pOutArg, pOutFin := internal.Wrap(pOut) @@ -3151,7 +3151,7 @@ func PixelsToPlotVec2V(pix imgui.Vec2, x_axis AxisEnum, y_axis AxisEnum) PlotPoi // group_size: 0.67 // shift: 0 // flags: 0 -func PlotBarGroupsFloatPtrV(label_ids []string, values *float32, item_count int32, group_count int32, group_size float64, shift float64, flags BarGroupsFlags) { +func PlotBarGroupsFloatPtrV(label_ids []string, values *float32, item_count, group_count int32, group_size, shift float64, flags BarGroupsFlags) { label_idsArg, label_idsFin := internal.WrapStringList[C.char](label_ids) valuesArg, valuesFin := internal.WrapNumberPtr[C.float, float32](values) C.ImPlot_PlotBarGroups_FloatPtr(label_idsArg, valuesArg, C.int(item_count), C.int(group_count), C.double(group_size), C.double(shift), C.ImPlotBarGroupsFlags(flags)) @@ -3164,7 +3164,7 @@ func PlotBarGroupsFloatPtrV(label_ids []string, values *float32, item_count int3 // group_size: 0.67 // shift: 0 // flags: 0 -func PlotBarGroupsS16PtrV(label_ids []string, values *int16, item_count int32, group_count int32, group_size float64, shift float64, flags BarGroupsFlags) { +func PlotBarGroupsS16PtrV(label_ids []string, values *int16, item_count, group_count int32, group_size, shift float64, flags BarGroupsFlags) { label_idsArg, label_idsFin := internal.WrapStringList[C.char](label_ids) valuesArg, valuesFin := internal.WrapNumberPtr[C.ImS16, int16](values) C.ImPlot_PlotBarGroups_S16Ptr(label_idsArg, valuesArg, C.int(item_count), C.int(group_count), C.double(group_size), C.double(shift), C.ImPlotBarGroupsFlags(flags)) @@ -3177,7 +3177,7 @@ func PlotBarGroupsS16PtrV(label_ids []string, values *int16, item_count int32, g // group_size: 0.67 // shift: 0 // flags: 0 -func PlotBarGroupsS32PtrV(label_ids []string, values *int32, item_count int32, group_count int32, group_size float64, shift float64, flags BarGroupsFlags) { +func PlotBarGroupsS32PtrV(label_ids []string, values *int32, item_count, group_count int32, group_size, shift float64, flags BarGroupsFlags) { label_idsArg, label_idsFin := internal.WrapStringList[C.char](label_ids) valuesArg, valuesFin := internal.WrapNumberPtr[C.ImS32, int32](values) C.ImPlot_PlotBarGroups_S32Ptr(label_idsArg, valuesArg, C.int(item_count), C.int(group_count), C.double(group_size), C.double(shift), C.ImPlotBarGroupsFlags(flags)) @@ -3190,7 +3190,7 @@ func PlotBarGroupsS32PtrV(label_ids []string, values *int32, item_count int32, g // group_size: 0.67 // shift: 0 // flags: 0 -func PlotBarGroupsS64PtrV(label_ids []string, values *int64, item_count int32, group_count int32, group_size float64, shift float64, flags BarGroupsFlags) { +func PlotBarGroupsS64PtrV(label_ids []string, values *int64, item_count, group_count int32, group_size, shift float64, flags BarGroupsFlags) { label_idsArg, label_idsFin := internal.WrapStringList[C.char](label_ids) valuesArg, valuesFin := internal.WrapNumberPtr[C.ImS64, int64](values) C.ImPlot_PlotBarGroups_S64Ptr(label_idsArg, valuesArg, C.int(item_count), C.int(group_count), C.double(group_size), C.double(shift), C.ImPlotBarGroupsFlags(flags)) @@ -3203,7 +3203,7 @@ func PlotBarGroupsS64PtrV(label_ids []string, values *int64, item_count int32, g // group_size: 0.67 // shift: 0 // flags: 0 -func PlotBarGroupsS8PtrV(label_ids []string, values *int8, item_count int32, group_count int32, group_size float64, shift float64, flags BarGroupsFlags) { +func PlotBarGroupsS8PtrV(label_ids []string, values *int8, item_count, group_count int32, group_size, shift float64, flags BarGroupsFlags) { label_idsArg, label_idsFin := internal.WrapStringList[C.char](label_ids) valuesArg, valuesFin := internal.WrapNumberPtr[C.ImS8, int8](values) C.ImPlot_PlotBarGroups_S8Ptr(label_idsArg, valuesArg, C.int(item_count), C.int(group_count), C.double(group_size), C.double(shift), C.ImPlotBarGroupsFlags(flags)) @@ -3216,7 +3216,7 @@ func PlotBarGroupsS8PtrV(label_ids []string, values *int8, item_count int32, gro // group_size: 0.67 // shift: 0 // flags: 0 -func PlotBarGroupsU16PtrV(label_ids []string, values *uint16, item_count int32, group_count int32, group_size float64, shift float64, flags BarGroupsFlags) { +func PlotBarGroupsU16PtrV(label_ids []string, values *uint16, item_count, group_count int32, group_size, shift float64, flags BarGroupsFlags) { label_idsArg, label_idsFin := internal.WrapStringList[C.char](label_ids) valuesArg, valuesFin := internal.WrapNumberPtr[C.ImU16, uint16](values) C.ImPlot_PlotBarGroups_U16Ptr(label_idsArg, valuesArg, C.int(item_count), C.int(group_count), C.double(group_size), C.double(shift), C.ImPlotBarGroupsFlags(flags)) @@ -3229,7 +3229,7 @@ func PlotBarGroupsU16PtrV(label_ids []string, values *uint16, item_count int32, // group_size: 0.67 // shift: 0 // flags: 0 -func PlotBarGroupsU32PtrV(label_ids []string, values *uint32, item_count int32, group_count int32, group_size float64, shift float64, flags BarGroupsFlags) { +func PlotBarGroupsU32PtrV(label_ids []string, values *uint32, item_count, group_count int32, group_size, shift float64, flags BarGroupsFlags) { label_idsArg, label_idsFin := internal.WrapStringList[C.char](label_ids) valuesArg, valuesFin := internal.WrapNumberPtr[C.ImU32, uint32](values) C.ImPlot_PlotBarGroups_U32Ptr(label_idsArg, valuesArg, C.int(item_count), C.int(group_count), C.double(group_size), C.double(shift), C.ImPlotBarGroupsFlags(flags)) @@ -3242,7 +3242,7 @@ func PlotBarGroupsU32PtrV(label_ids []string, values *uint32, item_count int32, // group_size: 0.67 // shift: 0 // flags: 0 -func PlotBarGroupsU64PtrV(label_ids []string, values *uint64, item_count int32, group_count int32, group_size float64, shift float64, flags BarGroupsFlags) { +func PlotBarGroupsU64PtrV(label_ids []string, values *uint64, item_count, group_count int32, group_size, shift float64, flags BarGroupsFlags) { label_idsArg, label_idsFin := internal.WrapStringList[C.char](label_ids) valuesArg, valuesFin := internal.WrapNumberPtr[C.ImU64, uint64](values) C.ImPlot_PlotBarGroups_U64Ptr(label_idsArg, valuesArg, C.int(item_count), C.int(group_count), C.double(group_size), C.double(shift), C.ImPlotBarGroupsFlags(flags)) @@ -3255,7 +3255,7 @@ func PlotBarGroupsU64PtrV(label_ids []string, values *uint64, item_count int32, // group_size: 0.67 // shift: 0 // flags: 0 -func PlotBarGroupsU8PtrV(label_ids []string, values *byte, item_count int32, group_count int32, group_size float64, shift float64, flags BarGroupsFlags) { +func PlotBarGroupsU8PtrV(label_ids []string, values *byte, item_count, group_count int32, group_size, shift float64, flags BarGroupsFlags) { label_idsArg, label_idsFin := internal.WrapStringList[C.char](label_ids) valuesArg, valuesFin := internal.WrapNumberPtr[C.ImU8, byte](values) C.ImPlot_PlotBarGroups_U8Ptr(label_idsArg, valuesArg, C.int(item_count), C.int(group_count), C.double(group_size), C.double(shift), C.ImPlotBarGroupsFlags(flags)) @@ -3268,7 +3268,7 @@ func PlotBarGroupsU8PtrV(label_ids []string, values *byte, item_count int32, gro // group_size: 0.67 // shift: 0 // flags: 0 -func PlotBarGroupsdoublePtrV(label_ids []string, values *float64, item_count int32, group_count int32, group_size float64, shift float64, flags BarGroupsFlags) { +func PlotBarGroupsdoublePtrV(label_ids []string, values *float64, item_count, group_count int32, group_size, shift float64, flags BarGroupsFlags) { label_idsArg, label_idsFin := internal.WrapStringList[C.char](label_ids) valuesArg, valuesFin := internal.WrapNumberPtr[C.double, float64](values) C.ImPlot_PlotBarGroups_doublePtr(label_idsArg, valuesArg, C.int(item_count), C.int(group_count), C.double(group_size), C.double(shift), C.ImPlotBarGroupsFlags(flags)) @@ -3281,7 +3281,7 @@ func PlotBarGroupsdoublePtrV(label_ids []string, values *float64, item_count int // flags: 0 // offset: 0 // stride: sizeof(float) -func PlotBarsFloatPtrFloatPtrV(label_id string, xs *float32, ys *float32, count int32, bar_size float64, flags BarsFlags, offset int32, stride int32) { +func PlotBarsFloatPtrFloatPtrV(label_id string, xs, ys *float32, count int32, bar_size float64, flags BarsFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.float, float32](xs) ysArg, ysFin := internal.WrapNumberPtr[C.float, float32](ys) @@ -3298,7 +3298,7 @@ func PlotBarsFloatPtrFloatPtrV(label_id string, xs *float32, ys *float32, count // flags: 0 // offset: 0 // stride: sizeof(float) -func PlotBarsFloatPtrIntV(label_id string, values *float32, count int32, bar_size float64, shift float64, flags BarsFlags, offset int32, stride int32) { +func PlotBarsFloatPtrIntV(label_id string, values *float32, count int32, bar_size, shift float64, flags BarsFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) valuesArg, valuesFin := internal.WrapNumberPtr[C.float, float32](values) C.ImPlot_PlotBars_FloatPtrInt(label_idArg, valuesArg, C.int(count), C.double(bar_size), C.double(shift), C.ImPlotBarsFlags(flags), C.int(offset), C.int(stride)) @@ -3313,7 +3313,7 @@ func PlotBarsFloatPtrIntV(label_id string, values *float32, count int32, bar_siz // flags: 0 // offset: 0 // stride: sizeof(ImS16) -func PlotBarsS16PtrIntV(label_id string, values *int16, count int32, bar_size float64, shift float64, flags BarsFlags, offset int32, stride int32) { +func PlotBarsS16PtrIntV(label_id string, values *int16, count int32, bar_size, shift float64, flags BarsFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) valuesArg, valuesFin := internal.WrapNumberPtr[C.ImS16, int16](values) C.ImPlot_PlotBars_S16PtrInt(label_idArg, valuesArg, C.int(count), C.double(bar_size), C.double(shift), C.ImPlotBarsFlags(flags), C.int(offset), C.int(stride)) @@ -3326,7 +3326,7 @@ func PlotBarsS16PtrIntV(label_id string, values *int16, count int32, bar_size fl // flags: 0 // offset: 0 // stride: sizeof(ImS16) -func PlotBarsS16PtrS16PtrV(label_id string, xs *int16, ys *int16, count int32, bar_size float64, flags BarsFlags, offset int32, stride int32) { +func PlotBarsS16PtrS16PtrV(label_id string, xs, ys *int16, count int32, bar_size float64, flags BarsFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImS16, int16](xs) ysArg, ysFin := internal.WrapNumberPtr[C.ImS16, int16](ys) @@ -3343,7 +3343,7 @@ func PlotBarsS16PtrS16PtrV(label_id string, xs *int16, ys *int16, count int32, b // flags: 0 // offset: 0 // stride: sizeof(ImS32) -func PlotBarsS32PtrIntV(label_id string, values *int32, count int32, bar_size float64, shift float64, flags BarsFlags, offset int32, stride int32) { +func PlotBarsS32PtrIntV(label_id string, values *int32, count int32, bar_size, shift float64, flags BarsFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) valuesArg, valuesFin := internal.WrapNumberPtr[C.ImS32, int32](values) C.ImPlot_PlotBars_S32PtrInt(label_idArg, valuesArg, C.int(count), C.double(bar_size), C.double(shift), C.ImPlotBarsFlags(flags), C.int(offset), C.int(stride)) @@ -3356,7 +3356,7 @@ func PlotBarsS32PtrIntV(label_id string, values *int32, count int32, bar_size fl // flags: 0 // offset: 0 // stride: sizeof(ImS32) -func PlotBarsS32PtrS32PtrV(label_id string, xs *int32, ys *int32, count int32, bar_size float64, flags BarsFlags, offset int32, stride int32) { +func PlotBarsS32PtrS32PtrV(label_id string, xs, ys *int32, count int32, bar_size float64, flags BarsFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImS32, int32](xs) ysArg, ysFin := internal.WrapNumberPtr[C.ImS32, int32](ys) @@ -3373,7 +3373,7 @@ func PlotBarsS32PtrS32PtrV(label_id string, xs *int32, ys *int32, count int32, b // flags: 0 // offset: 0 // stride: sizeof(ImS64) -func PlotBarsS64PtrIntV(label_id string, values *int64, count int32, bar_size float64, shift float64, flags BarsFlags, offset int32, stride int32) { +func PlotBarsS64PtrIntV(label_id string, values *int64, count int32, bar_size, shift float64, flags BarsFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) valuesArg, valuesFin := internal.WrapNumberPtr[C.ImS64, int64](values) C.ImPlot_PlotBars_S64PtrInt(label_idArg, valuesArg, C.int(count), C.double(bar_size), C.double(shift), C.ImPlotBarsFlags(flags), C.int(offset), C.int(stride)) @@ -3386,7 +3386,7 @@ func PlotBarsS64PtrIntV(label_id string, values *int64, count int32, bar_size fl // flags: 0 // offset: 0 // stride: sizeof(ImS64) -func PlotBarsS64PtrS64PtrV(label_id string, xs *int64, ys *int64, count int32, bar_size float64, flags BarsFlags, offset int32, stride int32) { +func PlotBarsS64PtrS64PtrV(label_id string, xs, ys *int64, count int32, bar_size float64, flags BarsFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImS64, int64](xs) ysArg, ysFin := internal.WrapNumberPtr[C.ImS64, int64](ys) @@ -3403,7 +3403,7 @@ func PlotBarsS64PtrS64PtrV(label_id string, xs *int64, ys *int64, count int32, b // flags: 0 // offset: 0 // stride: sizeof(ImS8) -func PlotBarsS8PtrIntV(label_id string, values *int8, count int32, bar_size float64, shift float64, flags BarsFlags, offset int32, stride int32) { +func PlotBarsS8PtrIntV(label_id string, values *int8, count int32, bar_size, shift float64, flags BarsFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) valuesArg, valuesFin := internal.WrapNumberPtr[C.ImS8, int8](values) C.ImPlot_PlotBars_S8PtrInt(label_idArg, valuesArg, C.int(count), C.double(bar_size), C.double(shift), C.ImPlotBarsFlags(flags), C.int(offset), C.int(stride)) @@ -3416,7 +3416,7 @@ func PlotBarsS8PtrIntV(label_id string, values *int8, count int32, bar_size floa // flags: 0 // offset: 0 // stride: sizeof(ImS8) -func PlotBarsS8PtrS8PtrV(label_id string, xs *int8, ys *int8, count int32, bar_size float64, flags BarsFlags, offset int32, stride int32) { +func PlotBarsS8PtrS8PtrV(label_id string, xs, ys *int8, count int32, bar_size float64, flags BarsFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImS8, int8](xs) ysArg, ysFin := internal.WrapNumberPtr[C.ImS8, int8](ys) @@ -3433,7 +3433,7 @@ func PlotBarsS8PtrS8PtrV(label_id string, xs *int8, ys *int8, count int32, bar_s // flags: 0 // offset: 0 // stride: sizeof(ImU16) -func PlotBarsU16PtrIntV(label_id string, values *uint16, count int32, bar_size float64, shift float64, flags BarsFlags, offset int32, stride int32) { +func PlotBarsU16PtrIntV(label_id string, values *uint16, count int32, bar_size, shift float64, flags BarsFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) valuesArg, valuesFin := internal.WrapNumberPtr[C.ImU16, uint16](values) C.ImPlot_PlotBars_U16PtrInt(label_idArg, valuesArg, C.int(count), C.double(bar_size), C.double(shift), C.ImPlotBarsFlags(flags), C.int(offset), C.int(stride)) @@ -3446,7 +3446,7 @@ func PlotBarsU16PtrIntV(label_id string, values *uint16, count int32, bar_size f // flags: 0 // offset: 0 // stride: sizeof(ImU16) -func PlotBarsU16PtrU16PtrV(label_id string, xs *uint16, ys *uint16, count int32, bar_size float64, flags BarsFlags, offset int32, stride int32) { +func PlotBarsU16PtrU16PtrV(label_id string, xs, ys *uint16, count int32, bar_size float64, flags BarsFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImU16, uint16](xs) ysArg, ysFin := internal.WrapNumberPtr[C.ImU16, uint16](ys) @@ -3463,7 +3463,7 @@ func PlotBarsU16PtrU16PtrV(label_id string, xs *uint16, ys *uint16, count int32, // flags: 0 // offset: 0 // stride: sizeof(ImU32) -func PlotBarsU32PtrIntV(label_id string, values *uint32, count int32, bar_size float64, shift float64, flags BarsFlags, offset int32, stride int32) { +func PlotBarsU32PtrIntV(label_id string, values *uint32, count int32, bar_size, shift float64, flags BarsFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) valuesArg, valuesFin := internal.WrapNumberPtr[C.ImU32, uint32](values) C.ImPlot_PlotBars_U32PtrInt(label_idArg, valuesArg, C.int(count), C.double(bar_size), C.double(shift), C.ImPlotBarsFlags(flags), C.int(offset), C.int(stride)) @@ -3476,7 +3476,7 @@ func PlotBarsU32PtrIntV(label_id string, values *uint32, count int32, bar_size f // flags: 0 // offset: 0 // stride: sizeof(ImU32) -func PlotBarsU32PtrU32PtrV(label_id string, xs *uint32, ys *uint32, count int32, bar_size float64, flags BarsFlags, offset int32, stride int32) { +func PlotBarsU32PtrU32PtrV(label_id string, xs, ys *uint32, count int32, bar_size float64, flags BarsFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImU32, uint32](xs) ysArg, ysFin := internal.WrapNumberPtr[C.ImU32, uint32](ys) @@ -3493,7 +3493,7 @@ func PlotBarsU32PtrU32PtrV(label_id string, xs *uint32, ys *uint32, count int32, // flags: 0 // offset: 0 // stride: sizeof(ImU64) -func PlotBarsU64PtrIntV(label_id string, values *uint64, count int32, bar_size float64, shift float64, flags BarsFlags, offset int32, stride int32) { +func PlotBarsU64PtrIntV(label_id string, values *uint64, count int32, bar_size, shift float64, flags BarsFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) valuesArg, valuesFin := internal.WrapNumberPtr[C.ImU64, uint64](values) C.ImPlot_PlotBars_U64PtrInt(label_idArg, valuesArg, C.int(count), C.double(bar_size), C.double(shift), C.ImPlotBarsFlags(flags), C.int(offset), C.int(stride)) @@ -3506,7 +3506,7 @@ func PlotBarsU64PtrIntV(label_id string, values *uint64, count int32, bar_size f // flags: 0 // offset: 0 // stride: sizeof(ImU64) -func PlotBarsU64PtrU64PtrV(label_id string, xs *uint64, ys *uint64, count int32, bar_size float64, flags BarsFlags, offset int32, stride int32) { +func PlotBarsU64PtrU64PtrV(label_id string, xs, ys *uint64, count int32, bar_size float64, flags BarsFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImU64, uint64](xs) ysArg, ysFin := internal.WrapNumberPtr[C.ImU64, uint64](ys) @@ -3523,7 +3523,7 @@ func PlotBarsU64PtrU64PtrV(label_id string, xs *uint64, ys *uint64, count int32, // flags: 0 // offset: 0 // stride: sizeof(ImU8) -func PlotBarsU8PtrIntV(label_id string, values *byte, count int32, bar_size float64, shift float64, flags BarsFlags, offset int32, stride int32) { +func PlotBarsU8PtrIntV(label_id string, values *byte, count int32, bar_size, shift float64, flags BarsFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) valuesArg, valuesFin := internal.WrapNumberPtr[C.ImU8, byte](values) C.ImPlot_PlotBars_U8PtrInt(label_idArg, valuesArg, C.int(count), C.double(bar_size), C.double(shift), C.ImPlotBarsFlags(flags), C.int(offset), C.int(stride)) @@ -3536,7 +3536,7 @@ func PlotBarsU8PtrIntV(label_id string, values *byte, count int32, bar_size floa // flags: 0 // offset: 0 // stride: sizeof(ImU8) -func PlotBarsU8PtrU8PtrV(label_id string, xs *byte, ys *byte, count int32, bar_size float64, flags BarsFlags, offset int32, stride int32) { +func PlotBarsU8PtrU8PtrV(label_id string, xs, ys *byte, count int32, bar_size float64, flags BarsFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImU8, byte](xs) ysArg, ysFin := internal.WrapNumberPtr[C.ImU8, byte](ys) @@ -3553,7 +3553,7 @@ func PlotBarsU8PtrU8PtrV(label_id string, xs *byte, ys *byte, count int32, bar_s // flags: 0 // offset: 0 // stride: sizeof(double) -func PlotBarsdoublePtrIntV(label_id string, values *float64, count int32, bar_size float64, shift float64, flags BarsFlags, offset int32, stride int32) { +func PlotBarsdoublePtrIntV(label_id string, values *float64, count int32, bar_size, shift float64, flags BarsFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) valuesArg, valuesFin := internal.WrapNumberPtr[C.double, float64](values) C.ImPlot_PlotBars_doublePtrInt(label_idArg, valuesArg, C.int(count), C.double(bar_size), C.double(shift), C.ImPlotBarsFlags(flags), C.int(offset), C.int(stride)) @@ -3566,7 +3566,7 @@ func PlotBarsdoublePtrIntV(label_id string, values *float64, count int32, bar_si // flags: 0 // offset: 0 // stride: sizeof(double) -func PlotBarsdoublePtrdoublePtrV(label_id string, xs *float64, ys *float64, count int32, bar_size float64, flags BarsFlags, offset int32, stride int32) { +func PlotBarsdoublePtrdoublePtrV(label_id string, xs, ys *float64, count int32, bar_size float64, flags BarsFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.double, float64](xs) ysArg, ysFin := internal.WrapNumberPtr[C.double, float64](ys) @@ -3581,7 +3581,7 @@ func PlotBarsdoublePtrdoublePtrV(label_id string, xs *float64, ys *float64, coun // flags: 0 // offset: 0 // stride: sizeof(float) -func PlotDigitalFloatPtrV(label_id string, xs *float32, ys *float32, count int32, flags DigitalFlags, offset int32, stride int32) { +func PlotDigitalFloatPtrV(label_id string, xs, ys *float32, count int32, flags DigitalFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.float, float32](xs) ysArg, ysFin := internal.WrapNumberPtr[C.float, float32](ys) @@ -3596,7 +3596,7 @@ func PlotDigitalFloatPtrV(label_id string, xs *float32, ys *float32, count int32 // flags: 0 // offset: 0 // stride: sizeof(ImS16) -func PlotDigitalS16PtrV(label_id string, xs *int16, ys *int16, count int32, flags DigitalFlags, offset int32, stride int32) { +func PlotDigitalS16PtrV(label_id string, xs, ys *int16, count int32, flags DigitalFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImS16, int16](xs) ysArg, ysFin := internal.WrapNumberPtr[C.ImS16, int16](ys) @@ -3611,7 +3611,7 @@ func PlotDigitalS16PtrV(label_id string, xs *int16, ys *int16, count int32, flag // flags: 0 // offset: 0 // stride: sizeof(ImS32) -func PlotDigitalS32PtrV(label_id string, xs *int32, ys *int32, count int32, flags DigitalFlags, offset int32, stride int32) { +func PlotDigitalS32PtrV(label_id string, xs, ys *int32, count int32, flags DigitalFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImS32, int32](xs) ysArg, ysFin := internal.WrapNumberPtr[C.ImS32, int32](ys) @@ -3626,7 +3626,7 @@ func PlotDigitalS32PtrV(label_id string, xs *int32, ys *int32, count int32, flag // flags: 0 // offset: 0 // stride: sizeof(ImS64) -func PlotDigitalS64PtrV(label_id string, xs *int64, ys *int64, count int32, flags DigitalFlags, offset int32, stride int32) { +func PlotDigitalS64PtrV(label_id string, xs, ys *int64, count int32, flags DigitalFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImS64, int64](xs) ysArg, ysFin := internal.WrapNumberPtr[C.ImS64, int64](ys) @@ -3641,7 +3641,7 @@ func PlotDigitalS64PtrV(label_id string, xs *int64, ys *int64, count int32, flag // flags: 0 // offset: 0 // stride: sizeof(ImS8) -func PlotDigitalS8PtrV(label_id string, xs *int8, ys *int8, count int32, flags DigitalFlags, offset int32, stride int32) { +func PlotDigitalS8PtrV(label_id string, xs, ys *int8, count int32, flags DigitalFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImS8, int8](xs) ysArg, ysFin := internal.WrapNumberPtr[C.ImS8, int8](ys) @@ -3656,7 +3656,7 @@ func PlotDigitalS8PtrV(label_id string, xs *int8, ys *int8, count int32, flags D // flags: 0 // offset: 0 // stride: sizeof(ImU16) -func PlotDigitalU16PtrV(label_id string, xs *uint16, ys *uint16, count int32, flags DigitalFlags, offset int32, stride int32) { +func PlotDigitalU16PtrV(label_id string, xs, ys *uint16, count int32, flags DigitalFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImU16, uint16](xs) ysArg, ysFin := internal.WrapNumberPtr[C.ImU16, uint16](ys) @@ -3671,7 +3671,7 @@ func PlotDigitalU16PtrV(label_id string, xs *uint16, ys *uint16, count int32, fl // flags: 0 // offset: 0 // stride: sizeof(ImU32) -func PlotDigitalU32PtrV(label_id string, xs *uint32, ys *uint32, count int32, flags DigitalFlags, offset int32, stride int32) { +func PlotDigitalU32PtrV(label_id string, xs, ys *uint32, count int32, flags DigitalFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImU32, uint32](xs) ysArg, ysFin := internal.WrapNumberPtr[C.ImU32, uint32](ys) @@ -3686,7 +3686,7 @@ func PlotDigitalU32PtrV(label_id string, xs *uint32, ys *uint32, count int32, fl // flags: 0 // offset: 0 // stride: sizeof(ImU64) -func PlotDigitalU64PtrV(label_id string, xs *uint64, ys *uint64, count int32, flags DigitalFlags, offset int32, stride int32) { +func PlotDigitalU64PtrV(label_id string, xs, ys *uint64, count int32, flags DigitalFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImU64, uint64](xs) ysArg, ysFin := internal.WrapNumberPtr[C.ImU64, uint64](ys) @@ -3701,7 +3701,7 @@ func PlotDigitalU64PtrV(label_id string, xs *uint64, ys *uint64, count int32, fl // flags: 0 // offset: 0 // stride: sizeof(ImU8) -func PlotDigitalU8PtrV(label_id string, xs *byte, ys *byte, count int32, flags DigitalFlags, offset int32, stride int32) { +func PlotDigitalU8PtrV(label_id string, xs, ys *byte, count int32, flags DigitalFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImU8, byte](xs) ysArg, ysFin := internal.WrapNumberPtr[C.ImU8, byte](ys) @@ -3716,7 +3716,7 @@ func PlotDigitalU8PtrV(label_id string, xs *byte, ys *byte, count int32, flags D // flags: 0 // offset: 0 // stride: sizeof(double) -func PlotDigitaldoublePtrV(label_id string, xs *float64, ys *float64, count int32, flags DigitalFlags, offset int32, stride int32) { +func PlotDigitaldoublePtrV(label_id string, xs, ys *float64, count int32, flags DigitalFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.double, float64](xs) ysArg, ysFin := internal.WrapNumberPtr[C.double, float64](ys) @@ -3740,7 +3740,7 @@ func PlotDummyV(label_id string, flags DummyFlags) { // flags: 0 // offset: 0 // stride: sizeof(float) -func PlotErrorBarsFloatPtrFloatPtrFloatPtrFloatPtrV(label_id string, xs *float32, ys *float32, neg *float32, pos *float32, count int32, flags ErrorBarsFlags, offset int32, stride int32) { +func PlotErrorBarsFloatPtrFloatPtrFloatPtrFloatPtrV(label_id string, xs, ys, neg, pos *float32, count int32, flags ErrorBarsFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.float, float32](xs) ysArg, ysFin := internal.WrapNumberPtr[C.float, float32](ys) @@ -3759,7 +3759,7 @@ func PlotErrorBarsFloatPtrFloatPtrFloatPtrFloatPtrV(label_id string, xs *float32 // flags: 0 // offset: 0 // stride: sizeof(float) -func PlotErrorBarsFloatPtrFloatPtrFloatPtrIntV(label_id string, xs *float32, ys *float32, err *float32, count int32, flags ErrorBarsFlags, offset int32, stride int32) { +func PlotErrorBarsFloatPtrFloatPtrFloatPtrIntV(label_id string, xs, ys, err *float32, count int32, flags ErrorBarsFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.float, float32](xs) ysArg, ysFin := internal.WrapNumberPtr[C.float, float32](ys) @@ -3776,7 +3776,7 @@ func PlotErrorBarsFloatPtrFloatPtrFloatPtrIntV(label_id string, xs *float32, ys // flags: 0 // offset: 0 // stride: sizeof(ImS16) -func PlotErrorBarsS16PtrS16PtrS16PtrIntV(label_id string, xs *int16, ys *int16, err *int16, count int32, flags ErrorBarsFlags, offset int32, stride int32) { +func PlotErrorBarsS16PtrS16PtrS16PtrIntV(label_id string, xs, ys, err *int16, count int32, flags ErrorBarsFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImS16, int16](xs) ysArg, ysFin := internal.WrapNumberPtr[C.ImS16, int16](ys) @@ -3793,7 +3793,7 @@ func PlotErrorBarsS16PtrS16PtrS16PtrIntV(label_id string, xs *int16, ys *int16, // flags: 0 // offset: 0 // stride: sizeof(ImS16) -func PlotErrorBarsS16PtrS16PtrS16PtrS16PtrV(label_id string, xs *int16, ys *int16, neg *int16, pos *int16, count int32, flags ErrorBarsFlags, offset int32, stride int32) { +func PlotErrorBarsS16PtrS16PtrS16PtrS16PtrV(label_id string, xs, ys, neg, pos *int16, count int32, flags ErrorBarsFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImS16, int16](xs) ysArg, ysFin := internal.WrapNumberPtr[C.ImS16, int16](ys) @@ -3812,7 +3812,7 @@ func PlotErrorBarsS16PtrS16PtrS16PtrS16PtrV(label_id string, xs *int16, ys *int1 // flags: 0 // offset: 0 // stride: sizeof(ImS32) -func PlotErrorBarsS32PtrS32PtrS32PtrIntV(label_id string, xs *int32, ys *int32, err *int32, count int32, flags ErrorBarsFlags, offset int32, stride int32) { +func PlotErrorBarsS32PtrS32PtrS32PtrIntV(label_id string, xs, ys, err *int32, count int32, flags ErrorBarsFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImS32, int32](xs) ysArg, ysFin := internal.WrapNumberPtr[C.ImS32, int32](ys) @@ -3829,7 +3829,7 @@ func PlotErrorBarsS32PtrS32PtrS32PtrIntV(label_id string, xs *int32, ys *int32, // flags: 0 // offset: 0 // stride: sizeof(ImS32) -func PlotErrorBarsS32PtrS32PtrS32PtrS32PtrV(label_id string, xs *int32, ys *int32, neg *int32, pos *int32, count int32, flags ErrorBarsFlags, offset int32, stride int32) { +func PlotErrorBarsS32PtrS32PtrS32PtrS32PtrV(label_id string, xs, ys, neg, pos *int32, count int32, flags ErrorBarsFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImS32, int32](xs) ysArg, ysFin := internal.WrapNumberPtr[C.ImS32, int32](ys) @@ -3848,7 +3848,7 @@ func PlotErrorBarsS32PtrS32PtrS32PtrS32PtrV(label_id string, xs *int32, ys *int3 // flags: 0 // offset: 0 // stride: sizeof(ImS64) -func PlotErrorBarsS64PtrS64PtrS64PtrIntV(label_id string, xs *int64, ys *int64, err *int64, count int32, flags ErrorBarsFlags, offset int32, stride int32) { +func PlotErrorBarsS64PtrS64PtrS64PtrIntV(label_id string, xs, ys, err *int64, count int32, flags ErrorBarsFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImS64, int64](xs) ysArg, ysFin := internal.WrapNumberPtr[C.ImS64, int64](ys) @@ -3865,7 +3865,7 @@ func PlotErrorBarsS64PtrS64PtrS64PtrIntV(label_id string, xs *int64, ys *int64, // flags: 0 // offset: 0 // stride: sizeof(ImS64) -func PlotErrorBarsS64PtrS64PtrS64PtrS64PtrV(label_id string, xs *int64, ys *int64, neg *int64, pos *int64, count int32, flags ErrorBarsFlags, offset int32, stride int32) { +func PlotErrorBarsS64PtrS64PtrS64PtrS64PtrV(label_id string, xs, ys, neg, pos *int64, count int32, flags ErrorBarsFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImS64, int64](xs) ysArg, ysFin := internal.WrapNumberPtr[C.ImS64, int64](ys) @@ -3884,7 +3884,7 @@ func PlotErrorBarsS64PtrS64PtrS64PtrS64PtrV(label_id string, xs *int64, ys *int6 // flags: 0 // offset: 0 // stride: sizeof(ImS8) -func PlotErrorBarsS8PtrS8PtrS8PtrIntV(label_id string, xs *int8, ys *int8, err *int8, count int32, flags ErrorBarsFlags, offset int32, stride int32) { +func PlotErrorBarsS8PtrS8PtrS8PtrIntV(label_id string, xs, ys, err *int8, count int32, flags ErrorBarsFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImS8, int8](xs) ysArg, ysFin := internal.WrapNumberPtr[C.ImS8, int8](ys) @@ -3901,7 +3901,7 @@ func PlotErrorBarsS8PtrS8PtrS8PtrIntV(label_id string, xs *int8, ys *int8, err * // flags: 0 // offset: 0 // stride: sizeof(ImS8) -func PlotErrorBarsS8PtrS8PtrS8PtrS8PtrV(label_id string, xs *int8, ys *int8, neg *int8, pos *int8, count int32, flags ErrorBarsFlags, offset int32, stride int32) { +func PlotErrorBarsS8PtrS8PtrS8PtrS8PtrV(label_id string, xs, ys, neg, pos *int8, count int32, flags ErrorBarsFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImS8, int8](xs) ysArg, ysFin := internal.WrapNumberPtr[C.ImS8, int8](ys) @@ -3920,7 +3920,7 @@ func PlotErrorBarsS8PtrS8PtrS8PtrS8PtrV(label_id string, xs *int8, ys *int8, neg // flags: 0 // offset: 0 // stride: sizeof(ImU16) -func PlotErrorBarsU16PtrU16PtrU16PtrIntV(label_id string, xs *uint16, ys *uint16, err *uint16, count int32, flags ErrorBarsFlags, offset int32, stride int32) { +func PlotErrorBarsU16PtrU16PtrU16PtrIntV(label_id string, xs, ys, err *uint16, count int32, flags ErrorBarsFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImU16, uint16](xs) ysArg, ysFin := internal.WrapNumberPtr[C.ImU16, uint16](ys) @@ -3937,7 +3937,7 @@ func PlotErrorBarsU16PtrU16PtrU16PtrIntV(label_id string, xs *uint16, ys *uint16 // flags: 0 // offset: 0 // stride: sizeof(ImU16) -func PlotErrorBarsU16PtrU16PtrU16PtrU16PtrV(label_id string, xs *uint16, ys *uint16, neg *uint16, pos *uint16, count int32, flags ErrorBarsFlags, offset int32, stride int32) { +func PlotErrorBarsU16PtrU16PtrU16PtrU16PtrV(label_id string, xs, ys, neg, pos *uint16, count int32, flags ErrorBarsFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImU16, uint16](xs) ysArg, ysFin := internal.WrapNumberPtr[C.ImU16, uint16](ys) @@ -3956,7 +3956,7 @@ func PlotErrorBarsU16PtrU16PtrU16PtrU16PtrV(label_id string, xs *uint16, ys *uin // flags: 0 // offset: 0 // stride: sizeof(ImU32) -func PlotErrorBarsU32PtrU32PtrU32PtrIntV(label_id string, xs *uint32, ys *uint32, err *uint32, count int32, flags ErrorBarsFlags, offset int32, stride int32) { +func PlotErrorBarsU32PtrU32PtrU32PtrIntV(label_id string, xs, ys, err *uint32, count int32, flags ErrorBarsFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImU32, uint32](xs) ysArg, ysFin := internal.WrapNumberPtr[C.ImU32, uint32](ys) @@ -3973,7 +3973,7 @@ func PlotErrorBarsU32PtrU32PtrU32PtrIntV(label_id string, xs *uint32, ys *uint32 // flags: 0 // offset: 0 // stride: sizeof(ImU32) -func PlotErrorBarsU32PtrU32PtrU32PtrU32PtrV(label_id string, xs *uint32, ys *uint32, neg *uint32, pos *uint32, count int32, flags ErrorBarsFlags, offset int32, stride int32) { +func PlotErrorBarsU32PtrU32PtrU32PtrU32PtrV(label_id string, xs, ys, neg, pos *uint32, count int32, flags ErrorBarsFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImU32, uint32](xs) ysArg, ysFin := internal.WrapNumberPtr[C.ImU32, uint32](ys) @@ -3992,7 +3992,7 @@ func PlotErrorBarsU32PtrU32PtrU32PtrU32PtrV(label_id string, xs *uint32, ys *uin // flags: 0 // offset: 0 // stride: sizeof(ImU64) -func PlotErrorBarsU64PtrU64PtrU64PtrIntV(label_id string, xs *uint64, ys *uint64, err *uint64, count int32, flags ErrorBarsFlags, offset int32, stride int32) { +func PlotErrorBarsU64PtrU64PtrU64PtrIntV(label_id string, xs, ys, err *uint64, count int32, flags ErrorBarsFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImU64, uint64](xs) ysArg, ysFin := internal.WrapNumberPtr[C.ImU64, uint64](ys) @@ -4009,7 +4009,7 @@ func PlotErrorBarsU64PtrU64PtrU64PtrIntV(label_id string, xs *uint64, ys *uint64 // flags: 0 // offset: 0 // stride: sizeof(ImU64) -func PlotErrorBarsU64PtrU64PtrU64PtrU64PtrV(label_id string, xs *uint64, ys *uint64, neg *uint64, pos *uint64, count int32, flags ErrorBarsFlags, offset int32, stride int32) { +func PlotErrorBarsU64PtrU64PtrU64PtrU64PtrV(label_id string, xs, ys, neg, pos *uint64, count int32, flags ErrorBarsFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImU64, uint64](xs) ysArg, ysFin := internal.WrapNumberPtr[C.ImU64, uint64](ys) @@ -4028,7 +4028,7 @@ func PlotErrorBarsU64PtrU64PtrU64PtrU64PtrV(label_id string, xs *uint64, ys *uin // flags: 0 // offset: 0 // stride: sizeof(ImU8) -func PlotErrorBarsU8PtrU8PtrU8PtrIntV(label_id string, xs *byte, ys *byte, err *byte, count int32, flags ErrorBarsFlags, offset int32, stride int32) { +func PlotErrorBarsU8PtrU8PtrU8PtrIntV(label_id string, xs, ys, err *byte, count int32, flags ErrorBarsFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImU8, byte](xs) ysArg, ysFin := internal.WrapNumberPtr[C.ImU8, byte](ys) @@ -4045,7 +4045,7 @@ func PlotErrorBarsU8PtrU8PtrU8PtrIntV(label_id string, xs *byte, ys *byte, err * // flags: 0 // offset: 0 // stride: sizeof(ImU8) -func PlotErrorBarsU8PtrU8PtrU8PtrU8PtrV(label_id string, xs *byte, ys *byte, neg *byte, pos *byte, count int32, flags ErrorBarsFlags, offset int32, stride int32) { +func PlotErrorBarsU8PtrU8PtrU8PtrU8PtrV(label_id string, xs, ys, neg, pos *byte, count int32, flags ErrorBarsFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImU8, byte](xs) ysArg, ysFin := internal.WrapNumberPtr[C.ImU8, byte](ys) @@ -4064,7 +4064,7 @@ func PlotErrorBarsU8PtrU8PtrU8PtrU8PtrV(label_id string, xs *byte, ys *byte, neg // flags: 0 // offset: 0 // stride: sizeof(double) -func PlotErrorBarsdoublePtrdoublePtrdoublePtrIntV(label_id string, xs *float64, ys *float64, err *float64, count int32, flags ErrorBarsFlags, offset int32, stride int32) { +func PlotErrorBarsdoublePtrdoublePtrdoublePtrIntV(label_id string, xs, ys, err *float64, count int32, flags ErrorBarsFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.double, float64](xs) ysArg, ysFin := internal.WrapNumberPtr[C.double, float64](ys) @@ -4081,7 +4081,7 @@ func PlotErrorBarsdoublePtrdoublePtrdoublePtrIntV(label_id string, xs *float64, // flags: 0 // offset: 0 // stride: sizeof(double) -func PlotErrorBarsdoublePtrdoublePtrdoublePtrdoublePtrV(label_id string, xs *float64, ys *float64, neg *float64, pos *float64, count int32, flags ErrorBarsFlags, offset int32, stride int32) { +func PlotErrorBarsdoublePtrdoublePtrdoublePtrdoublePtrV(label_id string, xs, ys, neg, pos *float64, count int32, flags ErrorBarsFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.double, float64](xs) ysArg, ysFin := internal.WrapNumberPtr[C.double, float64](ys) @@ -4103,7 +4103,7 @@ func PlotErrorBarsdoublePtrdoublePtrdoublePtrdoublePtrV(label_id string, xs *flo // bounds_min: ImPlotPoint(0,0) // bounds_max: ImPlotPoint(1,1) // flags: 0 -func PlotHeatmapFloatPtrV(label_id string, values *float32, rows int32, cols int32, scale_min float64, scale_max float64, label_fmt string, bounds_min PlotPoint, bounds_max PlotPoint, flags HeatmapFlags) { +func PlotHeatmapFloatPtrV(label_id string, values *float32, rows, cols int32, scale_min, scale_max float64, label_fmt string, bounds_min, bounds_max PlotPoint, flags HeatmapFlags) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) valuesArg, valuesFin := internal.WrapNumberPtr[C.float, float32](values) label_fmtArg, label_fmtFin := internal.WrapString[C.char](label_fmt) @@ -4121,7 +4121,7 @@ func PlotHeatmapFloatPtrV(label_id string, values *float32, rows int32, cols int // bounds_min: ImPlotPoint(0,0) // bounds_max: ImPlotPoint(1,1) // flags: 0 -func PlotHeatmapS16PtrV(label_id string, values *int16, rows int32, cols int32, scale_min float64, scale_max float64, label_fmt string, bounds_min PlotPoint, bounds_max PlotPoint, flags HeatmapFlags) { +func PlotHeatmapS16PtrV(label_id string, values *int16, rows, cols int32, scale_min, scale_max float64, label_fmt string, bounds_min, bounds_max PlotPoint, flags HeatmapFlags) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) valuesArg, valuesFin := internal.WrapNumberPtr[C.ImS16, int16](values) label_fmtArg, label_fmtFin := internal.WrapString[C.char](label_fmt) @@ -4139,7 +4139,7 @@ func PlotHeatmapS16PtrV(label_id string, values *int16, rows int32, cols int32, // bounds_min: ImPlotPoint(0,0) // bounds_max: ImPlotPoint(1,1) // flags: 0 -func PlotHeatmapS32PtrV(label_id string, values *int32, rows int32, cols int32, scale_min float64, scale_max float64, label_fmt string, bounds_min PlotPoint, bounds_max PlotPoint, flags HeatmapFlags) { +func PlotHeatmapS32PtrV(label_id string, values *int32, rows, cols int32, scale_min, scale_max float64, label_fmt string, bounds_min, bounds_max PlotPoint, flags HeatmapFlags) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) valuesArg, valuesFin := internal.WrapNumberPtr[C.ImS32, int32](values) label_fmtArg, label_fmtFin := internal.WrapString[C.char](label_fmt) @@ -4157,7 +4157,7 @@ func PlotHeatmapS32PtrV(label_id string, values *int32, rows int32, cols int32, // bounds_min: ImPlotPoint(0,0) // bounds_max: ImPlotPoint(1,1) // flags: 0 -func PlotHeatmapS64PtrV(label_id string, values *int64, rows int32, cols int32, scale_min float64, scale_max float64, label_fmt string, bounds_min PlotPoint, bounds_max PlotPoint, flags HeatmapFlags) { +func PlotHeatmapS64PtrV(label_id string, values *int64, rows, cols int32, scale_min, scale_max float64, label_fmt string, bounds_min, bounds_max PlotPoint, flags HeatmapFlags) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) valuesArg, valuesFin := internal.WrapNumberPtr[C.ImS64, int64](values) label_fmtArg, label_fmtFin := internal.WrapString[C.char](label_fmt) @@ -4175,7 +4175,7 @@ func PlotHeatmapS64PtrV(label_id string, values *int64, rows int32, cols int32, // bounds_min: ImPlotPoint(0,0) // bounds_max: ImPlotPoint(1,1) // flags: 0 -func PlotHeatmapS8PtrV(label_id string, values *int8, rows int32, cols int32, scale_min float64, scale_max float64, label_fmt string, bounds_min PlotPoint, bounds_max PlotPoint, flags HeatmapFlags) { +func PlotHeatmapS8PtrV(label_id string, values *int8, rows, cols int32, scale_min, scale_max float64, label_fmt string, bounds_min, bounds_max PlotPoint, flags HeatmapFlags) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) valuesArg, valuesFin := internal.WrapNumberPtr[C.ImS8, int8](values) label_fmtArg, label_fmtFin := internal.WrapString[C.char](label_fmt) @@ -4193,7 +4193,7 @@ func PlotHeatmapS8PtrV(label_id string, values *int8, rows int32, cols int32, sc // bounds_min: ImPlotPoint(0,0) // bounds_max: ImPlotPoint(1,1) // flags: 0 -func PlotHeatmapU16PtrV(label_id string, values *uint16, rows int32, cols int32, scale_min float64, scale_max float64, label_fmt string, bounds_min PlotPoint, bounds_max PlotPoint, flags HeatmapFlags) { +func PlotHeatmapU16PtrV(label_id string, values *uint16, rows, cols int32, scale_min, scale_max float64, label_fmt string, bounds_min, bounds_max PlotPoint, flags HeatmapFlags) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) valuesArg, valuesFin := internal.WrapNumberPtr[C.ImU16, uint16](values) label_fmtArg, label_fmtFin := internal.WrapString[C.char](label_fmt) @@ -4211,7 +4211,7 @@ func PlotHeatmapU16PtrV(label_id string, values *uint16, rows int32, cols int32, // bounds_min: ImPlotPoint(0,0) // bounds_max: ImPlotPoint(1,1) // flags: 0 -func PlotHeatmapU32PtrV(label_id string, values *uint32, rows int32, cols int32, scale_min float64, scale_max float64, label_fmt string, bounds_min PlotPoint, bounds_max PlotPoint, flags HeatmapFlags) { +func PlotHeatmapU32PtrV(label_id string, values *uint32, rows, cols int32, scale_min, scale_max float64, label_fmt string, bounds_min, bounds_max PlotPoint, flags HeatmapFlags) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) valuesArg, valuesFin := internal.WrapNumberPtr[C.ImU32, uint32](values) label_fmtArg, label_fmtFin := internal.WrapString[C.char](label_fmt) @@ -4229,7 +4229,7 @@ func PlotHeatmapU32PtrV(label_id string, values *uint32, rows int32, cols int32, // bounds_min: ImPlotPoint(0,0) // bounds_max: ImPlotPoint(1,1) // flags: 0 -func PlotHeatmapU64PtrV(label_id string, values *uint64, rows int32, cols int32, scale_min float64, scale_max float64, label_fmt string, bounds_min PlotPoint, bounds_max PlotPoint, flags HeatmapFlags) { +func PlotHeatmapU64PtrV(label_id string, values *uint64, rows, cols int32, scale_min, scale_max float64, label_fmt string, bounds_min, bounds_max PlotPoint, flags HeatmapFlags) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) valuesArg, valuesFin := internal.WrapNumberPtr[C.ImU64, uint64](values) label_fmtArg, label_fmtFin := internal.WrapString[C.char](label_fmt) @@ -4247,7 +4247,7 @@ func PlotHeatmapU64PtrV(label_id string, values *uint64, rows int32, cols int32, // bounds_min: ImPlotPoint(0,0) // bounds_max: ImPlotPoint(1,1) // flags: 0 -func PlotHeatmapU8PtrV(label_id string, values *byte, rows int32, cols int32, scale_min float64, scale_max float64, label_fmt string, bounds_min PlotPoint, bounds_max PlotPoint, flags HeatmapFlags) { +func PlotHeatmapU8PtrV(label_id string, values *byte, rows, cols int32, scale_min, scale_max float64, label_fmt string, bounds_min, bounds_max PlotPoint, flags HeatmapFlags) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) valuesArg, valuesFin := internal.WrapNumberPtr[C.ImU8, byte](values) label_fmtArg, label_fmtFin := internal.WrapString[C.char](label_fmt) @@ -4265,7 +4265,7 @@ func PlotHeatmapU8PtrV(label_id string, values *byte, rows int32, cols int32, sc // bounds_min: ImPlotPoint(0,0) // bounds_max: ImPlotPoint(1,1) // flags: 0 -func PlotHeatmapdoublePtrV(label_id string, values *float64, rows int32, cols int32, scale_min float64, scale_max float64, label_fmt string, bounds_min PlotPoint, bounds_max PlotPoint, flags HeatmapFlags) { +func PlotHeatmapdoublePtrV(label_id string, values *float64, rows, cols int32, scale_min, scale_max float64, label_fmt string, bounds_min, bounds_max PlotPoint, flags HeatmapFlags) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) valuesArg, valuesFin := internal.WrapNumberPtr[C.double, float64](values) label_fmtArg, label_fmtFin := internal.WrapString[C.char](label_fmt) @@ -4280,7 +4280,7 @@ func PlotHeatmapdoublePtrV(label_id string, values *float64, rows int32, cols in // x_bins: ImPlotBin_Sturges // y_bins: ImPlotBin_Sturges // flags: 0 -func PlotHistogram2DFloatPtrV(label_id string, xs *float32, ys *float32, count int32, x_bins int32, y_bins int32, rangeArg Rect, flags HistogramFlags) float64 { +func PlotHistogram2DFloatPtrV(label_id string, xs, ys *float32, count, x_bins, y_bins int32, rangeArg Rect, flags HistogramFlags) float64 { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.float, float32](xs) ysArg, ysFin := internal.WrapNumberPtr[C.float, float32](ys) @@ -4299,7 +4299,7 @@ func PlotHistogram2DFloatPtrV(label_id string, xs *float32, ys *float32, count i // x_bins: ImPlotBin_Sturges // y_bins: ImPlotBin_Sturges // flags: 0 -func PlotHistogram2DS16PtrV(label_id string, xs *int16, ys *int16, count int32, x_bins int32, y_bins int32, rangeArg Rect, flags HistogramFlags) float64 { +func PlotHistogram2DS16PtrV(label_id string, xs, ys *int16, count, x_bins, y_bins int32, rangeArg Rect, flags HistogramFlags) float64 { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImS16, int16](xs) ysArg, ysFin := internal.WrapNumberPtr[C.ImS16, int16](ys) @@ -4318,7 +4318,7 @@ func PlotHistogram2DS16PtrV(label_id string, xs *int16, ys *int16, count int32, // x_bins: ImPlotBin_Sturges // y_bins: ImPlotBin_Sturges // flags: 0 -func PlotHistogram2DS32PtrV(label_id string, xs *int32, ys *int32, count int32, x_bins int32, y_bins int32, rangeArg Rect, flags HistogramFlags) float64 { +func PlotHistogram2DS32PtrV(label_id string, xs, ys *int32, count, x_bins, y_bins int32, rangeArg Rect, flags HistogramFlags) float64 { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImS32, int32](xs) ysArg, ysFin := internal.WrapNumberPtr[C.ImS32, int32](ys) @@ -4337,7 +4337,7 @@ func PlotHistogram2DS32PtrV(label_id string, xs *int32, ys *int32, count int32, // x_bins: ImPlotBin_Sturges // y_bins: ImPlotBin_Sturges // flags: 0 -func PlotHistogram2DS64PtrV(label_id string, xs *int64, ys *int64, count int32, x_bins int32, y_bins int32, rangeArg Rect, flags HistogramFlags) float64 { +func PlotHistogram2DS64PtrV(label_id string, xs, ys *int64, count, x_bins, y_bins int32, rangeArg Rect, flags HistogramFlags) float64 { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImS64, int64](xs) ysArg, ysFin := internal.WrapNumberPtr[C.ImS64, int64](ys) @@ -4356,7 +4356,7 @@ func PlotHistogram2DS64PtrV(label_id string, xs *int64, ys *int64, count int32, // x_bins: ImPlotBin_Sturges // y_bins: ImPlotBin_Sturges // flags: 0 -func PlotHistogram2DS8PtrV(label_id string, xs *int8, ys *int8, count int32, x_bins int32, y_bins int32, rangeArg Rect, flags HistogramFlags) float64 { +func PlotHistogram2DS8PtrV(label_id string, xs, ys *int8, count, x_bins, y_bins int32, rangeArg Rect, flags HistogramFlags) float64 { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImS8, int8](xs) ysArg, ysFin := internal.WrapNumberPtr[C.ImS8, int8](ys) @@ -4375,7 +4375,7 @@ func PlotHistogram2DS8PtrV(label_id string, xs *int8, ys *int8, count int32, x_b // x_bins: ImPlotBin_Sturges // y_bins: ImPlotBin_Sturges // flags: 0 -func PlotHistogram2DU16PtrV(label_id string, xs *uint16, ys *uint16, count int32, x_bins int32, y_bins int32, rangeArg Rect, flags HistogramFlags) float64 { +func PlotHistogram2DU16PtrV(label_id string, xs, ys *uint16, count, x_bins, y_bins int32, rangeArg Rect, flags HistogramFlags) float64 { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImU16, uint16](xs) ysArg, ysFin := internal.WrapNumberPtr[C.ImU16, uint16](ys) @@ -4394,7 +4394,7 @@ func PlotHistogram2DU16PtrV(label_id string, xs *uint16, ys *uint16, count int32 // x_bins: ImPlotBin_Sturges // y_bins: ImPlotBin_Sturges // flags: 0 -func PlotHistogram2DU32PtrV(label_id string, xs *uint32, ys *uint32, count int32, x_bins int32, y_bins int32, rangeArg Rect, flags HistogramFlags) float64 { +func PlotHistogram2DU32PtrV(label_id string, xs, ys *uint32, count, x_bins, y_bins int32, rangeArg Rect, flags HistogramFlags) float64 { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImU32, uint32](xs) ysArg, ysFin := internal.WrapNumberPtr[C.ImU32, uint32](ys) @@ -4413,7 +4413,7 @@ func PlotHistogram2DU32PtrV(label_id string, xs *uint32, ys *uint32, count int32 // x_bins: ImPlotBin_Sturges // y_bins: ImPlotBin_Sturges // flags: 0 -func PlotHistogram2DU64PtrV(label_id string, xs *uint64, ys *uint64, count int32, x_bins int32, y_bins int32, rangeArg Rect, flags HistogramFlags) float64 { +func PlotHistogram2DU64PtrV(label_id string, xs, ys *uint64, count, x_bins, y_bins int32, rangeArg Rect, flags HistogramFlags) float64 { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImU64, uint64](xs) ysArg, ysFin := internal.WrapNumberPtr[C.ImU64, uint64](ys) @@ -4432,7 +4432,7 @@ func PlotHistogram2DU64PtrV(label_id string, xs *uint64, ys *uint64, count int32 // x_bins: ImPlotBin_Sturges // y_bins: ImPlotBin_Sturges // flags: 0 -func PlotHistogram2DU8PtrV(label_id string, xs *byte, ys *byte, count int32, x_bins int32, y_bins int32, rangeArg Rect, flags HistogramFlags) float64 { +func PlotHistogram2DU8PtrV(label_id string, xs, ys *byte, count, x_bins, y_bins int32, rangeArg Rect, flags HistogramFlags) float64 { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImU8, byte](xs) ysArg, ysFin := internal.WrapNumberPtr[C.ImU8, byte](ys) @@ -4451,7 +4451,7 @@ func PlotHistogram2DU8PtrV(label_id string, xs *byte, ys *byte, count int32, x_b // x_bins: ImPlotBin_Sturges // y_bins: ImPlotBin_Sturges // flags: 0 -func PlotHistogram2DdoublePtrV(label_id string, xs *float64, ys *float64, count int32, x_bins int32, y_bins int32, rangeArg Rect, flags HistogramFlags) float64 { +func PlotHistogram2DdoublePtrV(label_id string, xs, ys *float64, count, x_bins, y_bins int32, rangeArg Rect, flags HistogramFlags) float64 { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.double, float64](xs) ysArg, ysFin := internal.WrapNumberPtr[C.double, float64](ys) @@ -4470,7 +4470,7 @@ func PlotHistogram2DdoublePtrV(label_id string, xs *float64, ys *float64, count // bins: ImPlotBin_Sturges // bar_scale: 1.0 // flags: 0 -func PlotHistogramFloatPtrV(label_id string, values *float32, count int32, bins int32, bar_scale float64, rangeArg Range, flags HistogramFlags) float64 { +func PlotHistogramFloatPtrV(label_id string, values *float32, count, bins int32, bar_scale float64, rangeArg Range, flags HistogramFlags) float64 { label_idArg, label_idFin := internal.WrapString[C.char](label_id) valuesArg, valuesFin := internal.WrapNumberPtr[C.float, float32](values) rangeArgArg, rangeArgFin := rangeArg.C() @@ -4487,7 +4487,7 @@ func PlotHistogramFloatPtrV(label_id string, values *float32, count int32, bins // bins: ImPlotBin_Sturges // bar_scale: 1.0 // flags: 0 -func PlotHistogramS16PtrV(label_id string, values *int16, count int32, bins int32, bar_scale float64, rangeArg Range, flags HistogramFlags) float64 { +func PlotHistogramS16PtrV(label_id string, values *int16, count, bins int32, bar_scale float64, rangeArg Range, flags HistogramFlags) float64 { label_idArg, label_idFin := internal.WrapString[C.char](label_id) valuesArg, valuesFin := internal.WrapNumberPtr[C.ImS16, int16](values) rangeArgArg, rangeArgFin := rangeArg.C() @@ -4504,7 +4504,7 @@ func PlotHistogramS16PtrV(label_id string, values *int16, count int32, bins int3 // bins: ImPlotBin_Sturges // bar_scale: 1.0 // flags: 0 -func PlotHistogramS32PtrV(label_id string, values *int32, count int32, bins int32, bar_scale float64, rangeArg Range, flags HistogramFlags) float64 { +func PlotHistogramS32PtrV(label_id string, values *int32, count, bins int32, bar_scale float64, rangeArg Range, flags HistogramFlags) float64 { label_idArg, label_idFin := internal.WrapString[C.char](label_id) valuesArg, valuesFin := internal.WrapNumberPtr[C.ImS32, int32](values) rangeArgArg, rangeArgFin := rangeArg.C() @@ -4521,7 +4521,7 @@ func PlotHistogramS32PtrV(label_id string, values *int32, count int32, bins int3 // bins: ImPlotBin_Sturges // bar_scale: 1.0 // flags: 0 -func PlotHistogramS64PtrV(label_id string, values *int64, count int32, bins int32, bar_scale float64, rangeArg Range, flags HistogramFlags) float64 { +func PlotHistogramS64PtrV(label_id string, values *int64, count, bins int32, bar_scale float64, rangeArg Range, flags HistogramFlags) float64 { label_idArg, label_idFin := internal.WrapString[C.char](label_id) valuesArg, valuesFin := internal.WrapNumberPtr[C.ImS64, int64](values) rangeArgArg, rangeArgFin := rangeArg.C() @@ -4538,7 +4538,7 @@ func PlotHistogramS64PtrV(label_id string, values *int64, count int32, bins int3 // bins: ImPlotBin_Sturges // bar_scale: 1.0 // flags: 0 -func PlotHistogramS8PtrV(label_id string, values *int8, count int32, bins int32, bar_scale float64, rangeArg Range, flags HistogramFlags) float64 { +func PlotHistogramS8PtrV(label_id string, values *int8, count, bins int32, bar_scale float64, rangeArg Range, flags HistogramFlags) float64 { label_idArg, label_idFin := internal.WrapString[C.char](label_id) valuesArg, valuesFin := internal.WrapNumberPtr[C.ImS8, int8](values) rangeArgArg, rangeArgFin := rangeArg.C() @@ -4555,7 +4555,7 @@ func PlotHistogramS8PtrV(label_id string, values *int8, count int32, bins int32, // bins: ImPlotBin_Sturges // bar_scale: 1.0 // flags: 0 -func PlotHistogramU16PtrV(label_id string, values *uint16, count int32, bins int32, bar_scale float64, rangeArg Range, flags HistogramFlags) float64 { +func PlotHistogramU16PtrV(label_id string, values *uint16, count, bins int32, bar_scale float64, rangeArg Range, flags HistogramFlags) float64 { label_idArg, label_idFin := internal.WrapString[C.char](label_id) valuesArg, valuesFin := internal.WrapNumberPtr[C.ImU16, uint16](values) rangeArgArg, rangeArgFin := rangeArg.C() @@ -4572,7 +4572,7 @@ func PlotHistogramU16PtrV(label_id string, values *uint16, count int32, bins int // bins: ImPlotBin_Sturges // bar_scale: 1.0 // flags: 0 -func PlotHistogramU32PtrV(label_id string, values *uint32, count int32, bins int32, bar_scale float64, rangeArg Range, flags HistogramFlags) float64 { +func PlotHistogramU32PtrV(label_id string, values *uint32, count, bins int32, bar_scale float64, rangeArg Range, flags HistogramFlags) float64 { label_idArg, label_idFin := internal.WrapString[C.char](label_id) valuesArg, valuesFin := internal.WrapNumberPtr[C.ImU32, uint32](values) rangeArgArg, rangeArgFin := rangeArg.C() @@ -4589,7 +4589,7 @@ func PlotHistogramU32PtrV(label_id string, values *uint32, count int32, bins int // bins: ImPlotBin_Sturges // bar_scale: 1.0 // flags: 0 -func PlotHistogramU64PtrV(label_id string, values *uint64, count int32, bins int32, bar_scale float64, rangeArg Range, flags HistogramFlags) float64 { +func PlotHistogramU64PtrV(label_id string, values *uint64, count, bins int32, bar_scale float64, rangeArg Range, flags HistogramFlags) float64 { label_idArg, label_idFin := internal.WrapString[C.char](label_id) valuesArg, valuesFin := internal.WrapNumberPtr[C.ImU64, uint64](values) rangeArgArg, rangeArgFin := rangeArg.C() @@ -4606,7 +4606,7 @@ func PlotHistogramU64PtrV(label_id string, values *uint64, count int32, bins int // bins: ImPlotBin_Sturges // bar_scale: 1.0 // flags: 0 -func PlotHistogramU8PtrV(label_id string, values *byte, count int32, bins int32, bar_scale float64, rangeArg Range, flags HistogramFlags) float64 { +func PlotHistogramU8PtrV(label_id string, values *byte, count, bins int32, bar_scale float64, rangeArg Range, flags HistogramFlags) float64 { label_idArg, label_idFin := internal.WrapString[C.char](label_id) valuesArg, valuesFin := internal.WrapNumberPtr[C.ImU8, byte](values) rangeArgArg, rangeArgFin := rangeArg.C() @@ -4623,7 +4623,7 @@ func PlotHistogramU8PtrV(label_id string, values *byte, count int32, bins int32, // bins: ImPlotBin_Sturges // bar_scale: 1.0 // flags: 0 -func PlotHistogramdoublePtrV(label_id string, values *float64, count int32, bins int32, bar_scale float64, rangeArg Range, flags HistogramFlags) float64 { +func PlotHistogramdoublePtrV(label_id string, values *float64, count, bins int32, bar_scale float64, rangeArg Range, flags HistogramFlags) float64 { label_idArg, label_idFin := internal.WrapString[C.char](label_id) valuesArg, valuesFin := internal.WrapNumberPtr[C.double, float64](values) rangeArgArg, rangeArgFin := rangeArg.C() @@ -4641,7 +4641,7 @@ func PlotHistogramdoublePtrV(label_id string, values *float64, count int32, bins // uv1: ImVec2(1,1) // tint_col: ImVec4(1,1,1,1) // flags: 0 -func PlotImageV(label_id string, user_texture_id imgui.TextureID, bounds_min PlotPoint, bounds_max PlotPoint, uv0 imgui.Vec2, uv1 imgui.Vec2, tint_col imgui.Vec4, flags ImageFlags) { +func PlotImageV(label_id string, user_texture_id imgui.TextureID, bounds_min, bounds_max PlotPoint, uv0, uv1 imgui.Vec2, tint_col imgui.Vec4, flags ImageFlags) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) user_texture_idArg, user_texture_idFin := user_texture_id.C() C.ImPlot_PlotImage(label_idArg, internal.ReinterpretCast[C.ImTextureID](user_texture_idArg), internal.ReinterpretCast[C.ImPlotPoint](bounds_min.ToC()), internal.ReinterpretCast[C.ImPlotPoint](bounds_max.ToC()), internal.ReinterpretCast[C.ImVec2](uv0.ToC()), internal.ReinterpretCast[C.ImVec2](uv1.ToC()), internal.ReinterpretCast[C.ImVec4](tint_col.ToC()), C.ImPlotImageFlags(flags)) @@ -4654,7 +4654,7 @@ func PlotImageV(label_id string, user_texture_id imgui.TextureID, bounds_min Plo // flags: 0 // offset: 0 // stride: sizeof(float) -func PlotInfLinesFloatPtrV(label_id string, values *float32, count int32, flags InfLinesFlags, offset int32, stride int32) { +func PlotInfLinesFloatPtrV(label_id string, values *float32, count int32, flags InfLinesFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) valuesArg, valuesFin := internal.WrapNumberPtr[C.float, float32](values) C.ImPlot_PlotInfLines_FloatPtr(label_idArg, valuesArg, C.int(count), C.ImPlotInfLinesFlags(flags), C.int(offset), C.int(stride)) @@ -4667,7 +4667,7 @@ func PlotInfLinesFloatPtrV(label_id string, values *float32, count int32, flags // flags: 0 // offset: 0 // stride: sizeof(ImS16) -func PlotInfLinesS16PtrV(label_id string, values *int16, count int32, flags InfLinesFlags, offset int32, stride int32) { +func PlotInfLinesS16PtrV(label_id string, values *int16, count int32, flags InfLinesFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) valuesArg, valuesFin := internal.WrapNumberPtr[C.ImS16, int16](values) C.ImPlot_PlotInfLines_S16Ptr(label_idArg, valuesArg, C.int(count), C.ImPlotInfLinesFlags(flags), C.int(offset), C.int(stride)) @@ -4680,7 +4680,7 @@ func PlotInfLinesS16PtrV(label_id string, values *int16, count int32, flags InfL // flags: 0 // offset: 0 // stride: sizeof(ImS32) -func PlotInfLinesS32PtrV(label_id string, values *int32, count int32, flags InfLinesFlags, offset int32, stride int32) { +func PlotInfLinesS32PtrV(label_id string, values *int32, count int32, flags InfLinesFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) valuesArg, valuesFin := internal.WrapNumberPtr[C.ImS32, int32](values) C.ImPlot_PlotInfLines_S32Ptr(label_idArg, valuesArg, C.int(count), C.ImPlotInfLinesFlags(flags), C.int(offset), C.int(stride)) @@ -4693,7 +4693,7 @@ func PlotInfLinesS32PtrV(label_id string, values *int32, count int32, flags InfL // flags: 0 // offset: 0 // stride: sizeof(ImS64) -func PlotInfLinesS64PtrV(label_id string, values *int64, count int32, flags InfLinesFlags, offset int32, stride int32) { +func PlotInfLinesS64PtrV(label_id string, values *int64, count int32, flags InfLinesFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) valuesArg, valuesFin := internal.WrapNumberPtr[C.ImS64, int64](values) C.ImPlot_PlotInfLines_S64Ptr(label_idArg, valuesArg, C.int(count), C.ImPlotInfLinesFlags(flags), C.int(offset), C.int(stride)) @@ -4706,7 +4706,7 @@ func PlotInfLinesS64PtrV(label_id string, values *int64, count int32, flags InfL // flags: 0 // offset: 0 // stride: sizeof(ImS8) -func PlotInfLinesS8PtrV(label_id string, values *int8, count int32, flags InfLinesFlags, offset int32, stride int32) { +func PlotInfLinesS8PtrV(label_id string, values *int8, count int32, flags InfLinesFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) valuesArg, valuesFin := internal.WrapNumberPtr[C.ImS8, int8](values) C.ImPlot_PlotInfLines_S8Ptr(label_idArg, valuesArg, C.int(count), C.ImPlotInfLinesFlags(flags), C.int(offset), C.int(stride)) @@ -4719,7 +4719,7 @@ func PlotInfLinesS8PtrV(label_id string, values *int8, count int32, flags InfLin // flags: 0 // offset: 0 // stride: sizeof(ImU16) -func PlotInfLinesU16PtrV(label_id string, values *uint16, count int32, flags InfLinesFlags, offset int32, stride int32) { +func PlotInfLinesU16PtrV(label_id string, values *uint16, count int32, flags InfLinesFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) valuesArg, valuesFin := internal.WrapNumberPtr[C.ImU16, uint16](values) C.ImPlot_PlotInfLines_U16Ptr(label_idArg, valuesArg, C.int(count), C.ImPlotInfLinesFlags(flags), C.int(offset), C.int(stride)) @@ -4732,7 +4732,7 @@ func PlotInfLinesU16PtrV(label_id string, values *uint16, count int32, flags Inf // flags: 0 // offset: 0 // stride: sizeof(ImU32) -func PlotInfLinesU32PtrV(label_id string, values *uint32, count int32, flags InfLinesFlags, offset int32, stride int32) { +func PlotInfLinesU32PtrV(label_id string, values *uint32, count int32, flags InfLinesFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) valuesArg, valuesFin := internal.WrapNumberPtr[C.ImU32, uint32](values) C.ImPlot_PlotInfLines_U32Ptr(label_idArg, valuesArg, C.int(count), C.ImPlotInfLinesFlags(flags), C.int(offset), C.int(stride)) @@ -4745,7 +4745,7 @@ func PlotInfLinesU32PtrV(label_id string, values *uint32, count int32, flags Inf // flags: 0 // offset: 0 // stride: sizeof(ImU64) -func PlotInfLinesU64PtrV(label_id string, values *uint64, count int32, flags InfLinesFlags, offset int32, stride int32) { +func PlotInfLinesU64PtrV(label_id string, values *uint64, count int32, flags InfLinesFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) valuesArg, valuesFin := internal.WrapNumberPtr[C.ImU64, uint64](values) C.ImPlot_PlotInfLines_U64Ptr(label_idArg, valuesArg, C.int(count), C.ImPlotInfLinesFlags(flags), C.int(offset), C.int(stride)) @@ -4758,7 +4758,7 @@ func PlotInfLinesU64PtrV(label_id string, values *uint64, count int32, flags Inf // flags: 0 // offset: 0 // stride: sizeof(ImU8) -func PlotInfLinesU8PtrV(label_id string, values *byte, count int32, flags InfLinesFlags, offset int32, stride int32) { +func PlotInfLinesU8PtrV(label_id string, values *byte, count int32, flags InfLinesFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) valuesArg, valuesFin := internal.WrapNumberPtr[C.ImU8, byte](values) C.ImPlot_PlotInfLines_U8Ptr(label_idArg, valuesArg, C.int(count), C.ImPlotInfLinesFlags(flags), C.int(offset), C.int(stride)) @@ -4771,7 +4771,7 @@ func PlotInfLinesU8PtrV(label_id string, values *byte, count int32, flags InfLin // flags: 0 // offset: 0 // stride: sizeof(double) -func PlotInfLinesdoublePtrV(label_id string, values *float64, count int32, flags InfLinesFlags, offset int32, stride int32) { +func PlotInfLinesdoublePtrV(label_id string, values *float64, count int32, flags InfLinesFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) valuesArg, valuesFin := internal.WrapNumberPtr[C.double, float64](values) C.ImPlot_PlotInfLines_doublePtr(label_idArg, valuesArg, C.int(count), C.ImPlotInfLinesFlags(flags), C.int(offset), C.int(stride)) @@ -4784,7 +4784,7 @@ func PlotInfLinesdoublePtrV(label_id string, values *float64, count int32, flags // flags: 0 // offset: 0 // stride: sizeof(float) -func PlotLineFloatPtrFloatPtrV(label_id string, xs *float32, ys *float32, count int32, flags LineFlags, offset int32, stride int32) { +func PlotLineFloatPtrFloatPtrV(label_id string, xs, ys *float32, count int32, flags LineFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.float, float32](xs) ysArg, ysFin := internal.WrapNumberPtr[C.float, float32](ys) @@ -4801,7 +4801,7 @@ func PlotLineFloatPtrFloatPtrV(label_id string, xs *float32, ys *float32, count // flags: 0 // offset: 0 // stride: sizeof(float) -func PlotLineFloatPtrIntV(label_id string, values *float32, count int32, xscale float64, xstart float64, flags LineFlags, offset int32, stride int32) { +func PlotLineFloatPtrIntV(label_id string, values *float32, count int32, xscale, xstart float64, flags LineFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) valuesArg, valuesFin := internal.WrapNumberPtr[C.float, float32](values) C.ImPlot_PlotLine_FloatPtrInt(label_idArg, valuesArg, C.int(count), C.double(xscale), C.double(xstart), C.ImPlotLineFlags(flags), C.int(offset), C.int(stride)) @@ -4816,7 +4816,7 @@ func PlotLineFloatPtrIntV(label_id string, values *float32, count int32, xscale // flags: 0 // offset: 0 // stride: sizeof(ImS16) -func PlotLineS16PtrIntV(label_id string, values *int16, count int32, xscale float64, xstart float64, flags LineFlags, offset int32, stride int32) { +func PlotLineS16PtrIntV(label_id string, values *int16, count int32, xscale, xstart float64, flags LineFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) valuesArg, valuesFin := internal.WrapNumberPtr[C.ImS16, int16](values) C.ImPlot_PlotLine_S16PtrInt(label_idArg, valuesArg, C.int(count), C.double(xscale), C.double(xstart), C.ImPlotLineFlags(flags), C.int(offset), C.int(stride)) @@ -4829,7 +4829,7 @@ func PlotLineS16PtrIntV(label_id string, values *int16, count int32, xscale floa // flags: 0 // offset: 0 // stride: sizeof(ImS16) -func PlotLineS16PtrS16PtrV(label_id string, xs *int16, ys *int16, count int32, flags LineFlags, offset int32, stride int32) { +func PlotLineS16PtrS16PtrV(label_id string, xs, ys *int16, count int32, flags LineFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImS16, int16](xs) ysArg, ysFin := internal.WrapNumberPtr[C.ImS16, int16](ys) @@ -4846,7 +4846,7 @@ func PlotLineS16PtrS16PtrV(label_id string, xs *int16, ys *int16, count int32, f // flags: 0 // offset: 0 // stride: sizeof(ImS32) -func PlotLineS32PtrIntV(label_id string, values *int32, count int32, xscale float64, xstart float64, flags LineFlags, offset int32, stride int32) { +func PlotLineS32PtrIntV(label_id string, values *int32, count int32, xscale, xstart float64, flags LineFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) valuesArg, valuesFin := internal.WrapNumberPtr[C.ImS32, int32](values) C.ImPlot_PlotLine_S32PtrInt(label_idArg, valuesArg, C.int(count), C.double(xscale), C.double(xstart), C.ImPlotLineFlags(flags), C.int(offset), C.int(stride)) @@ -4859,7 +4859,7 @@ func PlotLineS32PtrIntV(label_id string, values *int32, count int32, xscale floa // flags: 0 // offset: 0 // stride: sizeof(ImS32) -func PlotLineS32PtrS32PtrV(label_id string, xs *int32, ys *int32, count int32, flags LineFlags, offset int32, stride int32) { +func PlotLineS32PtrS32PtrV(label_id string, xs, ys *int32, count int32, flags LineFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImS32, int32](xs) ysArg, ysFin := internal.WrapNumberPtr[C.ImS32, int32](ys) @@ -4876,7 +4876,7 @@ func PlotLineS32PtrS32PtrV(label_id string, xs *int32, ys *int32, count int32, f // flags: 0 // offset: 0 // stride: sizeof(ImS64) -func PlotLineS64PtrIntV(label_id string, values *int64, count int32, xscale float64, xstart float64, flags LineFlags, offset int32, stride int32) { +func PlotLineS64PtrIntV(label_id string, values *int64, count int32, xscale, xstart float64, flags LineFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) valuesArg, valuesFin := internal.WrapNumberPtr[C.ImS64, int64](values) C.ImPlot_PlotLine_S64PtrInt(label_idArg, valuesArg, C.int(count), C.double(xscale), C.double(xstart), C.ImPlotLineFlags(flags), C.int(offset), C.int(stride)) @@ -4889,7 +4889,7 @@ func PlotLineS64PtrIntV(label_id string, values *int64, count int32, xscale floa // flags: 0 // offset: 0 // stride: sizeof(ImS64) -func PlotLineS64PtrS64PtrV(label_id string, xs *int64, ys *int64, count int32, flags LineFlags, offset int32, stride int32) { +func PlotLineS64PtrS64PtrV(label_id string, xs, ys *int64, count int32, flags LineFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImS64, int64](xs) ysArg, ysFin := internal.WrapNumberPtr[C.ImS64, int64](ys) @@ -4906,7 +4906,7 @@ func PlotLineS64PtrS64PtrV(label_id string, xs *int64, ys *int64, count int32, f // flags: 0 // offset: 0 // stride: sizeof(ImS8) -func PlotLineS8PtrIntV(label_id string, values *int8, count int32, xscale float64, xstart float64, flags LineFlags, offset int32, stride int32) { +func PlotLineS8PtrIntV(label_id string, values *int8, count int32, xscale, xstart float64, flags LineFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) valuesArg, valuesFin := internal.WrapNumberPtr[C.ImS8, int8](values) C.ImPlot_PlotLine_S8PtrInt(label_idArg, valuesArg, C.int(count), C.double(xscale), C.double(xstart), C.ImPlotLineFlags(flags), C.int(offset), C.int(stride)) @@ -4919,7 +4919,7 @@ func PlotLineS8PtrIntV(label_id string, values *int8, count int32, xscale float6 // flags: 0 // offset: 0 // stride: sizeof(ImS8) -func PlotLineS8PtrS8PtrV(label_id string, xs *int8, ys *int8, count int32, flags LineFlags, offset int32, stride int32) { +func PlotLineS8PtrS8PtrV(label_id string, xs, ys *int8, count int32, flags LineFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImS8, int8](xs) ysArg, ysFin := internal.WrapNumberPtr[C.ImS8, int8](ys) @@ -4936,7 +4936,7 @@ func PlotLineS8PtrS8PtrV(label_id string, xs *int8, ys *int8, count int32, flags // flags: 0 // offset: 0 // stride: sizeof(ImU16) -func PlotLineU16PtrIntV(label_id string, values *uint16, count int32, xscale float64, xstart float64, flags LineFlags, offset int32, stride int32) { +func PlotLineU16PtrIntV(label_id string, values *uint16, count int32, xscale, xstart float64, flags LineFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) valuesArg, valuesFin := internal.WrapNumberPtr[C.ImU16, uint16](values) C.ImPlot_PlotLine_U16PtrInt(label_idArg, valuesArg, C.int(count), C.double(xscale), C.double(xstart), C.ImPlotLineFlags(flags), C.int(offset), C.int(stride)) @@ -4949,7 +4949,7 @@ func PlotLineU16PtrIntV(label_id string, values *uint16, count int32, xscale flo // flags: 0 // offset: 0 // stride: sizeof(ImU16) -func PlotLineU16PtrU16PtrV(label_id string, xs *uint16, ys *uint16, count int32, flags LineFlags, offset int32, stride int32) { +func PlotLineU16PtrU16PtrV(label_id string, xs, ys *uint16, count int32, flags LineFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImU16, uint16](xs) ysArg, ysFin := internal.WrapNumberPtr[C.ImU16, uint16](ys) @@ -4966,7 +4966,7 @@ func PlotLineU16PtrU16PtrV(label_id string, xs *uint16, ys *uint16, count int32, // flags: 0 // offset: 0 // stride: sizeof(ImU32) -func PlotLineU32PtrIntV(label_id string, values *uint32, count int32, xscale float64, xstart float64, flags LineFlags, offset int32, stride int32) { +func PlotLineU32PtrIntV(label_id string, values *uint32, count int32, xscale, xstart float64, flags LineFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) valuesArg, valuesFin := internal.WrapNumberPtr[C.ImU32, uint32](values) C.ImPlot_PlotLine_U32PtrInt(label_idArg, valuesArg, C.int(count), C.double(xscale), C.double(xstart), C.ImPlotLineFlags(flags), C.int(offset), C.int(stride)) @@ -4979,7 +4979,7 @@ func PlotLineU32PtrIntV(label_id string, values *uint32, count int32, xscale flo // flags: 0 // offset: 0 // stride: sizeof(ImU32) -func PlotLineU32PtrU32PtrV(label_id string, xs *uint32, ys *uint32, count int32, flags LineFlags, offset int32, stride int32) { +func PlotLineU32PtrU32PtrV(label_id string, xs, ys *uint32, count int32, flags LineFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImU32, uint32](xs) ysArg, ysFin := internal.WrapNumberPtr[C.ImU32, uint32](ys) @@ -4996,7 +4996,7 @@ func PlotLineU32PtrU32PtrV(label_id string, xs *uint32, ys *uint32, count int32, // flags: 0 // offset: 0 // stride: sizeof(ImU64) -func PlotLineU64PtrIntV(label_id string, values *uint64, count int32, xscale float64, xstart float64, flags LineFlags, offset int32, stride int32) { +func PlotLineU64PtrIntV(label_id string, values *uint64, count int32, xscale, xstart float64, flags LineFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) valuesArg, valuesFin := internal.WrapNumberPtr[C.ImU64, uint64](values) C.ImPlot_PlotLine_U64PtrInt(label_idArg, valuesArg, C.int(count), C.double(xscale), C.double(xstart), C.ImPlotLineFlags(flags), C.int(offset), C.int(stride)) @@ -5009,7 +5009,7 @@ func PlotLineU64PtrIntV(label_id string, values *uint64, count int32, xscale flo // flags: 0 // offset: 0 // stride: sizeof(ImU64) -func PlotLineU64PtrU64PtrV(label_id string, xs *uint64, ys *uint64, count int32, flags LineFlags, offset int32, stride int32) { +func PlotLineU64PtrU64PtrV(label_id string, xs, ys *uint64, count int32, flags LineFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImU64, uint64](xs) ysArg, ysFin := internal.WrapNumberPtr[C.ImU64, uint64](ys) @@ -5026,7 +5026,7 @@ func PlotLineU64PtrU64PtrV(label_id string, xs *uint64, ys *uint64, count int32, // flags: 0 // offset: 0 // stride: sizeof(ImU8) -func PlotLineU8PtrIntV(label_id string, values *byte, count int32, xscale float64, xstart float64, flags LineFlags, offset int32, stride int32) { +func PlotLineU8PtrIntV(label_id string, values *byte, count int32, xscale, xstart float64, flags LineFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) valuesArg, valuesFin := internal.WrapNumberPtr[C.ImU8, byte](values) C.ImPlot_PlotLine_U8PtrInt(label_idArg, valuesArg, C.int(count), C.double(xscale), C.double(xstart), C.ImPlotLineFlags(flags), C.int(offset), C.int(stride)) @@ -5039,7 +5039,7 @@ func PlotLineU8PtrIntV(label_id string, values *byte, count int32, xscale float6 // flags: 0 // offset: 0 // stride: sizeof(ImU8) -func PlotLineU8PtrU8PtrV(label_id string, xs *byte, ys *byte, count int32, flags LineFlags, offset int32, stride int32) { +func PlotLineU8PtrU8PtrV(label_id string, xs, ys *byte, count int32, flags LineFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImU8, byte](xs) ysArg, ysFin := internal.WrapNumberPtr[C.ImU8, byte](ys) @@ -5056,7 +5056,7 @@ func PlotLineU8PtrU8PtrV(label_id string, xs *byte, ys *byte, count int32, flags // flags: 0 // offset: 0 // stride: sizeof(double) -func PlotLinedoublePtrIntV(label_id string, values *float64, count int32, xscale float64, xstart float64, flags LineFlags, offset int32, stride int32) { +func PlotLinedoublePtrIntV(label_id string, values *float64, count int32, xscale, xstart float64, flags LineFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) valuesArg, valuesFin := internal.WrapNumberPtr[C.double, float64](values) C.ImPlot_PlotLine_doublePtrInt(label_idArg, valuesArg, C.int(count), C.double(xscale), C.double(xstart), C.ImPlotLineFlags(flags), C.int(offset), C.int(stride)) @@ -5069,7 +5069,7 @@ func PlotLinedoublePtrIntV(label_id string, values *float64, count int32, xscale // flags: 0 // offset: 0 // stride: sizeof(double) -func PlotLinedoublePtrdoublePtrV(label_id string, xs *float64, ys *float64, count int32, flags LineFlags, offset int32, stride int32) { +func PlotLinedoublePtrdoublePtrV(label_id string, xs, ys *float64, count int32, flags LineFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.double, float64](xs) ysArg, ysFin := internal.WrapNumberPtr[C.double, float64](ys) @@ -5084,7 +5084,7 @@ func PlotLinedoublePtrdoublePtrV(label_id string, xs *float64, ys *float64, coun // fmt_data: nullptr // angle0: 90 // flags: 0 -func PlotPieChartFloatPtrPlotFormatterV(label_ids []string, values *float32, count int32, x float64, y float64, radius float64, fmt Formatter, fmt_data uintptr, angle0 float64, flags PieChartFlags) { +func PlotPieChartFloatPtrPlotFormatterV(label_ids []string, values *float32, count int32, x, y, radius float64, fmt Formatter, fmt_data uintptr, angle0 float64, flags PieChartFlags) { label_idsArg, label_idsFin := internal.WrapStringList[C.char](label_ids) valuesArg, valuesFin := internal.WrapNumberPtr[C.float, float32](values) fmtArg, fmtFin := fmt.C() @@ -5099,7 +5099,7 @@ func PlotPieChartFloatPtrPlotFormatterV(label_ids []string, values *float32, cou // label_fmt: "%.1f" // angle0: 90 // flags: 0 -func PlotPieChartFloatPtrStrV(label_ids []string, values *float32, count int32, x float64, y float64, radius float64, label_fmt string, angle0 float64, flags PieChartFlags) { +func PlotPieChartFloatPtrStrV(label_ids []string, values *float32, count int32, x, y, radius float64, label_fmt string, angle0 float64, flags PieChartFlags) { label_idsArg, label_idsFin := internal.WrapStringList[C.char](label_ids) valuesArg, valuesFin := internal.WrapNumberPtr[C.float, float32](values) label_fmtArg, label_fmtFin := internal.WrapString[C.char](label_fmt) @@ -5114,7 +5114,7 @@ func PlotPieChartFloatPtrStrV(label_ids []string, values *float32, count int32, // fmt_data: nullptr // angle0: 90 // flags: 0 -func PlotPieChartS16PtrPlotFormatterV(label_ids []string, values *int16, count int32, x float64, y float64, radius float64, fmt Formatter, fmt_data uintptr, angle0 float64, flags PieChartFlags) { +func PlotPieChartS16PtrPlotFormatterV(label_ids []string, values *int16, count int32, x, y, radius float64, fmt Formatter, fmt_data uintptr, angle0 float64, flags PieChartFlags) { label_idsArg, label_idsFin := internal.WrapStringList[C.char](label_ids) valuesArg, valuesFin := internal.WrapNumberPtr[C.ImS16, int16](values) fmtArg, fmtFin := fmt.C() @@ -5129,7 +5129,7 @@ func PlotPieChartS16PtrPlotFormatterV(label_ids []string, values *int16, count i // label_fmt: "%.1f" // angle0: 90 // flags: 0 -func PlotPieChartS16PtrStrV(label_ids []string, values *int16, count int32, x float64, y float64, radius float64, label_fmt string, angle0 float64, flags PieChartFlags) { +func PlotPieChartS16PtrStrV(label_ids []string, values *int16, count int32, x, y, radius float64, label_fmt string, angle0 float64, flags PieChartFlags) { label_idsArg, label_idsFin := internal.WrapStringList[C.char](label_ids) valuesArg, valuesFin := internal.WrapNumberPtr[C.ImS16, int16](values) label_fmtArg, label_fmtFin := internal.WrapString[C.char](label_fmt) @@ -5144,7 +5144,7 @@ func PlotPieChartS16PtrStrV(label_ids []string, values *int16, count int32, x fl // fmt_data: nullptr // angle0: 90 // flags: 0 -func PlotPieChartS32PtrPlotFormatterV(label_ids []string, values *int32, count int32, x float64, y float64, radius float64, fmt Formatter, fmt_data uintptr, angle0 float64, flags PieChartFlags) { +func PlotPieChartS32PtrPlotFormatterV(label_ids []string, values *int32, count int32, x, y, radius float64, fmt Formatter, fmt_data uintptr, angle0 float64, flags PieChartFlags) { label_idsArg, label_idsFin := internal.WrapStringList[C.char](label_ids) valuesArg, valuesFin := internal.WrapNumberPtr[C.ImS32, int32](values) fmtArg, fmtFin := fmt.C() @@ -5159,7 +5159,7 @@ func PlotPieChartS32PtrPlotFormatterV(label_ids []string, values *int32, count i // label_fmt: "%.1f" // angle0: 90 // flags: 0 -func PlotPieChartS32PtrStrV(label_ids []string, values *int32, count int32, x float64, y float64, radius float64, label_fmt string, angle0 float64, flags PieChartFlags) { +func PlotPieChartS32PtrStrV(label_ids []string, values *int32, count int32, x, y, radius float64, label_fmt string, angle0 float64, flags PieChartFlags) { label_idsArg, label_idsFin := internal.WrapStringList[C.char](label_ids) valuesArg, valuesFin := internal.WrapNumberPtr[C.ImS32, int32](values) label_fmtArg, label_fmtFin := internal.WrapString[C.char](label_fmt) @@ -5174,7 +5174,7 @@ func PlotPieChartS32PtrStrV(label_ids []string, values *int32, count int32, x fl // fmt_data: nullptr // angle0: 90 // flags: 0 -func PlotPieChartS64PtrPlotFormatterV(label_ids []string, values *int64, count int32, x float64, y float64, radius float64, fmt Formatter, fmt_data uintptr, angle0 float64, flags PieChartFlags) { +func PlotPieChartS64PtrPlotFormatterV(label_ids []string, values *int64, count int32, x, y, radius float64, fmt Formatter, fmt_data uintptr, angle0 float64, flags PieChartFlags) { label_idsArg, label_idsFin := internal.WrapStringList[C.char](label_ids) valuesArg, valuesFin := internal.WrapNumberPtr[C.ImS64, int64](values) fmtArg, fmtFin := fmt.C() @@ -5189,7 +5189,7 @@ func PlotPieChartS64PtrPlotFormatterV(label_ids []string, values *int64, count i // label_fmt: "%.1f" // angle0: 90 // flags: 0 -func PlotPieChartS64PtrStrV(label_ids []string, values *int64, count int32, x float64, y float64, radius float64, label_fmt string, angle0 float64, flags PieChartFlags) { +func PlotPieChartS64PtrStrV(label_ids []string, values *int64, count int32, x, y, radius float64, label_fmt string, angle0 float64, flags PieChartFlags) { label_idsArg, label_idsFin := internal.WrapStringList[C.char](label_ids) valuesArg, valuesFin := internal.WrapNumberPtr[C.ImS64, int64](values) label_fmtArg, label_fmtFin := internal.WrapString[C.char](label_fmt) @@ -5204,7 +5204,7 @@ func PlotPieChartS64PtrStrV(label_ids []string, values *int64, count int32, x fl // fmt_data: nullptr // angle0: 90 // flags: 0 -func PlotPieChartS8PtrPlotFormatterV(label_ids []string, values *int8, count int32, x float64, y float64, radius float64, fmt Formatter, fmt_data uintptr, angle0 float64, flags PieChartFlags) { +func PlotPieChartS8PtrPlotFormatterV(label_ids []string, values *int8, count int32, x, y, radius float64, fmt Formatter, fmt_data uintptr, angle0 float64, flags PieChartFlags) { label_idsArg, label_idsFin := internal.WrapStringList[C.char](label_ids) valuesArg, valuesFin := internal.WrapNumberPtr[C.ImS8, int8](values) fmtArg, fmtFin := fmt.C() @@ -5219,7 +5219,7 @@ func PlotPieChartS8PtrPlotFormatterV(label_ids []string, values *int8, count int // label_fmt: "%.1f" // angle0: 90 // flags: 0 -func PlotPieChartS8PtrStrV(label_ids []string, values *int8, count int32, x float64, y float64, radius float64, label_fmt string, angle0 float64, flags PieChartFlags) { +func PlotPieChartS8PtrStrV(label_ids []string, values *int8, count int32, x, y, radius float64, label_fmt string, angle0 float64, flags PieChartFlags) { label_idsArg, label_idsFin := internal.WrapStringList[C.char](label_ids) valuesArg, valuesFin := internal.WrapNumberPtr[C.ImS8, int8](values) label_fmtArg, label_fmtFin := internal.WrapString[C.char](label_fmt) @@ -5234,7 +5234,7 @@ func PlotPieChartS8PtrStrV(label_ids []string, values *int8, count int32, x floa // fmt_data: nullptr // angle0: 90 // flags: 0 -func PlotPieChartU16PtrPlotFormatterV(label_ids []string, values *uint16, count int32, x float64, y float64, radius float64, fmt Formatter, fmt_data uintptr, angle0 float64, flags PieChartFlags) { +func PlotPieChartU16PtrPlotFormatterV(label_ids []string, values *uint16, count int32, x, y, radius float64, fmt Formatter, fmt_data uintptr, angle0 float64, flags PieChartFlags) { label_idsArg, label_idsFin := internal.WrapStringList[C.char](label_ids) valuesArg, valuesFin := internal.WrapNumberPtr[C.ImU16, uint16](values) fmtArg, fmtFin := fmt.C() @@ -5249,7 +5249,7 @@ func PlotPieChartU16PtrPlotFormatterV(label_ids []string, values *uint16, count // label_fmt: "%.1f" // angle0: 90 // flags: 0 -func PlotPieChartU16PtrStrV(label_ids []string, values *uint16, count int32, x float64, y float64, radius float64, label_fmt string, angle0 float64, flags PieChartFlags) { +func PlotPieChartU16PtrStrV(label_ids []string, values *uint16, count int32, x, y, radius float64, label_fmt string, angle0 float64, flags PieChartFlags) { label_idsArg, label_idsFin := internal.WrapStringList[C.char](label_ids) valuesArg, valuesFin := internal.WrapNumberPtr[C.ImU16, uint16](values) label_fmtArg, label_fmtFin := internal.WrapString[C.char](label_fmt) @@ -5264,7 +5264,7 @@ func PlotPieChartU16PtrStrV(label_ids []string, values *uint16, count int32, x f // fmt_data: nullptr // angle0: 90 // flags: 0 -func PlotPieChartU32PtrPlotFormatterV(label_ids []string, values *uint32, count int32, x float64, y float64, radius float64, fmt Formatter, fmt_data uintptr, angle0 float64, flags PieChartFlags) { +func PlotPieChartU32PtrPlotFormatterV(label_ids []string, values *uint32, count int32, x, y, radius float64, fmt Formatter, fmt_data uintptr, angle0 float64, flags PieChartFlags) { label_idsArg, label_idsFin := internal.WrapStringList[C.char](label_ids) valuesArg, valuesFin := internal.WrapNumberPtr[C.ImU32, uint32](values) fmtArg, fmtFin := fmt.C() @@ -5279,7 +5279,7 @@ func PlotPieChartU32PtrPlotFormatterV(label_ids []string, values *uint32, count // label_fmt: "%.1f" // angle0: 90 // flags: 0 -func PlotPieChartU32PtrStrV(label_ids []string, values *uint32, count int32, x float64, y float64, radius float64, label_fmt string, angle0 float64, flags PieChartFlags) { +func PlotPieChartU32PtrStrV(label_ids []string, values *uint32, count int32, x, y, radius float64, label_fmt string, angle0 float64, flags PieChartFlags) { label_idsArg, label_idsFin := internal.WrapStringList[C.char](label_ids) valuesArg, valuesFin := internal.WrapNumberPtr[C.ImU32, uint32](values) label_fmtArg, label_fmtFin := internal.WrapString[C.char](label_fmt) @@ -5294,7 +5294,7 @@ func PlotPieChartU32PtrStrV(label_ids []string, values *uint32, count int32, x f // fmt_data: nullptr // angle0: 90 // flags: 0 -func PlotPieChartU64PtrPlotFormatterV(label_ids []string, values *uint64, count int32, x float64, y float64, radius float64, fmt Formatter, fmt_data uintptr, angle0 float64, flags PieChartFlags) { +func PlotPieChartU64PtrPlotFormatterV(label_ids []string, values *uint64, count int32, x, y, radius float64, fmt Formatter, fmt_data uintptr, angle0 float64, flags PieChartFlags) { label_idsArg, label_idsFin := internal.WrapStringList[C.char](label_ids) valuesArg, valuesFin := internal.WrapNumberPtr[C.ImU64, uint64](values) fmtArg, fmtFin := fmt.C() @@ -5309,7 +5309,7 @@ func PlotPieChartU64PtrPlotFormatterV(label_ids []string, values *uint64, count // label_fmt: "%.1f" // angle0: 90 // flags: 0 -func PlotPieChartU64PtrStrV(label_ids []string, values *uint64, count int32, x float64, y float64, radius float64, label_fmt string, angle0 float64, flags PieChartFlags) { +func PlotPieChartU64PtrStrV(label_ids []string, values *uint64, count int32, x, y, radius float64, label_fmt string, angle0 float64, flags PieChartFlags) { label_idsArg, label_idsFin := internal.WrapStringList[C.char](label_ids) valuesArg, valuesFin := internal.WrapNumberPtr[C.ImU64, uint64](values) label_fmtArg, label_fmtFin := internal.WrapString[C.char](label_fmt) @@ -5324,7 +5324,7 @@ func PlotPieChartU64PtrStrV(label_ids []string, values *uint64, count int32, x f // fmt_data: nullptr // angle0: 90 // flags: 0 -func PlotPieChartU8PtrPlotFormatterV(label_ids []string, values *byte, count int32, x float64, y float64, radius float64, fmt Formatter, fmt_data uintptr, angle0 float64, flags PieChartFlags) { +func PlotPieChartU8PtrPlotFormatterV(label_ids []string, values *byte, count int32, x, y, radius float64, fmt Formatter, fmt_data uintptr, angle0 float64, flags PieChartFlags) { label_idsArg, label_idsFin := internal.WrapStringList[C.char](label_ids) valuesArg, valuesFin := internal.WrapNumberPtr[C.ImU8, byte](values) fmtArg, fmtFin := fmt.C() @@ -5339,7 +5339,7 @@ func PlotPieChartU8PtrPlotFormatterV(label_ids []string, values *byte, count int // label_fmt: "%.1f" // angle0: 90 // flags: 0 -func PlotPieChartU8PtrStrV(label_ids []string, values *byte, count int32, x float64, y float64, radius float64, label_fmt string, angle0 float64, flags PieChartFlags) { +func PlotPieChartU8PtrStrV(label_ids []string, values *byte, count int32, x, y, radius float64, label_fmt string, angle0 float64, flags PieChartFlags) { label_idsArg, label_idsFin := internal.WrapStringList[C.char](label_ids) valuesArg, valuesFin := internal.WrapNumberPtr[C.ImU8, byte](values) label_fmtArg, label_fmtFin := internal.WrapString[C.char](label_fmt) @@ -5354,7 +5354,7 @@ func PlotPieChartU8PtrStrV(label_ids []string, values *byte, count int32, x floa // fmt_data: nullptr // angle0: 90 // flags: 0 -func PlotPieChartdoublePtrPlotFormatterV(label_ids []string, values *float64, count int32, x float64, y float64, radius float64, fmt Formatter, fmt_data uintptr, angle0 float64, flags PieChartFlags) { +func PlotPieChartdoublePtrPlotFormatterV(label_ids []string, values *float64, count int32, x, y, radius float64, fmt Formatter, fmt_data uintptr, angle0 float64, flags PieChartFlags) { label_idsArg, label_idsFin := internal.WrapStringList[C.char](label_ids) valuesArg, valuesFin := internal.WrapNumberPtr[C.double, float64](values) fmtArg, fmtFin := fmt.C() @@ -5369,7 +5369,7 @@ func PlotPieChartdoublePtrPlotFormatterV(label_ids []string, values *float64, co // label_fmt: "%.1f" // angle0: 90 // flags: 0 -func PlotPieChartdoublePtrStrV(label_ids []string, values *float64, count int32, x float64, y float64, radius float64, label_fmt string, angle0 float64, flags PieChartFlags) { +func PlotPieChartdoublePtrStrV(label_ids []string, values *float64, count int32, x, y, radius float64, label_fmt string, angle0 float64, flags PieChartFlags) { label_idsArg, label_idsFin := internal.WrapStringList[C.char](label_ids) valuesArg, valuesFin := internal.WrapNumberPtr[C.double, float64](values) label_fmtArg, label_fmtFin := internal.WrapString[C.char](label_fmt) @@ -5384,7 +5384,7 @@ func PlotPieChartdoublePtrStrV(label_ids []string, values *float64, count int32, // flags: 0 // offset: 0 // stride: sizeof(float) -func PlotScatterFloatPtrFloatPtrV(label_id string, xs *float32, ys *float32, count int32, flags ScatterFlags, offset int32, stride int32) { +func PlotScatterFloatPtrFloatPtrV(label_id string, xs, ys *float32, count int32, flags ScatterFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.float, float32](xs) ysArg, ysFin := internal.WrapNumberPtr[C.float, float32](ys) @@ -5401,7 +5401,7 @@ func PlotScatterFloatPtrFloatPtrV(label_id string, xs *float32, ys *float32, cou // flags: 0 // offset: 0 // stride: sizeof(float) -func PlotScatterFloatPtrIntV(label_id string, values *float32, count int32, xscale float64, xstart float64, flags ScatterFlags, offset int32, stride int32) { +func PlotScatterFloatPtrIntV(label_id string, values *float32, count int32, xscale, xstart float64, flags ScatterFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) valuesArg, valuesFin := internal.WrapNumberPtr[C.float, float32](values) C.ImPlot_PlotScatter_FloatPtrInt(label_idArg, valuesArg, C.int(count), C.double(xscale), C.double(xstart), C.ImPlotScatterFlags(flags), C.int(offset), C.int(stride)) @@ -5416,7 +5416,7 @@ func PlotScatterFloatPtrIntV(label_id string, values *float32, count int32, xsca // flags: 0 // offset: 0 // stride: sizeof(ImS16) -func PlotScatterS16PtrIntV(label_id string, values *int16, count int32, xscale float64, xstart float64, flags ScatterFlags, offset int32, stride int32) { +func PlotScatterS16PtrIntV(label_id string, values *int16, count int32, xscale, xstart float64, flags ScatterFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) valuesArg, valuesFin := internal.WrapNumberPtr[C.ImS16, int16](values) C.ImPlot_PlotScatter_S16PtrInt(label_idArg, valuesArg, C.int(count), C.double(xscale), C.double(xstart), C.ImPlotScatterFlags(flags), C.int(offset), C.int(stride)) @@ -5429,7 +5429,7 @@ func PlotScatterS16PtrIntV(label_id string, values *int16, count int32, xscale f // flags: 0 // offset: 0 // stride: sizeof(ImS16) -func PlotScatterS16PtrS16PtrV(label_id string, xs *int16, ys *int16, count int32, flags ScatterFlags, offset int32, stride int32) { +func PlotScatterS16PtrS16PtrV(label_id string, xs, ys *int16, count int32, flags ScatterFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImS16, int16](xs) ysArg, ysFin := internal.WrapNumberPtr[C.ImS16, int16](ys) @@ -5446,7 +5446,7 @@ func PlotScatterS16PtrS16PtrV(label_id string, xs *int16, ys *int16, count int32 // flags: 0 // offset: 0 // stride: sizeof(ImS32) -func PlotScatterS32PtrIntV(label_id string, values *int32, count int32, xscale float64, xstart float64, flags ScatterFlags, offset int32, stride int32) { +func PlotScatterS32PtrIntV(label_id string, values *int32, count int32, xscale, xstart float64, flags ScatterFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) valuesArg, valuesFin := internal.WrapNumberPtr[C.ImS32, int32](values) C.ImPlot_PlotScatter_S32PtrInt(label_idArg, valuesArg, C.int(count), C.double(xscale), C.double(xstart), C.ImPlotScatterFlags(flags), C.int(offset), C.int(stride)) @@ -5459,7 +5459,7 @@ func PlotScatterS32PtrIntV(label_id string, values *int32, count int32, xscale f // flags: 0 // offset: 0 // stride: sizeof(ImS32) -func PlotScatterS32PtrS32PtrV(label_id string, xs *int32, ys *int32, count int32, flags ScatterFlags, offset int32, stride int32) { +func PlotScatterS32PtrS32PtrV(label_id string, xs, ys *int32, count int32, flags ScatterFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImS32, int32](xs) ysArg, ysFin := internal.WrapNumberPtr[C.ImS32, int32](ys) @@ -5476,7 +5476,7 @@ func PlotScatterS32PtrS32PtrV(label_id string, xs *int32, ys *int32, count int32 // flags: 0 // offset: 0 // stride: sizeof(ImS64) -func PlotScatterS64PtrIntV(label_id string, values *int64, count int32, xscale float64, xstart float64, flags ScatterFlags, offset int32, stride int32) { +func PlotScatterS64PtrIntV(label_id string, values *int64, count int32, xscale, xstart float64, flags ScatterFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) valuesArg, valuesFin := internal.WrapNumberPtr[C.ImS64, int64](values) C.ImPlot_PlotScatter_S64PtrInt(label_idArg, valuesArg, C.int(count), C.double(xscale), C.double(xstart), C.ImPlotScatterFlags(flags), C.int(offset), C.int(stride)) @@ -5489,7 +5489,7 @@ func PlotScatterS64PtrIntV(label_id string, values *int64, count int32, xscale f // flags: 0 // offset: 0 // stride: sizeof(ImS64) -func PlotScatterS64PtrS64PtrV(label_id string, xs *int64, ys *int64, count int32, flags ScatterFlags, offset int32, stride int32) { +func PlotScatterS64PtrS64PtrV(label_id string, xs, ys *int64, count int32, flags ScatterFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImS64, int64](xs) ysArg, ysFin := internal.WrapNumberPtr[C.ImS64, int64](ys) @@ -5506,7 +5506,7 @@ func PlotScatterS64PtrS64PtrV(label_id string, xs *int64, ys *int64, count int32 // flags: 0 // offset: 0 // stride: sizeof(ImS8) -func PlotScatterS8PtrIntV(label_id string, values *int8, count int32, xscale float64, xstart float64, flags ScatterFlags, offset int32, stride int32) { +func PlotScatterS8PtrIntV(label_id string, values *int8, count int32, xscale, xstart float64, flags ScatterFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) valuesArg, valuesFin := internal.WrapNumberPtr[C.ImS8, int8](values) C.ImPlot_PlotScatter_S8PtrInt(label_idArg, valuesArg, C.int(count), C.double(xscale), C.double(xstart), C.ImPlotScatterFlags(flags), C.int(offset), C.int(stride)) @@ -5519,7 +5519,7 @@ func PlotScatterS8PtrIntV(label_id string, values *int8, count int32, xscale flo // flags: 0 // offset: 0 // stride: sizeof(ImS8) -func PlotScatterS8PtrS8PtrV(label_id string, xs *int8, ys *int8, count int32, flags ScatterFlags, offset int32, stride int32) { +func PlotScatterS8PtrS8PtrV(label_id string, xs, ys *int8, count int32, flags ScatterFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImS8, int8](xs) ysArg, ysFin := internal.WrapNumberPtr[C.ImS8, int8](ys) @@ -5536,7 +5536,7 @@ func PlotScatterS8PtrS8PtrV(label_id string, xs *int8, ys *int8, count int32, fl // flags: 0 // offset: 0 // stride: sizeof(ImU16) -func PlotScatterU16PtrIntV(label_id string, values *uint16, count int32, xscale float64, xstart float64, flags ScatterFlags, offset int32, stride int32) { +func PlotScatterU16PtrIntV(label_id string, values *uint16, count int32, xscale, xstart float64, flags ScatterFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) valuesArg, valuesFin := internal.WrapNumberPtr[C.ImU16, uint16](values) C.ImPlot_PlotScatter_U16PtrInt(label_idArg, valuesArg, C.int(count), C.double(xscale), C.double(xstart), C.ImPlotScatterFlags(flags), C.int(offset), C.int(stride)) @@ -5549,7 +5549,7 @@ func PlotScatterU16PtrIntV(label_id string, values *uint16, count int32, xscale // flags: 0 // offset: 0 // stride: sizeof(ImU16) -func PlotScatterU16PtrU16PtrV(label_id string, xs *uint16, ys *uint16, count int32, flags ScatterFlags, offset int32, stride int32) { +func PlotScatterU16PtrU16PtrV(label_id string, xs, ys *uint16, count int32, flags ScatterFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImU16, uint16](xs) ysArg, ysFin := internal.WrapNumberPtr[C.ImU16, uint16](ys) @@ -5566,7 +5566,7 @@ func PlotScatterU16PtrU16PtrV(label_id string, xs *uint16, ys *uint16, count int // flags: 0 // offset: 0 // stride: sizeof(ImU32) -func PlotScatterU32PtrIntV(label_id string, values *uint32, count int32, xscale float64, xstart float64, flags ScatterFlags, offset int32, stride int32) { +func PlotScatterU32PtrIntV(label_id string, values *uint32, count int32, xscale, xstart float64, flags ScatterFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) valuesArg, valuesFin := internal.WrapNumberPtr[C.ImU32, uint32](values) C.ImPlot_PlotScatter_U32PtrInt(label_idArg, valuesArg, C.int(count), C.double(xscale), C.double(xstart), C.ImPlotScatterFlags(flags), C.int(offset), C.int(stride)) @@ -5579,7 +5579,7 @@ func PlotScatterU32PtrIntV(label_id string, values *uint32, count int32, xscale // flags: 0 // offset: 0 // stride: sizeof(ImU32) -func PlotScatterU32PtrU32PtrV(label_id string, xs *uint32, ys *uint32, count int32, flags ScatterFlags, offset int32, stride int32) { +func PlotScatterU32PtrU32PtrV(label_id string, xs, ys *uint32, count int32, flags ScatterFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImU32, uint32](xs) ysArg, ysFin := internal.WrapNumberPtr[C.ImU32, uint32](ys) @@ -5596,7 +5596,7 @@ func PlotScatterU32PtrU32PtrV(label_id string, xs *uint32, ys *uint32, count int // flags: 0 // offset: 0 // stride: sizeof(ImU64) -func PlotScatterU64PtrIntV(label_id string, values *uint64, count int32, xscale float64, xstart float64, flags ScatterFlags, offset int32, stride int32) { +func PlotScatterU64PtrIntV(label_id string, values *uint64, count int32, xscale, xstart float64, flags ScatterFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) valuesArg, valuesFin := internal.WrapNumberPtr[C.ImU64, uint64](values) C.ImPlot_PlotScatter_U64PtrInt(label_idArg, valuesArg, C.int(count), C.double(xscale), C.double(xstart), C.ImPlotScatterFlags(flags), C.int(offset), C.int(stride)) @@ -5609,7 +5609,7 @@ func PlotScatterU64PtrIntV(label_id string, values *uint64, count int32, xscale // flags: 0 // offset: 0 // stride: sizeof(ImU64) -func PlotScatterU64PtrU64PtrV(label_id string, xs *uint64, ys *uint64, count int32, flags ScatterFlags, offset int32, stride int32) { +func PlotScatterU64PtrU64PtrV(label_id string, xs, ys *uint64, count int32, flags ScatterFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImU64, uint64](xs) ysArg, ysFin := internal.WrapNumberPtr[C.ImU64, uint64](ys) @@ -5626,7 +5626,7 @@ func PlotScatterU64PtrU64PtrV(label_id string, xs *uint64, ys *uint64, count int // flags: 0 // offset: 0 // stride: sizeof(ImU8) -func PlotScatterU8PtrIntV(label_id string, values *byte, count int32, xscale float64, xstart float64, flags ScatterFlags, offset int32, stride int32) { +func PlotScatterU8PtrIntV(label_id string, values *byte, count int32, xscale, xstart float64, flags ScatterFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) valuesArg, valuesFin := internal.WrapNumberPtr[C.ImU8, byte](values) C.ImPlot_PlotScatter_U8PtrInt(label_idArg, valuesArg, C.int(count), C.double(xscale), C.double(xstart), C.ImPlotScatterFlags(flags), C.int(offset), C.int(stride)) @@ -5639,7 +5639,7 @@ func PlotScatterU8PtrIntV(label_id string, values *byte, count int32, xscale flo // flags: 0 // offset: 0 // stride: sizeof(ImU8) -func PlotScatterU8PtrU8PtrV(label_id string, xs *byte, ys *byte, count int32, flags ScatterFlags, offset int32, stride int32) { +func PlotScatterU8PtrU8PtrV(label_id string, xs, ys *byte, count int32, flags ScatterFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImU8, byte](xs) ysArg, ysFin := internal.WrapNumberPtr[C.ImU8, byte](ys) @@ -5656,7 +5656,7 @@ func PlotScatterU8PtrU8PtrV(label_id string, xs *byte, ys *byte, count int32, fl // flags: 0 // offset: 0 // stride: sizeof(double) -func PlotScatterdoublePtrIntV(label_id string, values *float64, count int32, xscale float64, xstart float64, flags ScatterFlags, offset int32, stride int32) { +func PlotScatterdoublePtrIntV(label_id string, values *float64, count int32, xscale, xstart float64, flags ScatterFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) valuesArg, valuesFin := internal.WrapNumberPtr[C.double, float64](values) C.ImPlot_PlotScatter_doublePtrInt(label_idArg, valuesArg, C.int(count), C.double(xscale), C.double(xstart), C.ImPlotScatterFlags(flags), C.int(offset), C.int(stride)) @@ -5669,7 +5669,7 @@ func PlotScatterdoublePtrIntV(label_id string, values *float64, count int32, xsc // flags: 0 // offset: 0 // stride: sizeof(double) -func PlotScatterdoublePtrdoublePtrV(label_id string, xs *float64, ys *float64, count int32, flags ScatterFlags, offset int32, stride int32) { +func PlotScatterdoublePtrdoublePtrV(label_id string, xs, ys *float64, count int32, flags ScatterFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.double, float64](xs) ysArg, ysFin := internal.WrapNumberPtr[C.double, float64](ys) @@ -5684,7 +5684,7 @@ func PlotScatterdoublePtrdoublePtrV(label_id string, xs *float64, ys *float64, c // flags: 0 // offset: 0 // stride: sizeof(float) -func PlotShadedFloatPtrFloatPtrFloatPtrV(label_id string, xs *float32, ys1 *float32, ys2 *float32, count int32, flags ShadedFlags, offset int32, stride int32) { +func PlotShadedFloatPtrFloatPtrFloatPtrV(label_id string, xs, ys1, ys2 *float32, count int32, flags ShadedFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.float, float32](xs) ys1Arg, ys1Fin := internal.WrapNumberPtr[C.float, float32](ys1) @@ -5702,7 +5702,7 @@ func PlotShadedFloatPtrFloatPtrFloatPtrV(label_id string, xs *float32, ys1 *floa // flags: 0 // offset: 0 // stride: sizeof(float) -func PlotShadedFloatPtrFloatPtrIntV(label_id string, xs *float32, ys *float32, count int32, yref float64, flags ShadedFlags, offset int32, stride int32) { +func PlotShadedFloatPtrFloatPtrIntV(label_id string, xs, ys *float32, count int32, yref float64, flags ShadedFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.float, float32](xs) ysArg, ysFin := internal.WrapNumberPtr[C.float, float32](ys) @@ -5720,7 +5720,7 @@ func PlotShadedFloatPtrFloatPtrIntV(label_id string, xs *float32, ys *float32, c // flags: 0 // offset: 0 // stride: sizeof(float) -func PlotShadedFloatPtrIntV(label_id string, values *float32, count int32, yref float64, xscale float64, xstart float64, flags ShadedFlags, offset int32, stride int32) { +func PlotShadedFloatPtrIntV(label_id string, values *float32, count int32, yref, xscale, xstart float64, flags ShadedFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) valuesArg, valuesFin := internal.WrapNumberPtr[C.float, float32](values) C.ImPlot_PlotShaded_FloatPtrInt(label_idArg, valuesArg, C.int(count), C.double(yref), C.double(xscale), C.double(xstart), C.ImPlotShadedFlags(flags), C.int(offset), C.int(stride)) @@ -5736,7 +5736,7 @@ func PlotShadedFloatPtrIntV(label_id string, values *float32, count int32, yref // flags: 0 // offset: 0 // stride: sizeof(ImS16) -func PlotShadedS16PtrIntV(label_id string, values *int16, count int32, yref float64, xscale float64, xstart float64, flags ShadedFlags, offset int32, stride int32) { +func PlotShadedS16PtrIntV(label_id string, values *int16, count int32, yref, xscale, xstart float64, flags ShadedFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) valuesArg, valuesFin := internal.WrapNumberPtr[C.ImS16, int16](values) C.ImPlot_PlotShaded_S16PtrInt(label_idArg, valuesArg, C.int(count), C.double(yref), C.double(xscale), C.double(xstart), C.ImPlotShadedFlags(flags), C.int(offset), C.int(stride)) @@ -5750,7 +5750,7 @@ func PlotShadedS16PtrIntV(label_id string, values *int16, count int32, yref floa // flags: 0 // offset: 0 // stride: sizeof(ImS16) -func PlotShadedS16PtrS16PtrIntV(label_id string, xs *int16, ys *int16, count int32, yref float64, flags ShadedFlags, offset int32, stride int32) { +func PlotShadedS16PtrS16PtrIntV(label_id string, xs, ys *int16, count int32, yref float64, flags ShadedFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImS16, int16](xs) ysArg, ysFin := internal.WrapNumberPtr[C.ImS16, int16](ys) @@ -5765,7 +5765,7 @@ func PlotShadedS16PtrS16PtrIntV(label_id string, xs *int16, ys *int16, count int // flags: 0 // offset: 0 // stride: sizeof(ImS16) -func PlotShadedS16PtrS16PtrS16PtrV(label_id string, xs *int16, ys1 *int16, ys2 *int16, count int32, flags ShadedFlags, offset int32, stride int32) { +func PlotShadedS16PtrS16PtrS16PtrV(label_id string, xs, ys1, ys2 *int16, count int32, flags ShadedFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImS16, int16](xs) ys1Arg, ys1Fin := internal.WrapNumberPtr[C.ImS16, int16](ys1) @@ -5785,7 +5785,7 @@ func PlotShadedS16PtrS16PtrS16PtrV(label_id string, xs *int16, ys1 *int16, ys2 * // flags: 0 // offset: 0 // stride: sizeof(ImS32) -func PlotShadedS32PtrIntV(label_id string, values *int32, count int32, yref float64, xscale float64, xstart float64, flags ShadedFlags, offset int32, stride int32) { +func PlotShadedS32PtrIntV(label_id string, values *int32, count int32, yref, xscale, xstart float64, flags ShadedFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) valuesArg, valuesFin := internal.WrapNumberPtr[C.ImS32, int32](values) C.ImPlot_PlotShaded_S32PtrInt(label_idArg, valuesArg, C.int(count), C.double(yref), C.double(xscale), C.double(xstart), C.ImPlotShadedFlags(flags), C.int(offset), C.int(stride)) @@ -5799,7 +5799,7 @@ func PlotShadedS32PtrIntV(label_id string, values *int32, count int32, yref floa // flags: 0 // offset: 0 // stride: sizeof(ImS32) -func PlotShadedS32PtrS32PtrIntV(label_id string, xs *int32, ys *int32, count int32, yref float64, flags ShadedFlags, offset int32, stride int32) { +func PlotShadedS32PtrS32PtrIntV(label_id string, xs, ys *int32, count int32, yref float64, flags ShadedFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImS32, int32](xs) ysArg, ysFin := internal.WrapNumberPtr[C.ImS32, int32](ys) @@ -5814,7 +5814,7 @@ func PlotShadedS32PtrS32PtrIntV(label_id string, xs *int32, ys *int32, count int // flags: 0 // offset: 0 // stride: sizeof(ImS32) -func PlotShadedS32PtrS32PtrS32PtrV(label_id string, xs *int32, ys1 *int32, ys2 *int32, count int32, flags ShadedFlags, offset int32, stride int32) { +func PlotShadedS32PtrS32PtrS32PtrV(label_id string, xs, ys1, ys2 *int32, count int32, flags ShadedFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImS32, int32](xs) ys1Arg, ys1Fin := internal.WrapNumberPtr[C.ImS32, int32](ys1) @@ -5834,7 +5834,7 @@ func PlotShadedS32PtrS32PtrS32PtrV(label_id string, xs *int32, ys1 *int32, ys2 * // flags: 0 // offset: 0 // stride: sizeof(ImS64) -func PlotShadedS64PtrIntV(label_id string, values *int64, count int32, yref float64, xscale float64, xstart float64, flags ShadedFlags, offset int32, stride int32) { +func PlotShadedS64PtrIntV(label_id string, values *int64, count int32, yref, xscale, xstart float64, flags ShadedFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) valuesArg, valuesFin := internal.WrapNumberPtr[C.ImS64, int64](values) C.ImPlot_PlotShaded_S64PtrInt(label_idArg, valuesArg, C.int(count), C.double(yref), C.double(xscale), C.double(xstart), C.ImPlotShadedFlags(flags), C.int(offset), C.int(stride)) @@ -5848,7 +5848,7 @@ func PlotShadedS64PtrIntV(label_id string, values *int64, count int32, yref floa // flags: 0 // offset: 0 // stride: sizeof(ImS64) -func PlotShadedS64PtrS64PtrIntV(label_id string, xs *int64, ys *int64, count int32, yref float64, flags ShadedFlags, offset int32, stride int32) { +func PlotShadedS64PtrS64PtrIntV(label_id string, xs, ys *int64, count int32, yref float64, flags ShadedFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImS64, int64](xs) ysArg, ysFin := internal.WrapNumberPtr[C.ImS64, int64](ys) @@ -5863,7 +5863,7 @@ func PlotShadedS64PtrS64PtrIntV(label_id string, xs *int64, ys *int64, count int // flags: 0 // offset: 0 // stride: sizeof(ImS64) -func PlotShadedS64PtrS64PtrS64PtrV(label_id string, xs *int64, ys1 *int64, ys2 *int64, count int32, flags ShadedFlags, offset int32, stride int32) { +func PlotShadedS64PtrS64PtrS64PtrV(label_id string, xs, ys1, ys2 *int64, count int32, flags ShadedFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImS64, int64](xs) ys1Arg, ys1Fin := internal.WrapNumberPtr[C.ImS64, int64](ys1) @@ -5883,7 +5883,7 @@ func PlotShadedS64PtrS64PtrS64PtrV(label_id string, xs *int64, ys1 *int64, ys2 * // flags: 0 // offset: 0 // stride: sizeof(ImS8) -func PlotShadedS8PtrIntV(label_id string, values *int8, count int32, yref float64, xscale float64, xstart float64, flags ShadedFlags, offset int32, stride int32) { +func PlotShadedS8PtrIntV(label_id string, values *int8, count int32, yref, xscale, xstart float64, flags ShadedFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) valuesArg, valuesFin := internal.WrapNumberPtr[C.ImS8, int8](values) C.ImPlot_PlotShaded_S8PtrInt(label_idArg, valuesArg, C.int(count), C.double(yref), C.double(xscale), C.double(xstart), C.ImPlotShadedFlags(flags), C.int(offset), C.int(stride)) @@ -5897,7 +5897,7 @@ func PlotShadedS8PtrIntV(label_id string, values *int8, count int32, yref float6 // flags: 0 // offset: 0 // stride: sizeof(ImS8) -func PlotShadedS8PtrS8PtrIntV(label_id string, xs *int8, ys *int8, count int32, yref float64, flags ShadedFlags, offset int32, stride int32) { +func PlotShadedS8PtrS8PtrIntV(label_id string, xs, ys *int8, count int32, yref float64, flags ShadedFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImS8, int8](xs) ysArg, ysFin := internal.WrapNumberPtr[C.ImS8, int8](ys) @@ -5912,7 +5912,7 @@ func PlotShadedS8PtrS8PtrIntV(label_id string, xs *int8, ys *int8, count int32, // flags: 0 // offset: 0 // stride: sizeof(ImS8) -func PlotShadedS8PtrS8PtrS8PtrV(label_id string, xs *int8, ys1 *int8, ys2 *int8, count int32, flags ShadedFlags, offset int32, stride int32) { +func PlotShadedS8PtrS8PtrS8PtrV(label_id string, xs, ys1, ys2 *int8, count int32, flags ShadedFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImS8, int8](xs) ys1Arg, ys1Fin := internal.WrapNumberPtr[C.ImS8, int8](ys1) @@ -5932,7 +5932,7 @@ func PlotShadedS8PtrS8PtrS8PtrV(label_id string, xs *int8, ys1 *int8, ys2 *int8, // flags: 0 // offset: 0 // stride: sizeof(ImU16) -func PlotShadedU16PtrIntV(label_id string, values *uint16, count int32, yref float64, xscale float64, xstart float64, flags ShadedFlags, offset int32, stride int32) { +func PlotShadedU16PtrIntV(label_id string, values *uint16, count int32, yref, xscale, xstart float64, flags ShadedFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) valuesArg, valuesFin := internal.WrapNumberPtr[C.ImU16, uint16](values) C.ImPlot_PlotShaded_U16PtrInt(label_idArg, valuesArg, C.int(count), C.double(yref), C.double(xscale), C.double(xstart), C.ImPlotShadedFlags(flags), C.int(offset), C.int(stride)) @@ -5946,7 +5946,7 @@ func PlotShadedU16PtrIntV(label_id string, values *uint16, count int32, yref flo // flags: 0 // offset: 0 // stride: sizeof(ImU16) -func PlotShadedU16PtrU16PtrIntV(label_id string, xs *uint16, ys *uint16, count int32, yref float64, flags ShadedFlags, offset int32, stride int32) { +func PlotShadedU16PtrU16PtrIntV(label_id string, xs, ys *uint16, count int32, yref float64, flags ShadedFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImU16, uint16](xs) ysArg, ysFin := internal.WrapNumberPtr[C.ImU16, uint16](ys) @@ -5961,7 +5961,7 @@ func PlotShadedU16PtrU16PtrIntV(label_id string, xs *uint16, ys *uint16, count i // flags: 0 // offset: 0 // stride: sizeof(ImU16) -func PlotShadedU16PtrU16PtrU16PtrV(label_id string, xs *uint16, ys1 *uint16, ys2 *uint16, count int32, flags ShadedFlags, offset int32, stride int32) { +func PlotShadedU16PtrU16PtrU16PtrV(label_id string, xs, ys1, ys2 *uint16, count int32, flags ShadedFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImU16, uint16](xs) ys1Arg, ys1Fin := internal.WrapNumberPtr[C.ImU16, uint16](ys1) @@ -5981,7 +5981,7 @@ func PlotShadedU16PtrU16PtrU16PtrV(label_id string, xs *uint16, ys1 *uint16, ys2 // flags: 0 // offset: 0 // stride: sizeof(ImU32) -func PlotShadedU32PtrIntV(label_id string, values *uint32, count int32, yref float64, xscale float64, xstart float64, flags ShadedFlags, offset int32, stride int32) { +func PlotShadedU32PtrIntV(label_id string, values *uint32, count int32, yref, xscale, xstart float64, flags ShadedFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) valuesArg, valuesFin := internal.WrapNumberPtr[C.ImU32, uint32](values) C.ImPlot_PlotShaded_U32PtrInt(label_idArg, valuesArg, C.int(count), C.double(yref), C.double(xscale), C.double(xstart), C.ImPlotShadedFlags(flags), C.int(offset), C.int(stride)) @@ -5995,7 +5995,7 @@ func PlotShadedU32PtrIntV(label_id string, values *uint32, count int32, yref flo // flags: 0 // offset: 0 // stride: sizeof(ImU32) -func PlotShadedU32PtrU32PtrIntV(label_id string, xs *uint32, ys *uint32, count int32, yref float64, flags ShadedFlags, offset int32, stride int32) { +func PlotShadedU32PtrU32PtrIntV(label_id string, xs, ys *uint32, count int32, yref float64, flags ShadedFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImU32, uint32](xs) ysArg, ysFin := internal.WrapNumberPtr[C.ImU32, uint32](ys) @@ -6010,7 +6010,7 @@ func PlotShadedU32PtrU32PtrIntV(label_id string, xs *uint32, ys *uint32, count i // flags: 0 // offset: 0 // stride: sizeof(ImU32) -func PlotShadedU32PtrU32PtrU32PtrV(label_id string, xs *uint32, ys1 *uint32, ys2 *uint32, count int32, flags ShadedFlags, offset int32, stride int32) { +func PlotShadedU32PtrU32PtrU32PtrV(label_id string, xs, ys1, ys2 *uint32, count int32, flags ShadedFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImU32, uint32](xs) ys1Arg, ys1Fin := internal.WrapNumberPtr[C.ImU32, uint32](ys1) @@ -6030,7 +6030,7 @@ func PlotShadedU32PtrU32PtrU32PtrV(label_id string, xs *uint32, ys1 *uint32, ys2 // flags: 0 // offset: 0 // stride: sizeof(ImU64) -func PlotShadedU64PtrIntV(label_id string, values *uint64, count int32, yref float64, xscale float64, xstart float64, flags ShadedFlags, offset int32, stride int32) { +func PlotShadedU64PtrIntV(label_id string, values *uint64, count int32, yref, xscale, xstart float64, flags ShadedFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) valuesArg, valuesFin := internal.WrapNumberPtr[C.ImU64, uint64](values) C.ImPlot_PlotShaded_U64PtrInt(label_idArg, valuesArg, C.int(count), C.double(yref), C.double(xscale), C.double(xstart), C.ImPlotShadedFlags(flags), C.int(offset), C.int(stride)) @@ -6044,7 +6044,7 @@ func PlotShadedU64PtrIntV(label_id string, values *uint64, count int32, yref flo // flags: 0 // offset: 0 // stride: sizeof(ImU64) -func PlotShadedU64PtrU64PtrIntV(label_id string, xs *uint64, ys *uint64, count int32, yref float64, flags ShadedFlags, offset int32, stride int32) { +func PlotShadedU64PtrU64PtrIntV(label_id string, xs, ys *uint64, count int32, yref float64, flags ShadedFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImU64, uint64](xs) ysArg, ysFin := internal.WrapNumberPtr[C.ImU64, uint64](ys) @@ -6059,7 +6059,7 @@ func PlotShadedU64PtrU64PtrIntV(label_id string, xs *uint64, ys *uint64, count i // flags: 0 // offset: 0 // stride: sizeof(ImU64) -func PlotShadedU64PtrU64PtrU64PtrV(label_id string, xs *uint64, ys1 *uint64, ys2 *uint64, count int32, flags ShadedFlags, offset int32, stride int32) { +func PlotShadedU64PtrU64PtrU64PtrV(label_id string, xs, ys1, ys2 *uint64, count int32, flags ShadedFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImU64, uint64](xs) ys1Arg, ys1Fin := internal.WrapNumberPtr[C.ImU64, uint64](ys1) @@ -6079,7 +6079,7 @@ func PlotShadedU64PtrU64PtrU64PtrV(label_id string, xs *uint64, ys1 *uint64, ys2 // flags: 0 // offset: 0 // stride: sizeof(ImU8) -func PlotShadedU8PtrIntV(label_id string, values *byte, count int32, yref float64, xscale float64, xstart float64, flags ShadedFlags, offset int32, stride int32) { +func PlotShadedU8PtrIntV(label_id string, values *byte, count int32, yref, xscale, xstart float64, flags ShadedFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) valuesArg, valuesFin := internal.WrapNumberPtr[C.ImU8, byte](values) C.ImPlot_PlotShaded_U8PtrInt(label_idArg, valuesArg, C.int(count), C.double(yref), C.double(xscale), C.double(xstart), C.ImPlotShadedFlags(flags), C.int(offset), C.int(stride)) @@ -6093,7 +6093,7 @@ func PlotShadedU8PtrIntV(label_id string, values *byte, count int32, yref float6 // flags: 0 // offset: 0 // stride: sizeof(ImU8) -func PlotShadedU8PtrU8PtrIntV(label_id string, xs *byte, ys *byte, count int32, yref float64, flags ShadedFlags, offset int32, stride int32) { +func PlotShadedU8PtrU8PtrIntV(label_id string, xs, ys *byte, count int32, yref float64, flags ShadedFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImU8, byte](xs) ysArg, ysFin := internal.WrapNumberPtr[C.ImU8, byte](ys) @@ -6108,7 +6108,7 @@ func PlotShadedU8PtrU8PtrIntV(label_id string, xs *byte, ys *byte, count int32, // flags: 0 // offset: 0 // stride: sizeof(ImU8) -func PlotShadedU8PtrU8PtrU8PtrV(label_id string, xs *byte, ys1 *byte, ys2 *byte, count int32, flags ShadedFlags, offset int32, stride int32) { +func PlotShadedU8PtrU8PtrU8PtrV(label_id string, xs, ys1, ys2 *byte, count int32, flags ShadedFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImU8, byte](xs) ys1Arg, ys1Fin := internal.WrapNumberPtr[C.ImU8, byte](ys1) @@ -6128,7 +6128,7 @@ func PlotShadedU8PtrU8PtrU8PtrV(label_id string, xs *byte, ys1 *byte, ys2 *byte, // flags: 0 // offset: 0 // stride: sizeof(double) -func PlotShadeddoublePtrIntV(label_id string, values *float64, count int32, yref float64, xscale float64, xstart float64, flags ShadedFlags, offset int32, stride int32) { +func PlotShadeddoublePtrIntV(label_id string, values *float64, count int32, yref, xscale, xstart float64, flags ShadedFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) valuesArg, valuesFin := internal.WrapNumberPtr[C.double, float64](values) C.ImPlot_PlotShaded_doublePtrInt(label_idArg, valuesArg, C.int(count), C.double(yref), C.double(xscale), C.double(xstart), C.ImPlotShadedFlags(flags), C.int(offset), C.int(stride)) @@ -6142,7 +6142,7 @@ func PlotShadeddoublePtrIntV(label_id string, values *float64, count int32, yref // flags: 0 // offset: 0 // stride: sizeof(double) -func PlotShadeddoublePtrdoublePtrIntV(label_id string, xs *float64, ys *float64, count int32, yref float64, flags ShadedFlags, offset int32, stride int32) { +func PlotShadeddoublePtrdoublePtrIntV(label_id string, xs, ys *float64, count int32, yref float64, flags ShadedFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.double, float64](xs) ysArg, ysFin := internal.WrapNumberPtr[C.double, float64](ys) @@ -6157,7 +6157,7 @@ func PlotShadeddoublePtrdoublePtrIntV(label_id string, xs *float64, ys *float64, // flags: 0 // offset: 0 // stride: sizeof(double) -func PlotShadeddoublePtrdoublePtrdoublePtrV(label_id string, xs *float64, ys1 *float64, ys2 *float64, count int32, flags ShadedFlags, offset int32, stride int32) { +func PlotShadeddoublePtrdoublePtrdoublePtrV(label_id string, xs, ys1, ys2 *float64, count int32, flags ShadedFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.double, float64](xs) ys1Arg, ys1Fin := internal.WrapNumberPtr[C.double, float64](ys1) @@ -6174,7 +6174,7 @@ func PlotShadeddoublePtrdoublePtrdoublePtrV(label_id string, xs *float64, ys1 *f // flags: 0 // offset: 0 // stride: sizeof(float) -func PlotStairsFloatPtrFloatPtrV(label_id string, xs *float32, ys *float32, count int32, flags StairsFlags, offset int32, stride int32) { +func PlotStairsFloatPtrFloatPtrV(label_id string, xs, ys *float32, count int32, flags StairsFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.float, float32](xs) ysArg, ysFin := internal.WrapNumberPtr[C.float, float32](ys) @@ -6191,7 +6191,7 @@ func PlotStairsFloatPtrFloatPtrV(label_id string, xs *float32, ys *float32, coun // flags: 0 // offset: 0 // stride: sizeof(float) -func PlotStairsFloatPtrIntV(label_id string, values *float32, count int32, xscale float64, xstart float64, flags StairsFlags, offset int32, stride int32) { +func PlotStairsFloatPtrIntV(label_id string, values *float32, count int32, xscale, xstart float64, flags StairsFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) valuesArg, valuesFin := internal.WrapNumberPtr[C.float, float32](values) C.ImPlot_PlotStairs_FloatPtrInt(label_idArg, valuesArg, C.int(count), C.double(xscale), C.double(xstart), C.ImPlotStairsFlags(flags), C.int(offset), C.int(stride)) @@ -6206,7 +6206,7 @@ func PlotStairsFloatPtrIntV(label_id string, values *float32, count int32, xscal // flags: 0 // offset: 0 // stride: sizeof(ImS16) -func PlotStairsS16PtrIntV(label_id string, values *int16, count int32, xscale float64, xstart float64, flags StairsFlags, offset int32, stride int32) { +func PlotStairsS16PtrIntV(label_id string, values *int16, count int32, xscale, xstart float64, flags StairsFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) valuesArg, valuesFin := internal.WrapNumberPtr[C.ImS16, int16](values) C.ImPlot_PlotStairs_S16PtrInt(label_idArg, valuesArg, C.int(count), C.double(xscale), C.double(xstart), C.ImPlotStairsFlags(flags), C.int(offset), C.int(stride)) @@ -6219,7 +6219,7 @@ func PlotStairsS16PtrIntV(label_id string, values *int16, count int32, xscale fl // flags: 0 // offset: 0 // stride: sizeof(ImS16) -func PlotStairsS16PtrS16PtrV(label_id string, xs *int16, ys *int16, count int32, flags StairsFlags, offset int32, stride int32) { +func PlotStairsS16PtrS16PtrV(label_id string, xs, ys *int16, count int32, flags StairsFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImS16, int16](xs) ysArg, ysFin := internal.WrapNumberPtr[C.ImS16, int16](ys) @@ -6236,7 +6236,7 @@ func PlotStairsS16PtrS16PtrV(label_id string, xs *int16, ys *int16, count int32, // flags: 0 // offset: 0 // stride: sizeof(ImS32) -func PlotStairsS32PtrIntV(label_id string, values *int32, count int32, xscale float64, xstart float64, flags StairsFlags, offset int32, stride int32) { +func PlotStairsS32PtrIntV(label_id string, values *int32, count int32, xscale, xstart float64, flags StairsFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) valuesArg, valuesFin := internal.WrapNumberPtr[C.ImS32, int32](values) C.ImPlot_PlotStairs_S32PtrInt(label_idArg, valuesArg, C.int(count), C.double(xscale), C.double(xstart), C.ImPlotStairsFlags(flags), C.int(offset), C.int(stride)) @@ -6249,7 +6249,7 @@ func PlotStairsS32PtrIntV(label_id string, values *int32, count int32, xscale fl // flags: 0 // offset: 0 // stride: sizeof(ImS32) -func PlotStairsS32PtrS32PtrV(label_id string, xs *int32, ys *int32, count int32, flags StairsFlags, offset int32, stride int32) { +func PlotStairsS32PtrS32PtrV(label_id string, xs, ys *int32, count int32, flags StairsFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImS32, int32](xs) ysArg, ysFin := internal.WrapNumberPtr[C.ImS32, int32](ys) @@ -6266,7 +6266,7 @@ func PlotStairsS32PtrS32PtrV(label_id string, xs *int32, ys *int32, count int32, // flags: 0 // offset: 0 // stride: sizeof(ImS64) -func PlotStairsS64PtrIntV(label_id string, values *int64, count int32, xscale float64, xstart float64, flags StairsFlags, offset int32, stride int32) { +func PlotStairsS64PtrIntV(label_id string, values *int64, count int32, xscale, xstart float64, flags StairsFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) valuesArg, valuesFin := internal.WrapNumberPtr[C.ImS64, int64](values) C.ImPlot_PlotStairs_S64PtrInt(label_idArg, valuesArg, C.int(count), C.double(xscale), C.double(xstart), C.ImPlotStairsFlags(flags), C.int(offset), C.int(stride)) @@ -6279,7 +6279,7 @@ func PlotStairsS64PtrIntV(label_id string, values *int64, count int32, xscale fl // flags: 0 // offset: 0 // stride: sizeof(ImS64) -func PlotStairsS64PtrS64PtrV(label_id string, xs *int64, ys *int64, count int32, flags StairsFlags, offset int32, stride int32) { +func PlotStairsS64PtrS64PtrV(label_id string, xs, ys *int64, count int32, flags StairsFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImS64, int64](xs) ysArg, ysFin := internal.WrapNumberPtr[C.ImS64, int64](ys) @@ -6296,7 +6296,7 @@ func PlotStairsS64PtrS64PtrV(label_id string, xs *int64, ys *int64, count int32, // flags: 0 // offset: 0 // stride: sizeof(ImS8) -func PlotStairsS8PtrIntV(label_id string, values *int8, count int32, xscale float64, xstart float64, flags StairsFlags, offset int32, stride int32) { +func PlotStairsS8PtrIntV(label_id string, values *int8, count int32, xscale, xstart float64, flags StairsFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) valuesArg, valuesFin := internal.WrapNumberPtr[C.ImS8, int8](values) C.ImPlot_PlotStairs_S8PtrInt(label_idArg, valuesArg, C.int(count), C.double(xscale), C.double(xstart), C.ImPlotStairsFlags(flags), C.int(offset), C.int(stride)) @@ -6309,7 +6309,7 @@ func PlotStairsS8PtrIntV(label_id string, values *int8, count int32, xscale floa // flags: 0 // offset: 0 // stride: sizeof(ImS8) -func PlotStairsS8PtrS8PtrV(label_id string, xs *int8, ys *int8, count int32, flags StairsFlags, offset int32, stride int32) { +func PlotStairsS8PtrS8PtrV(label_id string, xs, ys *int8, count int32, flags StairsFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImS8, int8](xs) ysArg, ysFin := internal.WrapNumberPtr[C.ImS8, int8](ys) @@ -6326,7 +6326,7 @@ func PlotStairsS8PtrS8PtrV(label_id string, xs *int8, ys *int8, count int32, fla // flags: 0 // offset: 0 // stride: sizeof(ImU16) -func PlotStairsU16PtrIntV(label_id string, values *uint16, count int32, xscale float64, xstart float64, flags StairsFlags, offset int32, stride int32) { +func PlotStairsU16PtrIntV(label_id string, values *uint16, count int32, xscale, xstart float64, flags StairsFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) valuesArg, valuesFin := internal.WrapNumberPtr[C.ImU16, uint16](values) C.ImPlot_PlotStairs_U16PtrInt(label_idArg, valuesArg, C.int(count), C.double(xscale), C.double(xstart), C.ImPlotStairsFlags(flags), C.int(offset), C.int(stride)) @@ -6339,7 +6339,7 @@ func PlotStairsU16PtrIntV(label_id string, values *uint16, count int32, xscale f // flags: 0 // offset: 0 // stride: sizeof(ImU16) -func PlotStairsU16PtrU16PtrV(label_id string, xs *uint16, ys *uint16, count int32, flags StairsFlags, offset int32, stride int32) { +func PlotStairsU16PtrU16PtrV(label_id string, xs, ys *uint16, count int32, flags StairsFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImU16, uint16](xs) ysArg, ysFin := internal.WrapNumberPtr[C.ImU16, uint16](ys) @@ -6356,7 +6356,7 @@ func PlotStairsU16PtrU16PtrV(label_id string, xs *uint16, ys *uint16, count int3 // flags: 0 // offset: 0 // stride: sizeof(ImU32) -func PlotStairsU32PtrIntV(label_id string, values *uint32, count int32, xscale float64, xstart float64, flags StairsFlags, offset int32, stride int32) { +func PlotStairsU32PtrIntV(label_id string, values *uint32, count int32, xscale, xstart float64, flags StairsFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) valuesArg, valuesFin := internal.WrapNumberPtr[C.ImU32, uint32](values) C.ImPlot_PlotStairs_U32PtrInt(label_idArg, valuesArg, C.int(count), C.double(xscale), C.double(xstart), C.ImPlotStairsFlags(flags), C.int(offset), C.int(stride)) @@ -6369,7 +6369,7 @@ func PlotStairsU32PtrIntV(label_id string, values *uint32, count int32, xscale f // flags: 0 // offset: 0 // stride: sizeof(ImU32) -func PlotStairsU32PtrU32PtrV(label_id string, xs *uint32, ys *uint32, count int32, flags StairsFlags, offset int32, stride int32) { +func PlotStairsU32PtrU32PtrV(label_id string, xs, ys *uint32, count int32, flags StairsFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImU32, uint32](xs) ysArg, ysFin := internal.WrapNumberPtr[C.ImU32, uint32](ys) @@ -6386,7 +6386,7 @@ func PlotStairsU32PtrU32PtrV(label_id string, xs *uint32, ys *uint32, count int3 // flags: 0 // offset: 0 // stride: sizeof(ImU64) -func PlotStairsU64PtrIntV(label_id string, values *uint64, count int32, xscale float64, xstart float64, flags StairsFlags, offset int32, stride int32) { +func PlotStairsU64PtrIntV(label_id string, values *uint64, count int32, xscale, xstart float64, flags StairsFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) valuesArg, valuesFin := internal.WrapNumberPtr[C.ImU64, uint64](values) C.ImPlot_PlotStairs_U64PtrInt(label_idArg, valuesArg, C.int(count), C.double(xscale), C.double(xstart), C.ImPlotStairsFlags(flags), C.int(offset), C.int(stride)) @@ -6399,7 +6399,7 @@ func PlotStairsU64PtrIntV(label_id string, values *uint64, count int32, xscale f // flags: 0 // offset: 0 // stride: sizeof(ImU64) -func PlotStairsU64PtrU64PtrV(label_id string, xs *uint64, ys *uint64, count int32, flags StairsFlags, offset int32, stride int32) { +func PlotStairsU64PtrU64PtrV(label_id string, xs, ys *uint64, count int32, flags StairsFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImU64, uint64](xs) ysArg, ysFin := internal.WrapNumberPtr[C.ImU64, uint64](ys) @@ -6416,7 +6416,7 @@ func PlotStairsU64PtrU64PtrV(label_id string, xs *uint64, ys *uint64, count int3 // flags: 0 // offset: 0 // stride: sizeof(ImU8) -func PlotStairsU8PtrIntV(label_id string, values *byte, count int32, xscale float64, xstart float64, flags StairsFlags, offset int32, stride int32) { +func PlotStairsU8PtrIntV(label_id string, values *byte, count int32, xscale, xstart float64, flags StairsFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) valuesArg, valuesFin := internal.WrapNumberPtr[C.ImU8, byte](values) C.ImPlot_PlotStairs_U8PtrInt(label_idArg, valuesArg, C.int(count), C.double(xscale), C.double(xstart), C.ImPlotStairsFlags(flags), C.int(offset), C.int(stride)) @@ -6429,7 +6429,7 @@ func PlotStairsU8PtrIntV(label_id string, values *byte, count int32, xscale floa // flags: 0 // offset: 0 // stride: sizeof(ImU8) -func PlotStairsU8PtrU8PtrV(label_id string, xs *byte, ys *byte, count int32, flags StairsFlags, offset int32, stride int32) { +func PlotStairsU8PtrU8PtrV(label_id string, xs, ys *byte, count int32, flags StairsFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImU8, byte](xs) ysArg, ysFin := internal.WrapNumberPtr[C.ImU8, byte](ys) @@ -6446,7 +6446,7 @@ func PlotStairsU8PtrU8PtrV(label_id string, xs *byte, ys *byte, count int32, fla // flags: 0 // offset: 0 // stride: sizeof(double) -func PlotStairsdoublePtrIntV(label_id string, values *float64, count int32, xscale float64, xstart float64, flags StairsFlags, offset int32, stride int32) { +func PlotStairsdoublePtrIntV(label_id string, values *float64, count int32, xscale, xstart float64, flags StairsFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) valuesArg, valuesFin := internal.WrapNumberPtr[C.double, float64](values) C.ImPlot_PlotStairs_doublePtrInt(label_idArg, valuesArg, C.int(count), C.double(xscale), C.double(xstart), C.ImPlotStairsFlags(flags), C.int(offset), C.int(stride)) @@ -6459,7 +6459,7 @@ func PlotStairsdoublePtrIntV(label_id string, values *float64, count int32, xsca // flags: 0 // offset: 0 // stride: sizeof(double) -func PlotStairsdoublePtrdoublePtrV(label_id string, xs *float64, ys *float64, count int32, flags StairsFlags, offset int32, stride int32) { +func PlotStairsdoublePtrdoublePtrV(label_id string, xs, ys *float64, count int32, flags StairsFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.double, float64](xs) ysArg, ysFin := internal.WrapNumberPtr[C.double, float64](ys) @@ -6475,7 +6475,7 @@ func PlotStairsdoublePtrdoublePtrV(label_id string, xs *float64, ys *float64, co // flags: 0 // offset: 0 // stride: sizeof(float) -func PlotStemsFloatPtrFloatPtrV(label_id string, xs *float32, ys *float32, count int32, ref float64, flags StemsFlags, offset int32, stride int32) { +func PlotStemsFloatPtrFloatPtrV(label_id string, xs, ys *float32, count int32, ref float64, flags StemsFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.float, float32](xs) ysArg, ysFin := internal.WrapNumberPtr[C.float, float32](ys) @@ -6493,7 +6493,7 @@ func PlotStemsFloatPtrFloatPtrV(label_id string, xs *float32, ys *float32, count // flags: 0 // offset: 0 // stride: sizeof(float) -func PlotStemsFloatPtrIntV(label_id string, values *float32, count int32, ref float64, scale float64, start float64, flags StemsFlags, offset int32, stride int32) { +func PlotStemsFloatPtrIntV(label_id string, values *float32, count int32, ref, scale, start float64, flags StemsFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) valuesArg, valuesFin := internal.WrapNumberPtr[C.float, float32](values) C.ImPlot_PlotStems_FloatPtrInt(label_idArg, valuesArg, C.int(count), C.double(ref), C.double(scale), C.double(start), C.ImPlotStemsFlags(flags), C.int(offset), C.int(stride)) @@ -6509,7 +6509,7 @@ func PlotStemsFloatPtrIntV(label_id string, values *float32, count int32, ref fl // flags: 0 // offset: 0 // stride: sizeof(ImS16) -func PlotStemsS16PtrIntV(label_id string, values *int16, count int32, ref float64, scale float64, start float64, flags StemsFlags, offset int32, stride int32) { +func PlotStemsS16PtrIntV(label_id string, values *int16, count int32, ref, scale, start float64, flags StemsFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) valuesArg, valuesFin := internal.WrapNumberPtr[C.ImS16, int16](values) C.ImPlot_PlotStems_S16PtrInt(label_idArg, valuesArg, C.int(count), C.double(ref), C.double(scale), C.double(start), C.ImPlotStemsFlags(flags), C.int(offset), C.int(stride)) @@ -6523,7 +6523,7 @@ func PlotStemsS16PtrIntV(label_id string, values *int16, count int32, ref float6 // flags: 0 // offset: 0 // stride: sizeof(ImS16) -func PlotStemsS16PtrS16PtrV(label_id string, xs *int16, ys *int16, count int32, ref float64, flags StemsFlags, offset int32, stride int32) { +func PlotStemsS16PtrS16PtrV(label_id string, xs, ys *int16, count int32, ref float64, flags StemsFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImS16, int16](xs) ysArg, ysFin := internal.WrapNumberPtr[C.ImS16, int16](ys) @@ -6541,7 +6541,7 @@ func PlotStemsS16PtrS16PtrV(label_id string, xs *int16, ys *int16, count int32, // flags: 0 // offset: 0 // stride: sizeof(ImS32) -func PlotStemsS32PtrIntV(label_id string, values *int32, count int32, ref float64, scale float64, start float64, flags StemsFlags, offset int32, stride int32) { +func PlotStemsS32PtrIntV(label_id string, values *int32, count int32, ref, scale, start float64, flags StemsFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) valuesArg, valuesFin := internal.WrapNumberPtr[C.ImS32, int32](values) C.ImPlot_PlotStems_S32PtrInt(label_idArg, valuesArg, C.int(count), C.double(ref), C.double(scale), C.double(start), C.ImPlotStemsFlags(flags), C.int(offset), C.int(stride)) @@ -6555,7 +6555,7 @@ func PlotStemsS32PtrIntV(label_id string, values *int32, count int32, ref float6 // flags: 0 // offset: 0 // stride: sizeof(ImS32) -func PlotStemsS32PtrS32PtrV(label_id string, xs *int32, ys *int32, count int32, ref float64, flags StemsFlags, offset int32, stride int32) { +func PlotStemsS32PtrS32PtrV(label_id string, xs, ys *int32, count int32, ref float64, flags StemsFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImS32, int32](xs) ysArg, ysFin := internal.WrapNumberPtr[C.ImS32, int32](ys) @@ -6573,7 +6573,7 @@ func PlotStemsS32PtrS32PtrV(label_id string, xs *int32, ys *int32, count int32, // flags: 0 // offset: 0 // stride: sizeof(ImS64) -func PlotStemsS64PtrIntV(label_id string, values *int64, count int32, ref float64, scale float64, start float64, flags StemsFlags, offset int32, stride int32) { +func PlotStemsS64PtrIntV(label_id string, values *int64, count int32, ref, scale, start float64, flags StemsFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) valuesArg, valuesFin := internal.WrapNumberPtr[C.ImS64, int64](values) C.ImPlot_PlotStems_S64PtrInt(label_idArg, valuesArg, C.int(count), C.double(ref), C.double(scale), C.double(start), C.ImPlotStemsFlags(flags), C.int(offset), C.int(stride)) @@ -6587,7 +6587,7 @@ func PlotStemsS64PtrIntV(label_id string, values *int64, count int32, ref float6 // flags: 0 // offset: 0 // stride: sizeof(ImS64) -func PlotStemsS64PtrS64PtrV(label_id string, xs *int64, ys *int64, count int32, ref float64, flags StemsFlags, offset int32, stride int32) { +func PlotStemsS64PtrS64PtrV(label_id string, xs, ys *int64, count int32, ref float64, flags StemsFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImS64, int64](xs) ysArg, ysFin := internal.WrapNumberPtr[C.ImS64, int64](ys) @@ -6605,7 +6605,7 @@ func PlotStemsS64PtrS64PtrV(label_id string, xs *int64, ys *int64, count int32, // flags: 0 // offset: 0 // stride: sizeof(ImS8) -func PlotStemsS8PtrIntV(label_id string, values *int8, count int32, ref float64, scale float64, start float64, flags StemsFlags, offset int32, stride int32) { +func PlotStemsS8PtrIntV(label_id string, values *int8, count int32, ref, scale, start float64, flags StemsFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) valuesArg, valuesFin := internal.WrapNumberPtr[C.ImS8, int8](values) C.ImPlot_PlotStems_S8PtrInt(label_idArg, valuesArg, C.int(count), C.double(ref), C.double(scale), C.double(start), C.ImPlotStemsFlags(flags), C.int(offset), C.int(stride)) @@ -6619,7 +6619,7 @@ func PlotStemsS8PtrIntV(label_id string, values *int8, count int32, ref float64, // flags: 0 // offset: 0 // stride: sizeof(ImS8) -func PlotStemsS8PtrS8PtrV(label_id string, xs *int8, ys *int8, count int32, ref float64, flags StemsFlags, offset int32, stride int32) { +func PlotStemsS8PtrS8PtrV(label_id string, xs, ys *int8, count int32, ref float64, flags StemsFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImS8, int8](xs) ysArg, ysFin := internal.WrapNumberPtr[C.ImS8, int8](ys) @@ -6637,7 +6637,7 @@ func PlotStemsS8PtrS8PtrV(label_id string, xs *int8, ys *int8, count int32, ref // flags: 0 // offset: 0 // stride: sizeof(ImU16) -func PlotStemsU16PtrIntV(label_id string, values *uint16, count int32, ref float64, scale float64, start float64, flags StemsFlags, offset int32, stride int32) { +func PlotStemsU16PtrIntV(label_id string, values *uint16, count int32, ref, scale, start float64, flags StemsFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) valuesArg, valuesFin := internal.WrapNumberPtr[C.ImU16, uint16](values) C.ImPlot_PlotStems_U16PtrInt(label_idArg, valuesArg, C.int(count), C.double(ref), C.double(scale), C.double(start), C.ImPlotStemsFlags(flags), C.int(offset), C.int(stride)) @@ -6651,7 +6651,7 @@ func PlotStemsU16PtrIntV(label_id string, values *uint16, count int32, ref float // flags: 0 // offset: 0 // stride: sizeof(ImU16) -func PlotStemsU16PtrU16PtrV(label_id string, xs *uint16, ys *uint16, count int32, ref float64, flags StemsFlags, offset int32, stride int32) { +func PlotStemsU16PtrU16PtrV(label_id string, xs, ys *uint16, count int32, ref float64, flags StemsFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImU16, uint16](xs) ysArg, ysFin := internal.WrapNumberPtr[C.ImU16, uint16](ys) @@ -6669,7 +6669,7 @@ func PlotStemsU16PtrU16PtrV(label_id string, xs *uint16, ys *uint16, count int32 // flags: 0 // offset: 0 // stride: sizeof(ImU32) -func PlotStemsU32PtrIntV(label_id string, values *uint32, count int32, ref float64, scale float64, start float64, flags StemsFlags, offset int32, stride int32) { +func PlotStemsU32PtrIntV(label_id string, values *uint32, count int32, ref, scale, start float64, flags StemsFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) valuesArg, valuesFin := internal.WrapNumberPtr[C.ImU32, uint32](values) C.ImPlot_PlotStems_U32PtrInt(label_idArg, valuesArg, C.int(count), C.double(ref), C.double(scale), C.double(start), C.ImPlotStemsFlags(flags), C.int(offset), C.int(stride)) @@ -6683,7 +6683,7 @@ func PlotStemsU32PtrIntV(label_id string, values *uint32, count int32, ref float // flags: 0 // offset: 0 // stride: sizeof(ImU32) -func PlotStemsU32PtrU32PtrV(label_id string, xs *uint32, ys *uint32, count int32, ref float64, flags StemsFlags, offset int32, stride int32) { +func PlotStemsU32PtrU32PtrV(label_id string, xs, ys *uint32, count int32, ref float64, flags StemsFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImU32, uint32](xs) ysArg, ysFin := internal.WrapNumberPtr[C.ImU32, uint32](ys) @@ -6701,7 +6701,7 @@ func PlotStemsU32PtrU32PtrV(label_id string, xs *uint32, ys *uint32, count int32 // flags: 0 // offset: 0 // stride: sizeof(ImU64) -func PlotStemsU64PtrIntV(label_id string, values *uint64, count int32, ref float64, scale float64, start float64, flags StemsFlags, offset int32, stride int32) { +func PlotStemsU64PtrIntV(label_id string, values *uint64, count int32, ref, scale, start float64, flags StemsFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) valuesArg, valuesFin := internal.WrapNumberPtr[C.ImU64, uint64](values) C.ImPlot_PlotStems_U64PtrInt(label_idArg, valuesArg, C.int(count), C.double(ref), C.double(scale), C.double(start), C.ImPlotStemsFlags(flags), C.int(offset), C.int(stride)) @@ -6715,7 +6715,7 @@ func PlotStemsU64PtrIntV(label_id string, values *uint64, count int32, ref float // flags: 0 // offset: 0 // stride: sizeof(ImU64) -func PlotStemsU64PtrU64PtrV(label_id string, xs *uint64, ys *uint64, count int32, ref float64, flags StemsFlags, offset int32, stride int32) { +func PlotStemsU64PtrU64PtrV(label_id string, xs, ys *uint64, count int32, ref float64, flags StemsFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImU64, uint64](xs) ysArg, ysFin := internal.WrapNumberPtr[C.ImU64, uint64](ys) @@ -6733,7 +6733,7 @@ func PlotStemsU64PtrU64PtrV(label_id string, xs *uint64, ys *uint64, count int32 // flags: 0 // offset: 0 // stride: sizeof(ImU8) -func PlotStemsU8PtrIntV(label_id string, values *byte, count int32, ref float64, scale float64, start float64, flags StemsFlags, offset int32, stride int32) { +func PlotStemsU8PtrIntV(label_id string, values *byte, count int32, ref, scale, start float64, flags StemsFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) valuesArg, valuesFin := internal.WrapNumberPtr[C.ImU8, byte](values) C.ImPlot_PlotStems_U8PtrInt(label_idArg, valuesArg, C.int(count), C.double(ref), C.double(scale), C.double(start), C.ImPlotStemsFlags(flags), C.int(offset), C.int(stride)) @@ -6747,7 +6747,7 @@ func PlotStemsU8PtrIntV(label_id string, values *byte, count int32, ref float64, // flags: 0 // offset: 0 // stride: sizeof(ImU8) -func PlotStemsU8PtrU8PtrV(label_id string, xs *byte, ys *byte, count int32, ref float64, flags StemsFlags, offset int32, stride int32) { +func PlotStemsU8PtrU8PtrV(label_id string, xs, ys *byte, count int32, ref float64, flags StemsFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImU8, byte](xs) ysArg, ysFin := internal.WrapNumberPtr[C.ImU8, byte](ys) @@ -6765,7 +6765,7 @@ func PlotStemsU8PtrU8PtrV(label_id string, xs *byte, ys *byte, count int32, ref // flags: 0 // offset: 0 // stride: sizeof(double) -func PlotStemsdoublePtrIntV(label_id string, values *float64, count int32, ref float64, scale float64, start float64, flags StemsFlags, offset int32, stride int32) { +func PlotStemsdoublePtrIntV(label_id string, values *float64, count int32, ref, scale, start float64, flags StemsFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) valuesArg, valuesFin := internal.WrapNumberPtr[C.double, float64](values) C.ImPlot_PlotStems_doublePtrInt(label_idArg, valuesArg, C.int(count), C.double(ref), C.double(scale), C.double(start), C.ImPlotStemsFlags(flags), C.int(offset), C.int(stride)) @@ -6779,7 +6779,7 @@ func PlotStemsdoublePtrIntV(label_id string, values *float64, count int32, ref f // flags: 0 // offset: 0 // stride: sizeof(double) -func PlotStemsdoublePtrdoublePtrV(label_id string, xs *float64, ys *float64, count int32, ref float64, flags StemsFlags, offset int32, stride int32) { +func PlotStemsdoublePtrdoublePtrV(label_id string, xs, ys *float64, count int32, ref float64, flags StemsFlags, offset, stride int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.double, float64](xs) ysArg, ysFin := internal.WrapNumberPtr[C.double, float64](ys) @@ -6793,7 +6793,7 @@ func PlotStemsdoublePtrdoublePtrV(label_id string, xs *float64, ys *float64, cou // PlotTextV parameter default value hint: // pix_offset: ImVec2(0,0) // flags: 0 -func PlotTextV(text string, x float64, y float64, pix_offset imgui.Vec2, flags TextFlags) { +func PlotTextV(text string, x, y float64, pix_offset imgui.Vec2, flags TextFlags) { textArg, textFin := internal.WrapString[C.char](text) C.ImPlot_PlotText(textArg, C.double(x), C.double(y), internal.ReinterpretCast[C.ImVec2](pix_offset.ToC()), C.ImPlotTextFlags(flags)) @@ -6803,7 +6803,7 @@ func PlotTextV(text string, x float64, y float64, pix_offset imgui.Vec2, flags T // PlotToPixelsPlotPoIntV parameter default value hint: // x_axis: -1 // y_axis: -1 -func PlotToPixelsPlotPoIntV(plt PlotPoint, x_axis AxisEnum, y_axis AxisEnum) imgui.Vec2 { +func PlotToPixelsPlotPoIntV(plt PlotPoint, x_axis, y_axis AxisEnum) imgui.Vec2 { pOut := new(imgui.Vec2) pOutArg, pOutFin := internal.Wrap(pOut) @@ -6817,7 +6817,7 @@ func PlotToPixelsPlotPoIntV(plt PlotPoint, x_axis AxisEnum, y_axis AxisEnum) img // PlotToPixelsdoubleV parameter default value hint: // x_axis: -1 // y_axis: -1 -func PlotToPixelsdoubleV(x float64, y float64, x_axis AxisEnum, y_axis AxisEnum) imgui.Vec2 { +func PlotToPixelsdoubleV(x, y float64, x_axis, y_axis AxisEnum) imgui.Vec2 { pOut := new(imgui.Vec2) pOutArg, pOutFin := internal.Wrap(pOut) @@ -6891,7 +6891,7 @@ func PushStyleVarVec2(idx StyleVar, val imgui.Vec2) { C.ImPlot_PushStyleVar_Vec2(C.ImPlotStyleVar(idx), internal.ReinterpretCast[C.ImVec2](val.ToC())) } -func RangesOverlap(r1 Range, r2 Range) bool { +func RangesOverlap(r1, r2 Range) bool { r1Arg, r1Fin := r1.C() r2Arg, r2Fin := r2.C() @@ -6915,7 +6915,7 @@ func RegisterOrGetItemV(label_id string, flags ItemFlags, just_created *bool) *I return NewItemFromC(C.ImPlot_RegisterOrGetItem(label_idArg, C.ImPlotItemFlags(flags), just_createdArg)) } -func RenderColorBar(colors *uint32, size int32, DrawList *imgui.DrawList, bounds imgui.Rect, vert bool, reversed bool, continuous bool) { +func RenderColorBar(colors *uint32, size int32, DrawList *imgui.DrawList, bounds imgui.Rect, vert, reversed, continuous bool) { colorsArg, colorsFin := internal.WrapNumberPtr[C.ImU32, uint32](colors) DrawListArg, DrawListFin := DrawList.Handle() C.ImPlot_RenderColorBar(colorsArg, C.int(size), internal.ReinterpretCast[*C.ImDrawList](DrawListArg), internal.ReinterpretCast[C.ImRect](bounds.ToC()), C.bool(vert), C.bool(reversed), C.bool(continuous)) @@ -6977,7 +6977,7 @@ func SampleColormapU32(t float32, cmap Colormap) uint32 { return (uint32)(C.ImPlot_SampleColormapU32(C.float(t), C.ImPlotColormap(cmap))) } -func SetAxes(x_axis AxisEnum, y_axis AxisEnum) { +func SetAxes(x_axis, y_axis AxisEnum) { C.ImPlot_SetAxes(C.ImAxis(x_axis), C.ImAxis(y_axis)) } @@ -7001,7 +7001,7 @@ func SetImGuiContext(ctx *imgui.Context) { // SetNextAxesLimitsV parameter default value hint: // cond: ImPlotCond_Once -func SetNextAxesLimitsV(x_min float64, x_max float64, y_min float64, y_max float64, cond Cond) { +func SetNextAxesLimitsV(x_min, x_max, y_min, y_max float64, cond Cond) { C.ImPlot_SetNextAxesLimits(C.double(x_min), C.double(x_max), C.double(y_min), C.double(y_max), C.ImPlotCond(cond)) } @@ -7011,11 +7011,11 @@ func SetNextAxesToFit() { // SetNextAxisLimitsV parameter default value hint: // cond: ImPlotCond_Once -func SetNextAxisLimitsV(axis AxisEnum, v_min float64, v_max float64, cond Cond) { +func SetNextAxisLimitsV(axis AxisEnum, v_min, v_max float64, cond Cond) { C.ImPlot_SetNextAxisLimits(C.ImAxis(axis), C.double(v_min), C.double(v_max), C.ImPlotCond(cond)) } -func SetNextAxisLinks(axis AxisEnum, link_min *float64, link_max *float64) { +func SetNextAxisLinks(axis AxisEnum, link_min, link_max *float64) { link_minArg, link_minFin := internal.WrapNumberPtr[C.double, float64](link_min) link_maxArg, link_maxFin := internal.WrapNumberPtr[C.double, float64](link_max) C.ImPlot_SetNextAxisLinks(C.ImAxis(axis), link_minArg, link_maxArg) @@ -7032,7 +7032,7 @@ func SetNextAxisToFit(axis AxisEnum) { // col: ImVec4(0,0,0,-1) // size: -1 // weight: -1 -func SetNextErrorBarStyleV(col imgui.Vec4, size float32, weight float32) { +func SetNextErrorBarStyleV(col imgui.Vec4, size, weight float32) { C.ImPlot_SetNextErrorBarStyle(internal.ReinterpretCast[C.ImVec4](col.ToC()), C.float(size), C.float(weight)) } @@ -7063,7 +7063,7 @@ func SetNextMarkerStyleV(marker Marker, size float32, fill imgui.Vec4, weight fl // SetupAxesV parameter default value hint: // x_flags: 0 // y_flags: 0 -func SetupAxesV(x_label string, y_label string, x_flags AxisFlags, y_flags AxisFlags) { +func SetupAxesV(x_label, y_label string, x_flags, y_flags AxisFlags) { x_labelArg, x_labelFin := internal.WrapString[C.char](x_label) y_labelArg, y_labelFin := internal.WrapString[C.char](y_label) C.ImPlot_SetupAxes(x_labelArg, y_labelArg, C.ImPlotAxisFlags(x_flags), C.ImPlotAxisFlags(y_flags)) @@ -7074,7 +7074,7 @@ func SetupAxesV(x_label string, y_label string, x_flags AxisFlags, y_flags AxisF // SetupAxesLimitsV parameter default value hint: // cond: ImPlotCond_Once -func SetupAxesLimitsV(x_min float64, x_max float64, y_min float64, y_max float64, cond Cond) { +func SetupAxesLimitsV(x_min, x_max, y_min, y_max float64, cond Cond) { C.ImPlot_SetupAxesLimits(C.double(x_min), C.double(x_max), C.double(y_min), C.double(y_max), C.ImPlotCond(cond)) } @@ -7106,15 +7106,15 @@ func SetupAxisFormatStr(axis AxisEnum, fmt string) { // SetupAxisLimitsV parameter default value hint: // cond: ImPlotCond_Once -func SetupAxisLimitsV(axis AxisEnum, v_min float64, v_max float64, cond Cond) { +func SetupAxisLimitsV(axis AxisEnum, v_min, v_max float64, cond Cond) { C.ImPlot_SetupAxisLimits(C.ImAxis(axis), C.double(v_min), C.double(v_max), C.ImPlotCond(cond)) } -func SetupAxisLimitsConstraints(axis AxisEnum, v_min float64, v_max float64) { +func SetupAxisLimitsConstraints(axis AxisEnum, v_min, v_max float64) { C.ImPlot_SetupAxisLimitsConstraints(C.ImAxis(axis), C.double(v_min), C.double(v_max)) } -func SetupAxisLinks(axis AxisEnum, link_min *float64, link_max *float64) { +func SetupAxisLinks(axis AxisEnum, link_min, link_max *float64) { link_minArg, link_minFin := internal.WrapNumberPtr[C.double, float64](link_min) link_maxArg, link_maxFin := internal.WrapNumberPtr[C.double, float64](link_max) C.ImPlot_SetupAxisLinks(C.ImAxis(axis), link_minArg, link_maxArg) @@ -7129,7 +7129,7 @@ func SetupAxisScalePlotScale(axis AxisEnum, scale Scale) { // SetupAxisScalePlotTransformV parameter default value hint: // data: nullptr -func SetupAxisScalePlotTransformV(axis AxisEnum, forward Transform, inverse Transform, data uintptr) { +func SetupAxisScalePlotTransformV(axis AxisEnum, forward, inverse Transform, data uintptr) { forwardArg, forwardFin := forward.C() inverseArg, inverseFin := inverse.C() C.wrap_ImPlot_SetupAxisScale_PlotTransformV(C.ImAxis(axis), internal.ReinterpretCast[C.ImPlotTransform](forwardArg), internal.ReinterpretCast[C.ImPlotTransform](inverseArg), C.uintptr_t(data)) @@ -7141,7 +7141,7 @@ func SetupAxisScalePlotTransformV(axis AxisEnum, forward Transform, inverse Tran // SetupAxisTicksdoubleV parameter default value hint: // labels: nullptr // keep_default: false -func SetupAxisTicksdoubleV(axis AxisEnum, v_min float64, v_max float64, n_ticks int32, labels []string, keep_default bool) { +func SetupAxisTicksdoubleV(axis AxisEnum, v_min, v_max float64, n_ticks int32, labels []string, keep_default bool) { labelsArg, labelsFin := internal.WrapStringList[C.char](labels) C.ImPlot_SetupAxisTicks_double(C.ImAxis(axis), C.double(v_min), C.double(v_max), C.int(n_ticks), labelsArg, C.bool(keep_default)) @@ -7160,7 +7160,7 @@ func SetupAxisTicksdoublePtrV(axis AxisEnum, values *float64, n_ticks int32, lab labelsFin() } -func SetupAxisZoomConstraints(axis AxisEnum, z_min float64, z_max float64) { +func SetupAxisZoomConstraints(axis AxisEnum, z_min, z_max float64) { C.ImPlot_SetupAxisZoomConstraints(C.ImAxis(axis), C.double(z_min), C.double(z_max)) } @@ -7197,7 +7197,7 @@ func ShowAltLegendV(title_id string, vertical bool, size imgui.Vec2, interactabl // ShowAxisContextMenuV parameter default value hint: // time_allowed: false -func ShowAxisContextMenuV(axis *Axis, equal_axis *Axis, time_allowed bool) { +func ShowAxisContextMenuV(axis, equal_axis *Axis, time_allowed bool) { axisArg, axisFin := axis.Handle() equal_axisArg, equal_axisFin := equal_axis.Handle() C.ImPlot_ShowAxisContextMenu(internal.ReinterpretCast[*C.ImPlotAxis](axisArg), internal.ReinterpretCast[*C.ImPlotAxis](equal_axisArg), C.bool(time_allowed)) @@ -7218,7 +7218,7 @@ func ShowColormapSelector(label string) bool { // ShowDatePickerV parameter default value hint: // t1: nullptr // t2: nullptr -func ShowDatePickerV(id string, level *int32, t *PlotTime, t1 *PlotTime, t2 *PlotTime) bool { +func ShowDatePickerV(id string, level *int32, t, t1, t2 *PlotTime) bool { idArg, idFin := internal.WrapString[C.char](id) levelArg, levelFin := internal.WrapNumberPtr[C.int, int32](level) tArg, tFin := internal.Wrap(t) @@ -7262,7 +7262,7 @@ func ShowLegendContextMenu(legend *Legend, visible bool) bool { return C.ImPlot_ShowLegendContextMenu(internal.ReinterpretCast[*C.ImPlotLegend](legendArg), C.bool(visible)) == C.bool(true) } -func ShowLegendEntries(items *ItemGroup, legend_bb imgui.Rect, interactable bool, pad imgui.Vec2, spacing imgui.Vec2, vertical bool, DrawList *imgui.DrawList) bool { +func ShowLegendEntries(items *ItemGroup, legend_bb imgui.Rect, interactable bool, pad, spacing imgui.Vec2, vertical bool, DrawList *imgui.DrawList) bool { itemsArg, itemsFin := items.Handle() DrawListArg, DrawListFin := DrawList.Handle() @@ -7477,7 +7477,7 @@ func AddTextVertical(DrawList *imgui.DrawList, pos imgui.Vec2, col uint32, text_ text_beginFin() } -func AnnotationBool(x float64, y float64, col imgui.Vec4, pix_offset imgui.Vec2, clamp bool) { +func AnnotationBool(x, y float64, col imgui.Vec4, pix_offset imgui.Vec2, clamp bool) { C.wrap_ImPlot_Annotation_Bool(C.double(x), C.double(y), internal.ReinterpretCast[C.ImVec4](col.ToC()), internal.ReinterpretCast[C.ImVec2](pix_offset.ToC()), C.bool(clamp)) } @@ -7534,7 +7534,7 @@ func BeginPlot(title_id string) bool { return C.wrap_ImPlot_BeginPlot(title_idArg) == C.bool(true) } -func BeginSubplots(title_id string, rows int32, cols int32, size imgui.Vec2) bool { +func BeginSubplots(title_id string, rows, cols int32, size imgui.Vec2) bool { title_idArg, title_idFin := internal.WrapString[C.char](title_id) defer func() { @@ -7556,7 +7556,7 @@ func ColormapButton(label string) bool { return C.wrap_ImPlot_ColormapButton(labelArg) == C.bool(true) } -func ColormapScale(label string, scale_min float64, scale_max float64) { +func ColormapScale(label string, scale_min, scale_max float64) { labelArg, labelFin := internal.WrapString[C.char](label) C.wrap_ImPlot_ColormapScale(labelArg, C.double(scale_min), C.double(scale_max)) @@ -7596,7 +7596,7 @@ func DragLineY(id int32, y *float64, col imgui.Vec4) bool { return C.wrap_ImPlot_DragLineY(C.int(id), yArg, internal.ReinterpretCast[C.ImVec4](col.ToC())) == C.bool(true) } -func DragPoint(id int32, x *float64, y *float64, col imgui.Vec4) bool { +func DragPoint(id int32, x, y *float64, col imgui.Vec4) bool { xArg, xFin := internal.WrapNumberPtr[C.double, float64](x) yArg, yFin := internal.WrapNumberPtr[C.double, float64](y) @@ -7607,7 +7607,7 @@ func DragPoint(id int32, x *float64, y *float64, col imgui.Vec4) bool { return C.wrap_ImPlot_DragPoint(C.int(id), xArg, yArg, internal.ReinterpretCast[C.ImVec4](col.ToC())) == C.bool(true) } -func DragRect(id int32, x1 *float64, y1 *float64, x2 *float64, y2 *float64, col imgui.Vec4) bool { +func DragRect(id int32, x1, y1, x2, y2 *float64, col imgui.Vec4) bool { x1Arg, x1Fin := internal.WrapNumberPtr[C.double, float64](x1) y1Arg, y1Fin := internal.WrapNumberPtr[C.double, float64](y1) x2Arg, x2Fin := internal.WrapNumberPtr[C.double, float64](x2) @@ -7685,7 +7685,7 @@ func HideNextItem() { C.wrap_ImPlot_HideNextItem() } -func ImAlmostEqual(v1 float64, v2 float64) bool { +func ImAlmostEqual(v1, v2 float64) bool { return C.wrap_ImPlot_ImAlmostEqual(C.double(v1), C.double(v2)) == C.bool(true) } @@ -7717,7 +7717,7 @@ func MapInputReverse() { C.wrap_ImPlot_MapInputReverse() } -func PixelsToPlotFloat(x float32, y float32) PlotPoint { +func PixelsToPlotFloat(x, y float32) PlotPoint { pOut := new(PlotPoint) pOutArg, pOutFin := internal.Wrap(pOut) @@ -7739,7 +7739,7 @@ func PixelsToPlotVec2(pix imgui.Vec2) PlotPoint { return *pOut } -func PlotBarGroupsFloatPtr(label_ids []string, values *float32, item_count int32, group_count int32) { +func PlotBarGroupsFloatPtr(label_ids []string, values *float32, item_count, group_count int32) { label_idsArg, label_idsFin := internal.WrapStringList[C.char](label_ids) valuesArg, valuesFin := internal.WrapNumberPtr[C.float, float32](values) C.wrap_ImPlot_PlotBarGroups_FloatPtr(label_idsArg, valuesArg, C.int(item_count), C.int(group_count)) @@ -7748,7 +7748,7 @@ func PlotBarGroupsFloatPtr(label_ids []string, values *float32, item_count int32 valuesFin() } -func PlotBarGroupsS16Ptr(label_ids []string, values *int16, item_count int32, group_count int32) { +func PlotBarGroupsS16Ptr(label_ids []string, values *int16, item_count, group_count int32) { label_idsArg, label_idsFin := internal.WrapStringList[C.char](label_ids) valuesArg, valuesFin := internal.WrapNumberPtr[C.ImS16, int16](values) C.wrap_ImPlot_PlotBarGroups_S16Ptr(label_idsArg, valuesArg, C.int(item_count), C.int(group_count)) @@ -7757,7 +7757,7 @@ func PlotBarGroupsS16Ptr(label_ids []string, values *int16, item_count int32, gr valuesFin() } -func PlotBarGroupsS32Ptr(label_ids []string, values *int32, item_count int32, group_count int32) { +func PlotBarGroupsS32Ptr(label_ids []string, values *int32, item_count, group_count int32) { label_idsArg, label_idsFin := internal.WrapStringList[C.char](label_ids) valuesArg, valuesFin := internal.WrapNumberPtr[C.ImS32, int32](values) C.wrap_ImPlot_PlotBarGroups_S32Ptr(label_idsArg, valuesArg, C.int(item_count), C.int(group_count)) @@ -7766,7 +7766,7 @@ func PlotBarGroupsS32Ptr(label_ids []string, values *int32, item_count int32, gr valuesFin() } -func PlotBarGroupsS64Ptr(label_ids []string, values *int64, item_count int32, group_count int32) { +func PlotBarGroupsS64Ptr(label_ids []string, values *int64, item_count, group_count int32) { label_idsArg, label_idsFin := internal.WrapStringList[C.char](label_ids) valuesArg, valuesFin := internal.WrapNumberPtr[C.ImS64, int64](values) C.wrap_ImPlot_PlotBarGroups_S64Ptr(label_idsArg, valuesArg, C.int(item_count), C.int(group_count)) @@ -7775,7 +7775,7 @@ func PlotBarGroupsS64Ptr(label_ids []string, values *int64, item_count int32, gr valuesFin() } -func PlotBarGroupsS8Ptr(label_ids []string, values *int8, item_count int32, group_count int32) { +func PlotBarGroupsS8Ptr(label_ids []string, values *int8, item_count, group_count int32) { label_idsArg, label_idsFin := internal.WrapStringList[C.char](label_ids) valuesArg, valuesFin := internal.WrapNumberPtr[C.ImS8, int8](values) C.wrap_ImPlot_PlotBarGroups_S8Ptr(label_idsArg, valuesArg, C.int(item_count), C.int(group_count)) @@ -7784,7 +7784,7 @@ func PlotBarGroupsS8Ptr(label_ids []string, values *int8, item_count int32, grou valuesFin() } -func PlotBarGroupsU16Ptr(label_ids []string, values *uint16, item_count int32, group_count int32) { +func PlotBarGroupsU16Ptr(label_ids []string, values *uint16, item_count, group_count int32) { label_idsArg, label_idsFin := internal.WrapStringList[C.char](label_ids) valuesArg, valuesFin := internal.WrapNumberPtr[C.ImU16, uint16](values) C.wrap_ImPlot_PlotBarGroups_U16Ptr(label_idsArg, valuesArg, C.int(item_count), C.int(group_count)) @@ -7793,7 +7793,7 @@ func PlotBarGroupsU16Ptr(label_ids []string, values *uint16, item_count int32, g valuesFin() } -func PlotBarGroupsU32Ptr(label_ids []string, values *uint32, item_count int32, group_count int32) { +func PlotBarGroupsU32Ptr(label_ids []string, values *uint32, item_count, group_count int32) { label_idsArg, label_idsFin := internal.WrapStringList[C.char](label_ids) valuesArg, valuesFin := internal.WrapNumberPtr[C.ImU32, uint32](values) C.wrap_ImPlot_PlotBarGroups_U32Ptr(label_idsArg, valuesArg, C.int(item_count), C.int(group_count)) @@ -7802,7 +7802,7 @@ func PlotBarGroupsU32Ptr(label_ids []string, values *uint32, item_count int32, g valuesFin() } -func PlotBarGroupsU64Ptr(label_ids []string, values *uint64, item_count int32, group_count int32) { +func PlotBarGroupsU64Ptr(label_ids []string, values *uint64, item_count, group_count int32) { label_idsArg, label_idsFin := internal.WrapStringList[C.char](label_ids) valuesArg, valuesFin := internal.WrapNumberPtr[C.ImU64, uint64](values) C.wrap_ImPlot_PlotBarGroups_U64Ptr(label_idsArg, valuesArg, C.int(item_count), C.int(group_count)) @@ -7811,7 +7811,7 @@ func PlotBarGroupsU64Ptr(label_ids []string, values *uint64, item_count int32, g valuesFin() } -func PlotBarGroupsU8Ptr(label_ids []string, values *byte, item_count int32, group_count int32) { +func PlotBarGroupsU8Ptr(label_ids []string, values *byte, item_count, group_count int32) { label_idsArg, label_idsFin := internal.WrapStringList[C.char](label_ids) valuesArg, valuesFin := internal.WrapNumberPtr[C.ImU8, byte](values) C.wrap_ImPlot_PlotBarGroups_U8Ptr(label_idsArg, valuesArg, C.int(item_count), C.int(group_count)) @@ -7820,7 +7820,7 @@ func PlotBarGroupsU8Ptr(label_ids []string, values *byte, item_count int32, grou valuesFin() } -func PlotBarGroupsdoublePtr(label_ids []string, values *float64, item_count int32, group_count int32) { +func PlotBarGroupsdoublePtr(label_ids []string, values *float64, item_count, group_count int32) { label_idsArg, label_idsFin := internal.WrapStringList[C.char](label_ids) valuesArg, valuesFin := internal.WrapNumberPtr[C.double, float64](values) C.wrap_ImPlot_PlotBarGroups_doublePtr(label_idsArg, valuesArg, C.int(item_count), C.int(group_count)) @@ -7829,7 +7829,7 @@ func PlotBarGroupsdoublePtr(label_ids []string, values *float64, item_count int3 valuesFin() } -func PlotBarsFloatPtrFloatPtr(label_id string, xs *float32, ys *float32, count int32, bar_size float64) { +func PlotBarsFloatPtrFloatPtr(label_id string, xs, ys *float32, count int32, bar_size float64) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.float, float32](xs) ysArg, ysFin := internal.WrapNumberPtr[C.float, float32](ys) @@ -7858,7 +7858,7 @@ func PlotBarsS16PtrInt(label_id string, values *int16, count int32) { valuesFin() } -func PlotBarsS16PtrS16Ptr(label_id string, xs *int16, ys *int16, count int32, bar_size float64) { +func PlotBarsS16PtrS16Ptr(label_id string, xs, ys *int16, count int32, bar_size float64) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImS16, int16](xs) ysArg, ysFin := internal.WrapNumberPtr[C.ImS16, int16](ys) @@ -7878,7 +7878,7 @@ func PlotBarsS32PtrInt(label_id string, values *int32, count int32) { valuesFin() } -func PlotBarsS32PtrS32Ptr(label_id string, xs *int32, ys *int32, count int32, bar_size float64) { +func PlotBarsS32PtrS32Ptr(label_id string, xs, ys *int32, count int32, bar_size float64) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImS32, int32](xs) ysArg, ysFin := internal.WrapNumberPtr[C.ImS32, int32](ys) @@ -7898,7 +7898,7 @@ func PlotBarsS64PtrInt(label_id string, values *int64, count int32) { valuesFin() } -func PlotBarsS64PtrS64Ptr(label_id string, xs *int64, ys *int64, count int32, bar_size float64) { +func PlotBarsS64PtrS64Ptr(label_id string, xs, ys *int64, count int32, bar_size float64) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImS64, int64](xs) ysArg, ysFin := internal.WrapNumberPtr[C.ImS64, int64](ys) @@ -7918,7 +7918,7 @@ func PlotBarsS8PtrInt(label_id string, values *int8, count int32) { valuesFin() } -func PlotBarsS8PtrS8Ptr(label_id string, xs *int8, ys *int8, count int32, bar_size float64) { +func PlotBarsS8PtrS8Ptr(label_id string, xs, ys *int8, count int32, bar_size float64) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImS8, int8](xs) ysArg, ysFin := internal.WrapNumberPtr[C.ImS8, int8](ys) @@ -7938,7 +7938,7 @@ func PlotBarsU16PtrInt(label_id string, values *uint16, count int32) { valuesFin() } -func PlotBarsU16PtrU16Ptr(label_id string, xs *uint16, ys *uint16, count int32, bar_size float64) { +func PlotBarsU16PtrU16Ptr(label_id string, xs, ys *uint16, count int32, bar_size float64) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImU16, uint16](xs) ysArg, ysFin := internal.WrapNumberPtr[C.ImU16, uint16](ys) @@ -7958,7 +7958,7 @@ func PlotBarsU32PtrInt(label_id string, values *uint32, count int32) { valuesFin() } -func PlotBarsU32PtrU32Ptr(label_id string, xs *uint32, ys *uint32, count int32, bar_size float64) { +func PlotBarsU32PtrU32Ptr(label_id string, xs, ys *uint32, count int32, bar_size float64) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImU32, uint32](xs) ysArg, ysFin := internal.WrapNumberPtr[C.ImU32, uint32](ys) @@ -7978,7 +7978,7 @@ func PlotBarsU64PtrInt(label_id string, values *uint64, count int32) { valuesFin() } -func PlotBarsU64PtrU64Ptr(label_id string, xs *uint64, ys *uint64, count int32, bar_size float64) { +func PlotBarsU64PtrU64Ptr(label_id string, xs, ys *uint64, count int32, bar_size float64) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImU64, uint64](xs) ysArg, ysFin := internal.WrapNumberPtr[C.ImU64, uint64](ys) @@ -7998,7 +7998,7 @@ func PlotBarsU8PtrInt(label_id string, values *byte, count int32) { valuesFin() } -func PlotBarsU8PtrU8Ptr(label_id string, xs *byte, ys *byte, count int32, bar_size float64) { +func PlotBarsU8PtrU8Ptr(label_id string, xs, ys *byte, count int32, bar_size float64) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImU8, byte](xs) ysArg, ysFin := internal.WrapNumberPtr[C.ImU8, byte](ys) @@ -8018,7 +8018,7 @@ func PlotBarsdoublePtrInt(label_id string, values *float64, count int32) { valuesFin() } -func PlotBarsdoublePtrdoublePtr(label_id string, xs *float64, ys *float64, count int32, bar_size float64) { +func PlotBarsdoublePtrdoublePtr(label_id string, xs, ys *float64, count int32, bar_size float64) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.double, float64](xs) ysArg, ysFin := internal.WrapNumberPtr[C.double, float64](ys) @@ -8029,7 +8029,7 @@ func PlotBarsdoublePtrdoublePtr(label_id string, xs *float64, ys *float64, count ysFin() } -func PlotDigitalFloatPtr(label_id string, xs *float32, ys *float32, count int32) { +func PlotDigitalFloatPtr(label_id string, xs, ys *float32, count int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.float, float32](xs) ysArg, ysFin := internal.WrapNumberPtr[C.float, float32](ys) @@ -8040,7 +8040,7 @@ func PlotDigitalFloatPtr(label_id string, xs *float32, ys *float32, count int32) ysFin() } -func PlotDigitalS16Ptr(label_id string, xs *int16, ys *int16, count int32) { +func PlotDigitalS16Ptr(label_id string, xs, ys *int16, count int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImS16, int16](xs) ysArg, ysFin := internal.WrapNumberPtr[C.ImS16, int16](ys) @@ -8051,7 +8051,7 @@ func PlotDigitalS16Ptr(label_id string, xs *int16, ys *int16, count int32) { ysFin() } -func PlotDigitalS32Ptr(label_id string, xs *int32, ys *int32, count int32) { +func PlotDigitalS32Ptr(label_id string, xs, ys *int32, count int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImS32, int32](xs) ysArg, ysFin := internal.WrapNumberPtr[C.ImS32, int32](ys) @@ -8062,7 +8062,7 @@ func PlotDigitalS32Ptr(label_id string, xs *int32, ys *int32, count int32) { ysFin() } -func PlotDigitalS64Ptr(label_id string, xs *int64, ys *int64, count int32) { +func PlotDigitalS64Ptr(label_id string, xs, ys *int64, count int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImS64, int64](xs) ysArg, ysFin := internal.WrapNumberPtr[C.ImS64, int64](ys) @@ -8073,7 +8073,7 @@ func PlotDigitalS64Ptr(label_id string, xs *int64, ys *int64, count int32) { ysFin() } -func PlotDigitalS8Ptr(label_id string, xs *int8, ys *int8, count int32) { +func PlotDigitalS8Ptr(label_id string, xs, ys *int8, count int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImS8, int8](xs) ysArg, ysFin := internal.WrapNumberPtr[C.ImS8, int8](ys) @@ -8084,7 +8084,7 @@ func PlotDigitalS8Ptr(label_id string, xs *int8, ys *int8, count int32) { ysFin() } -func PlotDigitalU16Ptr(label_id string, xs *uint16, ys *uint16, count int32) { +func PlotDigitalU16Ptr(label_id string, xs, ys *uint16, count int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImU16, uint16](xs) ysArg, ysFin := internal.WrapNumberPtr[C.ImU16, uint16](ys) @@ -8095,7 +8095,7 @@ func PlotDigitalU16Ptr(label_id string, xs *uint16, ys *uint16, count int32) { ysFin() } -func PlotDigitalU32Ptr(label_id string, xs *uint32, ys *uint32, count int32) { +func PlotDigitalU32Ptr(label_id string, xs, ys *uint32, count int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImU32, uint32](xs) ysArg, ysFin := internal.WrapNumberPtr[C.ImU32, uint32](ys) @@ -8106,7 +8106,7 @@ func PlotDigitalU32Ptr(label_id string, xs *uint32, ys *uint32, count int32) { ysFin() } -func PlotDigitalU64Ptr(label_id string, xs *uint64, ys *uint64, count int32) { +func PlotDigitalU64Ptr(label_id string, xs, ys *uint64, count int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImU64, uint64](xs) ysArg, ysFin := internal.WrapNumberPtr[C.ImU64, uint64](ys) @@ -8117,7 +8117,7 @@ func PlotDigitalU64Ptr(label_id string, xs *uint64, ys *uint64, count int32) { ysFin() } -func PlotDigitalU8Ptr(label_id string, xs *byte, ys *byte, count int32) { +func PlotDigitalU8Ptr(label_id string, xs, ys *byte, count int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImU8, byte](xs) ysArg, ysFin := internal.WrapNumberPtr[C.ImU8, byte](ys) @@ -8128,7 +8128,7 @@ func PlotDigitalU8Ptr(label_id string, xs *byte, ys *byte, count int32) { ysFin() } -func PlotDigitaldoublePtr(label_id string, xs *float64, ys *float64, count int32) { +func PlotDigitaldoublePtr(label_id string, xs, ys *float64, count int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.double, float64](xs) ysArg, ysFin := internal.WrapNumberPtr[C.double, float64](ys) @@ -8146,7 +8146,7 @@ func PlotDummy(label_id string) { label_idFin() } -func PlotErrorBarsFloatPtrFloatPtrFloatPtrFloatPtr(label_id string, xs *float32, ys *float32, neg *float32, pos *float32, count int32) { +func PlotErrorBarsFloatPtrFloatPtrFloatPtrFloatPtr(label_id string, xs, ys, neg, pos *float32, count int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.float, float32](xs) ysArg, ysFin := internal.WrapNumberPtr[C.float, float32](ys) @@ -8161,7 +8161,7 @@ func PlotErrorBarsFloatPtrFloatPtrFloatPtrFloatPtr(label_id string, xs *float32, posFin() } -func PlotErrorBarsFloatPtrFloatPtrFloatPtrInt(label_id string, xs *float32, ys *float32, err *float32, count int32) { +func PlotErrorBarsFloatPtrFloatPtrFloatPtrInt(label_id string, xs, ys, err *float32, count int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.float, float32](xs) ysArg, ysFin := internal.WrapNumberPtr[C.float, float32](ys) @@ -8174,7 +8174,7 @@ func PlotErrorBarsFloatPtrFloatPtrFloatPtrInt(label_id string, xs *float32, ys * errFin() } -func PlotErrorBarsS16PtrS16PtrS16PtrInt(label_id string, xs *int16, ys *int16, err *int16, count int32) { +func PlotErrorBarsS16PtrS16PtrS16PtrInt(label_id string, xs, ys, err *int16, count int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImS16, int16](xs) ysArg, ysFin := internal.WrapNumberPtr[C.ImS16, int16](ys) @@ -8187,7 +8187,7 @@ func PlotErrorBarsS16PtrS16PtrS16PtrInt(label_id string, xs *int16, ys *int16, e errFin() } -func PlotErrorBarsS16PtrS16PtrS16PtrS16Ptr(label_id string, xs *int16, ys *int16, neg *int16, pos *int16, count int32) { +func PlotErrorBarsS16PtrS16PtrS16PtrS16Ptr(label_id string, xs, ys, neg, pos *int16, count int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImS16, int16](xs) ysArg, ysFin := internal.WrapNumberPtr[C.ImS16, int16](ys) @@ -8202,7 +8202,7 @@ func PlotErrorBarsS16PtrS16PtrS16PtrS16Ptr(label_id string, xs *int16, ys *int16 posFin() } -func PlotErrorBarsS32PtrS32PtrS32PtrInt(label_id string, xs *int32, ys *int32, err *int32, count int32) { +func PlotErrorBarsS32PtrS32PtrS32PtrInt(label_id string, xs, ys, err *int32, count int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImS32, int32](xs) ysArg, ysFin := internal.WrapNumberPtr[C.ImS32, int32](ys) @@ -8215,7 +8215,7 @@ func PlotErrorBarsS32PtrS32PtrS32PtrInt(label_id string, xs *int32, ys *int32, e errFin() } -func PlotErrorBarsS32PtrS32PtrS32PtrS32Ptr(label_id string, xs *int32, ys *int32, neg *int32, pos *int32, count int32) { +func PlotErrorBarsS32PtrS32PtrS32PtrS32Ptr(label_id string, xs, ys, neg, pos *int32, count int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImS32, int32](xs) ysArg, ysFin := internal.WrapNumberPtr[C.ImS32, int32](ys) @@ -8230,7 +8230,7 @@ func PlotErrorBarsS32PtrS32PtrS32PtrS32Ptr(label_id string, xs *int32, ys *int32 posFin() } -func PlotErrorBarsS64PtrS64PtrS64PtrInt(label_id string, xs *int64, ys *int64, err *int64, count int32) { +func PlotErrorBarsS64PtrS64PtrS64PtrInt(label_id string, xs, ys, err *int64, count int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImS64, int64](xs) ysArg, ysFin := internal.WrapNumberPtr[C.ImS64, int64](ys) @@ -8243,7 +8243,7 @@ func PlotErrorBarsS64PtrS64PtrS64PtrInt(label_id string, xs *int64, ys *int64, e errFin() } -func PlotErrorBarsS64PtrS64PtrS64PtrS64Ptr(label_id string, xs *int64, ys *int64, neg *int64, pos *int64, count int32) { +func PlotErrorBarsS64PtrS64PtrS64PtrS64Ptr(label_id string, xs, ys, neg, pos *int64, count int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImS64, int64](xs) ysArg, ysFin := internal.WrapNumberPtr[C.ImS64, int64](ys) @@ -8258,7 +8258,7 @@ func PlotErrorBarsS64PtrS64PtrS64PtrS64Ptr(label_id string, xs *int64, ys *int64 posFin() } -func PlotErrorBarsS8PtrS8PtrS8PtrInt(label_id string, xs *int8, ys *int8, err *int8, count int32) { +func PlotErrorBarsS8PtrS8PtrS8PtrInt(label_id string, xs, ys, err *int8, count int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImS8, int8](xs) ysArg, ysFin := internal.WrapNumberPtr[C.ImS8, int8](ys) @@ -8271,7 +8271,7 @@ func PlotErrorBarsS8PtrS8PtrS8PtrInt(label_id string, xs *int8, ys *int8, err *i errFin() } -func PlotErrorBarsS8PtrS8PtrS8PtrS8Ptr(label_id string, xs *int8, ys *int8, neg *int8, pos *int8, count int32) { +func PlotErrorBarsS8PtrS8PtrS8PtrS8Ptr(label_id string, xs, ys, neg, pos *int8, count int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImS8, int8](xs) ysArg, ysFin := internal.WrapNumberPtr[C.ImS8, int8](ys) @@ -8286,7 +8286,7 @@ func PlotErrorBarsS8PtrS8PtrS8PtrS8Ptr(label_id string, xs *int8, ys *int8, neg posFin() } -func PlotErrorBarsU16PtrU16PtrU16PtrInt(label_id string, xs *uint16, ys *uint16, err *uint16, count int32) { +func PlotErrorBarsU16PtrU16PtrU16PtrInt(label_id string, xs, ys, err *uint16, count int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImU16, uint16](xs) ysArg, ysFin := internal.WrapNumberPtr[C.ImU16, uint16](ys) @@ -8299,7 +8299,7 @@ func PlotErrorBarsU16PtrU16PtrU16PtrInt(label_id string, xs *uint16, ys *uint16, errFin() } -func PlotErrorBarsU16PtrU16PtrU16PtrU16Ptr(label_id string, xs *uint16, ys *uint16, neg *uint16, pos *uint16, count int32) { +func PlotErrorBarsU16PtrU16PtrU16PtrU16Ptr(label_id string, xs, ys, neg, pos *uint16, count int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImU16, uint16](xs) ysArg, ysFin := internal.WrapNumberPtr[C.ImU16, uint16](ys) @@ -8314,7 +8314,7 @@ func PlotErrorBarsU16PtrU16PtrU16PtrU16Ptr(label_id string, xs *uint16, ys *uint posFin() } -func PlotErrorBarsU32PtrU32PtrU32PtrInt(label_id string, xs *uint32, ys *uint32, err *uint32, count int32) { +func PlotErrorBarsU32PtrU32PtrU32PtrInt(label_id string, xs, ys, err *uint32, count int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImU32, uint32](xs) ysArg, ysFin := internal.WrapNumberPtr[C.ImU32, uint32](ys) @@ -8327,7 +8327,7 @@ func PlotErrorBarsU32PtrU32PtrU32PtrInt(label_id string, xs *uint32, ys *uint32, errFin() } -func PlotErrorBarsU32PtrU32PtrU32PtrU32Ptr(label_id string, xs *uint32, ys *uint32, neg *uint32, pos *uint32, count int32) { +func PlotErrorBarsU32PtrU32PtrU32PtrU32Ptr(label_id string, xs, ys, neg, pos *uint32, count int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImU32, uint32](xs) ysArg, ysFin := internal.WrapNumberPtr[C.ImU32, uint32](ys) @@ -8342,7 +8342,7 @@ func PlotErrorBarsU32PtrU32PtrU32PtrU32Ptr(label_id string, xs *uint32, ys *uint posFin() } -func PlotErrorBarsU64PtrU64PtrU64PtrInt(label_id string, xs *uint64, ys *uint64, err *uint64, count int32) { +func PlotErrorBarsU64PtrU64PtrU64PtrInt(label_id string, xs, ys, err *uint64, count int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImU64, uint64](xs) ysArg, ysFin := internal.WrapNumberPtr[C.ImU64, uint64](ys) @@ -8355,7 +8355,7 @@ func PlotErrorBarsU64PtrU64PtrU64PtrInt(label_id string, xs *uint64, ys *uint64, errFin() } -func PlotErrorBarsU64PtrU64PtrU64PtrU64Ptr(label_id string, xs *uint64, ys *uint64, neg *uint64, pos *uint64, count int32) { +func PlotErrorBarsU64PtrU64PtrU64PtrU64Ptr(label_id string, xs, ys, neg, pos *uint64, count int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImU64, uint64](xs) ysArg, ysFin := internal.WrapNumberPtr[C.ImU64, uint64](ys) @@ -8370,7 +8370,7 @@ func PlotErrorBarsU64PtrU64PtrU64PtrU64Ptr(label_id string, xs *uint64, ys *uint posFin() } -func PlotErrorBarsU8PtrU8PtrU8PtrInt(label_id string, xs *byte, ys *byte, err *byte, count int32) { +func PlotErrorBarsU8PtrU8PtrU8PtrInt(label_id string, xs, ys, err *byte, count int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImU8, byte](xs) ysArg, ysFin := internal.WrapNumberPtr[C.ImU8, byte](ys) @@ -8383,7 +8383,7 @@ func PlotErrorBarsU8PtrU8PtrU8PtrInt(label_id string, xs *byte, ys *byte, err *b errFin() } -func PlotErrorBarsU8PtrU8PtrU8PtrU8Ptr(label_id string, xs *byte, ys *byte, neg *byte, pos *byte, count int32) { +func PlotErrorBarsU8PtrU8PtrU8PtrU8Ptr(label_id string, xs, ys, neg, pos *byte, count int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImU8, byte](xs) ysArg, ysFin := internal.WrapNumberPtr[C.ImU8, byte](ys) @@ -8398,7 +8398,7 @@ func PlotErrorBarsU8PtrU8PtrU8PtrU8Ptr(label_id string, xs *byte, ys *byte, neg posFin() } -func PlotErrorBarsdoublePtrdoublePtrdoublePtrInt(label_id string, xs *float64, ys *float64, err *float64, count int32) { +func PlotErrorBarsdoublePtrdoublePtrdoublePtrInt(label_id string, xs, ys, err *float64, count int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.double, float64](xs) ysArg, ysFin := internal.WrapNumberPtr[C.double, float64](ys) @@ -8411,7 +8411,7 @@ func PlotErrorBarsdoublePtrdoublePtrdoublePtrInt(label_id string, xs *float64, y errFin() } -func PlotErrorBarsdoublePtrdoublePtrdoublePtrdoublePtr(label_id string, xs *float64, ys *float64, neg *float64, pos *float64, count int32) { +func PlotErrorBarsdoublePtrdoublePtrdoublePtrdoublePtr(label_id string, xs, ys, neg, pos *float64, count int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.double, float64](xs) ysArg, ysFin := internal.WrapNumberPtr[C.double, float64](ys) @@ -8426,7 +8426,7 @@ func PlotErrorBarsdoublePtrdoublePtrdoublePtrdoublePtr(label_id string, xs *floa posFin() } -func PlotHeatmapFloatPtr(label_id string, values *float32, rows int32, cols int32) { +func PlotHeatmapFloatPtr(label_id string, values *float32, rows, cols int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) valuesArg, valuesFin := internal.WrapNumberPtr[C.float, float32](values) C.wrap_ImPlot_PlotHeatmap_FloatPtr(label_idArg, valuesArg, C.int(rows), C.int(cols)) @@ -8435,7 +8435,7 @@ func PlotHeatmapFloatPtr(label_id string, values *float32, rows int32, cols int3 valuesFin() } -func PlotHeatmapS16Ptr(label_id string, values *int16, rows int32, cols int32) { +func PlotHeatmapS16Ptr(label_id string, values *int16, rows, cols int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) valuesArg, valuesFin := internal.WrapNumberPtr[C.ImS16, int16](values) C.wrap_ImPlot_PlotHeatmap_S16Ptr(label_idArg, valuesArg, C.int(rows), C.int(cols)) @@ -8444,7 +8444,7 @@ func PlotHeatmapS16Ptr(label_id string, values *int16, rows int32, cols int32) { valuesFin() } -func PlotHeatmapS32Ptr(label_id string, values *int32, rows int32, cols int32) { +func PlotHeatmapS32Ptr(label_id string, values *int32, rows, cols int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) valuesArg, valuesFin := internal.WrapNumberPtr[C.ImS32, int32](values) C.wrap_ImPlot_PlotHeatmap_S32Ptr(label_idArg, valuesArg, C.int(rows), C.int(cols)) @@ -8453,7 +8453,7 @@ func PlotHeatmapS32Ptr(label_id string, values *int32, rows int32, cols int32) { valuesFin() } -func PlotHeatmapS64Ptr(label_id string, values *int64, rows int32, cols int32) { +func PlotHeatmapS64Ptr(label_id string, values *int64, rows, cols int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) valuesArg, valuesFin := internal.WrapNumberPtr[C.ImS64, int64](values) C.wrap_ImPlot_PlotHeatmap_S64Ptr(label_idArg, valuesArg, C.int(rows), C.int(cols)) @@ -8462,7 +8462,7 @@ func PlotHeatmapS64Ptr(label_id string, values *int64, rows int32, cols int32) { valuesFin() } -func PlotHeatmapS8Ptr(label_id string, values *int8, rows int32, cols int32) { +func PlotHeatmapS8Ptr(label_id string, values *int8, rows, cols int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) valuesArg, valuesFin := internal.WrapNumberPtr[C.ImS8, int8](values) C.wrap_ImPlot_PlotHeatmap_S8Ptr(label_idArg, valuesArg, C.int(rows), C.int(cols)) @@ -8471,7 +8471,7 @@ func PlotHeatmapS8Ptr(label_id string, values *int8, rows int32, cols int32) { valuesFin() } -func PlotHeatmapU16Ptr(label_id string, values *uint16, rows int32, cols int32) { +func PlotHeatmapU16Ptr(label_id string, values *uint16, rows, cols int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) valuesArg, valuesFin := internal.WrapNumberPtr[C.ImU16, uint16](values) C.wrap_ImPlot_PlotHeatmap_U16Ptr(label_idArg, valuesArg, C.int(rows), C.int(cols)) @@ -8480,7 +8480,7 @@ func PlotHeatmapU16Ptr(label_id string, values *uint16, rows int32, cols int32) valuesFin() } -func PlotHeatmapU32Ptr(label_id string, values *uint32, rows int32, cols int32) { +func PlotHeatmapU32Ptr(label_id string, values *uint32, rows, cols int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) valuesArg, valuesFin := internal.WrapNumberPtr[C.ImU32, uint32](values) C.wrap_ImPlot_PlotHeatmap_U32Ptr(label_idArg, valuesArg, C.int(rows), C.int(cols)) @@ -8489,7 +8489,7 @@ func PlotHeatmapU32Ptr(label_id string, values *uint32, rows int32, cols int32) valuesFin() } -func PlotHeatmapU64Ptr(label_id string, values *uint64, rows int32, cols int32) { +func PlotHeatmapU64Ptr(label_id string, values *uint64, rows, cols int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) valuesArg, valuesFin := internal.WrapNumberPtr[C.ImU64, uint64](values) C.wrap_ImPlot_PlotHeatmap_U64Ptr(label_idArg, valuesArg, C.int(rows), C.int(cols)) @@ -8498,7 +8498,7 @@ func PlotHeatmapU64Ptr(label_id string, values *uint64, rows int32, cols int32) valuesFin() } -func PlotHeatmapU8Ptr(label_id string, values *byte, rows int32, cols int32) { +func PlotHeatmapU8Ptr(label_id string, values *byte, rows, cols int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) valuesArg, valuesFin := internal.WrapNumberPtr[C.ImU8, byte](values) C.wrap_ImPlot_PlotHeatmap_U8Ptr(label_idArg, valuesArg, C.int(rows), C.int(cols)) @@ -8507,7 +8507,7 @@ func PlotHeatmapU8Ptr(label_id string, values *byte, rows int32, cols int32) { valuesFin() } -func PlotHeatmapdoublePtr(label_id string, values *float64, rows int32, cols int32) { +func PlotHeatmapdoublePtr(label_id string, values *float64, rows, cols int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) valuesArg, valuesFin := internal.WrapNumberPtr[C.double, float64](values) C.wrap_ImPlot_PlotHeatmap_doublePtr(label_idArg, valuesArg, C.int(rows), C.int(cols)) @@ -8516,7 +8516,7 @@ func PlotHeatmapdoublePtr(label_id string, values *float64, rows int32, cols int valuesFin() } -func PlotHistogram2DFloatPtr(label_id string, xs *float32, ys *float32, count int32) float64 { +func PlotHistogram2DFloatPtr(label_id string, xs, ys *float32, count int32) float64 { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.float, float32](xs) ysArg, ysFin := internal.WrapNumberPtr[C.float, float32](ys) @@ -8529,7 +8529,7 @@ func PlotHistogram2DFloatPtr(label_id string, xs *float32, ys *float32, count in return float64(C.wrap_ImPlot_PlotHistogram2D_FloatPtr(label_idArg, xsArg, ysArg, C.int(count))) } -func PlotHistogram2DS16Ptr(label_id string, xs *int16, ys *int16, count int32) float64 { +func PlotHistogram2DS16Ptr(label_id string, xs, ys *int16, count int32) float64 { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImS16, int16](xs) ysArg, ysFin := internal.WrapNumberPtr[C.ImS16, int16](ys) @@ -8542,7 +8542,7 @@ func PlotHistogram2DS16Ptr(label_id string, xs *int16, ys *int16, count int32) f return float64(C.wrap_ImPlot_PlotHistogram2D_S16Ptr(label_idArg, xsArg, ysArg, C.int(count))) } -func PlotHistogram2DS32Ptr(label_id string, xs *int32, ys *int32, count int32) float64 { +func PlotHistogram2DS32Ptr(label_id string, xs, ys *int32, count int32) float64 { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImS32, int32](xs) ysArg, ysFin := internal.WrapNumberPtr[C.ImS32, int32](ys) @@ -8555,7 +8555,7 @@ func PlotHistogram2DS32Ptr(label_id string, xs *int32, ys *int32, count int32) f return float64(C.wrap_ImPlot_PlotHistogram2D_S32Ptr(label_idArg, xsArg, ysArg, C.int(count))) } -func PlotHistogram2DS64Ptr(label_id string, xs *int64, ys *int64, count int32) float64 { +func PlotHistogram2DS64Ptr(label_id string, xs, ys *int64, count int32) float64 { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImS64, int64](xs) ysArg, ysFin := internal.WrapNumberPtr[C.ImS64, int64](ys) @@ -8568,7 +8568,7 @@ func PlotHistogram2DS64Ptr(label_id string, xs *int64, ys *int64, count int32) f return float64(C.wrap_ImPlot_PlotHistogram2D_S64Ptr(label_idArg, xsArg, ysArg, C.int(count))) } -func PlotHistogram2DS8Ptr(label_id string, xs *int8, ys *int8, count int32) float64 { +func PlotHistogram2DS8Ptr(label_id string, xs, ys *int8, count int32) float64 { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImS8, int8](xs) ysArg, ysFin := internal.WrapNumberPtr[C.ImS8, int8](ys) @@ -8581,7 +8581,7 @@ func PlotHistogram2DS8Ptr(label_id string, xs *int8, ys *int8, count int32) floa return float64(C.wrap_ImPlot_PlotHistogram2D_S8Ptr(label_idArg, xsArg, ysArg, C.int(count))) } -func PlotHistogram2DU16Ptr(label_id string, xs *uint16, ys *uint16, count int32) float64 { +func PlotHistogram2DU16Ptr(label_id string, xs, ys *uint16, count int32) float64 { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImU16, uint16](xs) ysArg, ysFin := internal.WrapNumberPtr[C.ImU16, uint16](ys) @@ -8594,7 +8594,7 @@ func PlotHistogram2DU16Ptr(label_id string, xs *uint16, ys *uint16, count int32) return float64(C.wrap_ImPlot_PlotHistogram2D_U16Ptr(label_idArg, xsArg, ysArg, C.int(count))) } -func PlotHistogram2DU32Ptr(label_id string, xs *uint32, ys *uint32, count int32) float64 { +func PlotHistogram2DU32Ptr(label_id string, xs, ys *uint32, count int32) float64 { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImU32, uint32](xs) ysArg, ysFin := internal.WrapNumberPtr[C.ImU32, uint32](ys) @@ -8607,7 +8607,7 @@ func PlotHistogram2DU32Ptr(label_id string, xs *uint32, ys *uint32, count int32) return float64(C.wrap_ImPlot_PlotHistogram2D_U32Ptr(label_idArg, xsArg, ysArg, C.int(count))) } -func PlotHistogram2DU64Ptr(label_id string, xs *uint64, ys *uint64, count int32) float64 { +func PlotHistogram2DU64Ptr(label_id string, xs, ys *uint64, count int32) float64 { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImU64, uint64](xs) ysArg, ysFin := internal.WrapNumberPtr[C.ImU64, uint64](ys) @@ -8620,7 +8620,7 @@ func PlotHistogram2DU64Ptr(label_id string, xs *uint64, ys *uint64, count int32) return float64(C.wrap_ImPlot_PlotHistogram2D_U64Ptr(label_idArg, xsArg, ysArg, C.int(count))) } -func PlotHistogram2DU8Ptr(label_id string, xs *byte, ys *byte, count int32) float64 { +func PlotHistogram2DU8Ptr(label_id string, xs, ys *byte, count int32) float64 { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImU8, byte](xs) ysArg, ysFin := internal.WrapNumberPtr[C.ImU8, byte](ys) @@ -8633,7 +8633,7 @@ func PlotHistogram2DU8Ptr(label_id string, xs *byte, ys *byte, count int32) floa return float64(C.wrap_ImPlot_PlotHistogram2D_U8Ptr(label_idArg, xsArg, ysArg, C.int(count))) } -func PlotHistogram2DdoublePtr(label_id string, xs *float64, ys *float64, count int32) float64 { +func PlotHistogram2DdoublePtr(label_id string, xs, ys *float64, count int32) float64 { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.double, float64](xs) ysArg, ysFin := internal.WrapNumberPtr[C.double, float64](ys) @@ -8756,7 +8756,7 @@ func PlotHistogramdoublePtr(label_id string, values *float64, count int32) float return float64(C.wrap_ImPlot_PlotHistogram_doublePtr(label_idArg, valuesArg, C.int(count))) } -func PlotImage(label_id string, user_texture_id imgui.TextureID, bounds_min PlotPoint, bounds_max PlotPoint) { +func PlotImage(label_id string, user_texture_id imgui.TextureID, bounds_min, bounds_max PlotPoint) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) user_texture_idArg, user_texture_idFin := user_texture_id.C() C.wrap_ImPlot_PlotImage(label_idArg, internal.ReinterpretCast[C.ImTextureID](user_texture_idArg), internal.ReinterpretCast[C.ImPlotPoint](bounds_min.ToC()), internal.ReinterpretCast[C.ImPlotPoint](bounds_max.ToC())) @@ -8855,7 +8855,7 @@ func PlotInfLinesdoublePtr(label_id string, values *float64, count int32) { valuesFin() } -func PlotLineFloatPtrFloatPtr(label_id string, xs *float32, ys *float32, count int32) { +func PlotLineFloatPtrFloatPtr(label_id string, xs, ys *float32, count int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.float, float32](xs) ysArg, ysFin := internal.WrapNumberPtr[C.float, float32](ys) @@ -8884,7 +8884,7 @@ func PlotLineS16PtrInt(label_id string, values *int16, count int32) { valuesFin() } -func PlotLineS16PtrS16Ptr(label_id string, xs *int16, ys *int16, count int32) { +func PlotLineS16PtrS16Ptr(label_id string, xs, ys *int16, count int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImS16, int16](xs) ysArg, ysFin := internal.WrapNumberPtr[C.ImS16, int16](ys) @@ -8904,7 +8904,7 @@ func PlotLineS32PtrInt(label_id string, values *int32, count int32) { valuesFin() } -func PlotLineS32PtrS32Ptr(label_id string, xs *int32, ys *int32, count int32) { +func PlotLineS32PtrS32Ptr(label_id string, xs, ys *int32, count int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImS32, int32](xs) ysArg, ysFin := internal.WrapNumberPtr[C.ImS32, int32](ys) @@ -8924,7 +8924,7 @@ func PlotLineS64PtrInt(label_id string, values *int64, count int32) { valuesFin() } -func PlotLineS64PtrS64Ptr(label_id string, xs *int64, ys *int64, count int32) { +func PlotLineS64PtrS64Ptr(label_id string, xs, ys *int64, count int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImS64, int64](xs) ysArg, ysFin := internal.WrapNumberPtr[C.ImS64, int64](ys) @@ -8944,7 +8944,7 @@ func PlotLineS8PtrInt(label_id string, values *int8, count int32) { valuesFin() } -func PlotLineS8PtrS8Ptr(label_id string, xs *int8, ys *int8, count int32) { +func PlotLineS8PtrS8Ptr(label_id string, xs, ys *int8, count int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImS8, int8](xs) ysArg, ysFin := internal.WrapNumberPtr[C.ImS8, int8](ys) @@ -8964,7 +8964,7 @@ func PlotLineU16PtrInt(label_id string, values *uint16, count int32) { valuesFin() } -func PlotLineU16PtrU16Ptr(label_id string, xs *uint16, ys *uint16, count int32) { +func PlotLineU16PtrU16Ptr(label_id string, xs, ys *uint16, count int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImU16, uint16](xs) ysArg, ysFin := internal.WrapNumberPtr[C.ImU16, uint16](ys) @@ -8984,7 +8984,7 @@ func PlotLineU32PtrInt(label_id string, values *uint32, count int32) { valuesFin() } -func PlotLineU32PtrU32Ptr(label_id string, xs *uint32, ys *uint32, count int32) { +func PlotLineU32PtrU32Ptr(label_id string, xs, ys *uint32, count int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImU32, uint32](xs) ysArg, ysFin := internal.WrapNumberPtr[C.ImU32, uint32](ys) @@ -9004,7 +9004,7 @@ func PlotLineU64PtrInt(label_id string, values *uint64, count int32) { valuesFin() } -func PlotLineU64PtrU64Ptr(label_id string, xs *uint64, ys *uint64, count int32) { +func PlotLineU64PtrU64Ptr(label_id string, xs, ys *uint64, count int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImU64, uint64](xs) ysArg, ysFin := internal.WrapNumberPtr[C.ImU64, uint64](ys) @@ -9024,7 +9024,7 @@ func PlotLineU8PtrInt(label_id string, values *byte, count int32) { valuesFin() } -func PlotLineU8PtrU8Ptr(label_id string, xs *byte, ys *byte, count int32) { +func PlotLineU8PtrU8Ptr(label_id string, xs, ys *byte, count int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImU8, byte](xs) ysArg, ysFin := internal.WrapNumberPtr[C.ImU8, byte](ys) @@ -9044,7 +9044,7 @@ func PlotLinedoublePtrInt(label_id string, values *float64, count int32) { valuesFin() } -func PlotLinedoublePtrdoublePtr(label_id string, xs *float64, ys *float64, count int32) { +func PlotLinedoublePtrdoublePtr(label_id string, xs, ys *float64, count int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.double, float64](xs) ysArg, ysFin := internal.WrapNumberPtr[C.double, float64](ys) @@ -9055,7 +9055,7 @@ func PlotLinedoublePtrdoublePtr(label_id string, xs *float64, ys *float64, count ysFin() } -func PlotPieChartFloatPtrPlotFormatter(label_ids []string, values *float32, count int32, x float64, y float64, radius float64, fmt Formatter) { +func PlotPieChartFloatPtrPlotFormatter(label_ids []string, values *float32, count int32, x, y, radius float64, fmt Formatter) { label_idsArg, label_idsFin := internal.WrapStringList[C.char](label_ids) valuesArg, valuesFin := internal.WrapNumberPtr[C.float, float32](values) fmtArg, fmtFin := fmt.C() @@ -9066,7 +9066,7 @@ func PlotPieChartFloatPtrPlotFormatter(label_ids []string, values *float32, coun fmtFin() } -func PlotPieChartFloatPtrStr(label_ids []string, values *float32, count int32, x float64, y float64, radius float64) { +func PlotPieChartFloatPtrStr(label_ids []string, values *float32, count int32, x, y, radius float64) { label_idsArg, label_idsFin := internal.WrapStringList[C.char](label_ids) valuesArg, valuesFin := internal.WrapNumberPtr[C.float, float32](values) C.wrap_ImPlot_PlotPieChart_FloatPtrStr(label_idsArg, valuesArg, C.int(count), C.double(x), C.double(y), C.double(radius)) @@ -9075,7 +9075,7 @@ func PlotPieChartFloatPtrStr(label_ids []string, values *float32, count int32, x valuesFin() } -func PlotPieChartS16PtrPlotFormatter(label_ids []string, values *int16, count int32, x float64, y float64, radius float64, fmt Formatter) { +func PlotPieChartS16PtrPlotFormatter(label_ids []string, values *int16, count int32, x, y, radius float64, fmt Formatter) { label_idsArg, label_idsFin := internal.WrapStringList[C.char](label_ids) valuesArg, valuesFin := internal.WrapNumberPtr[C.ImS16, int16](values) fmtArg, fmtFin := fmt.C() @@ -9086,7 +9086,7 @@ func PlotPieChartS16PtrPlotFormatter(label_ids []string, values *int16, count in fmtFin() } -func PlotPieChartS16PtrStr(label_ids []string, values *int16, count int32, x float64, y float64, radius float64) { +func PlotPieChartS16PtrStr(label_ids []string, values *int16, count int32, x, y, radius float64) { label_idsArg, label_idsFin := internal.WrapStringList[C.char](label_ids) valuesArg, valuesFin := internal.WrapNumberPtr[C.ImS16, int16](values) C.wrap_ImPlot_PlotPieChart_S16PtrStr(label_idsArg, valuesArg, C.int(count), C.double(x), C.double(y), C.double(radius)) @@ -9095,7 +9095,7 @@ func PlotPieChartS16PtrStr(label_ids []string, values *int16, count int32, x flo valuesFin() } -func PlotPieChartS32PtrPlotFormatter(label_ids []string, values *int32, count int32, x float64, y float64, radius float64, fmt Formatter) { +func PlotPieChartS32PtrPlotFormatter(label_ids []string, values *int32, count int32, x, y, radius float64, fmt Formatter) { label_idsArg, label_idsFin := internal.WrapStringList[C.char](label_ids) valuesArg, valuesFin := internal.WrapNumberPtr[C.ImS32, int32](values) fmtArg, fmtFin := fmt.C() @@ -9106,7 +9106,7 @@ func PlotPieChartS32PtrPlotFormatter(label_ids []string, values *int32, count in fmtFin() } -func PlotPieChartS32PtrStr(label_ids []string, values *int32, count int32, x float64, y float64, radius float64) { +func PlotPieChartS32PtrStr(label_ids []string, values *int32, count int32, x, y, radius float64) { label_idsArg, label_idsFin := internal.WrapStringList[C.char](label_ids) valuesArg, valuesFin := internal.WrapNumberPtr[C.ImS32, int32](values) C.wrap_ImPlot_PlotPieChart_S32PtrStr(label_idsArg, valuesArg, C.int(count), C.double(x), C.double(y), C.double(radius)) @@ -9115,7 +9115,7 @@ func PlotPieChartS32PtrStr(label_ids []string, values *int32, count int32, x flo valuesFin() } -func PlotPieChartS64PtrPlotFormatter(label_ids []string, values *int64, count int32, x float64, y float64, radius float64, fmt Formatter) { +func PlotPieChartS64PtrPlotFormatter(label_ids []string, values *int64, count int32, x, y, radius float64, fmt Formatter) { label_idsArg, label_idsFin := internal.WrapStringList[C.char](label_ids) valuesArg, valuesFin := internal.WrapNumberPtr[C.ImS64, int64](values) fmtArg, fmtFin := fmt.C() @@ -9126,7 +9126,7 @@ func PlotPieChartS64PtrPlotFormatter(label_ids []string, values *int64, count in fmtFin() } -func PlotPieChartS64PtrStr(label_ids []string, values *int64, count int32, x float64, y float64, radius float64) { +func PlotPieChartS64PtrStr(label_ids []string, values *int64, count int32, x, y, radius float64) { label_idsArg, label_idsFin := internal.WrapStringList[C.char](label_ids) valuesArg, valuesFin := internal.WrapNumberPtr[C.ImS64, int64](values) C.wrap_ImPlot_PlotPieChart_S64PtrStr(label_idsArg, valuesArg, C.int(count), C.double(x), C.double(y), C.double(radius)) @@ -9135,7 +9135,7 @@ func PlotPieChartS64PtrStr(label_ids []string, values *int64, count int32, x flo valuesFin() } -func PlotPieChartS8PtrPlotFormatter(label_ids []string, values *int8, count int32, x float64, y float64, radius float64, fmt Formatter) { +func PlotPieChartS8PtrPlotFormatter(label_ids []string, values *int8, count int32, x, y, radius float64, fmt Formatter) { label_idsArg, label_idsFin := internal.WrapStringList[C.char](label_ids) valuesArg, valuesFin := internal.WrapNumberPtr[C.ImS8, int8](values) fmtArg, fmtFin := fmt.C() @@ -9146,7 +9146,7 @@ func PlotPieChartS8PtrPlotFormatter(label_ids []string, values *int8, count int3 fmtFin() } -func PlotPieChartS8PtrStr(label_ids []string, values *int8, count int32, x float64, y float64, radius float64) { +func PlotPieChartS8PtrStr(label_ids []string, values *int8, count int32, x, y, radius float64) { label_idsArg, label_idsFin := internal.WrapStringList[C.char](label_ids) valuesArg, valuesFin := internal.WrapNumberPtr[C.ImS8, int8](values) C.wrap_ImPlot_PlotPieChart_S8PtrStr(label_idsArg, valuesArg, C.int(count), C.double(x), C.double(y), C.double(radius)) @@ -9155,7 +9155,7 @@ func PlotPieChartS8PtrStr(label_ids []string, values *int8, count int32, x float valuesFin() } -func PlotPieChartU16PtrPlotFormatter(label_ids []string, values *uint16, count int32, x float64, y float64, radius float64, fmt Formatter) { +func PlotPieChartU16PtrPlotFormatter(label_ids []string, values *uint16, count int32, x, y, radius float64, fmt Formatter) { label_idsArg, label_idsFin := internal.WrapStringList[C.char](label_ids) valuesArg, valuesFin := internal.WrapNumberPtr[C.ImU16, uint16](values) fmtArg, fmtFin := fmt.C() @@ -9166,7 +9166,7 @@ func PlotPieChartU16PtrPlotFormatter(label_ids []string, values *uint16, count i fmtFin() } -func PlotPieChartU16PtrStr(label_ids []string, values *uint16, count int32, x float64, y float64, radius float64) { +func PlotPieChartU16PtrStr(label_ids []string, values *uint16, count int32, x, y, radius float64) { label_idsArg, label_idsFin := internal.WrapStringList[C.char](label_ids) valuesArg, valuesFin := internal.WrapNumberPtr[C.ImU16, uint16](values) C.wrap_ImPlot_PlotPieChart_U16PtrStr(label_idsArg, valuesArg, C.int(count), C.double(x), C.double(y), C.double(radius)) @@ -9175,7 +9175,7 @@ func PlotPieChartU16PtrStr(label_ids []string, values *uint16, count int32, x fl valuesFin() } -func PlotPieChartU32PtrPlotFormatter(label_ids []string, values *uint32, count int32, x float64, y float64, radius float64, fmt Formatter) { +func PlotPieChartU32PtrPlotFormatter(label_ids []string, values *uint32, count int32, x, y, radius float64, fmt Formatter) { label_idsArg, label_idsFin := internal.WrapStringList[C.char](label_ids) valuesArg, valuesFin := internal.WrapNumberPtr[C.ImU32, uint32](values) fmtArg, fmtFin := fmt.C() @@ -9186,7 +9186,7 @@ func PlotPieChartU32PtrPlotFormatter(label_ids []string, values *uint32, count i fmtFin() } -func PlotPieChartU32PtrStr(label_ids []string, values *uint32, count int32, x float64, y float64, radius float64) { +func PlotPieChartU32PtrStr(label_ids []string, values *uint32, count int32, x, y, radius float64) { label_idsArg, label_idsFin := internal.WrapStringList[C.char](label_ids) valuesArg, valuesFin := internal.WrapNumberPtr[C.ImU32, uint32](values) C.wrap_ImPlot_PlotPieChart_U32PtrStr(label_idsArg, valuesArg, C.int(count), C.double(x), C.double(y), C.double(radius)) @@ -9195,7 +9195,7 @@ func PlotPieChartU32PtrStr(label_ids []string, values *uint32, count int32, x fl valuesFin() } -func PlotPieChartU64PtrPlotFormatter(label_ids []string, values *uint64, count int32, x float64, y float64, radius float64, fmt Formatter) { +func PlotPieChartU64PtrPlotFormatter(label_ids []string, values *uint64, count int32, x, y, radius float64, fmt Formatter) { label_idsArg, label_idsFin := internal.WrapStringList[C.char](label_ids) valuesArg, valuesFin := internal.WrapNumberPtr[C.ImU64, uint64](values) fmtArg, fmtFin := fmt.C() @@ -9206,7 +9206,7 @@ func PlotPieChartU64PtrPlotFormatter(label_ids []string, values *uint64, count i fmtFin() } -func PlotPieChartU64PtrStr(label_ids []string, values *uint64, count int32, x float64, y float64, radius float64) { +func PlotPieChartU64PtrStr(label_ids []string, values *uint64, count int32, x, y, radius float64) { label_idsArg, label_idsFin := internal.WrapStringList[C.char](label_ids) valuesArg, valuesFin := internal.WrapNumberPtr[C.ImU64, uint64](values) C.wrap_ImPlot_PlotPieChart_U64PtrStr(label_idsArg, valuesArg, C.int(count), C.double(x), C.double(y), C.double(radius)) @@ -9215,7 +9215,7 @@ func PlotPieChartU64PtrStr(label_ids []string, values *uint64, count int32, x fl valuesFin() } -func PlotPieChartU8PtrPlotFormatter(label_ids []string, values *byte, count int32, x float64, y float64, radius float64, fmt Formatter) { +func PlotPieChartU8PtrPlotFormatter(label_ids []string, values *byte, count int32, x, y, radius float64, fmt Formatter) { label_idsArg, label_idsFin := internal.WrapStringList[C.char](label_ids) valuesArg, valuesFin := internal.WrapNumberPtr[C.ImU8, byte](values) fmtArg, fmtFin := fmt.C() @@ -9226,7 +9226,7 @@ func PlotPieChartU8PtrPlotFormatter(label_ids []string, values *byte, count int3 fmtFin() } -func PlotPieChartU8PtrStr(label_ids []string, values *byte, count int32, x float64, y float64, radius float64) { +func PlotPieChartU8PtrStr(label_ids []string, values *byte, count int32, x, y, radius float64) { label_idsArg, label_idsFin := internal.WrapStringList[C.char](label_ids) valuesArg, valuesFin := internal.WrapNumberPtr[C.ImU8, byte](values) C.wrap_ImPlot_PlotPieChart_U8PtrStr(label_idsArg, valuesArg, C.int(count), C.double(x), C.double(y), C.double(radius)) @@ -9235,7 +9235,7 @@ func PlotPieChartU8PtrStr(label_ids []string, values *byte, count int32, x float valuesFin() } -func PlotPieChartdoublePtrPlotFormatter(label_ids []string, values *float64, count int32, x float64, y float64, radius float64, fmt Formatter) { +func PlotPieChartdoublePtrPlotFormatter(label_ids []string, values *float64, count int32, x, y, radius float64, fmt Formatter) { label_idsArg, label_idsFin := internal.WrapStringList[C.char](label_ids) valuesArg, valuesFin := internal.WrapNumberPtr[C.double, float64](values) fmtArg, fmtFin := fmt.C() @@ -9246,7 +9246,7 @@ func PlotPieChartdoublePtrPlotFormatter(label_ids []string, values *float64, cou fmtFin() } -func PlotPieChartdoublePtrStr(label_ids []string, values *float64, count int32, x float64, y float64, radius float64) { +func PlotPieChartdoublePtrStr(label_ids []string, values *float64, count int32, x, y, radius float64) { label_idsArg, label_idsFin := internal.WrapStringList[C.char](label_ids) valuesArg, valuesFin := internal.WrapNumberPtr[C.double, float64](values) C.wrap_ImPlot_PlotPieChart_doublePtrStr(label_idsArg, valuesArg, C.int(count), C.double(x), C.double(y), C.double(radius)) @@ -9255,7 +9255,7 @@ func PlotPieChartdoublePtrStr(label_ids []string, values *float64, count int32, valuesFin() } -func PlotScatterFloatPtrFloatPtr(label_id string, xs *float32, ys *float32, count int32) { +func PlotScatterFloatPtrFloatPtr(label_id string, xs, ys *float32, count int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.float, float32](xs) ysArg, ysFin := internal.WrapNumberPtr[C.float, float32](ys) @@ -9284,7 +9284,7 @@ func PlotScatterS16PtrInt(label_id string, values *int16, count int32) { valuesFin() } -func PlotScatterS16PtrS16Ptr(label_id string, xs *int16, ys *int16, count int32) { +func PlotScatterS16PtrS16Ptr(label_id string, xs, ys *int16, count int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImS16, int16](xs) ysArg, ysFin := internal.WrapNumberPtr[C.ImS16, int16](ys) @@ -9304,7 +9304,7 @@ func PlotScatterS32PtrInt(label_id string, values *int32, count int32) { valuesFin() } -func PlotScatterS32PtrS32Ptr(label_id string, xs *int32, ys *int32, count int32) { +func PlotScatterS32PtrS32Ptr(label_id string, xs, ys *int32, count int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImS32, int32](xs) ysArg, ysFin := internal.WrapNumberPtr[C.ImS32, int32](ys) @@ -9324,7 +9324,7 @@ func PlotScatterS64PtrInt(label_id string, values *int64, count int32) { valuesFin() } -func PlotScatterS64PtrS64Ptr(label_id string, xs *int64, ys *int64, count int32) { +func PlotScatterS64PtrS64Ptr(label_id string, xs, ys *int64, count int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImS64, int64](xs) ysArg, ysFin := internal.WrapNumberPtr[C.ImS64, int64](ys) @@ -9344,7 +9344,7 @@ func PlotScatterS8PtrInt(label_id string, values *int8, count int32) { valuesFin() } -func PlotScatterS8PtrS8Ptr(label_id string, xs *int8, ys *int8, count int32) { +func PlotScatterS8PtrS8Ptr(label_id string, xs, ys *int8, count int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImS8, int8](xs) ysArg, ysFin := internal.WrapNumberPtr[C.ImS8, int8](ys) @@ -9364,7 +9364,7 @@ func PlotScatterU16PtrInt(label_id string, values *uint16, count int32) { valuesFin() } -func PlotScatterU16PtrU16Ptr(label_id string, xs *uint16, ys *uint16, count int32) { +func PlotScatterU16PtrU16Ptr(label_id string, xs, ys *uint16, count int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImU16, uint16](xs) ysArg, ysFin := internal.WrapNumberPtr[C.ImU16, uint16](ys) @@ -9384,7 +9384,7 @@ func PlotScatterU32PtrInt(label_id string, values *uint32, count int32) { valuesFin() } -func PlotScatterU32PtrU32Ptr(label_id string, xs *uint32, ys *uint32, count int32) { +func PlotScatterU32PtrU32Ptr(label_id string, xs, ys *uint32, count int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImU32, uint32](xs) ysArg, ysFin := internal.WrapNumberPtr[C.ImU32, uint32](ys) @@ -9404,7 +9404,7 @@ func PlotScatterU64PtrInt(label_id string, values *uint64, count int32) { valuesFin() } -func PlotScatterU64PtrU64Ptr(label_id string, xs *uint64, ys *uint64, count int32) { +func PlotScatterU64PtrU64Ptr(label_id string, xs, ys *uint64, count int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImU64, uint64](xs) ysArg, ysFin := internal.WrapNumberPtr[C.ImU64, uint64](ys) @@ -9424,7 +9424,7 @@ func PlotScatterU8PtrInt(label_id string, values *byte, count int32) { valuesFin() } -func PlotScatterU8PtrU8Ptr(label_id string, xs *byte, ys *byte, count int32) { +func PlotScatterU8PtrU8Ptr(label_id string, xs, ys *byte, count int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImU8, byte](xs) ysArg, ysFin := internal.WrapNumberPtr[C.ImU8, byte](ys) @@ -9444,7 +9444,7 @@ func PlotScatterdoublePtrInt(label_id string, values *float64, count int32) { valuesFin() } -func PlotScatterdoublePtrdoublePtr(label_id string, xs *float64, ys *float64, count int32) { +func PlotScatterdoublePtrdoublePtr(label_id string, xs, ys *float64, count int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.double, float64](xs) ysArg, ysFin := internal.WrapNumberPtr[C.double, float64](ys) @@ -9455,7 +9455,7 @@ func PlotScatterdoublePtrdoublePtr(label_id string, xs *float64, ys *float64, co ysFin() } -func PlotShadedFloatPtrFloatPtrFloatPtr(label_id string, xs *float32, ys1 *float32, ys2 *float32, count int32) { +func PlotShadedFloatPtrFloatPtrFloatPtr(label_id string, xs, ys1, ys2 *float32, count int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.float, float32](xs) ys1Arg, ys1Fin := internal.WrapNumberPtr[C.float, float32](ys1) @@ -9468,7 +9468,7 @@ func PlotShadedFloatPtrFloatPtrFloatPtr(label_id string, xs *float32, ys1 *float ys2Fin() } -func PlotShadedFloatPtrFloatPtrInt(label_id string, xs *float32, ys *float32, count int32) { +func PlotShadedFloatPtrFloatPtrInt(label_id string, xs, ys *float32, count int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.float, float32](xs) ysArg, ysFin := internal.WrapNumberPtr[C.float, float32](ys) @@ -9497,7 +9497,7 @@ func PlotShadedS16PtrInt(label_id string, values *int16, count int32) { valuesFin() } -func PlotShadedS16PtrS16PtrInt(label_id string, xs *int16, ys *int16, count int32) { +func PlotShadedS16PtrS16PtrInt(label_id string, xs, ys *int16, count int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImS16, int16](xs) ysArg, ysFin := internal.WrapNumberPtr[C.ImS16, int16](ys) @@ -9508,7 +9508,7 @@ func PlotShadedS16PtrS16PtrInt(label_id string, xs *int16, ys *int16, count int3 ysFin() } -func PlotShadedS16PtrS16PtrS16Ptr(label_id string, xs *int16, ys1 *int16, ys2 *int16, count int32) { +func PlotShadedS16PtrS16PtrS16Ptr(label_id string, xs, ys1, ys2 *int16, count int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImS16, int16](xs) ys1Arg, ys1Fin := internal.WrapNumberPtr[C.ImS16, int16](ys1) @@ -9530,7 +9530,7 @@ func PlotShadedS32PtrInt(label_id string, values *int32, count int32) { valuesFin() } -func PlotShadedS32PtrS32PtrInt(label_id string, xs *int32, ys *int32, count int32) { +func PlotShadedS32PtrS32PtrInt(label_id string, xs, ys *int32, count int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImS32, int32](xs) ysArg, ysFin := internal.WrapNumberPtr[C.ImS32, int32](ys) @@ -9541,7 +9541,7 @@ func PlotShadedS32PtrS32PtrInt(label_id string, xs *int32, ys *int32, count int3 ysFin() } -func PlotShadedS32PtrS32PtrS32Ptr(label_id string, xs *int32, ys1 *int32, ys2 *int32, count int32) { +func PlotShadedS32PtrS32PtrS32Ptr(label_id string, xs, ys1, ys2 *int32, count int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImS32, int32](xs) ys1Arg, ys1Fin := internal.WrapNumberPtr[C.ImS32, int32](ys1) @@ -9563,7 +9563,7 @@ func PlotShadedS64PtrInt(label_id string, values *int64, count int32) { valuesFin() } -func PlotShadedS64PtrS64PtrInt(label_id string, xs *int64, ys *int64, count int32) { +func PlotShadedS64PtrS64PtrInt(label_id string, xs, ys *int64, count int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImS64, int64](xs) ysArg, ysFin := internal.WrapNumberPtr[C.ImS64, int64](ys) @@ -9574,7 +9574,7 @@ func PlotShadedS64PtrS64PtrInt(label_id string, xs *int64, ys *int64, count int3 ysFin() } -func PlotShadedS64PtrS64PtrS64Ptr(label_id string, xs *int64, ys1 *int64, ys2 *int64, count int32) { +func PlotShadedS64PtrS64PtrS64Ptr(label_id string, xs, ys1, ys2 *int64, count int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImS64, int64](xs) ys1Arg, ys1Fin := internal.WrapNumberPtr[C.ImS64, int64](ys1) @@ -9596,7 +9596,7 @@ func PlotShadedS8PtrInt(label_id string, values *int8, count int32) { valuesFin() } -func PlotShadedS8PtrS8PtrInt(label_id string, xs *int8, ys *int8, count int32) { +func PlotShadedS8PtrS8PtrInt(label_id string, xs, ys *int8, count int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImS8, int8](xs) ysArg, ysFin := internal.WrapNumberPtr[C.ImS8, int8](ys) @@ -9607,7 +9607,7 @@ func PlotShadedS8PtrS8PtrInt(label_id string, xs *int8, ys *int8, count int32) { ysFin() } -func PlotShadedS8PtrS8PtrS8Ptr(label_id string, xs *int8, ys1 *int8, ys2 *int8, count int32) { +func PlotShadedS8PtrS8PtrS8Ptr(label_id string, xs, ys1, ys2 *int8, count int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImS8, int8](xs) ys1Arg, ys1Fin := internal.WrapNumberPtr[C.ImS8, int8](ys1) @@ -9629,7 +9629,7 @@ func PlotShadedU16PtrInt(label_id string, values *uint16, count int32) { valuesFin() } -func PlotShadedU16PtrU16PtrInt(label_id string, xs *uint16, ys *uint16, count int32) { +func PlotShadedU16PtrU16PtrInt(label_id string, xs, ys *uint16, count int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImU16, uint16](xs) ysArg, ysFin := internal.WrapNumberPtr[C.ImU16, uint16](ys) @@ -9640,7 +9640,7 @@ func PlotShadedU16PtrU16PtrInt(label_id string, xs *uint16, ys *uint16, count in ysFin() } -func PlotShadedU16PtrU16PtrU16Ptr(label_id string, xs *uint16, ys1 *uint16, ys2 *uint16, count int32) { +func PlotShadedU16PtrU16PtrU16Ptr(label_id string, xs, ys1, ys2 *uint16, count int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImU16, uint16](xs) ys1Arg, ys1Fin := internal.WrapNumberPtr[C.ImU16, uint16](ys1) @@ -9662,7 +9662,7 @@ func PlotShadedU32PtrInt(label_id string, values *uint32, count int32) { valuesFin() } -func PlotShadedU32PtrU32PtrInt(label_id string, xs *uint32, ys *uint32, count int32) { +func PlotShadedU32PtrU32PtrInt(label_id string, xs, ys *uint32, count int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImU32, uint32](xs) ysArg, ysFin := internal.WrapNumberPtr[C.ImU32, uint32](ys) @@ -9673,7 +9673,7 @@ func PlotShadedU32PtrU32PtrInt(label_id string, xs *uint32, ys *uint32, count in ysFin() } -func PlotShadedU32PtrU32PtrU32Ptr(label_id string, xs *uint32, ys1 *uint32, ys2 *uint32, count int32) { +func PlotShadedU32PtrU32PtrU32Ptr(label_id string, xs, ys1, ys2 *uint32, count int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImU32, uint32](xs) ys1Arg, ys1Fin := internal.WrapNumberPtr[C.ImU32, uint32](ys1) @@ -9695,7 +9695,7 @@ func PlotShadedU64PtrInt(label_id string, values *uint64, count int32) { valuesFin() } -func PlotShadedU64PtrU64PtrInt(label_id string, xs *uint64, ys *uint64, count int32) { +func PlotShadedU64PtrU64PtrInt(label_id string, xs, ys *uint64, count int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImU64, uint64](xs) ysArg, ysFin := internal.WrapNumberPtr[C.ImU64, uint64](ys) @@ -9706,7 +9706,7 @@ func PlotShadedU64PtrU64PtrInt(label_id string, xs *uint64, ys *uint64, count in ysFin() } -func PlotShadedU64PtrU64PtrU64Ptr(label_id string, xs *uint64, ys1 *uint64, ys2 *uint64, count int32) { +func PlotShadedU64PtrU64PtrU64Ptr(label_id string, xs, ys1, ys2 *uint64, count int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImU64, uint64](xs) ys1Arg, ys1Fin := internal.WrapNumberPtr[C.ImU64, uint64](ys1) @@ -9728,7 +9728,7 @@ func PlotShadedU8PtrInt(label_id string, values *byte, count int32) { valuesFin() } -func PlotShadedU8PtrU8PtrInt(label_id string, xs *byte, ys *byte, count int32) { +func PlotShadedU8PtrU8PtrInt(label_id string, xs, ys *byte, count int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImU8, byte](xs) ysArg, ysFin := internal.WrapNumberPtr[C.ImU8, byte](ys) @@ -9739,7 +9739,7 @@ func PlotShadedU8PtrU8PtrInt(label_id string, xs *byte, ys *byte, count int32) { ysFin() } -func PlotShadedU8PtrU8PtrU8Ptr(label_id string, xs *byte, ys1 *byte, ys2 *byte, count int32) { +func PlotShadedU8PtrU8PtrU8Ptr(label_id string, xs, ys1, ys2 *byte, count int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImU8, byte](xs) ys1Arg, ys1Fin := internal.WrapNumberPtr[C.ImU8, byte](ys1) @@ -9761,7 +9761,7 @@ func PlotShadeddoublePtrInt(label_id string, values *float64, count int32) { valuesFin() } -func PlotShadeddoublePtrdoublePtrInt(label_id string, xs *float64, ys *float64, count int32) { +func PlotShadeddoublePtrdoublePtrInt(label_id string, xs, ys *float64, count int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.double, float64](xs) ysArg, ysFin := internal.WrapNumberPtr[C.double, float64](ys) @@ -9772,7 +9772,7 @@ func PlotShadeddoublePtrdoublePtrInt(label_id string, xs *float64, ys *float64, ysFin() } -func PlotShadeddoublePtrdoublePtrdoublePtr(label_id string, xs *float64, ys1 *float64, ys2 *float64, count int32) { +func PlotShadeddoublePtrdoublePtrdoublePtr(label_id string, xs, ys1, ys2 *float64, count int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.double, float64](xs) ys1Arg, ys1Fin := internal.WrapNumberPtr[C.double, float64](ys1) @@ -9785,7 +9785,7 @@ func PlotShadeddoublePtrdoublePtrdoublePtr(label_id string, xs *float64, ys1 *fl ys2Fin() } -func PlotStairsFloatPtrFloatPtr(label_id string, xs *float32, ys *float32, count int32) { +func PlotStairsFloatPtrFloatPtr(label_id string, xs, ys *float32, count int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.float, float32](xs) ysArg, ysFin := internal.WrapNumberPtr[C.float, float32](ys) @@ -9814,7 +9814,7 @@ func PlotStairsS16PtrInt(label_id string, values *int16, count int32) { valuesFin() } -func PlotStairsS16PtrS16Ptr(label_id string, xs *int16, ys *int16, count int32) { +func PlotStairsS16PtrS16Ptr(label_id string, xs, ys *int16, count int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImS16, int16](xs) ysArg, ysFin := internal.WrapNumberPtr[C.ImS16, int16](ys) @@ -9834,7 +9834,7 @@ func PlotStairsS32PtrInt(label_id string, values *int32, count int32) { valuesFin() } -func PlotStairsS32PtrS32Ptr(label_id string, xs *int32, ys *int32, count int32) { +func PlotStairsS32PtrS32Ptr(label_id string, xs, ys *int32, count int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImS32, int32](xs) ysArg, ysFin := internal.WrapNumberPtr[C.ImS32, int32](ys) @@ -9854,7 +9854,7 @@ func PlotStairsS64PtrInt(label_id string, values *int64, count int32) { valuesFin() } -func PlotStairsS64PtrS64Ptr(label_id string, xs *int64, ys *int64, count int32) { +func PlotStairsS64PtrS64Ptr(label_id string, xs, ys *int64, count int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImS64, int64](xs) ysArg, ysFin := internal.WrapNumberPtr[C.ImS64, int64](ys) @@ -9874,7 +9874,7 @@ func PlotStairsS8PtrInt(label_id string, values *int8, count int32) { valuesFin() } -func PlotStairsS8PtrS8Ptr(label_id string, xs *int8, ys *int8, count int32) { +func PlotStairsS8PtrS8Ptr(label_id string, xs, ys *int8, count int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImS8, int8](xs) ysArg, ysFin := internal.WrapNumberPtr[C.ImS8, int8](ys) @@ -9894,7 +9894,7 @@ func PlotStairsU16PtrInt(label_id string, values *uint16, count int32) { valuesFin() } -func PlotStairsU16PtrU16Ptr(label_id string, xs *uint16, ys *uint16, count int32) { +func PlotStairsU16PtrU16Ptr(label_id string, xs, ys *uint16, count int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImU16, uint16](xs) ysArg, ysFin := internal.WrapNumberPtr[C.ImU16, uint16](ys) @@ -9914,7 +9914,7 @@ func PlotStairsU32PtrInt(label_id string, values *uint32, count int32) { valuesFin() } -func PlotStairsU32PtrU32Ptr(label_id string, xs *uint32, ys *uint32, count int32) { +func PlotStairsU32PtrU32Ptr(label_id string, xs, ys *uint32, count int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImU32, uint32](xs) ysArg, ysFin := internal.WrapNumberPtr[C.ImU32, uint32](ys) @@ -9934,7 +9934,7 @@ func PlotStairsU64PtrInt(label_id string, values *uint64, count int32) { valuesFin() } -func PlotStairsU64PtrU64Ptr(label_id string, xs *uint64, ys *uint64, count int32) { +func PlotStairsU64PtrU64Ptr(label_id string, xs, ys *uint64, count int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImU64, uint64](xs) ysArg, ysFin := internal.WrapNumberPtr[C.ImU64, uint64](ys) @@ -9954,7 +9954,7 @@ func PlotStairsU8PtrInt(label_id string, values *byte, count int32) { valuesFin() } -func PlotStairsU8PtrU8Ptr(label_id string, xs *byte, ys *byte, count int32) { +func PlotStairsU8PtrU8Ptr(label_id string, xs, ys *byte, count int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImU8, byte](xs) ysArg, ysFin := internal.WrapNumberPtr[C.ImU8, byte](ys) @@ -9974,7 +9974,7 @@ func PlotStairsdoublePtrInt(label_id string, values *float64, count int32) { valuesFin() } -func PlotStairsdoublePtrdoublePtr(label_id string, xs *float64, ys *float64, count int32) { +func PlotStairsdoublePtrdoublePtr(label_id string, xs, ys *float64, count int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.double, float64](xs) ysArg, ysFin := internal.WrapNumberPtr[C.double, float64](ys) @@ -9985,7 +9985,7 @@ func PlotStairsdoublePtrdoublePtr(label_id string, xs *float64, ys *float64, cou ysFin() } -func PlotStemsFloatPtrFloatPtr(label_id string, xs *float32, ys *float32, count int32) { +func PlotStemsFloatPtrFloatPtr(label_id string, xs, ys *float32, count int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.float, float32](xs) ysArg, ysFin := internal.WrapNumberPtr[C.float, float32](ys) @@ -10014,7 +10014,7 @@ func PlotStemsS16PtrInt(label_id string, values *int16, count int32) { valuesFin() } -func PlotStemsS16PtrS16Ptr(label_id string, xs *int16, ys *int16, count int32) { +func PlotStemsS16PtrS16Ptr(label_id string, xs, ys *int16, count int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImS16, int16](xs) ysArg, ysFin := internal.WrapNumberPtr[C.ImS16, int16](ys) @@ -10034,7 +10034,7 @@ func PlotStemsS32PtrInt(label_id string, values *int32, count int32) { valuesFin() } -func PlotStemsS32PtrS32Ptr(label_id string, xs *int32, ys *int32, count int32) { +func PlotStemsS32PtrS32Ptr(label_id string, xs, ys *int32, count int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImS32, int32](xs) ysArg, ysFin := internal.WrapNumberPtr[C.ImS32, int32](ys) @@ -10054,7 +10054,7 @@ func PlotStemsS64PtrInt(label_id string, values *int64, count int32) { valuesFin() } -func PlotStemsS64PtrS64Ptr(label_id string, xs *int64, ys *int64, count int32) { +func PlotStemsS64PtrS64Ptr(label_id string, xs, ys *int64, count int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImS64, int64](xs) ysArg, ysFin := internal.WrapNumberPtr[C.ImS64, int64](ys) @@ -10074,7 +10074,7 @@ func PlotStemsS8PtrInt(label_id string, values *int8, count int32) { valuesFin() } -func PlotStemsS8PtrS8Ptr(label_id string, xs *int8, ys *int8, count int32) { +func PlotStemsS8PtrS8Ptr(label_id string, xs, ys *int8, count int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImS8, int8](xs) ysArg, ysFin := internal.WrapNumberPtr[C.ImS8, int8](ys) @@ -10094,7 +10094,7 @@ func PlotStemsU16PtrInt(label_id string, values *uint16, count int32) { valuesFin() } -func PlotStemsU16PtrU16Ptr(label_id string, xs *uint16, ys *uint16, count int32) { +func PlotStemsU16PtrU16Ptr(label_id string, xs, ys *uint16, count int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImU16, uint16](xs) ysArg, ysFin := internal.WrapNumberPtr[C.ImU16, uint16](ys) @@ -10114,7 +10114,7 @@ func PlotStemsU32PtrInt(label_id string, values *uint32, count int32) { valuesFin() } -func PlotStemsU32PtrU32Ptr(label_id string, xs *uint32, ys *uint32, count int32) { +func PlotStemsU32PtrU32Ptr(label_id string, xs, ys *uint32, count int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImU32, uint32](xs) ysArg, ysFin := internal.WrapNumberPtr[C.ImU32, uint32](ys) @@ -10134,7 +10134,7 @@ func PlotStemsU64PtrInt(label_id string, values *uint64, count int32) { valuesFin() } -func PlotStemsU64PtrU64Ptr(label_id string, xs *uint64, ys *uint64, count int32) { +func PlotStemsU64PtrU64Ptr(label_id string, xs, ys *uint64, count int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImU64, uint64](xs) ysArg, ysFin := internal.WrapNumberPtr[C.ImU64, uint64](ys) @@ -10154,7 +10154,7 @@ func PlotStemsU8PtrInt(label_id string, values *byte, count int32) { valuesFin() } -func PlotStemsU8PtrU8Ptr(label_id string, xs *byte, ys *byte, count int32) { +func PlotStemsU8PtrU8Ptr(label_id string, xs, ys *byte, count int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.ImU8, byte](xs) ysArg, ysFin := internal.WrapNumberPtr[C.ImU8, byte](ys) @@ -10174,7 +10174,7 @@ func PlotStemsdoublePtrInt(label_id string, values *float64, count int32) { valuesFin() } -func PlotStemsdoublePtrdoublePtr(label_id string, xs *float64, ys *float64, count int32) { +func PlotStemsdoublePtrdoublePtr(label_id string, xs, ys *float64, count int32) { label_idArg, label_idFin := internal.WrapString[C.char](label_id) xsArg, xsFin := internal.WrapNumberPtr[C.double, float64](xs) ysArg, ysFin := internal.WrapNumberPtr[C.double, float64](ys) @@ -10185,7 +10185,7 @@ func PlotStemsdoublePtrdoublePtr(label_id string, xs *float64, ys *float64, coun ysFin() } -func PlotText(text string, x float64, y float64) { +func PlotText(text string, x, y float64) { textArg, textFin := internal.WrapString[C.char](text) C.wrap_ImPlot_PlotText(textArg, C.double(x), C.double(y)) @@ -10203,7 +10203,7 @@ func PlotToPixelsPlotPoInt(plt PlotPoint) imgui.Vec2 { return *pOut } -func PlotToPixelsdouble(x float64, y float64) imgui.Vec2 { +func PlotToPixelsdouble(x, y float64) imgui.Vec2 { pOut := new(imgui.Vec2) pOutArg, pOutFin := internal.Wrap(pOut) @@ -10250,11 +10250,11 @@ func SampleColormap(t float32) imgui.Vec4 { return *pOut } -func SetNextAxesLimits(x_min float64, x_max float64, y_min float64, y_max float64) { +func SetNextAxesLimits(x_min, x_max, y_min, y_max float64) { C.wrap_ImPlot_SetNextAxesLimits(C.double(x_min), C.double(x_max), C.double(y_min), C.double(y_max)) } -func SetNextAxisLimits(axis AxisEnum, v_min float64, v_max float64) { +func SetNextAxisLimits(axis AxisEnum, v_min, v_max float64) { C.wrap_ImPlot_SetNextAxisLimits(C.ImAxis(axis), C.double(v_min), C.double(v_max)) } @@ -10274,7 +10274,7 @@ func SetNextMarkerStyle() { C.wrap_ImPlot_SetNextMarkerStyle() } -func SetupAxes(x_label string, y_label string) { +func SetupAxes(x_label, y_label string) { x_labelArg, x_labelFin := internal.WrapString[C.char](x_label) y_labelArg, y_labelFin := internal.WrapString[C.char](y_label) C.wrap_ImPlot_SetupAxes(x_labelArg, y_labelArg) @@ -10283,7 +10283,7 @@ func SetupAxes(x_label string, y_label string) { y_labelFin() } -func SetupAxesLimits(x_min float64, x_max float64, y_min float64, y_max float64) { +func SetupAxesLimits(x_min, x_max, y_min, y_max float64) { C.wrap_ImPlot_SetupAxesLimits(C.double(x_min), C.double(x_max), C.double(y_min), C.double(y_max)) } @@ -10298,11 +10298,11 @@ func SetupAxisFormatPlotFormatter(axis AxisEnum, formatter Formatter) { formatterFin() } -func SetupAxisLimits(axis AxisEnum, v_min float64, v_max float64) { +func SetupAxisLimits(axis AxisEnum, v_min, v_max float64) { C.wrap_ImPlot_SetupAxisLimits(C.ImAxis(axis), C.double(v_min), C.double(v_max)) } -func SetupAxisScalePlotTransform(axis AxisEnum, forward Transform, inverse Transform) { +func SetupAxisScalePlotTransform(axis AxisEnum, forward, inverse Transform) { forwardArg, forwardFin := forward.C() inverseArg, inverseFin := inverse.C() C.wrap_ImPlot_SetupAxisScale_PlotTransform(C.ImAxis(axis), internal.ReinterpretCast[C.ImPlotTransform](forwardArg), internal.ReinterpretCast[C.ImPlotTransform](inverseArg)) @@ -10311,7 +10311,7 @@ func SetupAxisScalePlotTransform(axis AxisEnum, forward Transform, inverse Trans inverseFin() } -func SetupAxisTicksdouble(axis AxisEnum, v_min float64, v_max float64, n_ticks int32) { +func SetupAxisTicksdouble(axis AxisEnum, v_min, v_max float64, n_ticks int32) { C.wrap_ImPlot_SetupAxisTicks_double(C.ImAxis(axis), C.double(v_min), C.double(v_max), C.int(n_ticks)) } @@ -10337,7 +10337,7 @@ func ShowAltLegend(title_id string) { title_idFin() } -func ShowAxisContextMenu(axis *Axis, equal_axis *Axis) { +func ShowAxisContextMenu(axis, equal_axis *Axis) { axisArg, axisFin := axis.Handle() equal_axisArg, equal_axisFin := equal_axis.Handle() C.wrap_ImPlot_ShowAxisContextMenu(internal.ReinterpretCast[*C.ImPlotAxis](axisArg), internal.ReinterpretCast[*C.ImPlotAxis](equal_axisArg)) From 06300b2b67fb13e3c937a36f93978674649fd093 Mon Sep 17 00:00:00 2001 From: gucio321 <73652197+gucio321@users.noreply.github.com> Date: Sun, 22 Dec 2024 14:32:38 +0100 Subject: [PATCH 3/7] codegen: go mod tidy --- cmd/codegen/go.mod | 7 ++++--- cmd/codegen/go.sum | 16 +++++++++++++--- 2 files changed, 17 insertions(+), 6 deletions(-) diff --git a/cmd/codegen/go.mod b/cmd/codegen/go.mod index 5edf0e526..13c9a69b8 100644 --- a/cmd/codegen/go.mod +++ b/cmd/codegen/go.mod @@ -4,14 +4,15 @@ go 1.22 toolchain go1.23.1 -require github.com/kpango/glg v1.6.15 +require ( + github.com/kpango/glg v1.6.15 + mvdan.cc/gofumpt v0.7.0 +) require ( github.com/goccy/go-json v0.10.2 // indirect github.com/google/go-cmp v0.6.0 // indirect github.com/kpango/fastime v1.1.9 // indirect golang.org/x/mod v0.14.0 // indirect - golang.org/x/sync v0.6.0 // indirect golang.org/x/tools v0.17.0 // indirect - mvdan.cc/gofumpt v0.7.0 // indirect ) diff --git a/cmd/codegen/go.sum b/cmd/codegen/go.sum index f53ffd012..b953aa59e 100644 --- a/cmd/codegen/go.sum +++ b/cmd/codegen/go.sum @@ -1,3 +1,5 @@ +github.com/go-quicktest/qt v1.101.0 h1:O1K29Txy5P2OK0dGo59b7b0LR6wKfIhttaAhHUyn7eI= +github.com/go-quicktest/qt v1.101.0/go.mod h1:14Bz/f7NwaXPtdYEgzsx46kqSxVwTbzVZsDC26tQJow= github.com/goccy/go-json v0.10.2 h1:CrxCmQqYDkv1z7lO7Wbh2HN93uovUHgrECaO5ZrCXAU= github.com/goccy/go-json v0.10.2/go.mod h1:6MelG93GURQebXPDq3khkgXZkazVtN9CRI+MGFi0w8I= github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI= @@ -6,16 +8,24 @@ github.com/kpango/fastime v1.1.9 h1:xVQHcqyPt5M69DyFH7g1EPRns1YQNap9d5eLhl/Jy84= github.com/kpango/fastime v1.1.9/go.mod h1:vyD7FnUn08zxY4b/QFBZVG+9EWMYsNl+QF0uE46urD4= github.com/kpango/glg v1.6.15 h1:nw0xSxpSyrDIWHeb3dvnE08PW+SCbK+aYFETT75IeLA= github.com/kpango/glg v1.6.15/go.mod h1:cmsc7Yeu8AS3wHLmN7bhwENXOpxfq+QoqxCIk2FneRk= +github.com/kr/pretty v0.3.1 h1:flRD4NNwYAUpkphVc1HcthR4KEIFJ65n8Mw5qdRn3LE= +github.com/kr/pretty v0.3.1/go.mod h1:hoEshYVHaxMs3cyo3Yncou5ZscifuDolrwPKZanG3xk= +github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY= +github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE= +github.com/rogpeppe/go-internal v1.12.0 h1:exVL4IDcn6na9z1rAb56Vxr+CgyK3nn3O+epU5NdKM8= +github.com/rogpeppe/go-internal v1.12.0/go.mod h1:E+RYuTGaKKdloAfM02xzb0FW3Paa99yedzYV+kq4uf4= github.com/sirupsen/logrus v1.9.0 h1:trlNQbNUG3OdDrDil03MCb1H2o9nJ1x4/5LYw7byDE0= +github.com/sirupsen/logrus v1.9.0/go.mod h1:naHLuLoDiP4jHNo9R0sCBMtWGeIprob74mVsIT4qYEQ= go.uber.org/atomic v1.7.0 h1:ADUqmZGgLDDfbSL9ZmPxKTybcoEYHgpYfELNoN+7hsw= +go.uber.org/atomic v1.7.0/go.mod h1:fEN4uk6kAWBTFdckzkM89CLk9XfWZrxpCo0nPH17wJc= go.uber.org/multierr v1.6.0 h1:y6IPFStTAIT5Ytl7/XYmHvzXQ7S3g/IeZW9hyZ5thw4= +go.uber.org/multierr v1.6.0/go.mod h1:cdWPpRnG4AhwMwsgIHip0KRBQjJy5kYEpYjJxpXp9iU= go.uber.org/zap v1.24.0 h1:FiJd5l1UOLj0wCgbSE0rwwXHzEdAZS6hiiSnxJN/D60= +go.uber.org/zap v1.24.0/go.mod h1:2kMP+WWQ8aoFoedH3T2sq6iJ2yDWpHbP0f6MQbS9Gkg= golang.org/x/mod v0.14.0 h1:dGoOF9QVLYng8IHTm7BAyWqCqSheQ5pYWGhzW00YJr0= golang.org/x/mod v0.14.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= -golang.org/x/sync v0.6.0 h1:5BMeUDZ7vkXGfEr1x9B4bRcTH4lpkTkpdh0T/J+qjbQ= -golang.org/x/sync v0.6.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk= -golang.org/x/sys v0.0.0-20220715151400-c0bba94af5f8 h1:0A+M6Uqn+Eje4kHMK80dtF3JCXC4ykBgQG4Fe06QRhQ= golang.org/x/sys v0.16.0 h1:xWw16ngr6ZMtmxDyKyIgsE93KNKz5HKmMa3b8ALHidU= +golang.org/x/sys v0.16.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= golang.org/x/tools v0.17.0 h1:FvmRgNOcs3kOa+T20R1uhfP9F6HgG2mfxDv1vrx1Htc= golang.org/x/tools v0.17.0/go.mod h1:xsh6VxdV005rRVaS6SSAf9oiAqljS7UZUacMZ8Bnsps= mvdan.cc/gofumpt v0.7.0 h1:bg91ttqXmi9y2xawvkuMXyvAA/1ZGJqYAEGjXuP0JXU= From 58b717e1d654b8db1122401bed55ab7ff89f380e Mon Sep 17 00:00:00 2001 From: gucio321 <73652197+gucio321@users.noreply.github.com> Date: Sun, 22 Dec 2024 14:42:09 +0100 Subject: [PATCH 4/7] gengo_*: use FormatGo --- cmd/codegen/gengo_callbacks.go | 2 +- cmd/codegen/gengo_enums.go | 2 +- cmd/codegen/gengo_typedefs.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cmd/codegen/gengo_callbacks.go b/cmd/codegen/gengo_callbacks.go index cb7edc63f..2990ea016 100644 --- a/cmd/codegen/gengo_callbacks.go +++ b/cmd/codegen/gengo_callbacks.go @@ -470,7 +470,7 @@ import "unsafe" fmt.Fprintf(result, g.goSb.String()) - if err := os.WriteFile("callbacks.go", []byte(result.String()), 0644); err != nil { + if err := os.WriteFile("callbacks.go", []byte(FormatGo(result.String(), g.ctx)), 0644); err != nil { return fmt.Errorf("cannot write typedefs.go: %w", err) } diff --git a/cmd/codegen/gengo_enums.go b/cmd/codegen/gengo_enums.go index a26bced1d..3a43502ef 100644 --- a/cmd/codegen/gengo_enums.go +++ b/cmd/codegen/gengo_enums.go @@ -42,7 +42,7 @@ func generateGoEnums(prefix string, enums []EnumDef, ctx *Context) ([]CIdentifie defer enumFile.Close() - _, _ = enumFile.WriteString(sb.String()) + _, _ = enumFile.WriteString(FormatGo(sb.String(), ctx)) return enumNames, nil } diff --git a/cmd/codegen/gengo_typedefs.go b/cmd/codegen/gengo_typedefs.go index 69df2a228..8b5db1291 100644 --- a/cmd/codegen/gengo_typedefs.go +++ b/cmd/codegen/gengo_typedefs.go @@ -422,7 +422,7 @@ func (g *typedefsGenerator) saveToDisk() error { } #endif`) - if err := os.WriteFile("typedefs.go", []byte(g.GoSb.String()), 0644); err != nil { + if err := os.WriteFile("typedefs.go", []byte(FormatGo(g.GoSb.String(), g.ctx)), 0644); err != nil { return fmt.Errorf("cannot write typedefs.go: %w", err) } From ac579e977385af22d65d959d841a7876f7c81612 Mon Sep 17 00:00:00 2001 From: gucio321 <73652197+gucio321@users.noreply.github.com> Date: Sun, 22 Dec 2024 14:42:22 +0100 Subject: [PATCH 5/7] makefile: entirely remove gofumpt --- Makefile | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Makefile b/Makefile index cfe57f9c0..be8a4cfa0 100644 --- a/Makefile +++ b/Makefile @@ -8,7 +8,6 @@ all: generate ## setup: prepare some dependencies .PHONY: setup setup: - go install mvdan.cc/gofumpt@latest cd cmd/codegen; \ go build -o ../../codegen . @@ -26,9 +25,6 @@ define generate cat templates/cflags.go |sed -e "s/^package.*/package $(2)/g" > $(2)/cflags.go cd $(2); \ ../codegen -preset ../cmd/codegen/cimgui-go-preset.json -p $(1) -pkg $(2) -i ../$(3) -d ../$(4) -e ../$(5) -t ../$(6) $(7) - go run mvdan.cc/gofumpt@latest -w $(2)/enums.go - go run mvdan.cc/gofumpt@latest -w $(2)/typedefs.go - go run mvdan.cc/gofumpt@latest -w $(2)/callbacks.go go run golang.org/x/tools/cmd/goimports@latest -w $(2)/funcs.go go run golang.org/x/tools/cmd/goimports@latest -w $(2)/enums.go go run golang.org/x/tools/cmd/goimports@latest -w $(2)/typedefs.go From 4dc7f75bca48efb3cac165904377b3127a0f515c Mon Sep 17 00:00:00 2001 From: gucio321 <73652197+gucio321@users.noreply.github.com> Date: Sun, 22 Dec 2024 14:42:35 +0100 Subject: [PATCH 6/7] regenerate cdoe --- imgui/callbacks.go | 70 +++++++++++++++++++++++----------------------- 1 file changed, 35 insertions(+), 35 deletions(-) diff --git a/imgui/callbacks.go b/imgui/callbacks.go index 2b8ca7333..643030767 100644 --- a/imgui/callbacks.go +++ b/imgui/callbacks.go @@ -1096,8 +1096,8 @@ func ClearMemAllocFuncPool() { } type ( - MemFreeFunc func(ptr unsafe.Pointer, user_data unsafe.Pointer) - cMemFreeFunc func(ptr unsafe.Pointer, user_data unsafe.Pointer) + MemFreeFunc func(ptr, user_data unsafe.Pointer) + cMemFreeFunc func(ptr, user_data unsafe.Pointer) ) func NewMemFreeFuncFromC(cvalue *C.ImGuiMemFreeFunc) *MemFreeFunc { @@ -1109,167 +1109,167 @@ func (c MemFreeFunc) C() (C.ImGuiMemFreeFunc, func()) { return poolMemFreeFunc.Allocate(c), func() {} } -func wrapMemFreeFunc(cb MemFreeFunc, ptr unsafe.Pointer, user_data unsafe.Pointer) { +func wrapMemFreeFunc(cb MemFreeFunc, ptr, user_data unsafe.Pointer) { cb(unsafe.Pointer(ptr), unsafe.Pointer(user_data)) } //export callbackMemFreeFunc0 -func callbackMemFreeFunc0(ptr unsafe.Pointer, user_data unsafe.Pointer) { +func callbackMemFreeFunc0(ptr, user_data unsafe.Pointer) { wrapMemFreeFunc(poolMemFreeFunc.Get(0), ptr, user_data) } //export callbackMemFreeFunc1 -func callbackMemFreeFunc1(ptr unsafe.Pointer, user_data unsafe.Pointer) { +func callbackMemFreeFunc1(ptr, user_data unsafe.Pointer) { wrapMemFreeFunc(poolMemFreeFunc.Get(1), ptr, user_data) } //export callbackMemFreeFunc2 -func callbackMemFreeFunc2(ptr unsafe.Pointer, user_data unsafe.Pointer) { +func callbackMemFreeFunc2(ptr, user_data unsafe.Pointer) { wrapMemFreeFunc(poolMemFreeFunc.Get(2), ptr, user_data) } //export callbackMemFreeFunc3 -func callbackMemFreeFunc3(ptr unsafe.Pointer, user_data unsafe.Pointer) { +func callbackMemFreeFunc3(ptr, user_data unsafe.Pointer) { wrapMemFreeFunc(poolMemFreeFunc.Get(3), ptr, user_data) } //export callbackMemFreeFunc4 -func callbackMemFreeFunc4(ptr unsafe.Pointer, user_data unsafe.Pointer) { +func callbackMemFreeFunc4(ptr, user_data unsafe.Pointer) { wrapMemFreeFunc(poolMemFreeFunc.Get(4), ptr, user_data) } //export callbackMemFreeFunc5 -func callbackMemFreeFunc5(ptr unsafe.Pointer, user_data unsafe.Pointer) { +func callbackMemFreeFunc5(ptr, user_data unsafe.Pointer) { wrapMemFreeFunc(poolMemFreeFunc.Get(5), ptr, user_data) } //export callbackMemFreeFunc6 -func callbackMemFreeFunc6(ptr unsafe.Pointer, user_data unsafe.Pointer) { +func callbackMemFreeFunc6(ptr, user_data unsafe.Pointer) { wrapMemFreeFunc(poolMemFreeFunc.Get(6), ptr, user_data) } //export callbackMemFreeFunc7 -func callbackMemFreeFunc7(ptr unsafe.Pointer, user_data unsafe.Pointer) { +func callbackMemFreeFunc7(ptr, user_data unsafe.Pointer) { wrapMemFreeFunc(poolMemFreeFunc.Get(7), ptr, user_data) } //export callbackMemFreeFunc8 -func callbackMemFreeFunc8(ptr unsafe.Pointer, user_data unsafe.Pointer) { +func callbackMemFreeFunc8(ptr, user_data unsafe.Pointer) { wrapMemFreeFunc(poolMemFreeFunc.Get(8), ptr, user_data) } //export callbackMemFreeFunc9 -func callbackMemFreeFunc9(ptr unsafe.Pointer, user_data unsafe.Pointer) { +func callbackMemFreeFunc9(ptr, user_data unsafe.Pointer) { wrapMemFreeFunc(poolMemFreeFunc.Get(9), ptr, user_data) } //export callbackMemFreeFunc10 -func callbackMemFreeFunc10(ptr unsafe.Pointer, user_data unsafe.Pointer) { +func callbackMemFreeFunc10(ptr, user_data unsafe.Pointer) { wrapMemFreeFunc(poolMemFreeFunc.Get(10), ptr, user_data) } //export callbackMemFreeFunc11 -func callbackMemFreeFunc11(ptr unsafe.Pointer, user_data unsafe.Pointer) { +func callbackMemFreeFunc11(ptr, user_data unsafe.Pointer) { wrapMemFreeFunc(poolMemFreeFunc.Get(11), ptr, user_data) } //export callbackMemFreeFunc12 -func callbackMemFreeFunc12(ptr unsafe.Pointer, user_data unsafe.Pointer) { +func callbackMemFreeFunc12(ptr, user_data unsafe.Pointer) { wrapMemFreeFunc(poolMemFreeFunc.Get(12), ptr, user_data) } //export callbackMemFreeFunc13 -func callbackMemFreeFunc13(ptr unsafe.Pointer, user_data unsafe.Pointer) { +func callbackMemFreeFunc13(ptr, user_data unsafe.Pointer) { wrapMemFreeFunc(poolMemFreeFunc.Get(13), ptr, user_data) } //export callbackMemFreeFunc14 -func callbackMemFreeFunc14(ptr unsafe.Pointer, user_data unsafe.Pointer) { +func callbackMemFreeFunc14(ptr, user_data unsafe.Pointer) { wrapMemFreeFunc(poolMemFreeFunc.Get(14), ptr, user_data) } //export callbackMemFreeFunc15 -func callbackMemFreeFunc15(ptr unsafe.Pointer, user_data unsafe.Pointer) { +func callbackMemFreeFunc15(ptr, user_data unsafe.Pointer) { wrapMemFreeFunc(poolMemFreeFunc.Get(15), ptr, user_data) } //export callbackMemFreeFunc16 -func callbackMemFreeFunc16(ptr unsafe.Pointer, user_data unsafe.Pointer) { +func callbackMemFreeFunc16(ptr, user_data unsafe.Pointer) { wrapMemFreeFunc(poolMemFreeFunc.Get(16), ptr, user_data) } //export callbackMemFreeFunc17 -func callbackMemFreeFunc17(ptr unsafe.Pointer, user_data unsafe.Pointer) { +func callbackMemFreeFunc17(ptr, user_data unsafe.Pointer) { wrapMemFreeFunc(poolMemFreeFunc.Get(17), ptr, user_data) } //export callbackMemFreeFunc18 -func callbackMemFreeFunc18(ptr unsafe.Pointer, user_data unsafe.Pointer) { +func callbackMemFreeFunc18(ptr, user_data unsafe.Pointer) { wrapMemFreeFunc(poolMemFreeFunc.Get(18), ptr, user_data) } //export callbackMemFreeFunc19 -func callbackMemFreeFunc19(ptr unsafe.Pointer, user_data unsafe.Pointer) { +func callbackMemFreeFunc19(ptr, user_data unsafe.Pointer) { wrapMemFreeFunc(poolMemFreeFunc.Get(19), ptr, user_data) } //export callbackMemFreeFunc20 -func callbackMemFreeFunc20(ptr unsafe.Pointer, user_data unsafe.Pointer) { +func callbackMemFreeFunc20(ptr, user_data unsafe.Pointer) { wrapMemFreeFunc(poolMemFreeFunc.Get(20), ptr, user_data) } //export callbackMemFreeFunc21 -func callbackMemFreeFunc21(ptr unsafe.Pointer, user_data unsafe.Pointer) { +func callbackMemFreeFunc21(ptr, user_data unsafe.Pointer) { wrapMemFreeFunc(poolMemFreeFunc.Get(21), ptr, user_data) } //export callbackMemFreeFunc22 -func callbackMemFreeFunc22(ptr unsafe.Pointer, user_data unsafe.Pointer) { +func callbackMemFreeFunc22(ptr, user_data unsafe.Pointer) { wrapMemFreeFunc(poolMemFreeFunc.Get(22), ptr, user_data) } //export callbackMemFreeFunc23 -func callbackMemFreeFunc23(ptr unsafe.Pointer, user_data unsafe.Pointer) { +func callbackMemFreeFunc23(ptr, user_data unsafe.Pointer) { wrapMemFreeFunc(poolMemFreeFunc.Get(23), ptr, user_data) } //export callbackMemFreeFunc24 -func callbackMemFreeFunc24(ptr unsafe.Pointer, user_data unsafe.Pointer) { +func callbackMemFreeFunc24(ptr, user_data unsafe.Pointer) { wrapMemFreeFunc(poolMemFreeFunc.Get(24), ptr, user_data) } //export callbackMemFreeFunc25 -func callbackMemFreeFunc25(ptr unsafe.Pointer, user_data unsafe.Pointer) { +func callbackMemFreeFunc25(ptr, user_data unsafe.Pointer) { wrapMemFreeFunc(poolMemFreeFunc.Get(25), ptr, user_data) } //export callbackMemFreeFunc26 -func callbackMemFreeFunc26(ptr unsafe.Pointer, user_data unsafe.Pointer) { +func callbackMemFreeFunc26(ptr, user_data unsafe.Pointer) { wrapMemFreeFunc(poolMemFreeFunc.Get(26), ptr, user_data) } //export callbackMemFreeFunc27 -func callbackMemFreeFunc27(ptr unsafe.Pointer, user_data unsafe.Pointer) { +func callbackMemFreeFunc27(ptr, user_data unsafe.Pointer) { wrapMemFreeFunc(poolMemFreeFunc.Get(27), ptr, user_data) } //export callbackMemFreeFunc28 -func callbackMemFreeFunc28(ptr unsafe.Pointer, user_data unsafe.Pointer) { +func callbackMemFreeFunc28(ptr, user_data unsafe.Pointer) { wrapMemFreeFunc(poolMemFreeFunc.Get(28), ptr, user_data) } //export callbackMemFreeFunc29 -func callbackMemFreeFunc29(ptr unsafe.Pointer, user_data unsafe.Pointer) { +func callbackMemFreeFunc29(ptr, user_data unsafe.Pointer) { wrapMemFreeFunc(poolMemFreeFunc.Get(29), ptr, user_data) } //export callbackMemFreeFunc30 -func callbackMemFreeFunc30(ptr unsafe.Pointer, user_data unsafe.Pointer) { +func callbackMemFreeFunc30(ptr, user_data unsafe.Pointer) { wrapMemFreeFunc(poolMemFreeFunc.Get(30), ptr, user_data) } //export callbackMemFreeFunc31 -func callbackMemFreeFunc31(ptr unsafe.Pointer, user_data unsafe.Pointer) { +func callbackMemFreeFunc31(ptr, user_data unsafe.Pointer) { wrapMemFreeFunc(poolMemFreeFunc.Get(31), ptr, user_data) } From ec6f9203f8543afffe4d83d569521fe620da7303 Mon Sep 17 00:00:00 2001 From: gucio321 <73652197+gucio321@users.noreply.github.com> Date: Sun, 22 Dec 2024 15:27:14 +0100 Subject: [PATCH 7/7] codegen: use goimports as well --- Makefile | 4 ---- cmd/codegen/format.go | 10 ++++++++++ cmd/codegen/go.mod | 7 ++++--- cmd/codegen/go.sum | 7 +++++++ 4 files changed, 21 insertions(+), 7 deletions(-) diff --git a/Makefile b/Makefile index be8a4cfa0..0409e415b 100644 --- a/Makefile +++ b/Makefile @@ -25,10 +25,6 @@ define generate cat templates/cflags.go |sed -e "s/^package.*/package $(2)/g" > $(2)/cflags.go cd $(2); \ ../codegen -preset ../cmd/codegen/cimgui-go-preset.json -p $(1) -pkg $(2) -i ../$(3) -d ../$(4) -e ../$(5) -t ../$(6) $(7) - go run golang.org/x/tools/cmd/goimports@latest -w $(2)/funcs.go - go run golang.org/x/tools/cmd/goimports@latest -w $(2)/enums.go - go run golang.org/x/tools/cmd/goimports@latest -w $(2)/typedefs.go - go run golang.org/x/tools/cmd/goimports@latest -w $(2)/callbacks.go endef define imgui diff --git a/cmd/codegen/format.go b/cmd/codegen/format.go index 88fa6fc3b..9a295549c 100644 --- a/cmd/codegen/format.go +++ b/cmd/codegen/format.go @@ -2,6 +2,7 @@ package main import ( "github.com/kpango/glg" + "golang.org/x/tools/imports" "mvdan.cc/gofumpt/format" ) @@ -17,5 +18,14 @@ func FormatGo(s string, ctx *Context) string { glg.Fatalf("Unable to format go code: %v", err) } + sBytes, err = imports.Process("", sBytes, &imports.Options{ + Fragment: false, + AllErrors: true, + Comments: true, + TabIndent: true, + TabWidth: 8, + FormatOnly: false, + }) + return string(sBytes) } diff --git a/cmd/codegen/go.mod b/cmd/codegen/go.mod index 13c9a69b8..77cd02d73 100644 --- a/cmd/codegen/go.mod +++ b/cmd/codegen/go.mod @@ -1,6 +1,6 @@ module github.com/AllenDang/cimgui-go/cmd/codegen -go 1.22 +go 1.22.0 toolchain go1.23.1 @@ -13,6 +13,7 @@ require ( github.com/goccy/go-json v0.10.2 // indirect github.com/google/go-cmp v0.6.0 // indirect github.com/kpango/fastime v1.1.9 // indirect - golang.org/x/mod v0.14.0 // indirect - golang.org/x/tools v0.17.0 // indirect + golang.org/x/mod v0.22.0 // indirect + golang.org/x/sync v0.10.0 // indirect + golang.org/x/tools v0.28.0 // indirect ) diff --git a/cmd/codegen/go.sum b/cmd/codegen/go.sum index b953aa59e..75c0dcff4 100644 --- a/cmd/codegen/go.sum +++ b/cmd/codegen/go.sum @@ -24,9 +24,16 @@ go.uber.org/zap v1.24.0 h1:FiJd5l1UOLj0wCgbSE0rwwXHzEdAZS6hiiSnxJN/D60= go.uber.org/zap v1.24.0/go.mod h1:2kMP+WWQ8aoFoedH3T2sq6iJ2yDWpHbP0f6MQbS9Gkg= golang.org/x/mod v0.14.0 h1:dGoOF9QVLYng8IHTm7BAyWqCqSheQ5pYWGhzW00YJr0= golang.org/x/mod v0.14.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= +golang.org/x/mod v0.22.0 h1:D4nJWe9zXqHOmWqj4VMOJhvzj7bEZg4wEYa759z1pH4= +golang.org/x/mod v0.22.0/go.mod h1:6SkKJ3Xj0I0BrPOZoBy3bdMptDDU9oJrpohJ3eWZ1fY= +golang.org/x/sync v0.10.0 h1:3NQrjDixjgGwUOCaF8w2+VYHv0Ve/vGYSbdkTa98gmQ= +golang.org/x/sync v0.10.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk= golang.org/x/sys v0.16.0 h1:xWw16ngr6ZMtmxDyKyIgsE93KNKz5HKmMa3b8ALHidU= golang.org/x/sys v0.16.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= +golang.org/x/sys v0.28.0 h1:Fksou7UEQUWlKvIdsqzJmUmCX3cZuD2+P3XyyzwMhlA= golang.org/x/tools v0.17.0 h1:FvmRgNOcs3kOa+T20R1uhfP9F6HgG2mfxDv1vrx1Htc= golang.org/x/tools v0.17.0/go.mod h1:xsh6VxdV005rRVaS6SSAf9oiAqljS7UZUacMZ8Bnsps= +golang.org/x/tools v0.28.0 h1:WuB6qZ4RPCQo5aP3WdKZS7i595EdWqWR8vqJTlwTVK8= +golang.org/x/tools v0.28.0/go.mod h1:dcIOrVd3mfQKTgrDVQHqCPMWy6lnhfhtX3hLXYVLfRw= mvdan.cc/gofumpt v0.7.0 h1:bg91ttqXmi9y2xawvkuMXyvAA/1ZGJqYAEGjXuP0JXU= mvdan.cc/gofumpt v0.7.0/go.mod h1:txVFJy/Sc/mvaycET54pV8SW8gWxTlUuGHVEcncmNUo=