diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2021-11-23 09:18:30 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-23 09:18:30 +0100 |
commit | 1e71cab79775137beade1d9f78c709a1a4f97cfc (patch) | |
tree | 6780bd521fb606c3fafb2206f66b0eb30a232df3 /core/extension/gdnative_interface.h | |
parent | dbef4bbd98b655d6f89601c9e44c679b373b3628 (diff) | |
parent | f214b2b1949207f721a895380a8a4218f860db81 (diff) |
Merge pull request #55223 from bruvzg/gde_dict_index
Diffstat (limited to 'core/extension/gdnative_interface.h')
-rw-r--r-- | core/extension/gdnative_interface.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/core/extension/gdnative_interface.h b/core/extension/gdnative_interface.h index 8f8cb5a3e0..e411a9d85b 100644 --- a/core/extension/gdnative_interface.h +++ b/core/extension/gdnative_interface.h @@ -417,6 +417,11 @@ typedef struct { GDNativeVariantPtr (*array_operator_index)(GDNativeTypePtr p_self, GDNativeInt p_index); // p_self should be an Array ptr GDNativeVariantPtr (*array_operator_index_const)(const GDNativeTypePtr p_self, GDNativeInt p_index); // p_self should be an Array ptr + /* Dictionary functions */ + + GDNativeVariantPtr (*dictionary_operator_index)(GDNativeTypePtr p_self, const GDNativeVariantPtr p_key); // p_self should be an Dictionary ptr + GDNativeVariantPtr (*dictionary_operator_index_const)(const GDNativeTypePtr p_self, const GDNativeVariantPtr p_key); // p_self should be an Dictionary ptr + /* OBJECT */ void (*object_method_bind_call)(const GDNativeMethodBindPtr p_method_bind, GDNativeObjectPtr p_instance, const GDNativeVariantPtr *p_args, GDNativeInt p_arg_count, GDNativeVariantPtr r_ret, GDNativeCallError *r_error); |