diff options
author | Rémi Verschelde <remi@verschelde.fr> | 2023-04-12 23:19:27 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-12 23:19:27 +0200 |
commit | 5860b02b63943bd5c75c14244cb6b92fd4382ccc (patch) | |
tree | 6168ce65a1292dcdf1790a8e13d83b185b04f0f9 /core/variant/callable_bind.h | |
parent | d4dad2b2f88968ff329145f3dab5290478bae886 (diff) | |
parent | 33f674d0f7e94b768cd957a920fed8a215760ee2 (diff) | |
download | redot-engine-5860b02b63943bd5c75c14244cb6b92fd4382ccc.tar.gz |
Merge pull request #71644 from RandomShaper/mq_call_static
Complete support of callables of static methods
Diffstat (limited to 'core/variant/callable_bind.h')
-rw-r--r-- | core/variant/callable_bind.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/core/variant/callable_bind.h b/core/variant/callable_bind.h index 278ed335d0..b51076ad0f 100644 --- a/core/variant/callable_bind.h +++ b/core/variant/callable_bind.h @@ -47,8 +47,9 @@ public: virtual String get_as_text() const override; virtual CompareEqualFunc get_compare_equal_func() const override; virtual CompareLessFunc get_compare_less_func() const override; + virtual bool is_valid() const override; virtual StringName get_method() const override; - virtual ObjectID get_object() const override; //must always be able to provide an object + virtual ObjectID get_object() const override; virtual void call(const Variant **p_arguments, int p_argcount, Variant &r_return_value, Callable::CallError &r_call_error) const override; virtual const Callable *get_base_comparator() const override; virtual int get_bound_arguments_count() const override; @@ -73,8 +74,9 @@ public: virtual String get_as_text() const override; virtual CompareEqualFunc get_compare_equal_func() const override; virtual CompareLessFunc get_compare_less_func() const override; + virtual bool is_valid() const override; virtual StringName get_method() const override; - virtual ObjectID get_object() const override; //must always be able to provide an object + virtual ObjectID get_object() const override; virtual void call(const Variant **p_arguments, int p_argcount, Variant &r_return_value, Callable::CallError &r_call_error) const override; virtual const Callable *get_base_comparator() const override; virtual int get_bound_arguments_count() const override; |