diff options
author | Lars Knoll <lars.knoll@digia.com> | 2013-09-12 11:13:03 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-09-18 13:13:47 +0200 |
commit | 16f92ad85cf665d863ded5eeaaa7fc3f90820b3f (patch) | |
tree | 74b3477b9d6c023730835f1c478ceb6eaec68a2b /src/qml/jsruntime/qv4numberobject_p.h | |
parent | 7d4e61dd824706984030c58684fa844ff9cde251 (diff) |
Convert builtin methods to return a ReturnedValue
Change-Id: I6b75adbf53a5be0deab023d2eed98ce2a7915551
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/qml/jsruntime/qv4numberobject_p.h')
-rw-r--r-- | src/qml/jsruntime/qv4numberobject_p.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/qml/jsruntime/qv4numberobject_p.h b/src/qml/jsruntime/qv4numberobject_p.h index a024b7f334..6d66a6b1c1 100644 --- a/src/qml/jsruntime/qv4numberobject_p.h +++ b/src/qml/jsruntime/qv4numberobject_p.h @@ -65,12 +65,12 @@ struct NumberPrototype: NumberObject NumberPrototype(InternalClass *ic): NumberObject(ic) {} void init(ExecutionContext *ctx, const Value &ctor); - static Value method_toString(SimpleCallContext *ctx); - static Value method_toLocaleString(SimpleCallContext *ctx); - static Value method_valueOf(SimpleCallContext *ctx); - static Value method_toFixed(SimpleCallContext *ctx); - static Value method_toExponential(SimpleCallContext *ctx); - static Value method_toPrecision(SimpleCallContext *ctx); + static ReturnedValue method_toString(SimpleCallContext *ctx); + static ReturnedValue method_toLocaleString(SimpleCallContext *ctx); + static ReturnedValue method_valueOf(SimpleCallContext *ctx); + static ReturnedValue method_toFixed(SimpleCallContext *ctx); + static ReturnedValue method_toExponential(SimpleCallContext *ctx); + static ReturnedValue method_toPrecision(SimpleCallContext *ctx); }; |