diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2021-08-18 08:05:02 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-18 08:05:02 +0200 |
commit | 17ce4846ff6d14464d87f62bd1ea05176eeaf6ca (patch) | |
tree | 7e8d186c1ca34316d48195e91e4592a23893f846 /core/object | |
parent | 4603d5dbf9fc7ef35889f5f62c9afa8b16701417 (diff) | |
parent | 3b593b596e2fadb2dd3be3fa772c208ce1bb5ed4 (diff) |
Merge pull request #51807 from vnen/extension-fixes
Some fixes for the extension API
Diffstat (limited to 'core/object')
-rw-r--r-- | core/object/make_virtuals.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/object/make_virtuals.py b/core/object/make_virtuals.py index 2c6b8cddc9..9948620c73 100644 --- a/core/object/make_virtuals.py +++ b/core/object/make_virtuals.py @@ -1,8 +1,8 @@ proto = """ #define GDVIRTUAL$VER($RET m_name $ARG) \\ -GDNativeExtensionClassCallVirtual _gdvirtual_##m_name = (_get_extension() && _get_extension()->get_virtual) ? _get_extension()->get_virtual(_get_extension()->class_userdata, #m_name) : (GDNativeExtensionClassCallVirtual) nullptr;\\ StringName _gdvirtual_##m_name##_sn = #m_name;\\ bool _gdvirtual_##m_name##_call($CALLARGS) $CONST { \\ + GDNativeExtensionClassCallVirtual _gdvirtual_##m_name = (_get_extension() && _get_extension()->get_virtual) ? _get_extension()->get_virtual(_get_extension()->class_userdata, #m_name) : (GDNativeExtensionClassCallVirtual) nullptr;\\ ScriptInstance *script_instance = ((Object*)(this))->get_script_instance();\\ if (script_instance) {\\ Callable::CallError ce; \\ |