diff options
author | Thaddeus Crews <repiteo@outlook.com> | 2024-11-12 12:13:04 -0600 |
---|---|---|
committer | Thaddeus Crews <repiteo@outlook.com> | 2024-11-12 12:13:04 -0600 |
commit | cc6ee3e956309de046dc1ed09b2f38a5ec7a76c7 (patch) | |
tree | 8fac3221341ccada8ebef5afdf608b2b85f33ee9 /core/variant/variant_call.cpp | |
parent | 75dc6e19cdfcc1d32b40cefbd1b36360fcafe493 (diff) | |
parent | e379cc76e5e4cdba8393ed5988f12a6c46a77493 (diff) | |
download | redot-engine-cc6ee3e956309de046dc1ed09b2f38a5ec7a76c7.tar.gz |
Merge pull request #98713 from dalexeev/core-fix-callable-get-bound-arguments
Core: Fix `Callable.get_bound_arguments{,_count}()` return incorrect data
Diffstat (limited to 'core/variant/variant_call.cpp')
-rw-r--r-- | core/variant/variant_call.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/variant/variant_call.cpp b/core/variant/variant_call.cpp index 29e11462c9..381b848b2b 100644 --- a/core/variant/variant_call.cpp +++ b/core/variant/variant_call.cpp @@ -2116,6 +2116,7 @@ static void _register_variant_builtin_methods_misc() { bind_function(Callable, get_argument_count, _VariantCall::func_Callable_get_argument_count, sarray(), varray()); bind_method(Callable, get_bound_arguments_count, sarray(), varray()); bind_method(Callable, get_bound_arguments, sarray(), varray()); + bind_method(Callable, get_unbound_arguments_count, sarray(), varray()); bind_method(Callable, hash, sarray(), varray()); bind_method(Callable, bindv, sarray("arguments"), varray()); bind_method(Callable, unbind, sarray("argcount"), varray()); |