From d2bcde0407fb20be356906a27c4f72dfe766fbaf Mon Sep 17 00:00:00 2001 From: Markus Sauermann <6299227+Sauermann@users.noreply.github.com> Date: Mon, 25 Sep 2023 22:46:59 +0200 Subject: [PATCH] Fix type of notification_func --- core/object/script_language_extension.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/object/script_language_extension.h b/core/object/script_language_extension.h index f4a638f63ee..3e8284670cf 100644 --- a/core/object/script_language_extension.h +++ b/core/object/script_language_extension.h @@ -641,7 +641,7 @@ public: const GDExtensionScriptInstanceInfo2 *native_info; bool free_native_info = false; struct { - GDExtensionClassNotification notification_func; + GDExtensionScriptInstanceNotification notification_func = nullptr; } deprecated_native_info; GDExtensionScriptInstanceDataPtr instance = nullptr;