Export generated init
This commit is contained in:
parent
b5fd4295e6
commit
ee53768c13
2 changed files with 2 additions and 2 deletions
|
|
@ -1,4 +1,4 @@
|
||||||
version = "0.5.7"
|
version = "0.5.8"
|
||||||
author = "Xored Software, Inc."
|
author = "Xored Software, Inc."
|
||||||
description = "Godot Engine bindings"
|
description = "Godot Engine bindings"
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
|
|
|
||||||
|
|
@ -466,7 +466,7 @@ proc genType(obj: ObjectDecl): NimNode {.compileTime.} =
|
||||||
returnType: newEmptyNode(),
|
returnType: newEmptyNode(),
|
||||||
isVirtual: true,
|
isVirtual: true,
|
||||||
isNoGodot: false,
|
isNoGodot: false,
|
||||||
nimNode: newProc(ident("init"), body = initBody,
|
nimNode: newProc(postfix(ident("init"), "*"), body = initBody,
|
||||||
procType = nnkMethodDef)
|
procType = nnkMethodDef)
|
||||||
))
|
))
|
||||||
else:
|
else:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue