aboutsummaryrefslogtreecommitdiff
path: root/core/variant_call.cpp
diff options
context:
space:
mode:
authorWill Nations2017-12-17 16:07:15 -0600
committerWill Nations2017-12-17 16:07:15 -0600
commitf19fc83546f0557054816bfcd2e5342c82cf54c9 (patch)
treeb2eb497e74cfded3cbfc7999432c12c200ccbd9c /core/variant_call.cpp
parent1b9c8daf7bb981f93e23a0a9acd5fbb9b90730fc (diff)
downloadgodot-f19fc83546f0557054816bfcd2e5342c82cf54c9.tar.gz
godot-f19fc83546f0557054816bfcd2e5342c82cf54c9.tar.zst
godot-f19fc83546f0557054816bfcd2e5342c82cf54c9.zip
Diffstat (limited to 'core/variant_call.cpp')
-rw-r--r--core/variant_call.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/variant_call.cpp b/core/variant_call.cpp
index 2b99a60ba..0284c4d86 100644
--- a/core/variant_call.cpp
+++ b/core/variant_call.cpp
@@ -462,6 +462,7 @@ struct _VariantCall {
VCALL_LOCALMEM0R(Dictionary, hash);
VCALL_LOCALMEM0R(Dictionary, keys);
VCALL_LOCALMEM0R(Dictionary, values);
+ VCALL_LOCALMEM0R(Dictionary, duplicate);
VCALL_LOCALMEM2(Array, set);
VCALL_LOCALMEM1R(Array, get);
@@ -1607,6 +1608,7 @@ void register_variant_methods() {
ADDFUNC0R(DICTIONARY, INT, Dictionary, hash, varray());
ADDFUNC0R(DICTIONARY, ARRAY, Dictionary, keys, varray());
ADDFUNC0R(DICTIONARY, ARRAY, Dictionary, values, varray());
+ ADDFUNC0R(DICTIONARY, DICTIONARY, Dictionary, duplicate, varray());
ADDFUNC0R(ARRAY, INT, Array, size, varray());
ADDFUNC0R(ARRAY, BOOL, Array, empty, varray());