diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2021-08-18 08:05:02 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-18 08:05:02 +0200 |
commit | 17ce4846ff6d14464d87f62bd1ea05176eeaf6ca (patch) | |
tree | 7e8d186c1ca34316d48195e91e4592a23893f846 /core/extension/native_extension.h | |
parent | 4603d5dbf9fc7ef35889f5f62c9afa8b16701417 (diff) | |
parent | 3b593b596e2fadb2dd3be3fa772c208ce1bb5ed4 (diff) |
Merge pull request #51807 from vnen/extension-fixes
Some fixes for the extension API
Diffstat (limited to 'core/extension/native_extension.h')
-rw-r--r-- | core/extension/native_extension.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/extension/native_extension.h b/core/extension/native_extension.h index 8bd95b2867..a961b21cc9 100644 --- a/core/extension/native_extension.h +++ b/core/extension/native_extension.h @@ -48,7 +48,7 @@ class NativeExtension : public Resource { static void _register_extension_class(const GDNativeExtensionClassLibraryPtr p_library, const char *p_class_name, const char *p_parent_class_name, const GDNativeExtensionClassCreationInfo *p_extension_funcs); static void _register_extension_class_method(const GDNativeExtensionClassLibraryPtr p_library, const char *p_class_name, const GDNativeExtensionClassMethodInfo *p_method_info); - static void _register_extension_class_integer_constant(const GDNativeExtensionClassLibraryPtr p_library, const char *p_class_name, const char *p_enum_name, const char *p_constant_name, uint32_t p_constant_value); + static void _register_extension_class_integer_constant(const GDNativeExtensionClassLibraryPtr p_library, const char *p_class_name, const char *p_enum_name, const char *p_constant_name, GDNativeInt p_constant_value); static void _register_extension_class_property(const GDNativeExtensionClassLibraryPtr p_library, const char *p_class_name, const GDNativePropertyInfo *p_info, const char *p_setter, const char *p_getter); static void _register_extension_class_signal(const GDNativeExtensionClassLibraryPtr p_library, const char *p_class_name, const char *p_signal_name, const GDNativePropertyInfo *p_argument_info, GDNativeInt p_argument_count); static void _unregister_extension_class(const GDNativeExtensionClassLibraryPtr p_library, const char *p_class_name); |