diff options
author | SaracenOne <SaracenOne@gmail.com> | 2021-08-10 02:39:42 +0100 |
---|---|---|
committer | SaracenOne <SaracenOne@gmail.com> | 2021-08-10 02:41:44 +0100 |
commit | 861bb3a48890e7c46310f47ce19eaa8578bbc566 (patch) | |
tree | c9b18acf4a8a221ccc3a971eac0b92f7ba76a844 /modules/gdscript/gdscript.h | |
parent | f3ddc14d3829ed09d6eab81811bcfb1314626ddf (diff) | |
download | redot-engine-861bb3a48890e7c46310f47ce19eaa8578bbc566.tar.gz |
Automatically call the _init function on base class if one does not exist.
Diffstat (limited to 'modules/gdscript/gdscript.h')
-rw-r--r-- | modules/gdscript/gdscript.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/gdscript/gdscript.h b/modules/gdscript/gdscript.h index 24809ad5fd..2b38630997 100644 --- a/modules/gdscript/gdscript.h +++ b/modules/gdscript/gdscript.h @@ -130,6 +130,7 @@ class GDScript : public Script { SelfList<GDScriptFunctionState>::List pending_func_states; + GDScriptFunction *_super_constructor(GDScript *p_script); void _super_implicit_constructor(GDScript *p_script, GDScriptInstance *p_instance, Callable::CallError &r_error); GDScriptInstance *_create_instance(const Variant **p_args, int p_argcount, Object *p_owner, bool p_is_ref_counted, Callable::CallError &r_error); |