summaryrefslogtreecommitdiffstats
path: root/src/script/api/qscriptengine_p.h
diff options
context:
space:
mode:
authorKent Hansen <khansen@trolltech.com>2009-06-24 09:51:35 (GMT)
committerKent Hansen <khansen@trolltech.com>2009-06-24 09:51:35 (GMT)
commit22f99440c8b586ab7da4799e7ae1f4d12eaab9e3 (patch)
treec598fffe96649a6f0ed4fb786667c206a478d595 /src/script/api/qscriptengine_p.h
parent79e8a79d3be6586b37ab02168fb0ca671ffef57f (diff)
downloadQt-22f99440c8b586ab7da4799e7ae1f4d12eaab9e3.zip
Qt-22f99440c8b586ab7da4799e7ae1f4d12eaab9e3.tar.gz
Qt-22f99440c8b586ab7da4799e7ae1f4d12eaab9e3.tar.bz2
make more qscriptengine tests run
Not everything passes but at least nothing asserts anymore, so the test runs to completion.
Diffstat (limited to 'src/script/api/qscriptengine_p.h')
-rw-r--r--src/script/api/qscriptengine_p.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/script/api/qscriptengine_p.h b/src/script/api/qscriptengine_p.h
index 13a71a7..7596aef 100644
--- a/src/script/api/qscriptengine_p.h
+++ b/src/script/api/qscriptengine_p.h
@@ -38,6 +38,7 @@ QT_BEGIN_NAMESPACE
namespace JSC
{
+ class JSCell;
class JSGlobalObject;
class UString;
}
@@ -53,6 +54,7 @@ namespace QScript
class QString;
class QStringList;
+class QScriptContext;
class QScriptValue;
class QScriptTypeInfo;
class QScriptEngineAgent;
@@ -113,6 +115,7 @@ public:
#endif
JSC::JSGlobalObject *globalObject;
+ QScriptContext *currentContext;
QScript::QObjectPrototype *qobjectPrototype;
WTF::RefPtr<JSC::Structure> qobjectWrapperObjectStructure;
@@ -120,7 +123,7 @@ public:
WTF::RefPtr<JSC::Structure> variantWrapperObjectStructure;
QScriptEngineAgent *agent;
- QHash<JSC::JSValue, QBasicAtomicInt> keepAliveValues;
+ QHash<JSC::JSCell*, QBasicAtomicInt> keepAliveValues;
QHash<int, QScriptTypeInfo*> m_typeInfos;
int processEventsInterval;