aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4functionobject_p.h
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@digia.com>2013-09-12 09:23:34 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-09-18 13:13:44 +0200
commit7d4e61dd824706984030c58684fa844ff9cde251 (patch)
tree08a044f35ad179edeea98b9bc8d36a2f5d183f07 /src/qml/jsruntime/qv4functionobject_p.h
parenta245f60c6a2f6586567f1332a99e0d70e6b15f4d (diff)
Rename BuiltinFunctionOld to BuiltinFunction
This is the correct abstraction for a builtin method. Time to get rid of the 'old' in the name. Change-Id: Ia386d2cc8ef0e6c269ab24da6fc8ebfac52d7f69 Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/qml/jsruntime/qv4functionobject_p.h')
-rw-r--r--src/qml/jsruntime/qv4functionobject_p.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qml/jsruntime/qv4functionobject_p.h b/src/qml/jsruntime/qv4functionobject_p.h
index 8869083d08..5526568690 100644
--- a/src/qml/jsruntime/qv4functionobject_p.h
+++ b/src/qml/jsruntime/qv4functionobject_p.h
@@ -164,10 +164,10 @@ struct FunctionPrototype: FunctionObject
static Value method_bind(SimpleCallContext *ctx);
};
-struct BuiltinFunctionOld: FunctionObject {
+struct BuiltinFunction: FunctionObject {
Value (*code)(SimpleCallContext *);
- BuiltinFunctionOld(ExecutionContext *scope, String *name, Value (*code)(SimpleCallContext *));
+ BuiltinFunction(ExecutionContext *scope, String *name, Value (*code)(SimpleCallContext *));
static ReturnedValue construct(Managed *, CallData *);
static ReturnedValue call(Managed *that, CallData *callData);