Fix type of notification_func

This commit is contained in:
Markus Sauermann 2023-09-25 22:46:59 +02:00
parent fcbc50ec14
commit d2bcde0407

View file

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