aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4stringobject_p.h
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@digia.com>2013-09-12 11:13:03 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-09-18 13:13:47 +0200
commit16f92ad85cf665d863ded5eeaaa7fc3f90820b3f (patch)
tree74b3477b9d6c023730835f1c478ceb6eaec68a2b /src/qml/jsruntime/qv4stringobject_p.h
parent7d4e61dd824706984030c58684fa844ff9cde251 (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/qv4stringobject_p.h')
-rw-r--r--src/qml/jsruntime/qv4stringobject_p.h40
1 files changed, 20 insertions, 20 deletions
diff --git a/src/qml/jsruntime/qv4stringobject_p.h b/src/qml/jsruntime/qv4stringobject_p.h
index 42c2a208d9..15607a209e 100644
--- a/src/qml/jsruntime/qv4stringobject_p.h
+++ b/src/qml/jsruntime/qv4stringobject_p.h
@@ -82,26 +82,26 @@ struct StringPrototype: StringObject
StringPrototype(InternalClass *ic): StringObject(ic) {}
void init(ExecutionEngine *engine, const Value &ctor);
- static Value method_toString(SimpleCallContext *context);
- static Value method_charAt(SimpleCallContext *context);
- static Value method_charCodeAt(SimpleCallContext *context);
- static Value method_concat(SimpleCallContext *context);
- static Value method_indexOf(SimpleCallContext *context);
- static Value method_lastIndexOf(SimpleCallContext *context);
- static Value method_localeCompare(SimpleCallContext *context);
- static Value method_match(SimpleCallContext *context);
- static Value method_replace(SimpleCallContext *ctx);
- static Value method_search(SimpleCallContext *ctx);
- static Value method_slice(SimpleCallContext *ctx);
- static Value method_split(SimpleCallContext *ctx);
- static Value method_substr(SimpleCallContext *context);
- static Value method_substring(SimpleCallContext *context);
- static Value method_toLowerCase(SimpleCallContext *ctx);
- static Value method_toLocaleLowerCase(SimpleCallContext *ctx);
- static Value method_toUpperCase(SimpleCallContext *ctx);
- static Value method_toLocaleUpperCase(SimpleCallContext *ctx);
- static Value method_fromCharCode(SimpleCallContext *context);
- static Value method_trim(SimpleCallContext *ctx);
+ static ReturnedValue method_toString(SimpleCallContext *context);
+ static ReturnedValue method_charAt(SimpleCallContext *context);
+ static ReturnedValue method_charCodeAt(SimpleCallContext *context);
+ static ReturnedValue method_concat(SimpleCallContext *context);
+ static ReturnedValue method_indexOf(SimpleCallContext *context);
+ static ReturnedValue method_lastIndexOf(SimpleCallContext *context);
+ static ReturnedValue method_localeCompare(SimpleCallContext *context);
+ static ReturnedValue method_match(SimpleCallContext *context);
+ static ReturnedValue method_replace(SimpleCallContext *ctx);
+ static ReturnedValue method_search(SimpleCallContext *ctx);
+ static ReturnedValue method_slice(SimpleCallContext *ctx);
+ static ReturnedValue method_split(SimpleCallContext *ctx);
+ static ReturnedValue method_substr(SimpleCallContext *context);
+ static ReturnedValue method_substring(SimpleCallContext *context);
+ static ReturnedValue method_toLowerCase(SimpleCallContext *ctx);
+ static ReturnedValue method_toLocaleLowerCase(SimpleCallContext *ctx);
+ static ReturnedValue method_toUpperCase(SimpleCallContext *ctx);
+ static ReturnedValue method_toLocaleUpperCase(SimpleCallContext *ctx);
+ static ReturnedValue method_fromCharCode(SimpleCallContext *context);
+ static ReturnedValue method_trim(SimpleCallContext *ctx);
};
}