Add missing $ to standard types
This commit is contained in:
parent
72b706d7fe
commit
6aaeed4dca
6 changed files with 58 additions and 24 deletions
|
|
@ -191,3 +191,8 @@ proc hashCompare*(self, other: GodotVariant): bool {.
|
|||
importc: "godot_variant_hash_compare".}
|
||||
proc booleanize*(self: GodotVariant; isValid: var bool): bool {.
|
||||
importc: "godot_variant_booleanize".}
|
||||
|
||||
proc `$`*(self: GodotVariant): string =
|
||||
var s = self.asGodotString()
|
||||
result = $s
|
||||
s.deinit()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue