summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2022-01-04 12:22:46 +0100
committerGitHub <noreply@github.com>2022-01-04 12:22:46 +0100
commit42312f066bd7fc5eb66abb5a2d7161717ceb3c55 (patch)
tree8afb65b7e1f24c8dfde5d4f66c7469bfaee3b592 /core
parentb74968c2ca6ae70e074fa44ee368b513a62aa309 (diff)
parentcdac60759e931b07811025adf053b1e88495ad80 (diff)
Merge pull request #53313 from KoBeWi/debinded_konnekt
Diffstat (limited to 'core')
-rw-r--r--core/variant/callable_bind.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/core/variant/callable_bind.h b/core/variant/callable_bind.h
index 6d0cae6099..ac5797e05f 100644
--- a/core/variant/callable_bind.h
+++ b/core/variant/callable_bind.h
@@ -51,6 +51,9 @@ public:
virtual void call(const Variant **p_arguments, int p_argcount, Variant &r_return_value, Callable::CallError &r_call_error) const;
virtual const Callable *get_base_comparator() const;
+ Callable get_callable() { return callable; }
+ Vector<Variant> get_binds() { return binds; }
+
CallableCustomBind(const Callable &p_callable, const Vector<Variant> &p_binds);
virtual ~CallableCustomBind();
};
@@ -72,6 +75,9 @@ public:
virtual void call(const Variant **p_arguments, int p_argcount, Variant &r_return_value, Callable::CallError &r_call_error) const;
virtual const Callable *get_base_comparator() const;
+ Callable get_callable() { return callable; }
+ int get_unbinds() { return argcount; }
+
CallableCustomUnbind(const Callable &p_callable, int p_argcount);
virtual ~CallableCustomUnbind();
};