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