proc connectToSignal*(self: VisualScriptFunctionState; obj: Object; signals: string; args: Array) {.gcsafe, locks: 0.}
proc resume*(self: VisualScriptFunctionState; args: Array = nil): Variant {.gcsafe, locks: 0.}
proc isValid*(self: VisualScriptFunctionState): bool {.gcsafe, locks: 0.}
method signalCallback*(self: VisualScriptFunctionState; variantArgs: varargs[Variant]): Variant {.gcsafe, locks: 0, base.}