From 16f92ad85cf665d863ded5eeaaa7fc3f90820b3f Mon Sep 17 00:00:00 2001 From: Lars Knoll Date: Thu, 12 Sep 2013 11:13:03 +0200 Subject: Convert builtin methods to return a ReturnedValue Change-Id: I6b75adbf53a5be0deab023d2eed98ce2a7915551 Reviewed-by: Simon Hausmann --- src/qml/jsruntime/qv4mathobject_p.h | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) (limited to 'src/qml/jsruntime/qv4mathobject_p.h') diff --git a/src/qml/jsruntime/qv4mathobject_p.h b/src/qml/jsruntime/qv4mathobject_p.h index 03c36bcc68..cdadc875f9 100644 --- a/src/qml/jsruntime/qv4mathobject_p.h +++ b/src/qml/jsruntime/qv4mathobject_p.h @@ -51,24 +51,24 @@ struct MathObject: Object { MathObject(ExecutionContext *ctx); - static Value method_abs(SimpleCallContext *context); - static Value method_acos(SimpleCallContext *context); - static Value method_asin(SimpleCallContext *context); - static Value method_atan(SimpleCallContext *context); - static Value method_atan2(SimpleCallContext *context); - static Value method_ceil(SimpleCallContext *context); - static Value method_cos(SimpleCallContext *context); - static Value method_exp(SimpleCallContext *context); - static Value method_floor(SimpleCallContext *context); - static Value method_log(SimpleCallContext *context); - static Value method_max(SimpleCallContext *context); - static Value method_min(SimpleCallContext *context); - static Value method_pow(SimpleCallContext *context); - static Value method_random(SimpleCallContext *context); - static Value method_round(SimpleCallContext *context); - static Value method_sin(SimpleCallContext *context); - static Value method_sqrt(SimpleCallContext *context); - static Value method_tan(SimpleCallContext *context); + static ReturnedValue method_abs(SimpleCallContext *context); + static ReturnedValue method_acos(SimpleCallContext *context); + static ReturnedValue method_asin(SimpleCallContext *context); + static ReturnedValue method_atan(SimpleCallContext *context); + static ReturnedValue method_atan2(SimpleCallContext *context); + static ReturnedValue method_ceil(SimpleCallContext *context); + static ReturnedValue method_cos(SimpleCallContext *context); + static ReturnedValue method_exp(SimpleCallContext *context); + static ReturnedValue method_floor(SimpleCallContext *context); + static ReturnedValue method_log(SimpleCallContext *context); + static ReturnedValue method_max(SimpleCallContext *context); + static ReturnedValue method_min(SimpleCallContext *context); + static ReturnedValue method_pow(SimpleCallContext *context); + static ReturnedValue method_random(SimpleCallContext *context); + static ReturnedValue method_round(SimpleCallContext *context); + static ReturnedValue method_sin(SimpleCallContext *context); + static ReturnedValue method_sqrt(SimpleCallContext *context); + static ReturnedValue method_tan(SimpleCallContext *context); }; } -- cgit v1.2.3