summaryrefslogtreecommitdiff
path: root/core/extension/gdnative_interface.h
diff options
context:
space:
mode:
authorColin Kinloch <colin@kinlo.ch>2021-10-07 11:59:18 +0100
committerColin Kinloch <colin@kinlo.ch>2021-10-07 11:59:18 +0100
commita66e59be840e00ef57161c07c9c197f030cc90d6 (patch)
tree79d297b1573015245811c3f97f308f81020d6e7a /core/extension/gdnative_interface.h
parent22f2b275286b859a6c23e179939a7a7c48e8c894 (diff)
Add typedef to GDNativeInstanceBindingCallbacks
Diffstat (limited to 'core/extension/gdnative_interface.h')
-rw-r--r--core/extension/gdnative_interface.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/extension/gdnative_interface.h b/core/extension/gdnative_interface.h
index 73f78bde54..8f8cb5a3e0 100644
--- a/core/extension/gdnative_interface.h
+++ b/core/extension/gdnative_interface.h
@@ -182,11 +182,11 @@ typedef void *(*GDNativeInstanceBindingCreateCallback)(void *p_token, void *p_in
typedef void (*GDNativeInstanceBindingFreeCallback)(void *p_token, void *p_instance, void *p_binding);
typedef GDNativeBool (*GDNativeInstanceBindingReferenceCallback)(void *p_token, void *p_binding, GDNativeBool p_reference);
-struct GDNativeInstanceBindingCallbacks {
+typedef struct {
GDNativeInstanceBindingCreateCallback create_callback;
GDNativeInstanceBindingFreeCallback free_callback;
GDNativeInstanceBindingReferenceCallback reference_callback;
-};
+} GDNativeInstanceBindingCallbacks;
/* EXTENSION CLASSES */