Update for latest Godot
This commit is contained in:
parent
bf5bd54356
commit
a1c378301a
6 changed files with 31 additions and 26 deletions
|
|
@ -19,9 +19,6 @@ proc len*(self: GodotString): cint {.inline.} =
|
|||
## Returns the length of string in bytes if it is represented as UTF-8.
|
||||
getData(self, nil, result)
|
||||
|
||||
proc cstring*(self: GodotString): cstring {.inline.} =
|
||||
getGDNativeAPI().stringCStr(self)
|
||||
|
||||
proc `==`*(self, b: GodotString): bool {.inline.} =
|
||||
getGDNativeAPI().stringOperatorEqual(self, b)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue