diff options
author | reduz <reduzio@gmail.com> | 2020-11-09 14:11:15 -0300 |
---|---|---|
committer | reduz <reduzio@gmail.com> | 2020-11-09 14:12:01 -0300 |
commit | 11bf2ec6d161b737c7bce3172be48cd8ca4792cf (patch) | |
tree | a76c1e6def48edee5ea3d5d9f3b4d52c501c2dd6 /core/variant/variant.h | |
parent | ed62876683a88294f6d3a93736f4c0a82a3d3288 (diff) | |
download | redot-engine-11bf2ec6d161b737c7bce3172be48cd8ca4792cf.tar.gz |
Make sure operators appear in the docs too
Add "operator" and "constructor" qualifiers to make it easier to
see in the docs.
Diffstat (limited to 'core/variant/variant.h')
-rw-r--r-- | core/variant/variant.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/variant/variant.h b/core/variant/variant.h index 8bb28b2406..ee08373b27 100644 --- a/core/variant/variant.h +++ b/core/variant/variant.h @@ -467,7 +467,7 @@ public: return res; } - Variant::Type get_operator_return_type(Operator p_operator, Type p_type_a, Type p_type_b); + static Variant::Type get_operator_return_type(Operator p_operator, Type p_type_a, Type p_type_b); typedef void (*ValidatedOperatorEvaluator)(const Variant *left, const Variant *right, Variant *r_ret); static ValidatedOperatorEvaluator get_validated_operator_evaluator(Operator p_operator, Type p_type_a, Type p_type_b); #ifdef PTRCALL_ENABLED |