summaryrefslogtreecommitdiffstats
path: root/core/extension/gdextension_interface.h
diff options
context:
space:
mode:
authorJan Haller <bromeon@gmail.com>2023-02-08 23:06:49 +0100
committerJan Haller <bromeon@gmail.com>2023-02-08 23:24:56 +0100
commit45e6abde1dd67e9a6cc788640764161b0cf85252 (patch)
treee140defdcfa90325f20451953ad034a8f0a4efd6 /core/extension/gdextension_interface.h
parent2572f6800aef09bd6ea96f3b1c7a999a962eecb7 (diff)
downloadredot-engine-45e6abde1dd67e9a6cc788640764161b0cf85252.tar.gz
GDExtension: array_set_typed() accepts enum instead of uint32_t
Diffstat (limited to 'core/extension/gdextension_interface.h')
-rw-r--r--core/extension/gdextension_interface.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/extension/gdextension_interface.h b/core/extension/gdextension_interface.h
index 3865b152bd..f323b2aa53 100644
--- a/core/extension/gdextension_interface.h
+++ b/core/extension/gdextension_interface.h
@@ -554,7 +554,7 @@ typedef struct {
GDExtensionVariantPtr (*array_operator_index)(GDExtensionTypePtr p_self, GDExtensionInt p_index); // p_self should be an Array ptr
GDExtensionVariantPtr (*array_operator_index_const)(GDExtensionConstTypePtr p_self, GDExtensionInt p_index); // p_self should be an Array ptr
void (*array_ref)(GDExtensionTypePtr p_self, GDExtensionConstTypePtr p_from); // p_self should be an Array ptr
- void (*array_set_typed)(GDExtensionTypePtr p_self, uint32_t p_type, GDExtensionConstStringNamePtr p_class_name, GDExtensionConstVariantPtr p_script); // p_self should be an Array ptr
+ void (*array_set_typed)(GDExtensionTypePtr p_self, GDExtensionVariantType p_type, GDExtensionConstStringNamePtr p_class_name, GDExtensionConstVariantPtr p_script); // p_self should be an Array ptr
/* Dictionary functions */