diff options
Diffstat (limited to 'src/script/api/qscriptengine_p.h')
-rw-r--r-- | src/script/api/qscriptengine_p.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/script/api/qscriptengine_p.h b/src/script/api/qscriptengine_p.h index c61e960..f6d7700 100644 --- a/src/script/api/qscriptengine_p.h +++ b/src/script/api/qscriptengine_p.h @@ -70,6 +70,7 @@ QT_BEGIN_NAMESPACE namespace JSC { class ExecState; + typedef ExecState CallFrame; class JSCell; class JSGlobalObject; class UString; @@ -99,7 +100,7 @@ namespace QScript //some conversion helper functions JSC::UString qtStringToJSCUString(const QString &str); QString qtStringFromJSCUString(const JSC::UString &str); - QScriptEnginePrivate *scriptEngineFromExec(JSC::ExecState *exec); + QScriptEnginePrivate *scriptEngineFromExec(const JSC::ExecState *exec); bool isFunction(const JSC::JSValue &value); } |