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

@ -22,6 +22,9 @@ proc idCInt(self: RID): cint {.
proc id*(self: RID): uint32 {.inline.} =
cast[uint32](self.idCInt())
proc `$`*(self: RID): string =
$self.id
proc `==`*(a, b: RID): bool {.
importc: "godot_rid_operator_equal".}
proc `<`*(a, b: RID): bool {.