From 26a843bdec32fbab46d25828e53eff74d70f1c26 Mon Sep 17 00:00:00 2001 From: Fredia Huya-Kouadio Date: Sun, 19 May 2024 20:10:51 -0700 Subject: Switch the interface to extend from `RefCounted` so they can automatically be freed when the game exits. --- .../hello_gdextension_plugin/interface/hello_gdextension_plugin.gd | 2 +- .../demo/addons/hello_signals_plugin/hello_signals_plugin_interface.gd | 2 +- .../demo/addons/hello_world_plugin/hello_world_plugin_interface.gd | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins') diff --git a/plugins/hello_gdextension/demo/addons/hello_gdextension_plugin/interface/hello_gdextension_plugin.gd b/plugins/hello_gdextension/demo/addons/hello_gdextension_plugin/interface/hello_gdextension_plugin.gd index b46fb27..79fd311 100644 --- a/plugins/hello_gdextension/demo/addons/hello_gdextension_plugin/interface/hello_gdextension_plugin.gd +++ b/plugins/hello_gdextension/demo/addons/hello_gdextension_plugin/interface/hello_gdextension_plugin.gd @@ -1,4 +1,4 @@ -class_name HelloGDExtensionPlugin extends Object +class_name HelloGDExtensionPlugin extends RefCounted ## Interface used to access the functionality provided by the HelloGDExtension plugin diff --git a/plugins/hello_signals/demo/addons/hello_signals_plugin/hello_signals_plugin_interface.gd b/plugins/hello_signals/demo/addons/hello_signals_plugin/hello_signals_plugin_interface.gd index 0cc9c1d..d7b95b1 100644 --- a/plugins/hello_signals/demo/addons/hello_signals_plugin/hello_signals_plugin_interface.gd +++ b/plugins/hello_signals/demo/addons/hello_signals_plugin/hello_signals_plugin_interface.gd @@ -1,4 +1,4 @@ -class_name HelloSignalsPlugin extends Object +class_name HelloSignalsPlugin extends RefCounted ## Interface used to access the functionality provided by the HelloSignals plugin diff --git a/plugins/hello_world/demo/addons/hello_world_plugin/hello_world_plugin_interface.gd b/plugins/hello_world/demo/addons/hello_world_plugin/hello_world_plugin_interface.gd index ed84ef3..1c4ef16 100644 --- a/plugins/hello_world/demo/addons/hello_world_plugin/hello_world_plugin_interface.gd +++ b/plugins/hello_world/demo/addons/hello_world_plugin/hello_world_plugin_interface.gd @@ -1,4 +1,4 @@ -class_name HelloWorldPlugin extends Object +class_name HelloWorldPlugin extends RefCounted ## Interface used to access the functionality provided by this plugin -- cgit v1.2.3