diff options
author | Olivier Goffart <ogoffart@trolltech.com> | 2009-07-31 12:24:05 (GMT) |
---|---|---|
committer | Olivier Goffart <ogoffart@trolltech.com> | 2009-07-31 14:11:47 (GMT) |
commit | 701303d374b7da33166744d290ec4dbc789c7031 (patch) | |
tree | 0b94848e28c3e8a48ea498a19dbc998da6ec72e3 /src/script/api/qscriptengine.cpp | |
parent | bb1e71ac344b184d2ab13cd0ed7188eebb34aaf1 (diff) | |
download | Qt-701303d374b7da33166744d290ec4dbc789c7031.zip Qt-701303d374b7da33166744d290ec4dbc789c7031.tar.gz Qt-701303d374b7da33166744d290ec4dbc789c7031.tar.bz2 |
Move the declaration on some function into qscriptengine_p.h
Diffstat (limited to 'src/script/api/qscriptengine.cpp')
-rw-r--r-- | src/script/api/qscriptengine.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/script/api/qscriptengine.cpp b/src/script/api/qscriptengine.cpp index 4fe8f76..92793a4 100644 --- a/src/script/api/qscriptengine.cpp +++ b/src/script/api/qscriptengine.cpp @@ -495,7 +495,7 @@ QScriptEnginePrivate *scriptEngineFromExec(JSC::ExecState *exec) return static_cast<GlobalClientData*>(exec->globalData().clientData)->engine; } -bool isFunction(JSC::JSValue value) +bool isFunction(const JSC::JSValue &value) { if (!value || !value.isObject()) return false; |