diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2022-03-16 10:39:40 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-16 10:39:40 +0100 |
commit | 7bcf579a377bbfb87a67acdfc08696f7cb429bc2 (patch) | |
tree | d6a13344f421b45d47fa80602722eb9abb465b82 /godot-headers/godot/gdnative_interface.h | |
parent | 13603e40509800da02fbc7df29eff19e91b29158 (diff) | |
parent | 817efdd4845ed1a0024804c23c43bfb98d144fc4 (diff) | |
download | redot-cpp-7bcf579a377bbfb87a67acdfc08696f7cb429bc2.tar.gz |
Merge pull request #724 from bruvzg/fix-after-expose-more-gdextension
Diffstat (limited to 'godot-headers/godot/gdnative_interface.h')
-rw-r--r-- | godot-headers/godot/gdnative_interface.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/godot-headers/godot/gdnative_interface.h b/godot-headers/godot/gdnative_interface.h index 62934d1..76e87ea 100644 --- a/godot-headers/godot/gdnative_interface.h +++ b/godot-headers/godot/gdnative_interface.h @@ -194,6 +194,7 @@ typedef void *GDExtensionClassInstancePtr; typedef GDNativeBool (*GDNativeExtensionClassSet)(GDExtensionClassInstancePtr p_instance, const GDNativeStringNamePtr p_name, const GDNativeVariantPtr p_value); typedef GDNativeBool (*GDNativeExtensionClassGet)(GDExtensionClassInstancePtr p_instance, const GDNativeStringNamePtr p_name, GDNativeVariantPtr r_ret); +typedef uint64_t (*GDNativeExtensionClassGetRID)(GDExtensionClassInstancePtr p_instance); typedef struct { uint32_t type; @@ -228,6 +229,7 @@ typedef struct { GDNativeExtensionClassCreateInstance create_instance_func; /* this one is mandatory */ GDNativeExtensionClassFreeInstance free_instance_func; /* this one is mandatory */ GDNativeExtensionClassGetVirtual get_virtual_func; + GDNativeExtensionClassGetRID get_rid_func; void *class_userdata; } GDNativeExtensionClassCreationInfo; |