Add missing $ to standard types
This commit is contained in:
parent
72b706d7fe
commit
6aaeed4dca
6 changed files with 58 additions and 24 deletions
|
|
@ -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 {.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue