Add missing $ to standard types

This commit is contained in:
Ruslan Mustakov 2017-08-06 13:58:54 +07:00
commit 6aaeed4dca
6 changed files with 58 additions and 24 deletions

View file

@ -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()