diff options
Diffstat (limited to 'core/callable.h')
-rw-r--r-- | core/callable.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/core/callable.h b/core/callable.h index 8ea5377ce8..7fa024dccd 100644 --- a/core/callable.h +++ b/core/callable.h @@ -39,10 +39,9 @@ class Object; class Variant; class CallableCustom; -// This is an abstraction of things that can be called -// it is used for signals and other cases where effient -// calling of functions is required. -// It is designed for the standard case (object and method) +// This is an abstraction of things that can be called. +// It is used for signals and other cases where efficient calling of functions +// is required. It is designed for the standard case (object and method) // but can be optimized or customized. class Callable { @@ -85,6 +84,7 @@ public: Object *get_object() const; ObjectID get_object_id() const; StringName get_method() const; + CallableCustom *get_custom() const; uint32_t hash() const; |