diff options
author | Emmanuel Leblond <emmanuel.leblond@gmail.com> | 2022-04-29 00:51:04 +0200 |
---|---|---|
committer | Emmanuel Leblond <emmanuel.leblond@gmail.com> | 2022-04-29 00:51:04 +0200 |
commit | 80f61352fb1b0bed251c06eb0a21a09374de77b3 (patch) | |
tree | 37e9cfe46ecd8757d3b21af2daea679194acccbf /core/extension/native_extension.h | |
parent | 574bf0b91b848e6369d0a07a611d4decf88e668b (diff) |
Add GDNativeInterface::get_library_path to GDExtension
Diffstat (limited to 'core/extension/native_extension.h')
-rw-r--r-- | core/extension/native_extension.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/extension/native_extension.h b/core/extension/native_extension.h index ebfedfb29a..d29ccd81b8 100644 --- a/core/extension/native_extension.h +++ b/core/extension/native_extension.h @@ -39,6 +39,7 @@ class NativeExtension : public Resource { GDCLASS(NativeExtension, Resource) void *library = nullptr; // pointer if valid, + String library_path; struct Extension { ObjectNativeExtension native_extension; @@ -54,6 +55,7 @@ class NativeExtension : public Resource { static void _register_extension_class_property_subgroup(const GDNativeExtensionClassLibraryPtr p_library, const char *p_class_name, const char *p_subgroup_name, const char *p_prefix); 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); + static void _get_library_path(const GDNativeExtensionClassLibraryPtr p_library, GDNativeStringPtr r_path); GDNativeInitialization initialization; int32_t level_initialized = -1; |