Open Dominaezzz opened 4 years ago
At the moment Kotlin/Native doesn't support forwarding args to variadic C functions.
fun ImGui.text(fmt: String, varags args: Any?) { igText(fmt, *args) }
result in
e:(...path...): When calling variadic C functions spread operator is supported only for *arrayOf(...)
Also consider voting for these.
They would eliminate the need for variadic support in kotlin-imgui.
kotlin-imgui
At the moment Kotlin/Native doesn't support forwarding args to variadic C functions.
result in