Export generated init

This commit is contained in:
Ruslan Mustakov 2017-09-04 20:28:13 +07:00
commit ee53768c13
2 changed files with 2 additions and 2 deletions

View file

@ -1,4 +1,4 @@
version = "0.5.7"
version = "0.5.8"
author = "Xored Software, Inc."
description = "Godot Engine bindings"
license = "MIT"

View file

@ -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: