1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-15 13:51:40 +00:00

[GDNative] fix NativeScript leak in editor

(cherry picked from commit 5fff7f741a)
This commit is contained in:
thomas.herzog
2019-03-22 12:54:19 +01:00
committed by Rémi Verschelde
parent cf8bd34941
commit 3e0fc6906e
2 changed files with 18 additions and 21 deletions

View File

@@ -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;