From f5abff05e6383cbbfdecd144303e05be58941561 Mon Sep 17 00:00:00 2001 From: Ruslan Mustakov Date: Mon, 9 Oct 2017 14:47:28 +0700 Subject: [PATCH] Extend GDNative API according to the latest update --- godot.nimble | 2 +- godot/gdnativeapi.nim | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/godot.nimble b/godot.nimble index b81ad0e..4ec61f3 100644 --- a/godot.nimble +++ b/godot.nimble @@ -1,4 +1,4 @@ -version = "0.6.0" +version = "0.6.1" author = "Xored Software, Inc." description = "Godot Engine bindings" license = "MIT" diff --git a/godot/gdnativeapi.nim b/godot/gdnativeapi.nim index c93e5fa..4a84aeb 100644 --- a/godot/gdnativeapi.nim +++ b/godot/gdnativeapi.nim @@ -1301,6 +1301,16 @@ type GDNativeAPI* = object stringDestroy*: proc (self: var GodotString) {.noconv, raises: [], gcsafe, tags: [], locks: 0.} + # StringName API + stringNameNew: pointer + stringNameNewData: pointer + stringNameGetName: pointer + stringNameGetHash: pointer + stringNameGetDataUniquePointer: pointer + stringNameOperatorEqual: pointer + stringNameOperatorLess: pointer + stringNameDestroy: pointer + # Misc API objectDestroy*: proc (self: ptr GodotObject) {.noconv, raises: [], gcsafe, tags: [], locks: 0.}