From ee53768c13feed2cdb279f8b518493da7ec7cf67 Mon Sep 17 00:00:00 2001 From: Ruslan Mustakov Date: Mon, 4 Sep 2017 20:28:13 +0700 Subject: [PATCH] Export generated init --- godot.nimble | 2 +- godot/nim/godotmacros.nim | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/godot.nimble b/godot.nimble index badccf4..fa351a8 100644 --- a/godot.nimble +++ b/godot.nimble @@ -1,4 +1,4 @@ -version = "0.5.7" +version = "0.5.8" author = "Xored Software, Inc." description = "Godot Engine bindings" license = "MIT" diff --git a/godot/nim/godotmacros.nim b/godot/nim/godotmacros.nim index 0fa2d9f..9ff9b66 100644 --- a/godot/nim/godotmacros.nim +++ b/godot/nim/godotmacros.nim @@ -466,7 +466,7 @@ proc genType(obj: ObjectDecl): NimNode {.compileTime.} = returnType: newEmptyNode(), isVirtual: true, isNoGodot: false, - nimNode: newProc(ident("init"), body = initBody, + nimNode: newProc(postfix(ident("init"), "*"), body = initBody, procType = nnkMethodDef) )) else: