aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4regexpobject_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/qml/jsruntime/qv4regexpobject_p.h')
-rw-r--r--src/qml/jsruntime/qv4regexpobject_p.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/qml/jsruntime/qv4regexpobject_p.h b/src/qml/jsruntime/qv4regexpobject_p.h
index 0ef95a36e2..0129f8d396 100644
--- a/src/qml/jsruntime/qv4regexpobject_p.h
+++ b/src/qml/jsruntime/qv4regexpobject_p.h
@@ -63,7 +63,7 @@ QT_BEGIN_NAMESPACE
namespace QV4 {
-struct RegExp;
+class RegExp;
struct RegExpObject: Object {
Q_MANAGED
@@ -97,7 +97,7 @@ struct RegExpObject: Object {
protected:
RegExpObject(InternalClass *ic);
static void destroy(Managed *that);
- static void markObjects(Managed *that);
+ static void markObjects(Managed *that, ExecutionEngine *e);
};
@@ -115,10 +115,10 @@ struct RegExpPrototype: RegExpObject
RegExpPrototype(InternalClass *ic): RegExpObject(ic) {}
void init(ExecutionEngine *engine, ObjectRef ctor);
- static ReturnedValue method_exec(SimpleCallContext *ctx);
- static ReturnedValue method_test(SimpleCallContext *ctx);
- static ReturnedValue method_toString(SimpleCallContext *ctx);
- static ReturnedValue method_compile(SimpleCallContext *ctx);
+ static ReturnedValue method_exec(CallContext *ctx);
+ static ReturnedValue method_test(CallContext *ctx);
+ static ReturnedValue method_toString(CallContext *ctx);
+ static ReturnedValue method_compile(CallContext *ctx);
};
}