Odin binding: removed comptime from text parameter

This commit is contained in:
Iggy Kuperson 2025-06-05 13:22:54 +03:00
parent 58491394ca
commit 10328fde95

View file

@ -430,7 +430,7 @@ UI :: proc() -> proc (config: ElementDeclaration) -> bool {
return ConfigureOpenElement
}
Text :: proc($text: string, config: ^TextElementConfig) {
Text :: proc(text: string, config: ^TextElementConfig) {
wrapped := MakeString(text)
wrapped.isStaticallyAllocated = true
_OpenTextElement(wrapped, config)
@ -486,4 +486,4 @@ ID :: proc(label: string, index: u32 = 0) -> ElementId {
ID_LOCAL :: proc(label: string, index: u32 = 0) -> ElementId {
return _HashString(MakeString(label), index, _GetParentElementId())
}
}