diff options
author | thomas.herzog <thomas.herzog@simedis.com> | 2019-03-22 12:54:19 +0100 |
---|---|---|
committer | thomas.herzog <thomas.herzog@simedis.com> | 2019-03-22 12:54:19 +0100 |
commit | 5fff7f741a8cc18e6f891ddee6f4130f624ece57 (patch) | |
tree | d2c777cbe6a91b8aedc36aff84fa4452ac399a8e /modules/gdnative/nativescript/nativescript.h | |
parent | 0e5b2b16ede012ffc1bddb5e6e3770234eda6032 (diff) | |
download | redot-engine-5fff7f741a8cc18e6f891ddee6f4130f624ece57.tar.gz |
[GDNative] fix NativeScript leak in editor
Diffstat (limited to 'modules/gdnative/nativescript/nativescript.h')
-rw-r--r-- | modules/gdnative/nativescript/nativescript.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/gdnative/nativescript/nativescript.h b/modules/gdnative/nativescript/nativescript.h index 8dd5ba3b9c..a6865c6243 100644 --- a/modules/gdnative/nativescript/nativescript.h +++ b/modules/gdnative/nativescript/nativescript.h @@ -149,6 +149,7 @@ public: virtual StringName get_instance_base_type() const; // this may not work in all scripts, will return empty if so virtual ScriptInstance *instance_create(Object *p_this); + virtual PlaceHolderScriptInstance *placeholder_instance_create(Object *p_this); virtual bool instance_has(const Object *p_this) const; virtual bool has_source_code() const; |