Merge pull request #82332 from Sauermann/fix-struct-type

Fix type of `notification_func`
This commit is contained in:
Rémi Verschelde 2023-09-26 08:32:15 +02:00
commit 7e67b496ff
No known key found for this signature in database
GPG Key ID: C3336907360768E1
1 changed files with 1 additions and 1 deletions

View File

@ -641,7 +641,7 @@ public:
const GDExtensionScriptInstanceInfo2 *native_info; const GDExtensionScriptInstanceInfo2 *native_info;
bool free_native_info = false; bool free_native_info = false;
struct { struct {
GDExtensionClassNotification notification_func; GDExtensionScriptInstanceNotification notification_func = nullptr;
} deprecated_native_info; } deprecated_native_info;
GDExtensionScriptInstanceDataPtr instance = nullptr; GDExtensionScriptInstanceDataPtr instance = nullptr;