summaryrefslogtreecommitdiffstats
path: root/godot-headers/godot/gdnative_interface.h
diff options
context:
space:
mode:
authorbruvzg <7645683+bruvzg@users.noreply.github.com>2022-03-14 18:35:52 +0200
committerbruvzg <7645683+bruvzg@users.noreply.github.com>2022-03-15 13:43:12 +0200
commit817efdd4845ed1a0024804c23c43bfb98d144fc4 (patch)
treed6a13344f421b45d47fa80602722eb9abb465b82 /godot-headers/godot/gdnative_interface.h
parent13603e40509800da02fbc7df29eff19e91b29158 (diff)
downloadredot-cpp-817efdd4845ed1a0024804c23c43bfb98d144fc4.tar.gz
Fix build after "Discern between VIRTUAL and ABSTRACT class bindings".
Diffstat (limited to 'godot-headers/godot/gdnative_interface.h')
-rw-r--r--godot-headers/godot/gdnative_interface.h2
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;