Add typedef to GDNativeInstanceBindingCallbacks

This commit is contained in:
Colin Kinloch 2021-10-07 11:59:18 +01:00
parent 22f2b27528
commit a66e59be84
1 changed files with 2 additions and 2 deletions

View File

@ -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 */