Merge pull request #43419 from reduz/document-operators

Make sure operators appear in the docs too
This commit is contained in:
Rémi Verschelde
2020-11-09 19:54:34 +01:00
committed by GitHub
3 changed files with 53 additions and 3 deletions
+1 -1
View File
@@ -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
+2 -2
View File
@@ -2145,8 +2145,8 @@ static const char *_op_names[Variant::OP_MAX] = {
"-",
"*",
"/",
"- (negation)",
"+ (positive)",
"-",
"+",
"%",
"<<",
">>",