From 1c07ef9bedfc17a7cb1c6ab8c9df30bd6f89f615 Mon Sep 17 00:00:00 2001 From: JamesWrigley Date: Mon, 4 Nov 2024 23:01:32 +0100 Subject: [PATCH] Remove vararg support from the generated bindings --- Project.toml | 2 +- docs/src/_changelog.md | 7 ++ gen/generator.jl | 40 ++++++++- lib/aarch64-apple-darwin20.jl | 132 +++++++++++++++--------------- lib/aarch64-linux-gnu.jl | 132 +++++++++++++++--------------- lib/aarch64-linux-musl.jl | 132 +++++++++++++++--------------- lib/armv7l-linux-gnueabihf.jl | 132 +++++++++++++++--------------- lib/armv7l-linux-musleabihf.jl | 132 +++++++++++++++--------------- lib/i686-linux-gnu.jl | 132 +++++++++++++++--------------- lib/i686-linux-musl.jl | 132 +++++++++++++++--------------- lib/i686-w64-mingw32.jl | 132 +++++++++++++++--------------- lib/powerpc64le-linux-gnu.jl | 132 +++++++++++++++--------------- lib/x86_64-apple-darwin14.jl | 132 +++++++++++++++--------------- lib/x86_64-linux-gnu.jl | 132 +++++++++++++++--------------- lib/x86_64-linux-musl.jl | 132 +++++++++++++++--------------- lib/x86_64-unknown-freebsd13.2.jl | 132 +++++++++++++++--------------- lib/x86_64-w64-mingw32.jl | 132 +++++++++++++++--------------- 17 files changed, 971 insertions(+), 926 deletions(-) diff --git a/Project.toml b/Project.toml index d276e59..7a8e4fa 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "CImGui" uuid = "5d785b6c-b76f-510e-a07c-3070796c7e87" authors = ["Yupei Qi "] -version = "3.1.0" +version = "3.1.1" [deps] CEnum = "fa961155-64e5-5f13-b03f-caf6b980ea82" diff --git a/docs/src/_changelog.md b/docs/src/_changelog.md index 0e6262d..25614f2 100644 --- a/docs/src/_changelog.md +++ b/docs/src/_changelog.md @@ -6,6 +6,13 @@ CurrentModule = CImGui This documents notable changes in CImGui.jl. The format is based on [Keep a Changelog](https://keepachangelog.com). +## [v3.1.1] - 2024-11-04 + +### Changed +- The support for variadic arguments from the internal generated bindings. This + doesn't change the user-facing API, but it should fix segfaults on ARM + ([#155]). + ## [v3.1.0] - 2024-10-08 ### Changed diff --git a/gen/generator.jl b/gen/generator.jl index f18119a..f715ee6 100644 --- a/gen/generator.jl +++ b/gen/generator.jl @@ -504,6 +504,40 @@ function get_wrappers(dag::ExprDAG) return methods end +function rewrite!(dag::ExprDAG) + for node in dag.nodes + for (i, expr) in enumerate(node.exprs) + # If this is a generated function it's a vararg function wrapped by + # Clang. Calling these functions doesn't work on ARM and imgui only + # uses them for formatting strings, so we just rewrite them to strip + # the vararg stuff. Formatting can just as easily be done in Julia + # anyway. + if Meta.isexpr(expr, :macrocall) && expr.args[1] == Symbol("@generated") + # Strip the @generated exprs + expr = expr.args[3] + + if @capture(expr, function name_(args__, vararg_) body_ end) + # Strip the enclosing quote node + body = body.args[1].args[1] + + if !@capture(body, @ccall cname_(cargs__; kwarg_)::T_) + @error "Couldn't strip varargs from function '$name'" + continue + end + + new_expr = quote + function $name($(args...)) + @ccall $cname($(cargs...))::$T + end + end + + node.exprs[i] = prettify(new_expr) + end + end + end + end +end + function generate() cd(@__DIR__) do include_dir = joinpath(CImGuiPack_jll.artifact_dir, "include") @@ -534,7 +568,11 @@ function generate() "-includestdbool.h") ctx = create_context([cimgui_h, cimplot_h, cimnodes_h, cimgui_impl_h], args, options) - build!(ctx) + build!(ctx, BUILDSTAGE_NO_PRINTING) + + rewrite!(ctx.dag) + + build!(ctx, BUILDSTAGE_PRINTING_ONLY) end println() diff --git a/lib/aarch64-apple-darwin20.jl b/lib/aarch64-apple-darwin20.jl index 6f0cd24..097d8a8 100644 --- a/lib/aarch64-apple-darwin20.jl +++ b/lib/aarch64-apple-darwin20.jl @@ -5182,34 +5182,34 @@ function igTextUnformatted(text, text_end) end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igText(fmt, va_list...) - :(@ccall(libcimgui.igText(fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function igText(fmt) + @ccall libcimgui.igText(fmt::Ptr{Cchar})::Cvoid +end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igTextColored(col, fmt, va_list...) - :(@ccall(libcimgui.igTextColored(col::ImVec4, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function igTextColored(col, fmt) + @ccall libcimgui.igTextColored(col::ImVec4, fmt::Ptr{Cchar})::Cvoid +end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igTextDisabled(fmt, va_list...) - :(@ccall(libcimgui.igTextDisabled(fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function igTextDisabled(fmt) + @ccall libcimgui.igTextDisabled(fmt::Ptr{Cchar})::Cvoid +end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igTextWrapped(fmt, va_list...) - :(@ccall(libcimgui.igTextWrapped(fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function igTextWrapped(fmt) + @ccall libcimgui.igTextWrapped(fmt::Ptr{Cchar})::Cvoid +end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igLabelText(label, fmt, va_list...) - :(@ccall(libcimgui.igLabelText(label::Ptr{Cchar}, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function igLabelText(label, fmt) + @ccall libcimgui.igLabelText(label::Ptr{Cchar}, fmt::Ptr{Cchar})::Cvoid +end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igBulletText(fmt, va_list...) - :(@ccall(libcimgui.igBulletText(fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function igBulletText(fmt) + @ccall libcimgui.igBulletText(fmt::Ptr{Cchar})::Cvoid +end function igSeparatorText(label) ccall((:igSeparatorText, libcimgui), Cvoid, (Ptr{Cchar},), label) @@ -5484,28 +5484,28 @@ function igTreeNode_Str(label) end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igTreeNode_StrStr(str_id, fmt, va_list...) - :(@ccall(libcimgui.igTreeNode_StrStr(str_id::Ptr{Cchar}, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Bool)) - end +function igTreeNode_StrStr(str_id, fmt) + @ccall libcimgui.igTreeNode_StrStr(str_id::Ptr{Cchar}, fmt::Ptr{Cchar})::Bool +end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igTreeNode_Ptr(ptr_id, fmt, va_list...) - :(@ccall(libcimgui.igTreeNode_Ptr(ptr_id::Ptr{Cvoid}, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Bool)) - end +function igTreeNode_Ptr(ptr_id, fmt) + @ccall libcimgui.igTreeNode_Ptr(ptr_id::Ptr{Cvoid}, fmt::Ptr{Cchar})::Bool +end function igTreeNodeEx_Str(label, flags) ccall((:igTreeNodeEx_Str, libcimgui), Bool, (Ptr{Cchar}, ImGuiTreeNodeFlags), label, flags) end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igTreeNodeEx_StrStr(str_id, flags, fmt, va_list...) - :(@ccall(libcimgui.igTreeNodeEx_StrStr(str_id::Ptr{Cchar}, flags::ImGuiTreeNodeFlags, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Bool)) - end +function igTreeNodeEx_StrStr(str_id, flags, fmt) + @ccall libcimgui.igTreeNodeEx_StrStr(str_id::Ptr{Cchar}, flags::ImGuiTreeNodeFlags, fmt::Ptr{Cchar})::Bool +end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igTreeNodeEx_Ptr(ptr_id, flags, fmt, va_list...) - :(@ccall(libcimgui.igTreeNodeEx_Ptr(ptr_id::Ptr{Cvoid}, flags::ImGuiTreeNodeFlags, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Bool)) - end +function igTreeNodeEx_Ptr(ptr_id, flags, fmt) + @ccall libcimgui.igTreeNodeEx_Ptr(ptr_id::Ptr{Cvoid}, flags::ImGuiTreeNodeFlags, fmt::Ptr{Cchar})::Bool +end function igTreePush_Str(str_id) ccall((:igTreePush_Str, libcimgui), Cvoid, (Ptr{Cchar},), str_id) @@ -5652,18 +5652,18 @@ function igEndTooltip() end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igSetTooltip(fmt, va_list...) - :(@ccall(libcimgui.igSetTooltip(fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function igSetTooltip(fmt) + @ccall libcimgui.igSetTooltip(fmt::Ptr{Cchar})::Cvoid +end function igBeginItemTooltip() ccall((:igBeginItemTooltip, libcimgui), Bool, ()) end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igSetItemTooltip(fmt, va_list...) - :(@ccall(libcimgui.igSetItemTooltip(fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function igSetItemTooltip(fmt) + @ccall libcimgui.igSetItemTooltip(fmt::Ptr{Cchar})::Cvoid +end function igBeginPopup(str_id, flags) ccall((:igBeginPopup, libcimgui), Bool, (Ptr{Cchar}, ImGuiWindowFlags), str_id, flags) @@ -6218,9 +6218,9 @@ function igDebugCheckVersionAndDataLayout(version_str, sz_io, sz_style, sz_vec2, end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igDebugLog(fmt, va_list...) - :(@ccall(libcimgui.igDebugLog(fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function igDebugLog(fmt) + @ccall libcimgui.igDebugLog(fmt::Ptr{Cchar})::Cvoid +end function igSetAllocatorFunctions(alloc_func, free_func, user_data) ccall((:igSetAllocatorFunctions, libcimgui), Cvoid, (ImGuiMemAllocFunc, ImGuiMemFreeFunc, Ptr{Cvoid}), alloc_func, free_func, user_data) @@ -7431,14 +7431,14 @@ function igImCharIsXdigitA(c) end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igImFormatString(buf, buf_size, fmt, va_list...) - :(@ccall(libcimgui.igImFormatString(buf::Ptr{Cchar}, buf_size::Csize_t, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cint)) - end +function igImFormatString(buf, buf_size, fmt) + @ccall libcimgui.igImFormatString(buf::Ptr{Cchar}, buf_size::Csize_t, fmt::Ptr{Cchar})::Cint +end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igImFormatStringToTempBuffer(out_buf, out_buf_end, fmt, va_list...) - :(@ccall(libcimgui.igImFormatStringToTempBuffer(out_buf::Ptr{Ptr{Cchar}}, out_buf_end::Ptr{Ptr{Cchar}}, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function igImFormatStringToTempBuffer(out_buf, out_buf_end, fmt) + @ccall libcimgui.igImFormatStringToTempBuffer(out_buf::Ptr{Ptr{Cchar}}, out_buf_end::Ptr{Ptr{Cchar}}, fmt::Ptr{Cchar})::Cvoid +end function igImParseFormatFindStart(format) ccall((:igImParseFormatFindStart, libcimgui), Ptr{Cchar}, (Ptr{Cchar},), format) @@ -10293,14 +10293,14 @@ function igImFontAtlasBuildMultiplyRectAlpha8(table, pixels, x, y, w, h, stride) end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igLogText(fmt, va_list...) - :(@ccall(libcimgui.igLogText(fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function igLogText(fmt) + @ccall libcimgui.igLogText(fmt::Ptr{Cchar})::Cvoid +end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function ImGuiTextBuffer_appendf(buffer, fmt, va_list...) - :(@ccall(libcimgui.ImGuiTextBuffer_appendf(buffer::Ptr{ImGuiTextBuffer}, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function ImGuiTextBuffer_appendf(buffer, fmt) + @ccall libcimgui.ImGuiTextBuffer_appendf(buffer::Ptr{ImGuiTextBuffer}, fmt::Ptr{Cchar})::Cvoid +end function igGET_FLT_MAX() ccall((:igGET_FLT_MAX, libcimgui), Cfloat, ()) @@ -12453,27 +12453,27 @@ function ImPlot_Annotation_Bool(x, y, col, pix_offset, clamp, round) end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function ImPlot_Annotation_Str(x, y, col, pix_offset, clamp, fmt, va_list...) - :(@ccall(libcimgui.ImPlot_Annotation_Str(x::Cdouble, y::Cdouble, col::ImVec4, pix_offset::ImVec2, clamp::Bool, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function ImPlot_Annotation_Str(x, y, col, pix_offset, clamp, fmt) + @ccall libcimgui.ImPlot_Annotation_Str(x::Cdouble, y::Cdouble, col::ImVec4, pix_offset::ImVec2, clamp::Bool, fmt::Ptr{Cchar})::Cvoid +end function ImPlot_TagX_Bool(x, col, round) ccall((:ImPlot_TagX_Bool, libcimgui), Cvoid, (Cdouble, ImVec4, Bool), x, col, round) end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function ImPlot_TagX_Str(x, col, fmt, va_list...) - :(@ccall(libcimgui.ImPlot_TagX_Str(x::Cdouble, col::ImVec4, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function ImPlot_TagX_Str(x, col, fmt) + @ccall libcimgui.ImPlot_TagX_Str(x::Cdouble, col::ImVec4, fmt::Ptr{Cchar})::Cvoid +end function ImPlot_TagY_Bool(y, col, round) ccall((:ImPlot_TagY_Bool, libcimgui), Cvoid, (Cdouble, ImVec4, Bool), y, col, round) end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function ImPlot_TagY_Str(y, col, fmt, va_list...) - :(@ccall(libcimgui.ImPlot_TagY_Str(y::Cdouble, col::ImVec4, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function ImPlot_TagY_Str(y, col, fmt) + @ccall libcimgui.ImPlot_TagY_Str(y::Cdouble, col::ImVec4, fmt::Ptr{Cchar})::Cvoid +end function ImPlot_SetAxis(axis) ccall((:ImPlot_SetAxis, libcimgui), Cvoid, (ImAxis,), axis) @@ -13352,9 +13352,9 @@ function ImPlotAnnotationCollection_destroy(self) end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function ImPlotAnnotationCollection_Append(self, pos, off, bg, fg, clamp, fmt, va_list...) - :(@ccall(libcimgui.ImPlotAnnotationCollection_Append(self::Ptr{ImPlotAnnotationCollection}, pos::ImVec2, off::ImVec2, bg::ImU32, fg::ImU32, clamp::Bool, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function ImPlotAnnotationCollection_Append(self, pos, off, bg, fg, clamp, fmt) + @ccall libcimgui.ImPlotAnnotationCollection_Append(self::Ptr{ImPlotAnnotationCollection}, pos::ImVec2, off::ImVec2, bg::ImU32, fg::ImU32, clamp::Bool, fmt::Ptr{Cchar})::Cvoid +end function ImPlotAnnotationCollection_GetText(self, idx) ccall((:ImPlotAnnotationCollection_GetText, libcimgui), Ptr{Cchar}, (Ptr{ImPlotAnnotationCollection}, Cint), self, idx) @@ -13373,9 +13373,9 @@ function ImPlotTagCollection_destroy(self) end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function ImPlotTagCollection_Append(self, axis, value, bg, fg, fmt, va_list...) - :(@ccall(libcimgui.ImPlotTagCollection_Append(self::Ptr{ImPlotTagCollection}, axis::ImAxis, value::Cdouble, bg::ImU32, fg::ImU32, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function ImPlotTagCollection_Append(self, axis, value, bg, fg, fmt) + @ccall libcimgui.ImPlotTagCollection_Append(self::Ptr{ImPlotTagCollection}, axis::ImAxis, value::Cdouble, bg::ImU32, fg::ImU32, fmt::Ptr{Cchar})::Cvoid +end function ImPlotTagCollection_GetText(self, idx) ccall((:ImPlotTagCollection_GetText, libcimgui), Ptr{Cchar}, (Ptr{ImPlotTagCollection}, Cint), self, idx) diff --git a/lib/aarch64-linux-gnu.jl b/lib/aarch64-linux-gnu.jl index 6dc623f..81d38ca 100644 --- a/lib/aarch64-linux-gnu.jl +++ b/lib/aarch64-linux-gnu.jl @@ -5182,34 +5182,34 @@ function igTextUnformatted(text, text_end) end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igText(fmt, va_list...) - :(@ccall(libcimgui.igText(fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function igText(fmt) + @ccall libcimgui.igText(fmt::Ptr{Cchar})::Cvoid +end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igTextColored(col, fmt, va_list...) - :(@ccall(libcimgui.igTextColored(col::ImVec4, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function igTextColored(col, fmt) + @ccall libcimgui.igTextColored(col::ImVec4, fmt::Ptr{Cchar})::Cvoid +end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igTextDisabled(fmt, va_list...) - :(@ccall(libcimgui.igTextDisabled(fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function igTextDisabled(fmt) + @ccall libcimgui.igTextDisabled(fmt::Ptr{Cchar})::Cvoid +end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igTextWrapped(fmt, va_list...) - :(@ccall(libcimgui.igTextWrapped(fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function igTextWrapped(fmt) + @ccall libcimgui.igTextWrapped(fmt::Ptr{Cchar})::Cvoid +end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igLabelText(label, fmt, va_list...) - :(@ccall(libcimgui.igLabelText(label::Ptr{Cchar}, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function igLabelText(label, fmt) + @ccall libcimgui.igLabelText(label::Ptr{Cchar}, fmt::Ptr{Cchar})::Cvoid +end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igBulletText(fmt, va_list...) - :(@ccall(libcimgui.igBulletText(fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function igBulletText(fmt) + @ccall libcimgui.igBulletText(fmt::Ptr{Cchar})::Cvoid +end function igSeparatorText(label) ccall((:igSeparatorText, libcimgui), Cvoid, (Ptr{Cchar},), label) @@ -5484,28 +5484,28 @@ function igTreeNode_Str(label) end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igTreeNode_StrStr(str_id, fmt, va_list...) - :(@ccall(libcimgui.igTreeNode_StrStr(str_id::Ptr{Cchar}, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Bool)) - end +function igTreeNode_StrStr(str_id, fmt) + @ccall libcimgui.igTreeNode_StrStr(str_id::Ptr{Cchar}, fmt::Ptr{Cchar})::Bool +end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igTreeNode_Ptr(ptr_id, fmt, va_list...) - :(@ccall(libcimgui.igTreeNode_Ptr(ptr_id::Ptr{Cvoid}, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Bool)) - end +function igTreeNode_Ptr(ptr_id, fmt) + @ccall libcimgui.igTreeNode_Ptr(ptr_id::Ptr{Cvoid}, fmt::Ptr{Cchar})::Bool +end function igTreeNodeEx_Str(label, flags) ccall((:igTreeNodeEx_Str, libcimgui), Bool, (Ptr{Cchar}, ImGuiTreeNodeFlags), label, flags) end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igTreeNodeEx_StrStr(str_id, flags, fmt, va_list...) - :(@ccall(libcimgui.igTreeNodeEx_StrStr(str_id::Ptr{Cchar}, flags::ImGuiTreeNodeFlags, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Bool)) - end +function igTreeNodeEx_StrStr(str_id, flags, fmt) + @ccall libcimgui.igTreeNodeEx_StrStr(str_id::Ptr{Cchar}, flags::ImGuiTreeNodeFlags, fmt::Ptr{Cchar})::Bool +end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igTreeNodeEx_Ptr(ptr_id, flags, fmt, va_list...) - :(@ccall(libcimgui.igTreeNodeEx_Ptr(ptr_id::Ptr{Cvoid}, flags::ImGuiTreeNodeFlags, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Bool)) - end +function igTreeNodeEx_Ptr(ptr_id, flags, fmt) + @ccall libcimgui.igTreeNodeEx_Ptr(ptr_id::Ptr{Cvoid}, flags::ImGuiTreeNodeFlags, fmt::Ptr{Cchar})::Bool +end function igTreePush_Str(str_id) ccall((:igTreePush_Str, libcimgui), Cvoid, (Ptr{Cchar},), str_id) @@ -5652,18 +5652,18 @@ function igEndTooltip() end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igSetTooltip(fmt, va_list...) - :(@ccall(libcimgui.igSetTooltip(fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function igSetTooltip(fmt) + @ccall libcimgui.igSetTooltip(fmt::Ptr{Cchar})::Cvoid +end function igBeginItemTooltip() ccall((:igBeginItemTooltip, libcimgui), Bool, ()) end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igSetItemTooltip(fmt, va_list...) - :(@ccall(libcimgui.igSetItemTooltip(fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function igSetItemTooltip(fmt) + @ccall libcimgui.igSetItemTooltip(fmt::Ptr{Cchar})::Cvoid +end function igBeginPopup(str_id, flags) ccall((:igBeginPopup, libcimgui), Bool, (Ptr{Cchar}, ImGuiWindowFlags), str_id, flags) @@ -6218,9 +6218,9 @@ function igDebugCheckVersionAndDataLayout(version_str, sz_io, sz_style, sz_vec2, end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igDebugLog(fmt, va_list...) - :(@ccall(libcimgui.igDebugLog(fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function igDebugLog(fmt) + @ccall libcimgui.igDebugLog(fmt::Ptr{Cchar})::Cvoid +end function igSetAllocatorFunctions(alloc_func, free_func, user_data) ccall((:igSetAllocatorFunctions, libcimgui), Cvoid, (ImGuiMemAllocFunc, ImGuiMemFreeFunc, Ptr{Cvoid}), alloc_func, free_func, user_data) @@ -7431,14 +7431,14 @@ function igImCharIsXdigitA(c) end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igImFormatString(buf, buf_size, fmt, va_list...) - :(@ccall(libcimgui.igImFormatString(buf::Ptr{Cchar}, buf_size::Csize_t, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cint)) - end +function igImFormatString(buf, buf_size, fmt) + @ccall libcimgui.igImFormatString(buf::Ptr{Cchar}, buf_size::Csize_t, fmt::Ptr{Cchar})::Cint +end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igImFormatStringToTempBuffer(out_buf, out_buf_end, fmt, va_list...) - :(@ccall(libcimgui.igImFormatStringToTempBuffer(out_buf::Ptr{Ptr{Cchar}}, out_buf_end::Ptr{Ptr{Cchar}}, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function igImFormatStringToTempBuffer(out_buf, out_buf_end, fmt) + @ccall libcimgui.igImFormatStringToTempBuffer(out_buf::Ptr{Ptr{Cchar}}, out_buf_end::Ptr{Ptr{Cchar}}, fmt::Ptr{Cchar})::Cvoid +end function igImParseFormatFindStart(format) ccall((:igImParseFormatFindStart, libcimgui), Ptr{Cchar}, (Ptr{Cchar},), format) @@ -10293,14 +10293,14 @@ function igImFontAtlasBuildMultiplyRectAlpha8(table, pixels, x, y, w, h, stride) end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igLogText(fmt, va_list...) - :(@ccall(libcimgui.igLogText(fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function igLogText(fmt) + @ccall libcimgui.igLogText(fmt::Ptr{Cchar})::Cvoid +end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function ImGuiTextBuffer_appendf(buffer, fmt, va_list...) - :(@ccall(libcimgui.ImGuiTextBuffer_appendf(buffer::Ptr{ImGuiTextBuffer}, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function ImGuiTextBuffer_appendf(buffer, fmt) + @ccall libcimgui.ImGuiTextBuffer_appendf(buffer::Ptr{ImGuiTextBuffer}, fmt::Ptr{Cchar})::Cvoid +end function igGET_FLT_MAX() ccall((:igGET_FLT_MAX, libcimgui), Cfloat, ()) @@ -12453,27 +12453,27 @@ function ImPlot_Annotation_Bool(x, y, col, pix_offset, clamp, round) end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function ImPlot_Annotation_Str(x, y, col, pix_offset, clamp, fmt, va_list...) - :(@ccall(libcimgui.ImPlot_Annotation_Str(x::Cdouble, y::Cdouble, col::ImVec4, pix_offset::ImVec2, clamp::Bool, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function ImPlot_Annotation_Str(x, y, col, pix_offset, clamp, fmt) + @ccall libcimgui.ImPlot_Annotation_Str(x::Cdouble, y::Cdouble, col::ImVec4, pix_offset::ImVec2, clamp::Bool, fmt::Ptr{Cchar})::Cvoid +end function ImPlot_TagX_Bool(x, col, round) ccall((:ImPlot_TagX_Bool, libcimgui), Cvoid, (Cdouble, ImVec4, Bool), x, col, round) end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function ImPlot_TagX_Str(x, col, fmt, va_list...) - :(@ccall(libcimgui.ImPlot_TagX_Str(x::Cdouble, col::ImVec4, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function ImPlot_TagX_Str(x, col, fmt) + @ccall libcimgui.ImPlot_TagX_Str(x::Cdouble, col::ImVec4, fmt::Ptr{Cchar})::Cvoid +end function ImPlot_TagY_Bool(y, col, round) ccall((:ImPlot_TagY_Bool, libcimgui), Cvoid, (Cdouble, ImVec4, Bool), y, col, round) end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function ImPlot_TagY_Str(y, col, fmt, va_list...) - :(@ccall(libcimgui.ImPlot_TagY_Str(y::Cdouble, col::ImVec4, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function ImPlot_TagY_Str(y, col, fmt) + @ccall libcimgui.ImPlot_TagY_Str(y::Cdouble, col::ImVec4, fmt::Ptr{Cchar})::Cvoid +end function ImPlot_SetAxis(axis) ccall((:ImPlot_SetAxis, libcimgui), Cvoid, (ImAxis,), axis) @@ -13352,9 +13352,9 @@ function ImPlotAnnotationCollection_destroy(self) end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function ImPlotAnnotationCollection_Append(self, pos, off, bg, fg, clamp, fmt, va_list...) - :(@ccall(libcimgui.ImPlotAnnotationCollection_Append(self::Ptr{ImPlotAnnotationCollection}, pos::ImVec2, off::ImVec2, bg::ImU32, fg::ImU32, clamp::Bool, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function ImPlotAnnotationCollection_Append(self, pos, off, bg, fg, clamp, fmt) + @ccall libcimgui.ImPlotAnnotationCollection_Append(self::Ptr{ImPlotAnnotationCollection}, pos::ImVec2, off::ImVec2, bg::ImU32, fg::ImU32, clamp::Bool, fmt::Ptr{Cchar})::Cvoid +end function ImPlotAnnotationCollection_GetText(self, idx) ccall((:ImPlotAnnotationCollection_GetText, libcimgui), Ptr{Cchar}, (Ptr{ImPlotAnnotationCollection}, Cint), self, idx) @@ -13373,9 +13373,9 @@ function ImPlotTagCollection_destroy(self) end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function ImPlotTagCollection_Append(self, axis, value, bg, fg, fmt, va_list...) - :(@ccall(libcimgui.ImPlotTagCollection_Append(self::Ptr{ImPlotTagCollection}, axis::ImAxis, value::Cdouble, bg::ImU32, fg::ImU32, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function ImPlotTagCollection_Append(self, axis, value, bg, fg, fmt) + @ccall libcimgui.ImPlotTagCollection_Append(self::Ptr{ImPlotTagCollection}, axis::ImAxis, value::Cdouble, bg::ImU32, fg::ImU32, fmt::Ptr{Cchar})::Cvoid +end function ImPlotTagCollection_GetText(self, idx) ccall((:ImPlotTagCollection_GetText, libcimgui), Ptr{Cchar}, (Ptr{ImPlotTagCollection}, Cint), self, idx) diff --git a/lib/aarch64-linux-musl.jl b/lib/aarch64-linux-musl.jl index 022dc10..619a0de 100644 --- a/lib/aarch64-linux-musl.jl +++ b/lib/aarch64-linux-musl.jl @@ -5180,34 +5180,34 @@ function igTextUnformatted(text, text_end) end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igText(fmt, va_list...) - :(@ccall(libcimgui.igText(fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function igText(fmt) + @ccall libcimgui.igText(fmt::Ptr{Cchar})::Cvoid +end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igTextColored(col, fmt, va_list...) - :(@ccall(libcimgui.igTextColored(col::ImVec4, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function igTextColored(col, fmt) + @ccall libcimgui.igTextColored(col::ImVec4, fmt::Ptr{Cchar})::Cvoid +end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igTextDisabled(fmt, va_list...) - :(@ccall(libcimgui.igTextDisabled(fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function igTextDisabled(fmt) + @ccall libcimgui.igTextDisabled(fmt::Ptr{Cchar})::Cvoid +end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igTextWrapped(fmt, va_list...) - :(@ccall(libcimgui.igTextWrapped(fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function igTextWrapped(fmt) + @ccall libcimgui.igTextWrapped(fmt::Ptr{Cchar})::Cvoid +end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igLabelText(label, fmt, va_list...) - :(@ccall(libcimgui.igLabelText(label::Ptr{Cchar}, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function igLabelText(label, fmt) + @ccall libcimgui.igLabelText(label::Ptr{Cchar}, fmt::Ptr{Cchar})::Cvoid +end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igBulletText(fmt, va_list...) - :(@ccall(libcimgui.igBulletText(fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function igBulletText(fmt) + @ccall libcimgui.igBulletText(fmt::Ptr{Cchar})::Cvoid +end function igSeparatorText(label) ccall((:igSeparatorText, libcimgui), Cvoid, (Ptr{Cchar},), label) @@ -5482,28 +5482,28 @@ function igTreeNode_Str(label) end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igTreeNode_StrStr(str_id, fmt, va_list...) - :(@ccall(libcimgui.igTreeNode_StrStr(str_id::Ptr{Cchar}, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Bool)) - end +function igTreeNode_StrStr(str_id, fmt) + @ccall libcimgui.igTreeNode_StrStr(str_id::Ptr{Cchar}, fmt::Ptr{Cchar})::Bool +end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igTreeNode_Ptr(ptr_id, fmt, va_list...) - :(@ccall(libcimgui.igTreeNode_Ptr(ptr_id::Ptr{Cvoid}, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Bool)) - end +function igTreeNode_Ptr(ptr_id, fmt) + @ccall libcimgui.igTreeNode_Ptr(ptr_id::Ptr{Cvoid}, fmt::Ptr{Cchar})::Bool +end function igTreeNodeEx_Str(label, flags) ccall((:igTreeNodeEx_Str, libcimgui), Bool, (Ptr{Cchar}, ImGuiTreeNodeFlags), label, flags) end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igTreeNodeEx_StrStr(str_id, flags, fmt, va_list...) - :(@ccall(libcimgui.igTreeNodeEx_StrStr(str_id::Ptr{Cchar}, flags::ImGuiTreeNodeFlags, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Bool)) - end +function igTreeNodeEx_StrStr(str_id, flags, fmt) + @ccall libcimgui.igTreeNodeEx_StrStr(str_id::Ptr{Cchar}, flags::ImGuiTreeNodeFlags, fmt::Ptr{Cchar})::Bool +end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igTreeNodeEx_Ptr(ptr_id, flags, fmt, va_list...) - :(@ccall(libcimgui.igTreeNodeEx_Ptr(ptr_id::Ptr{Cvoid}, flags::ImGuiTreeNodeFlags, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Bool)) - end +function igTreeNodeEx_Ptr(ptr_id, flags, fmt) + @ccall libcimgui.igTreeNodeEx_Ptr(ptr_id::Ptr{Cvoid}, flags::ImGuiTreeNodeFlags, fmt::Ptr{Cchar})::Bool +end function igTreePush_Str(str_id) ccall((:igTreePush_Str, libcimgui), Cvoid, (Ptr{Cchar},), str_id) @@ -5650,18 +5650,18 @@ function igEndTooltip() end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igSetTooltip(fmt, va_list...) - :(@ccall(libcimgui.igSetTooltip(fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function igSetTooltip(fmt) + @ccall libcimgui.igSetTooltip(fmt::Ptr{Cchar})::Cvoid +end function igBeginItemTooltip() ccall((:igBeginItemTooltip, libcimgui), Bool, ()) end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igSetItemTooltip(fmt, va_list...) - :(@ccall(libcimgui.igSetItemTooltip(fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function igSetItemTooltip(fmt) + @ccall libcimgui.igSetItemTooltip(fmt::Ptr{Cchar})::Cvoid +end function igBeginPopup(str_id, flags) ccall((:igBeginPopup, libcimgui), Bool, (Ptr{Cchar}, ImGuiWindowFlags), str_id, flags) @@ -6216,9 +6216,9 @@ function igDebugCheckVersionAndDataLayout(version_str, sz_io, sz_style, sz_vec2, end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igDebugLog(fmt, va_list...) - :(@ccall(libcimgui.igDebugLog(fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function igDebugLog(fmt) + @ccall libcimgui.igDebugLog(fmt::Ptr{Cchar})::Cvoid +end function igSetAllocatorFunctions(alloc_func, free_func, user_data) ccall((:igSetAllocatorFunctions, libcimgui), Cvoid, (ImGuiMemAllocFunc, ImGuiMemFreeFunc, Ptr{Cvoid}), alloc_func, free_func, user_data) @@ -7429,14 +7429,14 @@ function igImCharIsXdigitA(c) end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igImFormatString(buf, buf_size, fmt, va_list...) - :(@ccall(libcimgui.igImFormatString(buf::Ptr{Cchar}, buf_size::Csize_t, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cint)) - end +function igImFormatString(buf, buf_size, fmt) + @ccall libcimgui.igImFormatString(buf::Ptr{Cchar}, buf_size::Csize_t, fmt::Ptr{Cchar})::Cint +end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igImFormatStringToTempBuffer(out_buf, out_buf_end, fmt, va_list...) - :(@ccall(libcimgui.igImFormatStringToTempBuffer(out_buf::Ptr{Ptr{Cchar}}, out_buf_end::Ptr{Ptr{Cchar}}, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function igImFormatStringToTempBuffer(out_buf, out_buf_end, fmt) + @ccall libcimgui.igImFormatStringToTempBuffer(out_buf::Ptr{Ptr{Cchar}}, out_buf_end::Ptr{Ptr{Cchar}}, fmt::Ptr{Cchar})::Cvoid +end function igImParseFormatFindStart(format) ccall((:igImParseFormatFindStart, libcimgui), Ptr{Cchar}, (Ptr{Cchar},), format) @@ -10291,14 +10291,14 @@ function igImFontAtlasBuildMultiplyRectAlpha8(table, pixels, x, y, w, h, stride) end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igLogText(fmt, va_list...) - :(@ccall(libcimgui.igLogText(fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function igLogText(fmt) + @ccall libcimgui.igLogText(fmt::Ptr{Cchar})::Cvoid +end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function ImGuiTextBuffer_appendf(buffer, fmt, va_list...) - :(@ccall(libcimgui.ImGuiTextBuffer_appendf(buffer::Ptr{ImGuiTextBuffer}, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function ImGuiTextBuffer_appendf(buffer, fmt) + @ccall libcimgui.ImGuiTextBuffer_appendf(buffer::Ptr{ImGuiTextBuffer}, fmt::Ptr{Cchar})::Cvoid +end function igGET_FLT_MAX() ccall((:igGET_FLT_MAX, libcimgui), Cfloat, ()) @@ -12451,27 +12451,27 @@ function ImPlot_Annotation_Bool(x, y, col, pix_offset, clamp, round) end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function ImPlot_Annotation_Str(x, y, col, pix_offset, clamp, fmt, va_list...) - :(@ccall(libcimgui.ImPlot_Annotation_Str(x::Cdouble, y::Cdouble, col::ImVec4, pix_offset::ImVec2, clamp::Bool, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function ImPlot_Annotation_Str(x, y, col, pix_offset, clamp, fmt) + @ccall libcimgui.ImPlot_Annotation_Str(x::Cdouble, y::Cdouble, col::ImVec4, pix_offset::ImVec2, clamp::Bool, fmt::Ptr{Cchar})::Cvoid +end function ImPlot_TagX_Bool(x, col, round) ccall((:ImPlot_TagX_Bool, libcimgui), Cvoid, (Cdouble, ImVec4, Bool), x, col, round) end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function ImPlot_TagX_Str(x, col, fmt, va_list...) - :(@ccall(libcimgui.ImPlot_TagX_Str(x::Cdouble, col::ImVec4, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function ImPlot_TagX_Str(x, col, fmt) + @ccall libcimgui.ImPlot_TagX_Str(x::Cdouble, col::ImVec4, fmt::Ptr{Cchar})::Cvoid +end function ImPlot_TagY_Bool(y, col, round) ccall((:ImPlot_TagY_Bool, libcimgui), Cvoid, (Cdouble, ImVec4, Bool), y, col, round) end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function ImPlot_TagY_Str(y, col, fmt, va_list...) - :(@ccall(libcimgui.ImPlot_TagY_Str(y::Cdouble, col::ImVec4, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function ImPlot_TagY_Str(y, col, fmt) + @ccall libcimgui.ImPlot_TagY_Str(y::Cdouble, col::ImVec4, fmt::Ptr{Cchar})::Cvoid +end function ImPlot_SetAxis(axis) ccall((:ImPlot_SetAxis, libcimgui), Cvoid, (ImAxis,), axis) @@ -13350,9 +13350,9 @@ function ImPlotAnnotationCollection_destroy(self) end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function ImPlotAnnotationCollection_Append(self, pos, off, bg, fg, clamp, fmt, va_list...) - :(@ccall(libcimgui.ImPlotAnnotationCollection_Append(self::Ptr{ImPlotAnnotationCollection}, pos::ImVec2, off::ImVec2, bg::ImU32, fg::ImU32, clamp::Bool, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function ImPlotAnnotationCollection_Append(self, pos, off, bg, fg, clamp, fmt) + @ccall libcimgui.ImPlotAnnotationCollection_Append(self::Ptr{ImPlotAnnotationCollection}, pos::ImVec2, off::ImVec2, bg::ImU32, fg::ImU32, clamp::Bool, fmt::Ptr{Cchar})::Cvoid +end function ImPlotAnnotationCollection_GetText(self, idx) ccall((:ImPlotAnnotationCollection_GetText, libcimgui), Ptr{Cchar}, (Ptr{ImPlotAnnotationCollection}, Cint), self, idx) @@ -13371,9 +13371,9 @@ function ImPlotTagCollection_destroy(self) end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function ImPlotTagCollection_Append(self, axis, value, bg, fg, fmt, va_list...) - :(@ccall(libcimgui.ImPlotTagCollection_Append(self::Ptr{ImPlotTagCollection}, axis::ImAxis, value::Cdouble, bg::ImU32, fg::ImU32, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function ImPlotTagCollection_Append(self, axis, value, bg, fg, fmt) + @ccall libcimgui.ImPlotTagCollection_Append(self::Ptr{ImPlotTagCollection}, axis::ImAxis, value::Cdouble, bg::ImU32, fg::ImU32, fmt::Ptr{Cchar})::Cvoid +end function ImPlotTagCollection_GetText(self, idx) ccall((:ImPlotTagCollection_GetText, libcimgui), Ptr{Cchar}, (Ptr{ImPlotTagCollection}, Cint), self, idx) diff --git a/lib/armv7l-linux-gnueabihf.jl b/lib/armv7l-linux-gnueabihf.jl index a5a57b1..532bd46 100644 --- a/lib/armv7l-linux-gnueabihf.jl +++ b/lib/armv7l-linux-gnueabihf.jl @@ -5182,34 +5182,34 @@ function igTextUnformatted(text, text_end) end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igText(fmt, va_list...) - :(@ccall(libcimgui.igText(fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function igText(fmt) + @ccall libcimgui.igText(fmt::Ptr{Cchar})::Cvoid +end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igTextColored(col, fmt, va_list...) - :(@ccall(libcimgui.igTextColored(col::ImVec4, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function igTextColored(col, fmt) + @ccall libcimgui.igTextColored(col::ImVec4, fmt::Ptr{Cchar})::Cvoid +end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igTextDisabled(fmt, va_list...) - :(@ccall(libcimgui.igTextDisabled(fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function igTextDisabled(fmt) + @ccall libcimgui.igTextDisabled(fmt::Ptr{Cchar})::Cvoid +end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igTextWrapped(fmt, va_list...) - :(@ccall(libcimgui.igTextWrapped(fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function igTextWrapped(fmt) + @ccall libcimgui.igTextWrapped(fmt::Ptr{Cchar})::Cvoid +end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igLabelText(label, fmt, va_list...) - :(@ccall(libcimgui.igLabelText(label::Ptr{Cchar}, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function igLabelText(label, fmt) + @ccall libcimgui.igLabelText(label::Ptr{Cchar}, fmt::Ptr{Cchar})::Cvoid +end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igBulletText(fmt, va_list...) - :(@ccall(libcimgui.igBulletText(fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function igBulletText(fmt) + @ccall libcimgui.igBulletText(fmt::Ptr{Cchar})::Cvoid +end function igSeparatorText(label) ccall((:igSeparatorText, libcimgui), Cvoid, (Ptr{Cchar},), label) @@ -5484,28 +5484,28 @@ function igTreeNode_Str(label) end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igTreeNode_StrStr(str_id, fmt, va_list...) - :(@ccall(libcimgui.igTreeNode_StrStr(str_id::Ptr{Cchar}, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Bool)) - end +function igTreeNode_StrStr(str_id, fmt) + @ccall libcimgui.igTreeNode_StrStr(str_id::Ptr{Cchar}, fmt::Ptr{Cchar})::Bool +end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igTreeNode_Ptr(ptr_id, fmt, va_list...) - :(@ccall(libcimgui.igTreeNode_Ptr(ptr_id::Ptr{Cvoid}, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Bool)) - end +function igTreeNode_Ptr(ptr_id, fmt) + @ccall libcimgui.igTreeNode_Ptr(ptr_id::Ptr{Cvoid}, fmt::Ptr{Cchar})::Bool +end function igTreeNodeEx_Str(label, flags) ccall((:igTreeNodeEx_Str, libcimgui), Bool, (Ptr{Cchar}, ImGuiTreeNodeFlags), label, flags) end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igTreeNodeEx_StrStr(str_id, flags, fmt, va_list...) - :(@ccall(libcimgui.igTreeNodeEx_StrStr(str_id::Ptr{Cchar}, flags::ImGuiTreeNodeFlags, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Bool)) - end +function igTreeNodeEx_StrStr(str_id, flags, fmt) + @ccall libcimgui.igTreeNodeEx_StrStr(str_id::Ptr{Cchar}, flags::ImGuiTreeNodeFlags, fmt::Ptr{Cchar})::Bool +end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igTreeNodeEx_Ptr(ptr_id, flags, fmt, va_list...) - :(@ccall(libcimgui.igTreeNodeEx_Ptr(ptr_id::Ptr{Cvoid}, flags::ImGuiTreeNodeFlags, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Bool)) - end +function igTreeNodeEx_Ptr(ptr_id, flags, fmt) + @ccall libcimgui.igTreeNodeEx_Ptr(ptr_id::Ptr{Cvoid}, flags::ImGuiTreeNodeFlags, fmt::Ptr{Cchar})::Bool +end function igTreePush_Str(str_id) ccall((:igTreePush_Str, libcimgui), Cvoid, (Ptr{Cchar},), str_id) @@ -5652,18 +5652,18 @@ function igEndTooltip() end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igSetTooltip(fmt, va_list...) - :(@ccall(libcimgui.igSetTooltip(fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function igSetTooltip(fmt) + @ccall libcimgui.igSetTooltip(fmt::Ptr{Cchar})::Cvoid +end function igBeginItemTooltip() ccall((:igBeginItemTooltip, libcimgui), Bool, ()) end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igSetItemTooltip(fmt, va_list...) - :(@ccall(libcimgui.igSetItemTooltip(fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function igSetItemTooltip(fmt) + @ccall libcimgui.igSetItemTooltip(fmt::Ptr{Cchar})::Cvoid +end function igBeginPopup(str_id, flags) ccall((:igBeginPopup, libcimgui), Bool, (Ptr{Cchar}, ImGuiWindowFlags), str_id, flags) @@ -6218,9 +6218,9 @@ function igDebugCheckVersionAndDataLayout(version_str, sz_io, sz_style, sz_vec2, end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igDebugLog(fmt, va_list...) - :(@ccall(libcimgui.igDebugLog(fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function igDebugLog(fmt) + @ccall libcimgui.igDebugLog(fmt::Ptr{Cchar})::Cvoid +end function igSetAllocatorFunctions(alloc_func, free_func, user_data) ccall((:igSetAllocatorFunctions, libcimgui), Cvoid, (ImGuiMemAllocFunc, ImGuiMemFreeFunc, Ptr{Cvoid}), alloc_func, free_func, user_data) @@ -7431,14 +7431,14 @@ function igImCharIsXdigitA(c) end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igImFormatString(buf, buf_size, fmt, va_list...) - :(@ccall(libcimgui.igImFormatString(buf::Ptr{Cchar}, buf_size::Csize_t, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cint)) - end +function igImFormatString(buf, buf_size, fmt) + @ccall libcimgui.igImFormatString(buf::Ptr{Cchar}, buf_size::Csize_t, fmt::Ptr{Cchar})::Cint +end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igImFormatStringToTempBuffer(out_buf, out_buf_end, fmt, va_list...) - :(@ccall(libcimgui.igImFormatStringToTempBuffer(out_buf::Ptr{Ptr{Cchar}}, out_buf_end::Ptr{Ptr{Cchar}}, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function igImFormatStringToTempBuffer(out_buf, out_buf_end, fmt) + @ccall libcimgui.igImFormatStringToTempBuffer(out_buf::Ptr{Ptr{Cchar}}, out_buf_end::Ptr{Ptr{Cchar}}, fmt::Ptr{Cchar})::Cvoid +end function igImParseFormatFindStart(format) ccall((:igImParseFormatFindStart, libcimgui), Ptr{Cchar}, (Ptr{Cchar},), format) @@ -10293,14 +10293,14 @@ function igImFontAtlasBuildMultiplyRectAlpha8(table, pixels, x, y, w, h, stride) end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igLogText(fmt, va_list...) - :(@ccall(libcimgui.igLogText(fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function igLogText(fmt) + @ccall libcimgui.igLogText(fmt::Ptr{Cchar})::Cvoid +end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function ImGuiTextBuffer_appendf(buffer, fmt, va_list...) - :(@ccall(libcimgui.ImGuiTextBuffer_appendf(buffer::Ptr{ImGuiTextBuffer}, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function ImGuiTextBuffer_appendf(buffer, fmt) + @ccall libcimgui.ImGuiTextBuffer_appendf(buffer::Ptr{ImGuiTextBuffer}, fmt::Ptr{Cchar})::Cvoid +end function igGET_FLT_MAX() ccall((:igGET_FLT_MAX, libcimgui), Cfloat, ()) @@ -12453,27 +12453,27 @@ function ImPlot_Annotation_Bool(x, y, col, pix_offset, clamp, round) end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function ImPlot_Annotation_Str(x, y, col, pix_offset, clamp, fmt, va_list...) - :(@ccall(libcimgui.ImPlot_Annotation_Str(x::Cdouble, y::Cdouble, col::ImVec4, pix_offset::ImVec2, clamp::Bool, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function ImPlot_Annotation_Str(x, y, col, pix_offset, clamp, fmt) + @ccall libcimgui.ImPlot_Annotation_Str(x::Cdouble, y::Cdouble, col::ImVec4, pix_offset::ImVec2, clamp::Bool, fmt::Ptr{Cchar})::Cvoid +end function ImPlot_TagX_Bool(x, col, round) ccall((:ImPlot_TagX_Bool, libcimgui), Cvoid, (Cdouble, ImVec4, Bool), x, col, round) end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function ImPlot_TagX_Str(x, col, fmt, va_list...) - :(@ccall(libcimgui.ImPlot_TagX_Str(x::Cdouble, col::ImVec4, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function ImPlot_TagX_Str(x, col, fmt) + @ccall libcimgui.ImPlot_TagX_Str(x::Cdouble, col::ImVec4, fmt::Ptr{Cchar})::Cvoid +end function ImPlot_TagY_Bool(y, col, round) ccall((:ImPlot_TagY_Bool, libcimgui), Cvoid, (Cdouble, ImVec4, Bool), y, col, round) end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function ImPlot_TagY_Str(y, col, fmt, va_list...) - :(@ccall(libcimgui.ImPlot_TagY_Str(y::Cdouble, col::ImVec4, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function ImPlot_TagY_Str(y, col, fmt) + @ccall libcimgui.ImPlot_TagY_Str(y::Cdouble, col::ImVec4, fmt::Ptr{Cchar})::Cvoid +end function ImPlot_SetAxis(axis) ccall((:ImPlot_SetAxis, libcimgui), Cvoid, (ImAxis,), axis) @@ -13352,9 +13352,9 @@ function ImPlotAnnotationCollection_destroy(self) end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function ImPlotAnnotationCollection_Append(self, pos, off, bg, fg, clamp, fmt, va_list...) - :(@ccall(libcimgui.ImPlotAnnotationCollection_Append(self::Ptr{ImPlotAnnotationCollection}, pos::ImVec2, off::ImVec2, bg::ImU32, fg::ImU32, clamp::Bool, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function ImPlotAnnotationCollection_Append(self, pos, off, bg, fg, clamp, fmt) + @ccall libcimgui.ImPlotAnnotationCollection_Append(self::Ptr{ImPlotAnnotationCollection}, pos::ImVec2, off::ImVec2, bg::ImU32, fg::ImU32, clamp::Bool, fmt::Ptr{Cchar})::Cvoid +end function ImPlotAnnotationCollection_GetText(self, idx) ccall((:ImPlotAnnotationCollection_GetText, libcimgui), Ptr{Cchar}, (Ptr{ImPlotAnnotationCollection}, Cint), self, idx) @@ -13373,9 +13373,9 @@ function ImPlotTagCollection_destroy(self) end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function ImPlotTagCollection_Append(self, axis, value, bg, fg, fmt, va_list...) - :(@ccall(libcimgui.ImPlotTagCollection_Append(self::Ptr{ImPlotTagCollection}, axis::ImAxis, value::Cdouble, bg::ImU32, fg::ImU32, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function ImPlotTagCollection_Append(self, axis, value, bg, fg, fmt) + @ccall libcimgui.ImPlotTagCollection_Append(self::Ptr{ImPlotTagCollection}, axis::ImAxis, value::Cdouble, bg::ImU32, fg::ImU32, fmt::Ptr{Cchar})::Cvoid +end function ImPlotTagCollection_GetText(self, idx) ccall((:ImPlotTagCollection_GetText, libcimgui), Ptr{Cchar}, (Ptr{ImPlotTagCollection}, Cint), self, idx) diff --git a/lib/armv7l-linux-musleabihf.jl b/lib/armv7l-linux-musleabihf.jl index b9aa6d6..f0170da 100644 --- a/lib/armv7l-linux-musleabihf.jl +++ b/lib/armv7l-linux-musleabihf.jl @@ -5180,34 +5180,34 @@ function igTextUnformatted(text, text_end) end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igText(fmt, va_list...) - :(@ccall(libcimgui.igText(fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function igText(fmt) + @ccall libcimgui.igText(fmt::Ptr{Cchar})::Cvoid +end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igTextColored(col, fmt, va_list...) - :(@ccall(libcimgui.igTextColored(col::ImVec4, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function igTextColored(col, fmt) + @ccall libcimgui.igTextColored(col::ImVec4, fmt::Ptr{Cchar})::Cvoid +end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igTextDisabled(fmt, va_list...) - :(@ccall(libcimgui.igTextDisabled(fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function igTextDisabled(fmt) + @ccall libcimgui.igTextDisabled(fmt::Ptr{Cchar})::Cvoid +end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igTextWrapped(fmt, va_list...) - :(@ccall(libcimgui.igTextWrapped(fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function igTextWrapped(fmt) + @ccall libcimgui.igTextWrapped(fmt::Ptr{Cchar})::Cvoid +end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igLabelText(label, fmt, va_list...) - :(@ccall(libcimgui.igLabelText(label::Ptr{Cchar}, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function igLabelText(label, fmt) + @ccall libcimgui.igLabelText(label::Ptr{Cchar}, fmt::Ptr{Cchar})::Cvoid +end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igBulletText(fmt, va_list...) - :(@ccall(libcimgui.igBulletText(fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function igBulletText(fmt) + @ccall libcimgui.igBulletText(fmt::Ptr{Cchar})::Cvoid +end function igSeparatorText(label) ccall((:igSeparatorText, libcimgui), Cvoid, (Ptr{Cchar},), label) @@ -5482,28 +5482,28 @@ function igTreeNode_Str(label) end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igTreeNode_StrStr(str_id, fmt, va_list...) - :(@ccall(libcimgui.igTreeNode_StrStr(str_id::Ptr{Cchar}, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Bool)) - end +function igTreeNode_StrStr(str_id, fmt) + @ccall libcimgui.igTreeNode_StrStr(str_id::Ptr{Cchar}, fmt::Ptr{Cchar})::Bool +end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igTreeNode_Ptr(ptr_id, fmt, va_list...) - :(@ccall(libcimgui.igTreeNode_Ptr(ptr_id::Ptr{Cvoid}, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Bool)) - end +function igTreeNode_Ptr(ptr_id, fmt) + @ccall libcimgui.igTreeNode_Ptr(ptr_id::Ptr{Cvoid}, fmt::Ptr{Cchar})::Bool +end function igTreeNodeEx_Str(label, flags) ccall((:igTreeNodeEx_Str, libcimgui), Bool, (Ptr{Cchar}, ImGuiTreeNodeFlags), label, flags) end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igTreeNodeEx_StrStr(str_id, flags, fmt, va_list...) - :(@ccall(libcimgui.igTreeNodeEx_StrStr(str_id::Ptr{Cchar}, flags::ImGuiTreeNodeFlags, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Bool)) - end +function igTreeNodeEx_StrStr(str_id, flags, fmt) + @ccall libcimgui.igTreeNodeEx_StrStr(str_id::Ptr{Cchar}, flags::ImGuiTreeNodeFlags, fmt::Ptr{Cchar})::Bool +end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igTreeNodeEx_Ptr(ptr_id, flags, fmt, va_list...) - :(@ccall(libcimgui.igTreeNodeEx_Ptr(ptr_id::Ptr{Cvoid}, flags::ImGuiTreeNodeFlags, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Bool)) - end +function igTreeNodeEx_Ptr(ptr_id, flags, fmt) + @ccall libcimgui.igTreeNodeEx_Ptr(ptr_id::Ptr{Cvoid}, flags::ImGuiTreeNodeFlags, fmt::Ptr{Cchar})::Bool +end function igTreePush_Str(str_id) ccall((:igTreePush_Str, libcimgui), Cvoid, (Ptr{Cchar},), str_id) @@ -5650,18 +5650,18 @@ function igEndTooltip() end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igSetTooltip(fmt, va_list...) - :(@ccall(libcimgui.igSetTooltip(fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function igSetTooltip(fmt) + @ccall libcimgui.igSetTooltip(fmt::Ptr{Cchar})::Cvoid +end function igBeginItemTooltip() ccall((:igBeginItemTooltip, libcimgui), Bool, ()) end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igSetItemTooltip(fmt, va_list...) - :(@ccall(libcimgui.igSetItemTooltip(fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function igSetItemTooltip(fmt) + @ccall libcimgui.igSetItemTooltip(fmt::Ptr{Cchar})::Cvoid +end function igBeginPopup(str_id, flags) ccall((:igBeginPopup, libcimgui), Bool, (Ptr{Cchar}, ImGuiWindowFlags), str_id, flags) @@ -6216,9 +6216,9 @@ function igDebugCheckVersionAndDataLayout(version_str, sz_io, sz_style, sz_vec2, end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igDebugLog(fmt, va_list...) - :(@ccall(libcimgui.igDebugLog(fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function igDebugLog(fmt) + @ccall libcimgui.igDebugLog(fmt::Ptr{Cchar})::Cvoid +end function igSetAllocatorFunctions(alloc_func, free_func, user_data) ccall((:igSetAllocatorFunctions, libcimgui), Cvoid, (ImGuiMemAllocFunc, ImGuiMemFreeFunc, Ptr{Cvoid}), alloc_func, free_func, user_data) @@ -7429,14 +7429,14 @@ function igImCharIsXdigitA(c) end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igImFormatString(buf, buf_size, fmt, va_list...) - :(@ccall(libcimgui.igImFormatString(buf::Ptr{Cchar}, buf_size::Csize_t, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cint)) - end +function igImFormatString(buf, buf_size, fmt) + @ccall libcimgui.igImFormatString(buf::Ptr{Cchar}, buf_size::Csize_t, fmt::Ptr{Cchar})::Cint +end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igImFormatStringToTempBuffer(out_buf, out_buf_end, fmt, va_list...) - :(@ccall(libcimgui.igImFormatStringToTempBuffer(out_buf::Ptr{Ptr{Cchar}}, out_buf_end::Ptr{Ptr{Cchar}}, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function igImFormatStringToTempBuffer(out_buf, out_buf_end, fmt) + @ccall libcimgui.igImFormatStringToTempBuffer(out_buf::Ptr{Ptr{Cchar}}, out_buf_end::Ptr{Ptr{Cchar}}, fmt::Ptr{Cchar})::Cvoid +end function igImParseFormatFindStart(format) ccall((:igImParseFormatFindStart, libcimgui), Ptr{Cchar}, (Ptr{Cchar},), format) @@ -10291,14 +10291,14 @@ function igImFontAtlasBuildMultiplyRectAlpha8(table, pixels, x, y, w, h, stride) end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igLogText(fmt, va_list...) - :(@ccall(libcimgui.igLogText(fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function igLogText(fmt) + @ccall libcimgui.igLogText(fmt::Ptr{Cchar})::Cvoid +end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function ImGuiTextBuffer_appendf(buffer, fmt, va_list...) - :(@ccall(libcimgui.ImGuiTextBuffer_appendf(buffer::Ptr{ImGuiTextBuffer}, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function ImGuiTextBuffer_appendf(buffer, fmt) + @ccall libcimgui.ImGuiTextBuffer_appendf(buffer::Ptr{ImGuiTextBuffer}, fmt::Ptr{Cchar})::Cvoid +end function igGET_FLT_MAX() ccall((:igGET_FLT_MAX, libcimgui), Cfloat, ()) @@ -12451,27 +12451,27 @@ function ImPlot_Annotation_Bool(x, y, col, pix_offset, clamp, round) end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function ImPlot_Annotation_Str(x, y, col, pix_offset, clamp, fmt, va_list...) - :(@ccall(libcimgui.ImPlot_Annotation_Str(x::Cdouble, y::Cdouble, col::ImVec4, pix_offset::ImVec2, clamp::Bool, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function ImPlot_Annotation_Str(x, y, col, pix_offset, clamp, fmt) + @ccall libcimgui.ImPlot_Annotation_Str(x::Cdouble, y::Cdouble, col::ImVec4, pix_offset::ImVec2, clamp::Bool, fmt::Ptr{Cchar})::Cvoid +end function ImPlot_TagX_Bool(x, col, round) ccall((:ImPlot_TagX_Bool, libcimgui), Cvoid, (Cdouble, ImVec4, Bool), x, col, round) end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function ImPlot_TagX_Str(x, col, fmt, va_list...) - :(@ccall(libcimgui.ImPlot_TagX_Str(x::Cdouble, col::ImVec4, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function ImPlot_TagX_Str(x, col, fmt) + @ccall libcimgui.ImPlot_TagX_Str(x::Cdouble, col::ImVec4, fmt::Ptr{Cchar})::Cvoid +end function ImPlot_TagY_Bool(y, col, round) ccall((:ImPlot_TagY_Bool, libcimgui), Cvoid, (Cdouble, ImVec4, Bool), y, col, round) end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function ImPlot_TagY_Str(y, col, fmt, va_list...) - :(@ccall(libcimgui.ImPlot_TagY_Str(y::Cdouble, col::ImVec4, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function ImPlot_TagY_Str(y, col, fmt) + @ccall libcimgui.ImPlot_TagY_Str(y::Cdouble, col::ImVec4, fmt::Ptr{Cchar})::Cvoid +end function ImPlot_SetAxis(axis) ccall((:ImPlot_SetAxis, libcimgui), Cvoid, (ImAxis,), axis) @@ -13350,9 +13350,9 @@ function ImPlotAnnotationCollection_destroy(self) end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function ImPlotAnnotationCollection_Append(self, pos, off, bg, fg, clamp, fmt, va_list...) - :(@ccall(libcimgui.ImPlotAnnotationCollection_Append(self::Ptr{ImPlotAnnotationCollection}, pos::ImVec2, off::ImVec2, bg::ImU32, fg::ImU32, clamp::Bool, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function ImPlotAnnotationCollection_Append(self, pos, off, bg, fg, clamp, fmt) + @ccall libcimgui.ImPlotAnnotationCollection_Append(self::Ptr{ImPlotAnnotationCollection}, pos::ImVec2, off::ImVec2, bg::ImU32, fg::ImU32, clamp::Bool, fmt::Ptr{Cchar})::Cvoid +end function ImPlotAnnotationCollection_GetText(self, idx) ccall((:ImPlotAnnotationCollection_GetText, libcimgui), Ptr{Cchar}, (Ptr{ImPlotAnnotationCollection}, Cint), self, idx) @@ -13371,9 +13371,9 @@ function ImPlotTagCollection_destroy(self) end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function ImPlotTagCollection_Append(self, axis, value, bg, fg, fmt, va_list...) - :(@ccall(libcimgui.ImPlotTagCollection_Append(self::Ptr{ImPlotTagCollection}, axis::ImAxis, value::Cdouble, bg::ImU32, fg::ImU32, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function ImPlotTagCollection_Append(self, axis, value, bg, fg, fmt) + @ccall libcimgui.ImPlotTagCollection_Append(self::Ptr{ImPlotTagCollection}, axis::ImAxis, value::Cdouble, bg::ImU32, fg::ImU32, fmt::Ptr{Cchar})::Cvoid +end function ImPlotTagCollection_GetText(self, idx) ccall((:ImPlotTagCollection_GetText, libcimgui), Ptr{Cchar}, (Ptr{ImPlotTagCollection}, Cint), self, idx) diff --git a/lib/i686-linux-gnu.jl b/lib/i686-linux-gnu.jl index b027680..5cf0ae3 100644 --- a/lib/i686-linux-gnu.jl +++ b/lib/i686-linux-gnu.jl @@ -5182,34 +5182,34 @@ function igTextUnformatted(text, text_end) end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igText(fmt, va_list...) - :(@ccall(libcimgui.igText(fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function igText(fmt) + @ccall libcimgui.igText(fmt::Ptr{Cchar})::Cvoid +end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igTextColored(col, fmt, va_list...) - :(@ccall(libcimgui.igTextColored(col::ImVec4, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function igTextColored(col, fmt) + @ccall libcimgui.igTextColored(col::ImVec4, fmt::Ptr{Cchar})::Cvoid +end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igTextDisabled(fmt, va_list...) - :(@ccall(libcimgui.igTextDisabled(fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function igTextDisabled(fmt) + @ccall libcimgui.igTextDisabled(fmt::Ptr{Cchar})::Cvoid +end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igTextWrapped(fmt, va_list...) - :(@ccall(libcimgui.igTextWrapped(fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function igTextWrapped(fmt) + @ccall libcimgui.igTextWrapped(fmt::Ptr{Cchar})::Cvoid +end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igLabelText(label, fmt, va_list...) - :(@ccall(libcimgui.igLabelText(label::Ptr{Cchar}, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function igLabelText(label, fmt) + @ccall libcimgui.igLabelText(label::Ptr{Cchar}, fmt::Ptr{Cchar})::Cvoid +end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igBulletText(fmt, va_list...) - :(@ccall(libcimgui.igBulletText(fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function igBulletText(fmt) + @ccall libcimgui.igBulletText(fmt::Ptr{Cchar})::Cvoid +end function igSeparatorText(label) ccall((:igSeparatorText, libcimgui), Cvoid, (Ptr{Cchar},), label) @@ -5484,28 +5484,28 @@ function igTreeNode_Str(label) end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igTreeNode_StrStr(str_id, fmt, va_list...) - :(@ccall(libcimgui.igTreeNode_StrStr(str_id::Ptr{Cchar}, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Bool)) - end +function igTreeNode_StrStr(str_id, fmt) + @ccall libcimgui.igTreeNode_StrStr(str_id::Ptr{Cchar}, fmt::Ptr{Cchar})::Bool +end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igTreeNode_Ptr(ptr_id, fmt, va_list...) - :(@ccall(libcimgui.igTreeNode_Ptr(ptr_id::Ptr{Cvoid}, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Bool)) - end +function igTreeNode_Ptr(ptr_id, fmt) + @ccall libcimgui.igTreeNode_Ptr(ptr_id::Ptr{Cvoid}, fmt::Ptr{Cchar})::Bool +end function igTreeNodeEx_Str(label, flags) ccall((:igTreeNodeEx_Str, libcimgui), Bool, (Ptr{Cchar}, ImGuiTreeNodeFlags), label, flags) end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igTreeNodeEx_StrStr(str_id, flags, fmt, va_list...) - :(@ccall(libcimgui.igTreeNodeEx_StrStr(str_id::Ptr{Cchar}, flags::ImGuiTreeNodeFlags, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Bool)) - end +function igTreeNodeEx_StrStr(str_id, flags, fmt) + @ccall libcimgui.igTreeNodeEx_StrStr(str_id::Ptr{Cchar}, flags::ImGuiTreeNodeFlags, fmt::Ptr{Cchar})::Bool +end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igTreeNodeEx_Ptr(ptr_id, flags, fmt, va_list...) - :(@ccall(libcimgui.igTreeNodeEx_Ptr(ptr_id::Ptr{Cvoid}, flags::ImGuiTreeNodeFlags, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Bool)) - end +function igTreeNodeEx_Ptr(ptr_id, flags, fmt) + @ccall libcimgui.igTreeNodeEx_Ptr(ptr_id::Ptr{Cvoid}, flags::ImGuiTreeNodeFlags, fmt::Ptr{Cchar})::Bool +end function igTreePush_Str(str_id) ccall((:igTreePush_Str, libcimgui), Cvoid, (Ptr{Cchar},), str_id) @@ -5652,18 +5652,18 @@ function igEndTooltip() end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igSetTooltip(fmt, va_list...) - :(@ccall(libcimgui.igSetTooltip(fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function igSetTooltip(fmt) + @ccall libcimgui.igSetTooltip(fmt::Ptr{Cchar})::Cvoid +end function igBeginItemTooltip() ccall((:igBeginItemTooltip, libcimgui), Bool, ()) end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igSetItemTooltip(fmt, va_list...) - :(@ccall(libcimgui.igSetItemTooltip(fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function igSetItemTooltip(fmt) + @ccall libcimgui.igSetItemTooltip(fmt::Ptr{Cchar})::Cvoid +end function igBeginPopup(str_id, flags) ccall((:igBeginPopup, libcimgui), Bool, (Ptr{Cchar}, ImGuiWindowFlags), str_id, flags) @@ -6218,9 +6218,9 @@ function igDebugCheckVersionAndDataLayout(version_str, sz_io, sz_style, sz_vec2, end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igDebugLog(fmt, va_list...) - :(@ccall(libcimgui.igDebugLog(fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function igDebugLog(fmt) + @ccall libcimgui.igDebugLog(fmt::Ptr{Cchar})::Cvoid +end function igSetAllocatorFunctions(alloc_func, free_func, user_data) ccall((:igSetAllocatorFunctions, libcimgui), Cvoid, (ImGuiMemAllocFunc, ImGuiMemFreeFunc, Ptr{Cvoid}), alloc_func, free_func, user_data) @@ -7431,14 +7431,14 @@ function igImCharIsXdigitA(c) end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igImFormatString(buf, buf_size, fmt, va_list...) - :(@ccall(libcimgui.igImFormatString(buf::Ptr{Cchar}, buf_size::Csize_t, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cint)) - end +function igImFormatString(buf, buf_size, fmt) + @ccall libcimgui.igImFormatString(buf::Ptr{Cchar}, buf_size::Csize_t, fmt::Ptr{Cchar})::Cint +end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igImFormatStringToTempBuffer(out_buf, out_buf_end, fmt, va_list...) - :(@ccall(libcimgui.igImFormatStringToTempBuffer(out_buf::Ptr{Ptr{Cchar}}, out_buf_end::Ptr{Ptr{Cchar}}, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function igImFormatStringToTempBuffer(out_buf, out_buf_end, fmt) + @ccall libcimgui.igImFormatStringToTempBuffer(out_buf::Ptr{Ptr{Cchar}}, out_buf_end::Ptr{Ptr{Cchar}}, fmt::Ptr{Cchar})::Cvoid +end function igImParseFormatFindStart(format) ccall((:igImParseFormatFindStart, libcimgui), Ptr{Cchar}, (Ptr{Cchar},), format) @@ -10293,14 +10293,14 @@ function igImFontAtlasBuildMultiplyRectAlpha8(table, pixels, x, y, w, h, stride) end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igLogText(fmt, va_list...) - :(@ccall(libcimgui.igLogText(fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function igLogText(fmt) + @ccall libcimgui.igLogText(fmt::Ptr{Cchar})::Cvoid +end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function ImGuiTextBuffer_appendf(buffer, fmt, va_list...) - :(@ccall(libcimgui.ImGuiTextBuffer_appendf(buffer::Ptr{ImGuiTextBuffer}, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function ImGuiTextBuffer_appendf(buffer, fmt) + @ccall libcimgui.ImGuiTextBuffer_appendf(buffer::Ptr{ImGuiTextBuffer}, fmt::Ptr{Cchar})::Cvoid +end function igGET_FLT_MAX() ccall((:igGET_FLT_MAX, libcimgui), Cfloat, ()) @@ -12453,27 +12453,27 @@ function ImPlot_Annotation_Bool(x, y, col, pix_offset, clamp, round) end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function ImPlot_Annotation_Str(x, y, col, pix_offset, clamp, fmt, va_list...) - :(@ccall(libcimgui.ImPlot_Annotation_Str(x::Cdouble, y::Cdouble, col::ImVec4, pix_offset::ImVec2, clamp::Bool, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function ImPlot_Annotation_Str(x, y, col, pix_offset, clamp, fmt) + @ccall libcimgui.ImPlot_Annotation_Str(x::Cdouble, y::Cdouble, col::ImVec4, pix_offset::ImVec2, clamp::Bool, fmt::Ptr{Cchar})::Cvoid +end function ImPlot_TagX_Bool(x, col, round) ccall((:ImPlot_TagX_Bool, libcimgui), Cvoid, (Cdouble, ImVec4, Bool), x, col, round) end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function ImPlot_TagX_Str(x, col, fmt, va_list...) - :(@ccall(libcimgui.ImPlot_TagX_Str(x::Cdouble, col::ImVec4, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function ImPlot_TagX_Str(x, col, fmt) + @ccall libcimgui.ImPlot_TagX_Str(x::Cdouble, col::ImVec4, fmt::Ptr{Cchar})::Cvoid +end function ImPlot_TagY_Bool(y, col, round) ccall((:ImPlot_TagY_Bool, libcimgui), Cvoid, (Cdouble, ImVec4, Bool), y, col, round) end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function ImPlot_TagY_Str(y, col, fmt, va_list...) - :(@ccall(libcimgui.ImPlot_TagY_Str(y::Cdouble, col::ImVec4, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function ImPlot_TagY_Str(y, col, fmt) + @ccall libcimgui.ImPlot_TagY_Str(y::Cdouble, col::ImVec4, fmt::Ptr{Cchar})::Cvoid +end function ImPlot_SetAxis(axis) ccall((:ImPlot_SetAxis, libcimgui), Cvoid, (ImAxis,), axis) @@ -13352,9 +13352,9 @@ function ImPlotAnnotationCollection_destroy(self) end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function ImPlotAnnotationCollection_Append(self, pos, off, bg, fg, clamp, fmt, va_list...) - :(@ccall(libcimgui.ImPlotAnnotationCollection_Append(self::Ptr{ImPlotAnnotationCollection}, pos::ImVec2, off::ImVec2, bg::ImU32, fg::ImU32, clamp::Bool, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function ImPlotAnnotationCollection_Append(self, pos, off, bg, fg, clamp, fmt) + @ccall libcimgui.ImPlotAnnotationCollection_Append(self::Ptr{ImPlotAnnotationCollection}, pos::ImVec2, off::ImVec2, bg::ImU32, fg::ImU32, clamp::Bool, fmt::Ptr{Cchar})::Cvoid +end function ImPlotAnnotationCollection_GetText(self, idx) ccall((:ImPlotAnnotationCollection_GetText, libcimgui), Ptr{Cchar}, (Ptr{ImPlotAnnotationCollection}, Cint), self, idx) @@ -13373,9 +13373,9 @@ function ImPlotTagCollection_destroy(self) end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function ImPlotTagCollection_Append(self, axis, value, bg, fg, fmt, va_list...) - :(@ccall(libcimgui.ImPlotTagCollection_Append(self::Ptr{ImPlotTagCollection}, axis::ImAxis, value::Cdouble, bg::ImU32, fg::ImU32, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function ImPlotTagCollection_Append(self, axis, value, bg, fg, fmt) + @ccall libcimgui.ImPlotTagCollection_Append(self::Ptr{ImPlotTagCollection}, axis::ImAxis, value::Cdouble, bg::ImU32, fg::ImU32, fmt::Ptr{Cchar})::Cvoid +end function ImPlotTagCollection_GetText(self, idx) ccall((:ImPlotTagCollection_GetText, libcimgui), Ptr{Cchar}, (Ptr{ImPlotTagCollection}, Cint), self, idx) diff --git a/lib/i686-linux-musl.jl b/lib/i686-linux-musl.jl index 84a8b7b..7b177fd 100644 --- a/lib/i686-linux-musl.jl +++ b/lib/i686-linux-musl.jl @@ -5180,34 +5180,34 @@ function igTextUnformatted(text, text_end) end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igText(fmt, va_list...) - :(@ccall(libcimgui.igText(fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function igText(fmt) + @ccall libcimgui.igText(fmt::Ptr{Cchar})::Cvoid +end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igTextColored(col, fmt, va_list...) - :(@ccall(libcimgui.igTextColored(col::ImVec4, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function igTextColored(col, fmt) + @ccall libcimgui.igTextColored(col::ImVec4, fmt::Ptr{Cchar})::Cvoid +end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igTextDisabled(fmt, va_list...) - :(@ccall(libcimgui.igTextDisabled(fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function igTextDisabled(fmt) + @ccall libcimgui.igTextDisabled(fmt::Ptr{Cchar})::Cvoid +end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igTextWrapped(fmt, va_list...) - :(@ccall(libcimgui.igTextWrapped(fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function igTextWrapped(fmt) + @ccall libcimgui.igTextWrapped(fmt::Ptr{Cchar})::Cvoid +end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igLabelText(label, fmt, va_list...) - :(@ccall(libcimgui.igLabelText(label::Ptr{Cchar}, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function igLabelText(label, fmt) + @ccall libcimgui.igLabelText(label::Ptr{Cchar}, fmt::Ptr{Cchar})::Cvoid +end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igBulletText(fmt, va_list...) - :(@ccall(libcimgui.igBulletText(fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function igBulletText(fmt) + @ccall libcimgui.igBulletText(fmt::Ptr{Cchar})::Cvoid +end function igSeparatorText(label) ccall((:igSeparatorText, libcimgui), Cvoid, (Ptr{Cchar},), label) @@ -5482,28 +5482,28 @@ function igTreeNode_Str(label) end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igTreeNode_StrStr(str_id, fmt, va_list...) - :(@ccall(libcimgui.igTreeNode_StrStr(str_id::Ptr{Cchar}, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Bool)) - end +function igTreeNode_StrStr(str_id, fmt) + @ccall libcimgui.igTreeNode_StrStr(str_id::Ptr{Cchar}, fmt::Ptr{Cchar})::Bool +end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igTreeNode_Ptr(ptr_id, fmt, va_list...) - :(@ccall(libcimgui.igTreeNode_Ptr(ptr_id::Ptr{Cvoid}, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Bool)) - end +function igTreeNode_Ptr(ptr_id, fmt) + @ccall libcimgui.igTreeNode_Ptr(ptr_id::Ptr{Cvoid}, fmt::Ptr{Cchar})::Bool +end function igTreeNodeEx_Str(label, flags) ccall((:igTreeNodeEx_Str, libcimgui), Bool, (Ptr{Cchar}, ImGuiTreeNodeFlags), label, flags) end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igTreeNodeEx_StrStr(str_id, flags, fmt, va_list...) - :(@ccall(libcimgui.igTreeNodeEx_StrStr(str_id::Ptr{Cchar}, flags::ImGuiTreeNodeFlags, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Bool)) - end +function igTreeNodeEx_StrStr(str_id, flags, fmt) + @ccall libcimgui.igTreeNodeEx_StrStr(str_id::Ptr{Cchar}, flags::ImGuiTreeNodeFlags, fmt::Ptr{Cchar})::Bool +end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igTreeNodeEx_Ptr(ptr_id, flags, fmt, va_list...) - :(@ccall(libcimgui.igTreeNodeEx_Ptr(ptr_id::Ptr{Cvoid}, flags::ImGuiTreeNodeFlags, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Bool)) - end +function igTreeNodeEx_Ptr(ptr_id, flags, fmt) + @ccall libcimgui.igTreeNodeEx_Ptr(ptr_id::Ptr{Cvoid}, flags::ImGuiTreeNodeFlags, fmt::Ptr{Cchar})::Bool +end function igTreePush_Str(str_id) ccall((:igTreePush_Str, libcimgui), Cvoid, (Ptr{Cchar},), str_id) @@ -5650,18 +5650,18 @@ function igEndTooltip() end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igSetTooltip(fmt, va_list...) - :(@ccall(libcimgui.igSetTooltip(fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function igSetTooltip(fmt) + @ccall libcimgui.igSetTooltip(fmt::Ptr{Cchar})::Cvoid +end function igBeginItemTooltip() ccall((:igBeginItemTooltip, libcimgui), Bool, ()) end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igSetItemTooltip(fmt, va_list...) - :(@ccall(libcimgui.igSetItemTooltip(fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function igSetItemTooltip(fmt) + @ccall libcimgui.igSetItemTooltip(fmt::Ptr{Cchar})::Cvoid +end function igBeginPopup(str_id, flags) ccall((:igBeginPopup, libcimgui), Bool, (Ptr{Cchar}, ImGuiWindowFlags), str_id, flags) @@ -6216,9 +6216,9 @@ function igDebugCheckVersionAndDataLayout(version_str, sz_io, sz_style, sz_vec2, end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igDebugLog(fmt, va_list...) - :(@ccall(libcimgui.igDebugLog(fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function igDebugLog(fmt) + @ccall libcimgui.igDebugLog(fmt::Ptr{Cchar})::Cvoid +end function igSetAllocatorFunctions(alloc_func, free_func, user_data) ccall((:igSetAllocatorFunctions, libcimgui), Cvoid, (ImGuiMemAllocFunc, ImGuiMemFreeFunc, Ptr{Cvoid}), alloc_func, free_func, user_data) @@ -7429,14 +7429,14 @@ function igImCharIsXdigitA(c) end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igImFormatString(buf, buf_size, fmt, va_list...) - :(@ccall(libcimgui.igImFormatString(buf::Ptr{Cchar}, buf_size::Csize_t, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cint)) - end +function igImFormatString(buf, buf_size, fmt) + @ccall libcimgui.igImFormatString(buf::Ptr{Cchar}, buf_size::Csize_t, fmt::Ptr{Cchar})::Cint +end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igImFormatStringToTempBuffer(out_buf, out_buf_end, fmt, va_list...) - :(@ccall(libcimgui.igImFormatStringToTempBuffer(out_buf::Ptr{Ptr{Cchar}}, out_buf_end::Ptr{Ptr{Cchar}}, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function igImFormatStringToTempBuffer(out_buf, out_buf_end, fmt) + @ccall libcimgui.igImFormatStringToTempBuffer(out_buf::Ptr{Ptr{Cchar}}, out_buf_end::Ptr{Ptr{Cchar}}, fmt::Ptr{Cchar})::Cvoid +end function igImParseFormatFindStart(format) ccall((:igImParseFormatFindStart, libcimgui), Ptr{Cchar}, (Ptr{Cchar},), format) @@ -10291,14 +10291,14 @@ function igImFontAtlasBuildMultiplyRectAlpha8(table, pixels, x, y, w, h, stride) end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igLogText(fmt, va_list...) - :(@ccall(libcimgui.igLogText(fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function igLogText(fmt) + @ccall libcimgui.igLogText(fmt::Ptr{Cchar})::Cvoid +end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function ImGuiTextBuffer_appendf(buffer, fmt, va_list...) - :(@ccall(libcimgui.ImGuiTextBuffer_appendf(buffer::Ptr{ImGuiTextBuffer}, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function ImGuiTextBuffer_appendf(buffer, fmt) + @ccall libcimgui.ImGuiTextBuffer_appendf(buffer::Ptr{ImGuiTextBuffer}, fmt::Ptr{Cchar})::Cvoid +end function igGET_FLT_MAX() ccall((:igGET_FLT_MAX, libcimgui), Cfloat, ()) @@ -12451,27 +12451,27 @@ function ImPlot_Annotation_Bool(x, y, col, pix_offset, clamp, round) end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function ImPlot_Annotation_Str(x, y, col, pix_offset, clamp, fmt, va_list...) - :(@ccall(libcimgui.ImPlot_Annotation_Str(x::Cdouble, y::Cdouble, col::ImVec4, pix_offset::ImVec2, clamp::Bool, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function ImPlot_Annotation_Str(x, y, col, pix_offset, clamp, fmt) + @ccall libcimgui.ImPlot_Annotation_Str(x::Cdouble, y::Cdouble, col::ImVec4, pix_offset::ImVec2, clamp::Bool, fmt::Ptr{Cchar})::Cvoid +end function ImPlot_TagX_Bool(x, col, round) ccall((:ImPlot_TagX_Bool, libcimgui), Cvoid, (Cdouble, ImVec4, Bool), x, col, round) end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function ImPlot_TagX_Str(x, col, fmt, va_list...) - :(@ccall(libcimgui.ImPlot_TagX_Str(x::Cdouble, col::ImVec4, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function ImPlot_TagX_Str(x, col, fmt) + @ccall libcimgui.ImPlot_TagX_Str(x::Cdouble, col::ImVec4, fmt::Ptr{Cchar})::Cvoid +end function ImPlot_TagY_Bool(y, col, round) ccall((:ImPlot_TagY_Bool, libcimgui), Cvoid, (Cdouble, ImVec4, Bool), y, col, round) end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function ImPlot_TagY_Str(y, col, fmt, va_list...) - :(@ccall(libcimgui.ImPlot_TagY_Str(y::Cdouble, col::ImVec4, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function ImPlot_TagY_Str(y, col, fmt) + @ccall libcimgui.ImPlot_TagY_Str(y::Cdouble, col::ImVec4, fmt::Ptr{Cchar})::Cvoid +end function ImPlot_SetAxis(axis) ccall((:ImPlot_SetAxis, libcimgui), Cvoid, (ImAxis,), axis) @@ -13350,9 +13350,9 @@ function ImPlotAnnotationCollection_destroy(self) end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function ImPlotAnnotationCollection_Append(self, pos, off, bg, fg, clamp, fmt, va_list...) - :(@ccall(libcimgui.ImPlotAnnotationCollection_Append(self::Ptr{ImPlotAnnotationCollection}, pos::ImVec2, off::ImVec2, bg::ImU32, fg::ImU32, clamp::Bool, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function ImPlotAnnotationCollection_Append(self, pos, off, bg, fg, clamp, fmt) + @ccall libcimgui.ImPlotAnnotationCollection_Append(self::Ptr{ImPlotAnnotationCollection}, pos::ImVec2, off::ImVec2, bg::ImU32, fg::ImU32, clamp::Bool, fmt::Ptr{Cchar})::Cvoid +end function ImPlotAnnotationCollection_GetText(self, idx) ccall((:ImPlotAnnotationCollection_GetText, libcimgui), Ptr{Cchar}, (Ptr{ImPlotAnnotationCollection}, Cint), self, idx) @@ -13371,9 +13371,9 @@ function ImPlotTagCollection_destroy(self) end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function ImPlotTagCollection_Append(self, axis, value, bg, fg, fmt, va_list...) - :(@ccall(libcimgui.ImPlotTagCollection_Append(self::Ptr{ImPlotTagCollection}, axis::ImAxis, value::Cdouble, bg::ImU32, fg::ImU32, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function ImPlotTagCollection_Append(self, axis, value, bg, fg, fmt) + @ccall libcimgui.ImPlotTagCollection_Append(self::Ptr{ImPlotTagCollection}, axis::ImAxis, value::Cdouble, bg::ImU32, fg::ImU32, fmt::Ptr{Cchar})::Cvoid +end function ImPlotTagCollection_GetText(self, idx) ccall((:ImPlotTagCollection_GetText, libcimgui), Ptr{Cchar}, (Ptr{ImPlotTagCollection}, Cint), self, idx) diff --git a/lib/i686-w64-mingw32.jl b/lib/i686-w64-mingw32.jl index db3431a..e08f55f 100644 --- a/lib/i686-w64-mingw32.jl +++ b/lib/i686-w64-mingw32.jl @@ -5196,34 +5196,34 @@ function igTextUnformatted(text, text_end) end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igText(fmt, va_list...) - :(@ccall(libcimgui.igText(fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function igText(fmt) + @ccall libcimgui.igText(fmt::Ptr{Cchar})::Cvoid +end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igTextColored(col, fmt, va_list...) - :(@ccall(libcimgui.igTextColored(col::ImVec4, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function igTextColored(col, fmt) + @ccall libcimgui.igTextColored(col::ImVec4, fmt::Ptr{Cchar})::Cvoid +end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igTextDisabled(fmt, va_list...) - :(@ccall(libcimgui.igTextDisabled(fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function igTextDisabled(fmt) + @ccall libcimgui.igTextDisabled(fmt::Ptr{Cchar})::Cvoid +end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igTextWrapped(fmt, va_list...) - :(@ccall(libcimgui.igTextWrapped(fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function igTextWrapped(fmt) + @ccall libcimgui.igTextWrapped(fmt::Ptr{Cchar})::Cvoid +end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igLabelText(label, fmt, va_list...) - :(@ccall(libcimgui.igLabelText(label::Ptr{Cchar}, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function igLabelText(label, fmt) + @ccall libcimgui.igLabelText(label::Ptr{Cchar}, fmt::Ptr{Cchar})::Cvoid +end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igBulletText(fmt, va_list...) - :(@ccall(libcimgui.igBulletText(fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function igBulletText(fmt) + @ccall libcimgui.igBulletText(fmt::Ptr{Cchar})::Cvoid +end function igSeparatorText(label) ccall((:igSeparatorText, libcimgui), Cvoid, (Ptr{Cchar},), label) @@ -5498,28 +5498,28 @@ function igTreeNode_Str(label) end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igTreeNode_StrStr(str_id, fmt, va_list...) - :(@ccall(libcimgui.igTreeNode_StrStr(str_id::Ptr{Cchar}, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Bool)) - end +function igTreeNode_StrStr(str_id, fmt) + @ccall libcimgui.igTreeNode_StrStr(str_id::Ptr{Cchar}, fmt::Ptr{Cchar})::Bool +end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igTreeNode_Ptr(ptr_id, fmt, va_list...) - :(@ccall(libcimgui.igTreeNode_Ptr(ptr_id::Ptr{Cvoid}, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Bool)) - end +function igTreeNode_Ptr(ptr_id, fmt) + @ccall libcimgui.igTreeNode_Ptr(ptr_id::Ptr{Cvoid}, fmt::Ptr{Cchar})::Bool +end function igTreeNodeEx_Str(label, flags) ccall((:igTreeNodeEx_Str, libcimgui), Bool, (Ptr{Cchar}, ImGuiTreeNodeFlags), label, flags) end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igTreeNodeEx_StrStr(str_id, flags, fmt, va_list...) - :(@ccall(libcimgui.igTreeNodeEx_StrStr(str_id::Ptr{Cchar}, flags::ImGuiTreeNodeFlags, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Bool)) - end +function igTreeNodeEx_StrStr(str_id, flags, fmt) + @ccall libcimgui.igTreeNodeEx_StrStr(str_id::Ptr{Cchar}, flags::ImGuiTreeNodeFlags, fmt::Ptr{Cchar})::Bool +end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igTreeNodeEx_Ptr(ptr_id, flags, fmt, va_list...) - :(@ccall(libcimgui.igTreeNodeEx_Ptr(ptr_id::Ptr{Cvoid}, flags::ImGuiTreeNodeFlags, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Bool)) - end +function igTreeNodeEx_Ptr(ptr_id, flags, fmt) + @ccall libcimgui.igTreeNodeEx_Ptr(ptr_id::Ptr{Cvoid}, flags::ImGuiTreeNodeFlags, fmt::Ptr{Cchar})::Bool +end function igTreePush_Str(str_id) ccall((:igTreePush_Str, libcimgui), Cvoid, (Ptr{Cchar},), str_id) @@ -5666,18 +5666,18 @@ function igEndTooltip() end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igSetTooltip(fmt, va_list...) - :(@ccall(libcimgui.igSetTooltip(fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function igSetTooltip(fmt) + @ccall libcimgui.igSetTooltip(fmt::Ptr{Cchar})::Cvoid +end function igBeginItemTooltip() ccall((:igBeginItemTooltip, libcimgui), Bool, ()) end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igSetItemTooltip(fmt, va_list...) - :(@ccall(libcimgui.igSetItemTooltip(fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function igSetItemTooltip(fmt) + @ccall libcimgui.igSetItemTooltip(fmt::Ptr{Cchar})::Cvoid +end function igBeginPopup(str_id, flags) ccall((:igBeginPopup, libcimgui), Bool, (Ptr{Cchar}, ImGuiWindowFlags), str_id, flags) @@ -6232,9 +6232,9 @@ function igDebugCheckVersionAndDataLayout(version_str, sz_io, sz_style, sz_vec2, end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igDebugLog(fmt, va_list...) - :(@ccall(libcimgui.igDebugLog(fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function igDebugLog(fmt) + @ccall libcimgui.igDebugLog(fmt::Ptr{Cchar})::Cvoid +end function igSetAllocatorFunctions(alloc_func, free_func, user_data) ccall((:igSetAllocatorFunctions, libcimgui), Cvoid, (ImGuiMemAllocFunc, ImGuiMemFreeFunc, Ptr{Cvoid}), alloc_func, free_func, user_data) @@ -7445,14 +7445,14 @@ function igImCharIsXdigitA(c) end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igImFormatString(buf, buf_size, fmt, va_list...) - :(@ccall(libcimgui.igImFormatString(buf::Ptr{Cchar}, buf_size::Csize_t, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cint)) - end +function igImFormatString(buf, buf_size, fmt) + @ccall libcimgui.igImFormatString(buf::Ptr{Cchar}, buf_size::Csize_t, fmt::Ptr{Cchar})::Cint +end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igImFormatStringToTempBuffer(out_buf, out_buf_end, fmt, va_list...) - :(@ccall(libcimgui.igImFormatStringToTempBuffer(out_buf::Ptr{Ptr{Cchar}}, out_buf_end::Ptr{Ptr{Cchar}}, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function igImFormatStringToTempBuffer(out_buf, out_buf_end, fmt) + @ccall libcimgui.igImFormatStringToTempBuffer(out_buf::Ptr{Ptr{Cchar}}, out_buf_end::Ptr{Ptr{Cchar}}, fmt::Ptr{Cchar})::Cvoid +end function igImParseFormatFindStart(format) ccall((:igImParseFormatFindStart, libcimgui), Ptr{Cchar}, (Ptr{Cchar},), format) @@ -10307,14 +10307,14 @@ function igImFontAtlasBuildMultiplyRectAlpha8(table, pixels, x, y, w, h, stride) end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igLogText(fmt, va_list...) - :(@ccall(libcimgui.igLogText(fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function igLogText(fmt) + @ccall libcimgui.igLogText(fmt::Ptr{Cchar})::Cvoid +end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function ImGuiTextBuffer_appendf(buffer, fmt, va_list...) - :(@ccall(libcimgui.ImGuiTextBuffer_appendf(buffer::Ptr{ImGuiTextBuffer}, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function ImGuiTextBuffer_appendf(buffer, fmt) + @ccall libcimgui.ImGuiTextBuffer_appendf(buffer::Ptr{ImGuiTextBuffer}, fmt::Ptr{Cchar})::Cvoid +end function igGET_FLT_MAX() ccall((:igGET_FLT_MAX, libcimgui), Cfloat, ()) @@ -12467,27 +12467,27 @@ function ImPlot_Annotation_Bool(x, y, col, pix_offset, clamp, round) end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function ImPlot_Annotation_Str(x, y, col, pix_offset, clamp, fmt, va_list...) - :(@ccall(libcimgui.ImPlot_Annotation_Str(x::Cdouble, y::Cdouble, col::ImVec4, pix_offset::ImVec2, clamp::Bool, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function ImPlot_Annotation_Str(x, y, col, pix_offset, clamp, fmt) + @ccall libcimgui.ImPlot_Annotation_Str(x::Cdouble, y::Cdouble, col::ImVec4, pix_offset::ImVec2, clamp::Bool, fmt::Ptr{Cchar})::Cvoid +end function ImPlot_TagX_Bool(x, col, round) ccall((:ImPlot_TagX_Bool, libcimgui), Cvoid, (Cdouble, ImVec4, Bool), x, col, round) end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function ImPlot_TagX_Str(x, col, fmt, va_list...) - :(@ccall(libcimgui.ImPlot_TagX_Str(x::Cdouble, col::ImVec4, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function ImPlot_TagX_Str(x, col, fmt) + @ccall libcimgui.ImPlot_TagX_Str(x::Cdouble, col::ImVec4, fmt::Ptr{Cchar})::Cvoid +end function ImPlot_TagY_Bool(y, col, round) ccall((:ImPlot_TagY_Bool, libcimgui), Cvoid, (Cdouble, ImVec4, Bool), y, col, round) end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function ImPlot_TagY_Str(y, col, fmt, va_list...) - :(@ccall(libcimgui.ImPlot_TagY_Str(y::Cdouble, col::ImVec4, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function ImPlot_TagY_Str(y, col, fmt) + @ccall libcimgui.ImPlot_TagY_Str(y::Cdouble, col::ImVec4, fmt::Ptr{Cchar})::Cvoid +end function ImPlot_SetAxis(axis) ccall((:ImPlot_SetAxis, libcimgui), Cvoid, (ImAxis,), axis) @@ -13366,9 +13366,9 @@ function ImPlotAnnotationCollection_destroy(self) end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function ImPlotAnnotationCollection_Append(self, pos, off, bg, fg, clamp, fmt, va_list...) - :(@ccall(libcimgui.ImPlotAnnotationCollection_Append(self::Ptr{ImPlotAnnotationCollection}, pos::ImVec2, off::ImVec2, bg::ImU32, fg::ImU32, clamp::Bool, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function ImPlotAnnotationCollection_Append(self, pos, off, bg, fg, clamp, fmt) + @ccall libcimgui.ImPlotAnnotationCollection_Append(self::Ptr{ImPlotAnnotationCollection}, pos::ImVec2, off::ImVec2, bg::ImU32, fg::ImU32, clamp::Bool, fmt::Ptr{Cchar})::Cvoid +end function ImPlotAnnotationCollection_GetText(self, idx) ccall((:ImPlotAnnotationCollection_GetText, libcimgui), Ptr{Cchar}, (Ptr{ImPlotAnnotationCollection}, Cint), self, idx) @@ -13387,9 +13387,9 @@ function ImPlotTagCollection_destroy(self) end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function ImPlotTagCollection_Append(self, axis, value, bg, fg, fmt, va_list...) - :(@ccall(libcimgui.ImPlotTagCollection_Append(self::Ptr{ImPlotTagCollection}, axis::ImAxis, value::Cdouble, bg::ImU32, fg::ImU32, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function ImPlotTagCollection_Append(self, axis, value, bg, fg, fmt) + @ccall libcimgui.ImPlotTagCollection_Append(self::Ptr{ImPlotTagCollection}, axis::ImAxis, value::Cdouble, bg::ImU32, fg::ImU32, fmt::Ptr{Cchar})::Cvoid +end function ImPlotTagCollection_GetText(self, idx) ccall((:ImPlotTagCollection_GetText, libcimgui), Ptr{Cchar}, (Ptr{ImPlotTagCollection}, Cint), self, idx) diff --git a/lib/powerpc64le-linux-gnu.jl b/lib/powerpc64le-linux-gnu.jl index 6dc623f..81d38ca 100644 --- a/lib/powerpc64le-linux-gnu.jl +++ b/lib/powerpc64le-linux-gnu.jl @@ -5182,34 +5182,34 @@ function igTextUnformatted(text, text_end) end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igText(fmt, va_list...) - :(@ccall(libcimgui.igText(fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function igText(fmt) + @ccall libcimgui.igText(fmt::Ptr{Cchar})::Cvoid +end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igTextColored(col, fmt, va_list...) - :(@ccall(libcimgui.igTextColored(col::ImVec4, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function igTextColored(col, fmt) + @ccall libcimgui.igTextColored(col::ImVec4, fmt::Ptr{Cchar})::Cvoid +end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igTextDisabled(fmt, va_list...) - :(@ccall(libcimgui.igTextDisabled(fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function igTextDisabled(fmt) + @ccall libcimgui.igTextDisabled(fmt::Ptr{Cchar})::Cvoid +end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igTextWrapped(fmt, va_list...) - :(@ccall(libcimgui.igTextWrapped(fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function igTextWrapped(fmt) + @ccall libcimgui.igTextWrapped(fmt::Ptr{Cchar})::Cvoid +end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igLabelText(label, fmt, va_list...) - :(@ccall(libcimgui.igLabelText(label::Ptr{Cchar}, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function igLabelText(label, fmt) + @ccall libcimgui.igLabelText(label::Ptr{Cchar}, fmt::Ptr{Cchar})::Cvoid +end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igBulletText(fmt, va_list...) - :(@ccall(libcimgui.igBulletText(fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function igBulletText(fmt) + @ccall libcimgui.igBulletText(fmt::Ptr{Cchar})::Cvoid +end function igSeparatorText(label) ccall((:igSeparatorText, libcimgui), Cvoid, (Ptr{Cchar},), label) @@ -5484,28 +5484,28 @@ function igTreeNode_Str(label) end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igTreeNode_StrStr(str_id, fmt, va_list...) - :(@ccall(libcimgui.igTreeNode_StrStr(str_id::Ptr{Cchar}, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Bool)) - end +function igTreeNode_StrStr(str_id, fmt) + @ccall libcimgui.igTreeNode_StrStr(str_id::Ptr{Cchar}, fmt::Ptr{Cchar})::Bool +end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igTreeNode_Ptr(ptr_id, fmt, va_list...) - :(@ccall(libcimgui.igTreeNode_Ptr(ptr_id::Ptr{Cvoid}, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Bool)) - end +function igTreeNode_Ptr(ptr_id, fmt) + @ccall libcimgui.igTreeNode_Ptr(ptr_id::Ptr{Cvoid}, fmt::Ptr{Cchar})::Bool +end function igTreeNodeEx_Str(label, flags) ccall((:igTreeNodeEx_Str, libcimgui), Bool, (Ptr{Cchar}, ImGuiTreeNodeFlags), label, flags) end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igTreeNodeEx_StrStr(str_id, flags, fmt, va_list...) - :(@ccall(libcimgui.igTreeNodeEx_StrStr(str_id::Ptr{Cchar}, flags::ImGuiTreeNodeFlags, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Bool)) - end +function igTreeNodeEx_StrStr(str_id, flags, fmt) + @ccall libcimgui.igTreeNodeEx_StrStr(str_id::Ptr{Cchar}, flags::ImGuiTreeNodeFlags, fmt::Ptr{Cchar})::Bool +end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igTreeNodeEx_Ptr(ptr_id, flags, fmt, va_list...) - :(@ccall(libcimgui.igTreeNodeEx_Ptr(ptr_id::Ptr{Cvoid}, flags::ImGuiTreeNodeFlags, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Bool)) - end +function igTreeNodeEx_Ptr(ptr_id, flags, fmt) + @ccall libcimgui.igTreeNodeEx_Ptr(ptr_id::Ptr{Cvoid}, flags::ImGuiTreeNodeFlags, fmt::Ptr{Cchar})::Bool +end function igTreePush_Str(str_id) ccall((:igTreePush_Str, libcimgui), Cvoid, (Ptr{Cchar},), str_id) @@ -5652,18 +5652,18 @@ function igEndTooltip() end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igSetTooltip(fmt, va_list...) - :(@ccall(libcimgui.igSetTooltip(fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function igSetTooltip(fmt) + @ccall libcimgui.igSetTooltip(fmt::Ptr{Cchar})::Cvoid +end function igBeginItemTooltip() ccall((:igBeginItemTooltip, libcimgui), Bool, ()) end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igSetItemTooltip(fmt, va_list...) - :(@ccall(libcimgui.igSetItemTooltip(fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function igSetItemTooltip(fmt) + @ccall libcimgui.igSetItemTooltip(fmt::Ptr{Cchar})::Cvoid +end function igBeginPopup(str_id, flags) ccall((:igBeginPopup, libcimgui), Bool, (Ptr{Cchar}, ImGuiWindowFlags), str_id, flags) @@ -6218,9 +6218,9 @@ function igDebugCheckVersionAndDataLayout(version_str, sz_io, sz_style, sz_vec2, end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igDebugLog(fmt, va_list...) - :(@ccall(libcimgui.igDebugLog(fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function igDebugLog(fmt) + @ccall libcimgui.igDebugLog(fmt::Ptr{Cchar})::Cvoid +end function igSetAllocatorFunctions(alloc_func, free_func, user_data) ccall((:igSetAllocatorFunctions, libcimgui), Cvoid, (ImGuiMemAllocFunc, ImGuiMemFreeFunc, Ptr{Cvoid}), alloc_func, free_func, user_data) @@ -7431,14 +7431,14 @@ function igImCharIsXdigitA(c) end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igImFormatString(buf, buf_size, fmt, va_list...) - :(@ccall(libcimgui.igImFormatString(buf::Ptr{Cchar}, buf_size::Csize_t, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cint)) - end +function igImFormatString(buf, buf_size, fmt) + @ccall libcimgui.igImFormatString(buf::Ptr{Cchar}, buf_size::Csize_t, fmt::Ptr{Cchar})::Cint +end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igImFormatStringToTempBuffer(out_buf, out_buf_end, fmt, va_list...) - :(@ccall(libcimgui.igImFormatStringToTempBuffer(out_buf::Ptr{Ptr{Cchar}}, out_buf_end::Ptr{Ptr{Cchar}}, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function igImFormatStringToTempBuffer(out_buf, out_buf_end, fmt) + @ccall libcimgui.igImFormatStringToTempBuffer(out_buf::Ptr{Ptr{Cchar}}, out_buf_end::Ptr{Ptr{Cchar}}, fmt::Ptr{Cchar})::Cvoid +end function igImParseFormatFindStart(format) ccall((:igImParseFormatFindStart, libcimgui), Ptr{Cchar}, (Ptr{Cchar},), format) @@ -10293,14 +10293,14 @@ function igImFontAtlasBuildMultiplyRectAlpha8(table, pixels, x, y, w, h, stride) end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igLogText(fmt, va_list...) - :(@ccall(libcimgui.igLogText(fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function igLogText(fmt) + @ccall libcimgui.igLogText(fmt::Ptr{Cchar})::Cvoid +end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function ImGuiTextBuffer_appendf(buffer, fmt, va_list...) - :(@ccall(libcimgui.ImGuiTextBuffer_appendf(buffer::Ptr{ImGuiTextBuffer}, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function ImGuiTextBuffer_appendf(buffer, fmt) + @ccall libcimgui.ImGuiTextBuffer_appendf(buffer::Ptr{ImGuiTextBuffer}, fmt::Ptr{Cchar})::Cvoid +end function igGET_FLT_MAX() ccall((:igGET_FLT_MAX, libcimgui), Cfloat, ()) @@ -12453,27 +12453,27 @@ function ImPlot_Annotation_Bool(x, y, col, pix_offset, clamp, round) end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function ImPlot_Annotation_Str(x, y, col, pix_offset, clamp, fmt, va_list...) - :(@ccall(libcimgui.ImPlot_Annotation_Str(x::Cdouble, y::Cdouble, col::ImVec4, pix_offset::ImVec2, clamp::Bool, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function ImPlot_Annotation_Str(x, y, col, pix_offset, clamp, fmt) + @ccall libcimgui.ImPlot_Annotation_Str(x::Cdouble, y::Cdouble, col::ImVec4, pix_offset::ImVec2, clamp::Bool, fmt::Ptr{Cchar})::Cvoid +end function ImPlot_TagX_Bool(x, col, round) ccall((:ImPlot_TagX_Bool, libcimgui), Cvoid, (Cdouble, ImVec4, Bool), x, col, round) end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function ImPlot_TagX_Str(x, col, fmt, va_list...) - :(@ccall(libcimgui.ImPlot_TagX_Str(x::Cdouble, col::ImVec4, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function ImPlot_TagX_Str(x, col, fmt) + @ccall libcimgui.ImPlot_TagX_Str(x::Cdouble, col::ImVec4, fmt::Ptr{Cchar})::Cvoid +end function ImPlot_TagY_Bool(y, col, round) ccall((:ImPlot_TagY_Bool, libcimgui), Cvoid, (Cdouble, ImVec4, Bool), y, col, round) end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function ImPlot_TagY_Str(y, col, fmt, va_list...) - :(@ccall(libcimgui.ImPlot_TagY_Str(y::Cdouble, col::ImVec4, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function ImPlot_TagY_Str(y, col, fmt) + @ccall libcimgui.ImPlot_TagY_Str(y::Cdouble, col::ImVec4, fmt::Ptr{Cchar})::Cvoid +end function ImPlot_SetAxis(axis) ccall((:ImPlot_SetAxis, libcimgui), Cvoid, (ImAxis,), axis) @@ -13352,9 +13352,9 @@ function ImPlotAnnotationCollection_destroy(self) end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function ImPlotAnnotationCollection_Append(self, pos, off, bg, fg, clamp, fmt, va_list...) - :(@ccall(libcimgui.ImPlotAnnotationCollection_Append(self::Ptr{ImPlotAnnotationCollection}, pos::ImVec2, off::ImVec2, bg::ImU32, fg::ImU32, clamp::Bool, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function ImPlotAnnotationCollection_Append(self, pos, off, bg, fg, clamp, fmt) + @ccall libcimgui.ImPlotAnnotationCollection_Append(self::Ptr{ImPlotAnnotationCollection}, pos::ImVec2, off::ImVec2, bg::ImU32, fg::ImU32, clamp::Bool, fmt::Ptr{Cchar})::Cvoid +end function ImPlotAnnotationCollection_GetText(self, idx) ccall((:ImPlotAnnotationCollection_GetText, libcimgui), Ptr{Cchar}, (Ptr{ImPlotAnnotationCollection}, Cint), self, idx) @@ -13373,9 +13373,9 @@ function ImPlotTagCollection_destroy(self) end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function ImPlotTagCollection_Append(self, axis, value, bg, fg, fmt, va_list...) - :(@ccall(libcimgui.ImPlotTagCollection_Append(self::Ptr{ImPlotTagCollection}, axis::ImAxis, value::Cdouble, bg::ImU32, fg::ImU32, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function ImPlotTagCollection_Append(self, axis, value, bg, fg, fmt) + @ccall libcimgui.ImPlotTagCollection_Append(self::Ptr{ImPlotTagCollection}, axis::ImAxis, value::Cdouble, bg::ImU32, fg::ImU32, fmt::Ptr{Cchar})::Cvoid +end function ImPlotTagCollection_GetText(self, idx) ccall((:ImPlotTagCollection_GetText, libcimgui), Ptr{Cchar}, (Ptr{ImPlotTagCollection}, Cint), self, idx) diff --git a/lib/x86_64-apple-darwin14.jl b/lib/x86_64-apple-darwin14.jl index 6f0cd24..097d8a8 100644 --- a/lib/x86_64-apple-darwin14.jl +++ b/lib/x86_64-apple-darwin14.jl @@ -5182,34 +5182,34 @@ function igTextUnformatted(text, text_end) end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igText(fmt, va_list...) - :(@ccall(libcimgui.igText(fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function igText(fmt) + @ccall libcimgui.igText(fmt::Ptr{Cchar})::Cvoid +end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igTextColored(col, fmt, va_list...) - :(@ccall(libcimgui.igTextColored(col::ImVec4, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function igTextColored(col, fmt) + @ccall libcimgui.igTextColored(col::ImVec4, fmt::Ptr{Cchar})::Cvoid +end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igTextDisabled(fmt, va_list...) - :(@ccall(libcimgui.igTextDisabled(fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function igTextDisabled(fmt) + @ccall libcimgui.igTextDisabled(fmt::Ptr{Cchar})::Cvoid +end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igTextWrapped(fmt, va_list...) - :(@ccall(libcimgui.igTextWrapped(fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function igTextWrapped(fmt) + @ccall libcimgui.igTextWrapped(fmt::Ptr{Cchar})::Cvoid +end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igLabelText(label, fmt, va_list...) - :(@ccall(libcimgui.igLabelText(label::Ptr{Cchar}, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function igLabelText(label, fmt) + @ccall libcimgui.igLabelText(label::Ptr{Cchar}, fmt::Ptr{Cchar})::Cvoid +end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igBulletText(fmt, va_list...) - :(@ccall(libcimgui.igBulletText(fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function igBulletText(fmt) + @ccall libcimgui.igBulletText(fmt::Ptr{Cchar})::Cvoid +end function igSeparatorText(label) ccall((:igSeparatorText, libcimgui), Cvoid, (Ptr{Cchar},), label) @@ -5484,28 +5484,28 @@ function igTreeNode_Str(label) end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igTreeNode_StrStr(str_id, fmt, va_list...) - :(@ccall(libcimgui.igTreeNode_StrStr(str_id::Ptr{Cchar}, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Bool)) - end +function igTreeNode_StrStr(str_id, fmt) + @ccall libcimgui.igTreeNode_StrStr(str_id::Ptr{Cchar}, fmt::Ptr{Cchar})::Bool +end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igTreeNode_Ptr(ptr_id, fmt, va_list...) - :(@ccall(libcimgui.igTreeNode_Ptr(ptr_id::Ptr{Cvoid}, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Bool)) - end +function igTreeNode_Ptr(ptr_id, fmt) + @ccall libcimgui.igTreeNode_Ptr(ptr_id::Ptr{Cvoid}, fmt::Ptr{Cchar})::Bool +end function igTreeNodeEx_Str(label, flags) ccall((:igTreeNodeEx_Str, libcimgui), Bool, (Ptr{Cchar}, ImGuiTreeNodeFlags), label, flags) end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igTreeNodeEx_StrStr(str_id, flags, fmt, va_list...) - :(@ccall(libcimgui.igTreeNodeEx_StrStr(str_id::Ptr{Cchar}, flags::ImGuiTreeNodeFlags, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Bool)) - end +function igTreeNodeEx_StrStr(str_id, flags, fmt) + @ccall libcimgui.igTreeNodeEx_StrStr(str_id::Ptr{Cchar}, flags::ImGuiTreeNodeFlags, fmt::Ptr{Cchar})::Bool +end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igTreeNodeEx_Ptr(ptr_id, flags, fmt, va_list...) - :(@ccall(libcimgui.igTreeNodeEx_Ptr(ptr_id::Ptr{Cvoid}, flags::ImGuiTreeNodeFlags, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Bool)) - end +function igTreeNodeEx_Ptr(ptr_id, flags, fmt) + @ccall libcimgui.igTreeNodeEx_Ptr(ptr_id::Ptr{Cvoid}, flags::ImGuiTreeNodeFlags, fmt::Ptr{Cchar})::Bool +end function igTreePush_Str(str_id) ccall((:igTreePush_Str, libcimgui), Cvoid, (Ptr{Cchar},), str_id) @@ -5652,18 +5652,18 @@ function igEndTooltip() end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igSetTooltip(fmt, va_list...) - :(@ccall(libcimgui.igSetTooltip(fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function igSetTooltip(fmt) + @ccall libcimgui.igSetTooltip(fmt::Ptr{Cchar})::Cvoid +end function igBeginItemTooltip() ccall((:igBeginItemTooltip, libcimgui), Bool, ()) end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igSetItemTooltip(fmt, va_list...) - :(@ccall(libcimgui.igSetItemTooltip(fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function igSetItemTooltip(fmt) + @ccall libcimgui.igSetItemTooltip(fmt::Ptr{Cchar})::Cvoid +end function igBeginPopup(str_id, flags) ccall((:igBeginPopup, libcimgui), Bool, (Ptr{Cchar}, ImGuiWindowFlags), str_id, flags) @@ -6218,9 +6218,9 @@ function igDebugCheckVersionAndDataLayout(version_str, sz_io, sz_style, sz_vec2, end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igDebugLog(fmt, va_list...) - :(@ccall(libcimgui.igDebugLog(fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function igDebugLog(fmt) + @ccall libcimgui.igDebugLog(fmt::Ptr{Cchar})::Cvoid +end function igSetAllocatorFunctions(alloc_func, free_func, user_data) ccall((:igSetAllocatorFunctions, libcimgui), Cvoid, (ImGuiMemAllocFunc, ImGuiMemFreeFunc, Ptr{Cvoid}), alloc_func, free_func, user_data) @@ -7431,14 +7431,14 @@ function igImCharIsXdigitA(c) end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igImFormatString(buf, buf_size, fmt, va_list...) - :(@ccall(libcimgui.igImFormatString(buf::Ptr{Cchar}, buf_size::Csize_t, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cint)) - end +function igImFormatString(buf, buf_size, fmt) + @ccall libcimgui.igImFormatString(buf::Ptr{Cchar}, buf_size::Csize_t, fmt::Ptr{Cchar})::Cint +end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igImFormatStringToTempBuffer(out_buf, out_buf_end, fmt, va_list...) - :(@ccall(libcimgui.igImFormatStringToTempBuffer(out_buf::Ptr{Ptr{Cchar}}, out_buf_end::Ptr{Ptr{Cchar}}, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function igImFormatStringToTempBuffer(out_buf, out_buf_end, fmt) + @ccall libcimgui.igImFormatStringToTempBuffer(out_buf::Ptr{Ptr{Cchar}}, out_buf_end::Ptr{Ptr{Cchar}}, fmt::Ptr{Cchar})::Cvoid +end function igImParseFormatFindStart(format) ccall((:igImParseFormatFindStart, libcimgui), Ptr{Cchar}, (Ptr{Cchar},), format) @@ -10293,14 +10293,14 @@ function igImFontAtlasBuildMultiplyRectAlpha8(table, pixels, x, y, w, h, stride) end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igLogText(fmt, va_list...) - :(@ccall(libcimgui.igLogText(fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function igLogText(fmt) + @ccall libcimgui.igLogText(fmt::Ptr{Cchar})::Cvoid +end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function ImGuiTextBuffer_appendf(buffer, fmt, va_list...) - :(@ccall(libcimgui.ImGuiTextBuffer_appendf(buffer::Ptr{ImGuiTextBuffer}, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function ImGuiTextBuffer_appendf(buffer, fmt) + @ccall libcimgui.ImGuiTextBuffer_appendf(buffer::Ptr{ImGuiTextBuffer}, fmt::Ptr{Cchar})::Cvoid +end function igGET_FLT_MAX() ccall((:igGET_FLT_MAX, libcimgui), Cfloat, ()) @@ -12453,27 +12453,27 @@ function ImPlot_Annotation_Bool(x, y, col, pix_offset, clamp, round) end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function ImPlot_Annotation_Str(x, y, col, pix_offset, clamp, fmt, va_list...) - :(@ccall(libcimgui.ImPlot_Annotation_Str(x::Cdouble, y::Cdouble, col::ImVec4, pix_offset::ImVec2, clamp::Bool, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function ImPlot_Annotation_Str(x, y, col, pix_offset, clamp, fmt) + @ccall libcimgui.ImPlot_Annotation_Str(x::Cdouble, y::Cdouble, col::ImVec4, pix_offset::ImVec2, clamp::Bool, fmt::Ptr{Cchar})::Cvoid +end function ImPlot_TagX_Bool(x, col, round) ccall((:ImPlot_TagX_Bool, libcimgui), Cvoid, (Cdouble, ImVec4, Bool), x, col, round) end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function ImPlot_TagX_Str(x, col, fmt, va_list...) - :(@ccall(libcimgui.ImPlot_TagX_Str(x::Cdouble, col::ImVec4, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function ImPlot_TagX_Str(x, col, fmt) + @ccall libcimgui.ImPlot_TagX_Str(x::Cdouble, col::ImVec4, fmt::Ptr{Cchar})::Cvoid +end function ImPlot_TagY_Bool(y, col, round) ccall((:ImPlot_TagY_Bool, libcimgui), Cvoid, (Cdouble, ImVec4, Bool), y, col, round) end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function ImPlot_TagY_Str(y, col, fmt, va_list...) - :(@ccall(libcimgui.ImPlot_TagY_Str(y::Cdouble, col::ImVec4, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function ImPlot_TagY_Str(y, col, fmt) + @ccall libcimgui.ImPlot_TagY_Str(y::Cdouble, col::ImVec4, fmt::Ptr{Cchar})::Cvoid +end function ImPlot_SetAxis(axis) ccall((:ImPlot_SetAxis, libcimgui), Cvoid, (ImAxis,), axis) @@ -13352,9 +13352,9 @@ function ImPlotAnnotationCollection_destroy(self) end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function ImPlotAnnotationCollection_Append(self, pos, off, bg, fg, clamp, fmt, va_list...) - :(@ccall(libcimgui.ImPlotAnnotationCollection_Append(self::Ptr{ImPlotAnnotationCollection}, pos::ImVec2, off::ImVec2, bg::ImU32, fg::ImU32, clamp::Bool, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function ImPlotAnnotationCollection_Append(self, pos, off, bg, fg, clamp, fmt) + @ccall libcimgui.ImPlotAnnotationCollection_Append(self::Ptr{ImPlotAnnotationCollection}, pos::ImVec2, off::ImVec2, bg::ImU32, fg::ImU32, clamp::Bool, fmt::Ptr{Cchar})::Cvoid +end function ImPlotAnnotationCollection_GetText(self, idx) ccall((:ImPlotAnnotationCollection_GetText, libcimgui), Ptr{Cchar}, (Ptr{ImPlotAnnotationCollection}, Cint), self, idx) @@ -13373,9 +13373,9 @@ function ImPlotTagCollection_destroy(self) end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function ImPlotTagCollection_Append(self, axis, value, bg, fg, fmt, va_list...) - :(@ccall(libcimgui.ImPlotTagCollection_Append(self::Ptr{ImPlotTagCollection}, axis::ImAxis, value::Cdouble, bg::ImU32, fg::ImU32, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function ImPlotTagCollection_Append(self, axis, value, bg, fg, fmt) + @ccall libcimgui.ImPlotTagCollection_Append(self::Ptr{ImPlotTagCollection}, axis::ImAxis, value::Cdouble, bg::ImU32, fg::ImU32, fmt::Ptr{Cchar})::Cvoid +end function ImPlotTagCollection_GetText(self, idx) ccall((:ImPlotTagCollection_GetText, libcimgui), Ptr{Cchar}, (Ptr{ImPlotTagCollection}, Cint), self, idx) diff --git a/lib/x86_64-linux-gnu.jl b/lib/x86_64-linux-gnu.jl index 6dc623f..81d38ca 100644 --- a/lib/x86_64-linux-gnu.jl +++ b/lib/x86_64-linux-gnu.jl @@ -5182,34 +5182,34 @@ function igTextUnformatted(text, text_end) end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igText(fmt, va_list...) - :(@ccall(libcimgui.igText(fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function igText(fmt) + @ccall libcimgui.igText(fmt::Ptr{Cchar})::Cvoid +end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igTextColored(col, fmt, va_list...) - :(@ccall(libcimgui.igTextColored(col::ImVec4, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function igTextColored(col, fmt) + @ccall libcimgui.igTextColored(col::ImVec4, fmt::Ptr{Cchar})::Cvoid +end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igTextDisabled(fmt, va_list...) - :(@ccall(libcimgui.igTextDisabled(fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function igTextDisabled(fmt) + @ccall libcimgui.igTextDisabled(fmt::Ptr{Cchar})::Cvoid +end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igTextWrapped(fmt, va_list...) - :(@ccall(libcimgui.igTextWrapped(fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function igTextWrapped(fmt) + @ccall libcimgui.igTextWrapped(fmt::Ptr{Cchar})::Cvoid +end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igLabelText(label, fmt, va_list...) - :(@ccall(libcimgui.igLabelText(label::Ptr{Cchar}, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function igLabelText(label, fmt) + @ccall libcimgui.igLabelText(label::Ptr{Cchar}, fmt::Ptr{Cchar})::Cvoid +end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igBulletText(fmt, va_list...) - :(@ccall(libcimgui.igBulletText(fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function igBulletText(fmt) + @ccall libcimgui.igBulletText(fmt::Ptr{Cchar})::Cvoid +end function igSeparatorText(label) ccall((:igSeparatorText, libcimgui), Cvoid, (Ptr{Cchar},), label) @@ -5484,28 +5484,28 @@ function igTreeNode_Str(label) end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igTreeNode_StrStr(str_id, fmt, va_list...) - :(@ccall(libcimgui.igTreeNode_StrStr(str_id::Ptr{Cchar}, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Bool)) - end +function igTreeNode_StrStr(str_id, fmt) + @ccall libcimgui.igTreeNode_StrStr(str_id::Ptr{Cchar}, fmt::Ptr{Cchar})::Bool +end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igTreeNode_Ptr(ptr_id, fmt, va_list...) - :(@ccall(libcimgui.igTreeNode_Ptr(ptr_id::Ptr{Cvoid}, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Bool)) - end +function igTreeNode_Ptr(ptr_id, fmt) + @ccall libcimgui.igTreeNode_Ptr(ptr_id::Ptr{Cvoid}, fmt::Ptr{Cchar})::Bool +end function igTreeNodeEx_Str(label, flags) ccall((:igTreeNodeEx_Str, libcimgui), Bool, (Ptr{Cchar}, ImGuiTreeNodeFlags), label, flags) end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igTreeNodeEx_StrStr(str_id, flags, fmt, va_list...) - :(@ccall(libcimgui.igTreeNodeEx_StrStr(str_id::Ptr{Cchar}, flags::ImGuiTreeNodeFlags, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Bool)) - end +function igTreeNodeEx_StrStr(str_id, flags, fmt) + @ccall libcimgui.igTreeNodeEx_StrStr(str_id::Ptr{Cchar}, flags::ImGuiTreeNodeFlags, fmt::Ptr{Cchar})::Bool +end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igTreeNodeEx_Ptr(ptr_id, flags, fmt, va_list...) - :(@ccall(libcimgui.igTreeNodeEx_Ptr(ptr_id::Ptr{Cvoid}, flags::ImGuiTreeNodeFlags, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Bool)) - end +function igTreeNodeEx_Ptr(ptr_id, flags, fmt) + @ccall libcimgui.igTreeNodeEx_Ptr(ptr_id::Ptr{Cvoid}, flags::ImGuiTreeNodeFlags, fmt::Ptr{Cchar})::Bool +end function igTreePush_Str(str_id) ccall((:igTreePush_Str, libcimgui), Cvoid, (Ptr{Cchar},), str_id) @@ -5652,18 +5652,18 @@ function igEndTooltip() end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igSetTooltip(fmt, va_list...) - :(@ccall(libcimgui.igSetTooltip(fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function igSetTooltip(fmt) + @ccall libcimgui.igSetTooltip(fmt::Ptr{Cchar})::Cvoid +end function igBeginItemTooltip() ccall((:igBeginItemTooltip, libcimgui), Bool, ()) end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igSetItemTooltip(fmt, va_list...) - :(@ccall(libcimgui.igSetItemTooltip(fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function igSetItemTooltip(fmt) + @ccall libcimgui.igSetItemTooltip(fmt::Ptr{Cchar})::Cvoid +end function igBeginPopup(str_id, flags) ccall((:igBeginPopup, libcimgui), Bool, (Ptr{Cchar}, ImGuiWindowFlags), str_id, flags) @@ -6218,9 +6218,9 @@ function igDebugCheckVersionAndDataLayout(version_str, sz_io, sz_style, sz_vec2, end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igDebugLog(fmt, va_list...) - :(@ccall(libcimgui.igDebugLog(fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function igDebugLog(fmt) + @ccall libcimgui.igDebugLog(fmt::Ptr{Cchar})::Cvoid +end function igSetAllocatorFunctions(alloc_func, free_func, user_data) ccall((:igSetAllocatorFunctions, libcimgui), Cvoid, (ImGuiMemAllocFunc, ImGuiMemFreeFunc, Ptr{Cvoid}), alloc_func, free_func, user_data) @@ -7431,14 +7431,14 @@ function igImCharIsXdigitA(c) end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igImFormatString(buf, buf_size, fmt, va_list...) - :(@ccall(libcimgui.igImFormatString(buf::Ptr{Cchar}, buf_size::Csize_t, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cint)) - end +function igImFormatString(buf, buf_size, fmt) + @ccall libcimgui.igImFormatString(buf::Ptr{Cchar}, buf_size::Csize_t, fmt::Ptr{Cchar})::Cint +end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igImFormatStringToTempBuffer(out_buf, out_buf_end, fmt, va_list...) - :(@ccall(libcimgui.igImFormatStringToTempBuffer(out_buf::Ptr{Ptr{Cchar}}, out_buf_end::Ptr{Ptr{Cchar}}, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function igImFormatStringToTempBuffer(out_buf, out_buf_end, fmt) + @ccall libcimgui.igImFormatStringToTempBuffer(out_buf::Ptr{Ptr{Cchar}}, out_buf_end::Ptr{Ptr{Cchar}}, fmt::Ptr{Cchar})::Cvoid +end function igImParseFormatFindStart(format) ccall((:igImParseFormatFindStart, libcimgui), Ptr{Cchar}, (Ptr{Cchar},), format) @@ -10293,14 +10293,14 @@ function igImFontAtlasBuildMultiplyRectAlpha8(table, pixels, x, y, w, h, stride) end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igLogText(fmt, va_list...) - :(@ccall(libcimgui.igLogText(fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function igLogText(fmt) + @ccall libcimgui.igLogText(fmt::Ptr{Cchar})::Cvoid +end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function ImGuiTextBuffer_appendf(buffer, fmt, va_list...) - :(@ccall(libcimgui.ImGuiTextBuffer_appendf(buffer::Ptr{ImGuiTextBuffer}, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function ImGuiTextBuffer_appendf(buffer, fmt) + @ccall libcimgui.ImGuiTextBuffer_appendf(buffer::Ptr{ImGuiTextBuffer}, fmt::Ptr{Cchar})::Cvoid +end function igGET_FLT_MAX() ccall((:igGET_FLT_MAX, libcimgui), Cfloat, ()) @@ -12453,27 +12453,27 @@ function ImPlot_Annotation_Bool(x, y, col, pix_offset, clamp, round) end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function ImPlot_Annotation_Str(x, y, col, pix_offset, clamp, fmt, va_list...) - :(@ccall(libcimgui.ImPlot_Annotation_Str(x::Cdouble, y::Cdouble, col::ImVec4, pix_offset::ImVec2, clamp::Bool, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function ImPlot_Annotation_Str(x, y, col, pix_offset, clamp, fmt) + @ccall libcimgui.ImPlot_Annotation_Str(x::Cdouble, y::Cdouble, col::ImVec4, pix_offset::ImVec2, clamp::Bool, fmt::Ptr{Cchar})::Cvoid +end function ImPlot_TagX_Bool(x, col, round) ccall((:ImPlot_TagX_Bool, libcimgui), Cvoid, (Cdouble, ImVec4, Bool), x, col, round) end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function ImPlot_TagX_Str(x, col, fmt, va_list...) - :(@ccall(libcimgui.ImPlot_TagX_Str(x::Cdouble, col::ImVec4, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function ImPlot_TagX_Str(x, col, fmt) + @ccall libcimgui.ImPlot_TagX_Str(x::Cdouble, col::ImVec4, fmt::Ptr{Cchar})::Cvoid +end function ImPlot_TagY_Bool(y, col, round) ccall((:ImPlot_TagY_Bool, libcimgui), Cvoid, (Cdouble, ImVec4, Bool), y, col, round) end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function ImPlot_TagY_Str(y, col, fmt, va_list...) - :(@ccall(libcimgui.ImPlot_TagY_Str(y::Cdouble, col::ImVec4, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function ImPlot_TagY_Str(y, col, fmt) + @ccall libcimgui.ImPlot_TagY_Str(y::Cdouble, col::ImVec4, fmt::Ptr{Cchar})::Cvoid +end function ImPlot_SetAxis(axis) ccall((:ImPlot_SetAxis, libcimgui), Cvoid, (ImAxis,), axis) @@ -13352,9 +13352,9 @@ function ImPlotAnnotationCollection_destroy(self) end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function ImPlotAnnotationCollection_Append(self, pos, off, bg, fg, clamp, fmt, va_list...) - :(@ccall(libcimgui.ImPlotAnnotationCollection_Append(self::Ptr{ImPlotAnnotationCollection}, pos::ImVec2, off::ImVec2, bg::ImU32, fg::ImU32, clamp::Bool, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function ImPlotAnnotationCollection_Append(self, pos, off, bg, fg, clamp, fmt) + @ccall libcimgui.ImPlotAnnotationCollection_Append(self::Ptr{ImPlotAnnotationCollection}, pos::ImVec2, off::ImVec2, bg::ImU32, fg::ImU32, clamp::Bool, fmt::Ptr{Cchar})::Cvoid +end function ImPlotAnnotationCollection_GetText(self, idx) ccall((:ImPlotAnnotationCollection_GetText, libcimgui), Ptr{Cchar}, (Ptr{ImPlotAnnotationCollection}, Cint), self, idx) @@ -13373,9 +13373,9 @@ function ImPlotTagCollection_destroy(self) end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function ImPlotTagCollection_Append(self, axis, value, bg, fg, fmt, va_list...) - :(@ccall(libcimgui.ImPlotTagCollection_Append(self::Ptr{ImPlotTagCollection}, axis::ImAxis, value::Cdouble, bg::ImU32, fg::ImU32, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function ImPlotTagCollection_Append(self, axis, value, bg, fg, fmt) + @ccall libcimgui.ImPlotTagCollection_Append(self::Ptr{ImPlotTagCollection}, axis::ImAxis, value::Cdouble, bg::ImU32, fg::ImU32, fmt::Ptr{Cchar})::Cvoid +end function ImPlotTagCollection_GetText(self, idx) ccall((:ImPlotTagCollection_GetText, libcimgui), Ptr{Cchar}, (Ptr{ImPlotTagCollection}, Cint), self, idx) diff --git a/lib/x86_64-linux-musl.jl b/lib/x86_64-linux-musl.jl index 022dc10..619a0de 100644 --- a/lib/x86_64-linux-musl.jl +++ b/lib/x86_64-linux-musl.jl @@ -5180,34 +5180,34 @@ function igTextUnformatted(text, text_end) end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igText(fmt, va_list...) - :(@ccall(libcimgui.igText(fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function igText(fmt) + @ccall libcimgui.igText(fmt::Ptr{Cchar})::Cvoid +end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igTextColored(col, fmt, va_list...) - :(@ccall(libcimgui.igTextColored(col::ImVec4, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function igTextColored(col, fmt) + @ccall libcimgui.igTextColored(col::ImVec4, fmt::Ptr{Cchar})::Cvoid +end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igTextDisabled(fmt, va_list...) - :(@ccall(libcimgui.igTextDisabled(fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function igTextDisabled(fmt) + @ccall libcimgui.igTextDisabled(fmt::Ptr{Cchar})::Cvoid +end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igTextWrapped(fmt, va_list...) - :(@ccall(libcimgui.igTextWrapped(fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function igTextWrapped(fmt) + @ccall libcimgui.igTextWrapped(fmt::Ptr{Cchar})::Cvoid +end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igLabelText(label, fmt, va_list...) - :(@ccall(libcimgui.igLabelText(label::Ptr{Cchar}, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function igLabelText(label, fmt) + @ccall libcimgui.igLabelText(label::Ptr{Cchar}, fmt::Ptr{Cchar})::Cvoid +end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igBulletText(fmt, va_list...) - :(@ccall(libcimgui.igBulletText(fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function igBulletText(fmt) + @ccall libcimgui.igBulletText(fmt::Ptr{Cchar})::Cvoid +end function igSeparatorText(label) ccall((:igSeparatorText, libcimgui), Cvoid, (Ptr{Cchar},), label) @@ -5482,28 +5482,28 @@ function igTreeNode_Str(label) end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igTreeNode_StrStr(str_id, fmt, va_list...) - :(@ccall(libcimgui.igTreeNode_StrStr(str_id::Ptr{Cchar}, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Bool)) - end +function igTreeNode_StrStr(str_id, fmt) + @ccall libcimgui.igTreeNode_StrStr(str_id::Ptr{Cchar}, fmt::Ptr{Cchar})::Bool +end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igTreeNode_Ptr(ptr_id, fmt, va_list...) - :(@ccall(libcimgui.igTreeNode_Ptr(ptr_id::Ptr{Cvoid}, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Bool)) - end +function igTreeNode_Ptr(ptr_id, fmt) + @ccall libcimgui.igTreeNode_Ptr(ptr_id::Ptr{Cvoid}, fmt::Ptr{Cchar})::Bool +end function igTreeNodeEx_Str(label, flags) ccall((:igTreeNodeEx_Str, libcimgui), Bool, (Ptr{Cchar}, ImGuiTreeNodeFlags), label, flags) end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igTreeNodeEx_StrStr(str_id, flags, fmt, va_list...) - :(@ccall(libcimgui.igTreeNodeEx_StrStr(str_id::Ptr{Cchar}, flags::ImGuiTreeNodeFlags, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Bool)) - end +function igTreeNodeEx_StrStr(str_id, flags, fmt) + @ccall libcimgui.igTreeNodeEx_StrStr(str_id::Ptr{Cchar}, flags::ImGuiTreeNodeFlags, fmt::Ptr{Cchar})::Bool +end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igTreeNodeEx_Ptr(ptr_id, flags, fmt, va_list...) - :(@ccall(libcimgui.igTreeNodeEx_Ptr(ptr_id::Ptr{Cvoid}, flags::ImGuiTreeNodeFlags, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Bool)) - end +function igTreeNodeEx_Ptr(ptr_id, flags, fmt) + @ccall libcimgui.igTreeNodeEx_Ptr(ptr_id::Ptr{Cvoid}, flags::ImGuiTreeNodeFlags, fmt::Ptr{Cchar})::Bool +end function igTreePush_Str(str_id) ccall((:igTreePush_Str, libcimgui), Cvoid, (Ptr{Cchar},), str_id) @@ -5650,18 +5650,18 @@ function igEndTooltip() end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igSetTooltip(fmt, va_list...) - :(@ccall(libcimgui.igSetTooltip(fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function igSetTooltip(fmt) + @ccall libcimgui.igSetTooltip(fmt::Ptr{Cchar})::Cvoid +end function igBeginItemTooltip() ccall((:igBeginItemTooltip, libcimgui), Bool, ()) end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igSetItemTooltip(fmt, va_list...) - :(@ccall(libcimgui.igSetItemTooltip(fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function igSetItemTooltip(fmt) + @ccall libcimgui.igSetItemTooltip(fmt::Ptr{Cchar})::Cvoid +end function igBeginPopup(str_id, flags) ccall((:igBeginPopup, libcimgui), Bool, (Ptr{Cchar}, ImGuiWindowFlags), str_id, flags) @@ -6216,9 +6216,9 @@ function igDebugCheckVersionAndDataLayout(version_str, sz_io, sz_style, sz_vec2, end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igDebugLog(fmt, va_list...) - :(@ccall(libcimgui.igDebugLog(fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function igDebugLog(fmt) + @ccall libcimgui.igDebugLog(fmt::Ptr{Cchar})::Cvoid +end function igSetAllocatorFunctions(alloc_func, free_func, user_data) ccall((:igSetAllocatorFunctions, libcimgui), Cvoid, (ImGuiMemAllocFunc, ImGuiMemFreeFunc, Ptr{Cvoid}), alloc_func, free_func, user_data) @@ -7429,14 +7429,14 @@ function igImCharIsXdigitA(c) end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igImFormatString(buf, buf_size, fmt, va_list...) - :(@ccall(libcimgui.igImFormatString(buf::Ptr{Cchar}, buf_size::Csize_t, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cint)) - end +function igImFormatString(buf, buf_size, fmt) + @ccall libcimgui.igImFormatString(buf::Ptr{Cchar}, buf_size::Csize_t, fmt::Ptr{Cchar})::Cint +end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igImFormatStringToTempBuffer(out_buf, out_buf_end, fmt, va_list...) - :(@ccall(libcimgui.igImFormatStringToTempBuffer(out_buf::Ptr{Ptr{Cchar}}, out_buf_end::Ptr{Ptr{Cchar}}, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function igImFormatStringToTempBuffer(out_buf, out_buf_end, fmt) + @ccall libcimgui.igImFormatStringToTempBuffer(out_buf::Ptr{Ptr{Cchar}}, out_buf_end::Ptr{Ptr{Cchar}}, fmt::Ptr{Cchar})::Cvoid +end function igImParseFormatFindStart(format) ccall((:igImParseFormatFindStart, libcimgui), Ptr{Cchar}, (Ptr{Cchar},), format) @@ -10291,14 +10291,14 @@ function igImFontAtlasBuildMultiplyRectAlpha8(table, pixels, x, y, w, h, stride) end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igLogText(fmt, va_list...) - :(@ccall(libcimgui.igLogText(fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function igLogText(fmt) + @ccall libcimgui.igLogText(fmt::Ptr{Cchar})::Cvoid +end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function ImGuiTextBuffer_appendf(buffer, fmt, va_list...) - :(@ccall(libcimgui.ImGuiTextBuffer_appendf(buffer::Ptr{ImGuiTextBuffer}, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function ImGuiTextBuffer_appendf(buffer, fmt) + @ccall libcimgui.ImGuiTextBuffer_appendf(buffer::Ptr{ImGuiTextBuffer}, fmt::Ptr{Cchar})::Cvoid +end function igGET_FLT_MAX() ccall((:igGET_FLT_MAX, libcimgui), Cfloat, ()) @@ -12451,27 +12451,27 @@ function ImPlot_Annotation_Bool(x, y, col, pix_offset, clamp, round) end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function ImPlot_Annotation_Str(x, y, col, pix_offset, clamp, fmt, va_list...) - :(@ccall(libcimgui.ImPlot_Annotation_Str(x::Cdouble, y::Cdouble, col::ImVec4, pix_offset::ImVec2, clamp::Bool, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function ImPlot_Annotation_Str(x, y, col, pix_offset, clamp, fmt) + @ccall libcimgui.ImPlot_Annotation_Str(x::Cdouble, y::Cdouble, col::ImVec4, pix_offset::ImVec2, clamp::Bool, fmt::Ptr{Cchar})::Cvoid +end function ImPlot_TagX_Bool(x, col, round) ccall((:ImPlot_TagX_Bool, libcimgui), Cvoid, (Cdouble, ImVec4, Bool), x, col, round) end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function ImPlot_TagX_Str(x, col, fmt, va_list...) - :(@ccall(libcimgui.ImPlot_TagX_Str(x::Cdouble, col::ImVec4, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function ImPlot_TagX_Str(x, col, fmt) + @ccall libcimgui.ImPlot_TagX_Str(x::Cdouble, col::ImVec4, fmt::Ptr{Cchar})::Cvoid +end function ImPlot_TagY_Bool(y, col, round) ccall((:ImPlot_TagY_Bool, libcimgui), Cvoid, (Cdouble, ImVec4, Bool), y, col, round) end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function ImPlot_TagY_Str(y, col, fmt, va_list...) - :(@ccall(libcimgui.ImPlot_TagY_Str(y::Cdouble, col::ImVec4, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function ImPlot_TagY_Str(y, col, fmt) + @ccall libcimgui.ImPlot_TagY_Str(y::Cdouble, col::ImVec4, fmt::Ptr{Cchar})::Cvoid +end function ImPlot_SetAxis(axis) ccall((:ImPlot_SetAxis, libcimgui), Cvoid, (ImAxis,), axis) @@ -13350,9 +13350,9 @@ function ImPlotAnnotationCollection_destroy(self) end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function ImPlotAnnotationCollection_Append(self, pos, off, bg, fg, clamp, fmt, va_list...) - :(@ccall(libcimgui.ImPlotAnnotationCollection_Append(self::Ptr{ImPlotAnnotationCollection}, pos::ImVec2, off::ImVec2, bg::ImU32, fg::ImU32, clamp::Bool, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function ImPlotAnnotationCollection_Append(self, pos, off, bg, fg, clamp, fmt) + @ccall libcimgui.ImPlotAnnotationCollection_Append(self::Ptr{ImPlotAnnotationCollection}, pos::ImVec2, off::ImVec2, bg::ImU32, fg::ImU32, clamp::Bool, fmt::Ptr{Cchar})::Cvoid +end function ImPlotAnnotationCollection_GetText(self, idx) ccall((:ImPlotAnnotationCollection_GetText, libcimgui), Ptr{Cchar}, (Ptr{ImPlotAnnotationCollection}, Cint), self, idx) @@ -13371,9 +13371,9 @@ function ImPlotTagCollection_destroy(self) end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function ImPlotTagCollection_Append(self, axis, value, bg, fg, fmt, va_list...) - :(@ccall(libcimgui.ImPlotTagCollection_Append(self::Ptr{ImPlotTagCollection}, axis::ImAxis, value::Cdouble, bg::ImU32, fg::ImU32, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function ImPlotTagCollection_Append(self, axis, value, bg, fg, fmt) + @ccall libcimgui.ImPlotTagCollection_Append(self::Ptr{ImPlotTagCollection}, axis::ImAxis, value::Cdouble, bg::ImU32, fg::ImU32, fmt::Ptr{Cchar})::Cvoid +end function ImPlotTagCollection_GetText(self, idx) ccall((:ImPlotTagCollection_GetText, libcimgui), Ptr{Cchar}, (Ptr{ImPlotTagCollection}, Cint), self, idx) diff --git a/lib/x86_64-unknown-freebsd13.2.jl b/lib/x86_64-unknown-freebsd13.2.jl index f7e4acb..580fa16 100644 --- a/lib/x86_64-unknown-freebsd13.2.jl +++ b/lib/x86_64-unknown-freebsd13.2.jl @@ -5182,34 +5182,34 @@ function igTextUnformatted(text, text_end) end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igText(fmt, va_list...) - :(@ccall(libcimgui.igText(fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function igText(fmt) + @ccall libcimgui.igText(fmt::Ptr{Cchar})::Cvoid +end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igTextColored(col, fmt, va_list...) - :(@ccall(libcimgui.igTextColored(col::ImVec4, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function igTextColored(col, fmt) + @ccall libcimgui.igTextColored(col::ImVec4, fmt::Ptr{Cchar})::Cvoid +end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igTextDisabled(fmt, va_list...) - :(@ccall(libcimgui.igTextDisabled(fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function igTextDisabled(fmt) + @ccall libcimgui.igTextDisabled(fmt::Ptr{Cchar})::Cvoid +end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igTextWrapped(fmt, va_list...) - :(@ccall(libcimgui.igTextWrapped(fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function igTextWrapped(fmt) + @ccall libcimgui.igTextWrapped(fmt::Ptr{Cchar})::Cvoid +end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igLabelText(label, fmt, va_list...) - :(@ccall(libcimgui.igLabelText(label::Ptr{Cchar}, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function igLabelText(label, fmt) + @ccall libcimgui.igLabelText(label::Ptr{Cchar}, fmt::Ptr{Cchar})::Cvoid +end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igBulletText(fmt, va_list...) - :(@ccall(libcimgui.igBulletText(fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function igBulletText(fmt) + @ccall libcimgui.igBulletText(fmt::Ptr{Cchar})::Cvoid +end function igSeparatorText(label) ccall((:igSeparatorText, libcimgui), Cvoid, (Ptr{Cchar},), label) @@ -5484,28 +5484,28 @@ function igTreeNode_Str(label) end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igTreeNode_StrStr(str_id, fmt, va_list...) - :(@ccall(libcimgui.igTreeNode_StrStr(str_id::Ptr{Cchar}, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Bool)) - end +function igTreeNode_StrStr(str_id, fmt) + @ccall libcimgui.igTreeNode_StrStr(str_id::Ptr{Cchar}, fmt::Ptr{Cchar})::Bool +end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igTreeNode_Ptr(ptr_id, fmt, va_list...) - :(@ccall(libcimgui.igTreeNode_Ptr(ptr_id::Ptr{Cvoid}, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Bool)) - end +function igTreeNode_Ptr(ptr_id, fmt) + @ccall libcimgui.igTreeNode_Ptr(ptr_id::Ptr{Cvoid}, fmt::Ptr{Cchar})::Bool +end function igTreeNodeEx_Str(label, flags) ccall((:igTreeNodeEx_Str, libcimgui), Bool, (Ptr{Cchar}, ImGuiTreeNodeFlags), label, flags) end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igTreeNodeEx_StrStr(str_id, flags, fmt, va_list...) - :(@ccall(libcimgui.igTreeNodeEx_StrStr(str_id::Ptr{Cchar}, flags::ImGuiTreeNodeFlags, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Bool)) - end +function igTreeNodeEx_StrStr(str_id, flags, fmt) + @ccall libcimgui.igTreeNodeEx_StrStr(str_id::Ptr{Cchar}, flags::ImGuiTreeNodeFlags, fmt::Ptr{Cchar})::Bool +end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igTreeNodeEx_Ptr(ptr_id, flags, fmt, va_list...) - :(@ccall(libcimgui.igTreeNodeEx_Ptr(ptr_id::Ptr{Cvoid}, flags::ImGuiTreeNodeFlags, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Bool)) - end +function igTreeNodeEx_Ptr(ptr_id, flags, fmt) + @ccall libcimgui.igTreeNodeEx_Ptr(ptr_id::Ptr{Cvoid}, flags::ImGuiTreeNodeFlags, fmt::Ptr{Cchar})::Bool +end function igTreePush_Str(str_id) ccall((:igTreePush_Str, libcimgui), Cvoid, (Ptr{Cchar},), str_id) @@ -5652,18 +5652,18 @@ function igEndTooltip() end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igSetTooltip(fmt, va_list...) - :(@ccall(libcimgui.igSetTooltip(fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function igSetTooltip(fmt) + @ccall libcimgui.igSetTooltip(fmt::Ptr{Cchar})::Cvoid +end function igBeginItemTooltip() ccall((:igBeginItemTooltip, libcimgui), Bool, ()) end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igSetItemTooltip(fmt, va_list...) - :(@ccall(libcimgui.igSetItemTooltip(fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function igSetItemTooltip(fmt) + @ccall libcimgui.igSetItemTooltip(fmt::Ptr{Cchar})::Cvoid +end function igBeginPopup(str_id, flags) ccall((:igBeginPopup, libcimgui), Bool, (Ptr{Cchar}, ImGuiWindowFlags), str_id, flags) @@ -6218,9 +6218,9 @@ function igDebugCheckVersionAndDataLayout(version_str, sz_io, sz_style, sz_vec2, end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igDebugLog(fmt, va_list...) - :(@ccall(libcimgui.igDebugLog(fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function igDebugLog(fmt) + @ccall libcimgui.igDebugLog(fmt::Ptr{Cchar})::Cvoid +end function igSetAllocatorFunctions(alloc_func, free_func, user_data) ccall((:igSetAllocatorFunctions, libcimgui), Cvoid, (ImGuiMemAllocFunc, ImGuiMemFreeFunc, Ptr{Cvoid}), alloc_func, free_func, user_data) @@ -7431,14 +7431,14 @@ function igImCharIsXdigitA(c) end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igImFormatString(buf, buf_size, fmt, va_list...) - :(@ccall(libcimgui.igImFormatString(buf::Ptr{Cchar}, buf_size::Csize_t, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cint)) - end +function igImFormatString(buf, buf_size, fmt) + @ccall libcimgui.igImFormatString(buf::Ptr{Cchar}, buf_size::Csize_t, fmt::Ptr{Cchar})::Cint +end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igImFormatStringToTempBuffer(out_buf, out_buf_end, fmt, va_list...) - :(@ccall(libcimgui.igImFormatStringToTempBuffer(out_buf::Ptr{Ptr{Cchar}}, out_buf_end::Ptr{Ptr{Cchar}}, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function igImFormatStringToTempBuffer(out_buf, out_buf_end, fmt) + @ccall libcimgui.igImFormatStringToTempBuffer(out_buf::Ptr{Ptr{Cchar}}, out_buf_end::Ptr{Ptr{Cchar}}, fmt::Ptr{Cchar})::Cvoid +end function igImParseFormatFindStart(format) ccall((:igImParseFormatFindStart, libcimgui), Ptr{Cchar}, (Ptr{Cchar},), format) @@ -10293,14 +10293,14 @@ function igImFontAtlasBuildMultiplyRectAlpha8(table, pixels, x, y, w, h, stride) end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igLogText(fmt, va_list...) - :(@ccall(libcimgui.igLogText(fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function igLogText(fmt) + @ccall libcimgui.igLogText(fmt::Ptr{Cchar})::Cvoid +end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function ImGuiTextBuffer_appendf(buffer, fmt, va_list...) - :(@ccall(libcimgui.ImGuiTextBuffer_appendf(buffer::Ptr{ImGuiTextBuffer}, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function ImGuiTextBuffer_appendf(buffer, fmt) + @ccall libcimgui.ImGuiTextBuffer_appendf(buffer::Ptr{ImGuiTextBuffer}, fmt::Ptr{Cchar})::Cvoid +end function igGET_FLT_MAX() ccall((:igGET_FLT_MAX, libcimgui), Cfloat, ()) @@ -12453,27 +12453,27 @@ function ImPlot_Annotation_Bool(x, y, col, pix_offset, clamp, round) end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function ImPlot_Annotation_Str(x, y, col, pix_offset, clamp, fmt, va_list...) - :(@ccall(libcimgui.ImPlot_Annotation_Str(x::Cdouble, y::Cdouble, col::ImVec4, pix_offset::ImVec2, clamp::Bool, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function ImPlot_Annotation_Str(x, y, col, pix_offset, clamp, fmt) + @ccall libcimgui.ImPlot_Annotation_Str(x::Cdouble, y::Cdouble, col::ImVec4, pix_offset::ImVec2, clamp::Bool, fmt::Ptr{Cchar})::Cvoid +end function ImPlot_TagX_Bool(x, col, round) ccall((:ImPlot_TagX_Bool, libcimgui), Cvoid, (Cdouble, ImVec4, Bool), x, col, round) end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function ImPlot_TagX_Str(x, col, fmt, va_list...) - :(@ccall(libcimgui.ImPlot_TagX_Str(x::Cdouble, col::ImVec4, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function ImPlot_TagX_Str(x, col, fmt) + @ccall libcimgui.ImPlot_TagX_Str(x::Cdouble, col::ImVec4, fmt::Ptr{Cchar})::Cvoid +end function ImPlot_TagY_Bool(y, col, round) ccall((:ImPlot_TagY_Bool, libcimgui), Cvoid, (Cdouble, ImVec4, Bool), y, col, round) end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function ImPlot_TagY_Str(y, col, fmt, va_list...) - :(@ccall(libcimgui.ImPlot_TagY_Str(y::Cdouble, col::ImVec4, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function ImPlot_TagY_Str(y, col, fmt) + @ccall libcimgui.ImPlot_TagY_Str(y::Cdouble, col::ImVec4, fmt::Ptr{Cchar})::Cvoid +end function ImPlot_SetAxis(axis) ccall((:ImPlot_SetAxis, libcimgui), Cvoid, (ImAxis,), axis) @@ -13352,9 +13352,9 @@ function ImPlotAnnotationCollection_destroy(self) end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function ImPlotAnnotationCollection_Append(self, pos, off, bg, fg, clamp, fmt, va_list...) - :(@ccall(libcimgui.ImPlotAnnotationCollection_Append(self::Ptr{ImPlotAnnotationCollection}, pos::ImVec2, off::ImVec2, bg::ImU32, fg::ImU32, clamp::Bool, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function ImPlotAnnotationCollection_Append(self, pos, off, bg, fg, clamp, fmt) + @ccall libcimgui.ImPlotAnnotationCollection_Append(self::Ptr{ImPlotAnnotationCollection}, pos::ImVec2, off::ImVec2, bg::ImU32, fg::ImU32, clamp::Bool, fmt::Ptr{Cchar})::Cvoid +end function ImPlotAnnotationCollection_GetText(self, idx) ccall((:ImPlotAnnotationCollection_GetText, libcimgui), Ptr{Cchar}, (Ptr{ImPlotAnnotationCollection}, Cint), self, idx) @@ -13373,9 +13373,9 @@ function ImPlotTagCollection_destroy(self) end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function ImPlotTagCollection_Append(self, axis, value, bg, fg, fmt, va_list...) - :(@ccall(libcimgui.ImPlotTagCollection_Append(self::Ptr{ImPlotTagCollection}, axis::ImAxis, value::Cdouble, bg::ImU32, fg::ImU32, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function ImPlotTagCollection_Append(self, axis, value, bg, fg, fmt) + @ccall libcimgui.ImPlotTagCollection_Append(self::Ptr{ImPlotTagCollection}, axis::ImAxis, value::Cdouble, bg::ImU32, fg::ImU32, fmt::Ptr{Cchar})::Cvoid +end function ImPlotTagCollection_GetText(self, idx) ccall((:ImPlotTagCollection_GetText, libcimgui), Ptr{Cchar}, (Ptr{ImPlotTagCollection}, Cint), self, idx) diff --git a/lib/x86_64-w64-mingw32.jl b/lib/x86_64-w64-mingw32.jl index 4e4a883..645a91d 100644 --- a/lib/x86_64-w64-mingw32.jl +++ b/lib/x86_64-w64-mingw32.jl @@ -5196,34 +5196,34 @@ function igTextUnformatted(text, text_end) end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igText(fmt, va_list...) - :(@ccall(libcimgui.igText(fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function igText(fmt) + @ccall libcimgui.igText(fmt::Ptr{Cchar})::Cvoid +end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igTextColored(col, fmt, va_list...) - :(@ccall(libcimgui.igTextColored(col::ImVec4, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function igTextColored(col, fmt) + @ccall libcimgui.igTextColored(col::ImVec4, fmt::Ptr{Cchar})::Cvoid +end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igTextDisabled(fmt, va_list...) - :(@ccall(libcimgui.igTextDisabled(fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function igTextDisabled(fmt) + @ccall libcimgui.igTextDisabled(fmt::Ptr{Cchar})::Cvoid +end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igTextWrapped(fmt, va_list...) - :(@ccall(libcimgui.igTextWrapped(fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function igTextWrapped(fmt) + @ccall libcimgui.igTextWrapped(fmt::Ptr{Cchar})::Cvoid +end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igLabelText(label, fmt, va_list...) - :(@ccall(libcimgui.igLabelText(label::Ptr{Cchar}, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function igLabelText(label, fmt) + @ccall libcimgui.igLabelText(label::Ptr{Cchar}, fmt::Ptr{Cchar})::Cvoid +end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igBulletText(fmt, va_list...) - :(@ccall(libcimgui.igBulletText(fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function igBulletText(fmt) + @ccall libcimgui.igBulletText(fmt::Ptr{Cchar})::Cvoid +end function igSeparatorText(label) ccall((:igSeparatorText, libcimgui), Cvoid, (Ptr{Cchar},), label) @@ -5498,28 +5498,28 @@ function igTreeNode_Str(label) end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igTreeNode_StrStr(str_id, fmt, va_list...) - :(@ccall(libcimgui.igTreeNode_StrStr(str_id::Ptr{Cchar}, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Bool)) - end +function igTreeNode_StrStr(str_id, fmt) + @ccall libcimgui.igTreeNode_StrStr(str_id::Ptr{Cchar}, fmt::Ptr{Cchar})::Bool +end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igTreeNode_Ptr(ptr_id, fmt, va_list...) - :(@ccall(libcimgui.igTreeNode_Ptr(ptr_id::Ptr{Cvoid}, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Bool)) - end +function igTreeNode_Ptr(ptr_id, fmt) + @ccall libcimgui.igTreeNode_Ptr(ptr_id::Ptr{Cvoid}, fmt::Ptr{Cchar})::Bool +end function igTreeNodeEx_Str(label, flags) ccall((:igTreeNodeEx_Str, libcimgui), Bool, (Ptr{Cchar}, ImGuiTreeNodeFlags), label, flags) end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igTreeNodeEx_StrStr(str_id, flags, fmt, va_list...) - :(@ccall(libcimgui.igTreeNodeEx_StrStr(str_id::Ptr{Cchar}, flags::ImGuiTreeNodeFlags, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Bool)) - end +function igTreeNodeEx_StrStr(str_id, flags, fmt) + @ccall libcimgui.igTreeNodeEx_StrStr(str_id::Ptr{Cchar}, flags::ImGuiTreeNodeFlags, fmt::Ptr{Cchar})::Bool +end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igTreeNodeEx_Ptr(ptr_id, flags, fmt, va_list...) - :(@ccall(libcimgui.igTreeNodeEx_Ptr(ptr_id::Ptr{Cvoid}, flags::ImGuiTreeNodeFlags, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Bool)) - end +function igTreeNodeEx_Ptr(ptr_id, flags, fmt) + @ccall libcimgui.igTreeNodeEx_Ptr(ptr_id::Ptr{Cvoid}, flags::ImGuiTreeNodeFlags, fmt::Ptr{Cchar})::Bool +end function igTreePush_Str(str_id) ccall((:igTreePush_Str, libcimgui), Cvoid, (Ptr{Cchar},), str_id) @@ -5666,18 +5666,18 @@ function igEndTooltip() end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igSetTooltip(fmt, va_list...) - :(@ccall(libcimgui.igSetTooltip(fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function igSetTooltip(fmt) + @ccall libcimgui.igSetTooltip(fmt::Ptr{Cchar})::Cvoid +end function igBeginItemTooltip() ccall((:igBeginItemTooltip, libcimgui), Bool, ()) end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igSetItemTooltip(fmt, va_list...) - :(@ccall(libcimgui.igSetItemTooltip(fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function igSetItemTooltip(fmt) + @ccall libcimgui.igSetItemTooltip(fmt::Ptr{Cchar})::Cvoid +end function igBeginPopup(str_id, flags) ccall((:igBeginPopup, libcimgui), Bool, (Ptr{Cchar}, ImGuiWindowFlags), str_id, flags) @@ -6232,9 +6232,9 @@ function igDebugCheckVersionAndDataLayout(version_str, sz_io, sz_style, sz_vec2, end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igDebugLog(fmt, va_list...) - :(@ccall(libcimgui.igDebugLog(fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function igDebugLog(fmt) + @ccall libcimgui.igDebugLog(fmt::Ptr{Cchar})::Cvoid +end function igSetAllocatorFunctions(alloc_func, free_func, user_data) ccall((:igSetAllocatorFunctions, libcimgui), Cvoid, (ImGuiMemAllocFunc, ImGuiMemFreeFunc, Ptr{Cvoid}), alloc_func, free_func, user_data) @@ -7445,14 +7445,14 @@ function igImCharIsXdigitA(c) end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igImFormatString(buf, buf_size, fmt, va_list...) - :(@ccall(libcimgui.igImFormatString(buf::Ptr{Cchar}, buf_size::Csize_t, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cint)) - end +function igImFormatString(buf, buf_size, fmt) + @ccall libcimgui.igImFormatString(buf::Ptr{Cchar}, buf_size::Csize_t, fmt::Ptr{Cchar})::Cint +end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igImFormatStringToTempBuffer(out_buf, out_buf_end, fmt, va_list...) - :(@ccall(libcimgui.igImFormatStringToTempBuffer(out_buf::Ptr{Ptr{Cchar}}, out_buf_end::Ptr{Ptr{Cchar}}, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function igImFormatStringToTempBuffer(out_buf, out_buf_end, fmt) + @ccall libcimgui.igImFormatStringToTempBuffer(out_buf::Ptr{Ptr{Cchar}}, out_buf_end::Ptr{Ptr{Cchar}}, fmt::Ptr{Cchar})::Cvoid +end function igImParseFormatFindStart(format) ccall((:igImParseFormatFindStart, libcimgui), Ptr{Cchar}, (Ptr{Cchar},), format) @@ -10307,14 +10307,14 @@ function igImFontAtlasBuildMultiplyRectAlpha8(table, pixels, x, y, w, h, stride) end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function igLogText(fmt, va_list...) - :(@ccall(libcimgui.igLogText(fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function igLogText(fmt) + @ccall libcimgui.igLogText(fmt::Ptr{Cchar})::Cvoid +end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function ImGuiTextBuffer_appendf(buffer, fmt, va_list...) - :(@ccall(libcimgui.ImGuiTextBuffer_appendf(buffer::Ptr{ImGuiTextBuffer}, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function ImGuiTextBuffer_appendf(buffer, fmt) + @ccall libcimgui.ImGuiTextBuffer_appendf(buffer::Ptr{ImGuiTextBuffer}, fmt::Ptr{Cchar})::Cvoid +end function igGET_FLT_MAX() ccall((:igGET_FLT_MAX, libcimgui), Cfloat, ()) @@ -12467,27 +12467,27 @@ function ImPlot_Annotation_Bool(x, y, col, pix_offset, clamp, round) end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function ImPlot_Annotation_Str(x, y, col, pix_offset, clamp, fmt, va_list...) - :(@ccall(libcimgui.ImPlot_Annotation_Str(x::Cdouble, y::Cdouble, col::ImVec4, pix_offset::ImVec2, clamp::Bool, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function ImPlot_Annotation_Str(x, y, col, pix_offset, clamp, fmt) + @ccall libcimgui.ImPlot_Annotation_Str(x::Cdouble, y::Cdouble, col::ImVec4, pix_offset::ImVec2, clamp::Bool, fmt::Ptr{Cchar})::Cvoid +end function ImPlot_TagX_Bool(x, col, round) ccall((:ImPlot_TagX_Bool, libcimgui), Cvoid, (Cdouble, ImVec4, Bool), x, col, round) end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function ImPlot_TagX_Str(x, col, fmt, va_list...) - :(@ccall(libcimgui.ImPlot_TagX_Str(x::Cdouble, col::ImVec4, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function ImPlot_TagX_Str(x, col, fmt) + @ccall libcimgui.ImPlot_TagX_Str(x::Cdouble, col::ImVec4, fmt::Ptr{Cchar})::Cvoid +end function ImPlot_TagY_Bool(y, col, round) ccall((:ImPlot_TagY_Bool, libcimgui), Cvoid, (Cdouble, ImVec4, Bool), y, col, round) end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function ImPlot_TagY_Str(y, col, fmt, va_list...) - :(@ccall(libcimgui.ImPlot_TagY_Str(y::Cdouble, col::ImVec4, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function ImPlot_TagY_Str(y, col, fmt) + @ccall libcimgui.ImPlot_TagY_Str(y::Cdouble, col::ImVec4, fmt::Ptr{Cchar})::Cvoid +end function ImPlot_SetAxis(axis) ccall((:ImPlot_SetAxis, libcimgui), Cvoid, (ImAxis,), axis) @@ -13366,9 +13366,9 @@ function ImPlotAnnotationCollection_destroy(self) end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function ImPlotAnnotationCollection_Append(self, pos, off, bg, fg, clamp, fmt, va_list...) - :(@ccall(libcimgui.ImPlotAnnotationCollection_Append(self::Ptr{ImPlotAnnotationCollection}, pos::ImVec2, off::ImVec2, bg::ImU32, fg::ImU32, clamp::Bool, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function ImPlotAnnotationCollection_Append(self, pos, off, bg, fg, clamp, fmt) + @ccall libcimgui.ImPlotAnnotationCollection_Append(self::Ptr{ImPlotAnnotationCollection}, pos::ImVec2, off::ImVec2, bg::ImU32, fg::ImU32, clamp::Bool, fmt::Ptr{Cchar})::Cvoid +end function ImPlotAnnotationCollection_GetText(self, idx) ccall((:ImPlotAnnotationCollection_GetText, libcimgui), Ptr{Cchar}, (Ptr{ImPlotAnnotationCollection}, Cint), self, idx) @@ -13387,9 +13387,9 @@ function ImPlotTagCollection_destroy(self) end # automatic type deduction for variadic arguments may not be what you want, please use with caution -@generated function ImPlotTagCollection_Append(self, axis, value, bg, fg, fmt, va_list...) - :(@ccall(libcimgui.ImPlotTagCollection_Append(self::Ptr{ImPlotTagCollection}, axis::ImAxis, value::Cdouble, bg::ImU32, fg::ImU32, fmt::Ptr{Cchar}; $(to_c_type_pairs(va_list)...))::Cvoid)) - end +function ImPlotTagCollection_Append(self, axis, value, bg, fg, fmt) + @ccall libcimgui.ImPlotTagCollection_Append(self::Ptr{ImPlotTagCollection}, axis::ImAxis, value::Cdouble, bg::ImU32, fg::ImU32, fmt::Ptr{Cchar})::Cvoid +end function ImPlotTagCollection_GetText(self, idx) ccall((:ImPlotTagCollection_GetText, libcimgui), Ptr{Cchar}, (Ptr{ImPlotTagCollection}, Cint), self, idx)