Skip to content

Commit

Permalink
Merge pull request #82332 from Sauermann/fix-struct-type
Browse files Browse the repository at this point in the history
Fix type of `notification_func`
  • Loading branch information
akien-mga committed Sep 26, 2023
2 parents f593b6c + d2bcde0 commit 7e67b49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/object/script_language_extension.h
Original file line number Diff line number Diff line change
Expand Up @@ -641,7 +641,7 @@ class ScriptInstanceExtension : public ScriptInstance {
const GDExtensionScriptInstanceInfo2 *native_info;
bool free_native_info = false;
struct {
GDExtensionClassNotification notification_func;
GDExtensionScriptInstanceNotification notification_func = nullptr;
} deprecated_native_info;

GDExtensionScriptInstanceDataPtr instance = nullptr;
Expand Down

0 comments on commit 7e67b49

Please sign in to comment.