summaryrefslogtreecommitdiffstats
path: root/src/script/api/qscriptengine.cpp
diff options
context:
space:
mode:
authorOlivier Goffart <ogoffart@trolltech.com>2009-07-31 12:24:05 (GMT)
committerOlivier Goffart <ogoffart@trolltech.com>2009-07-31 14:11:47 (GMT)
commit701303d374b7da33166744d290ec4dbc789c7031 (patch)
tree0b94848e28c3e8a48ea498a19dbc998da6ec72e3 /src/script/api/qscriptengine.cpp
parentbb1e71ac344b184d2ab13cd0ed7188eebb34aaf1 (diff)
downloadQt-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.cpp2
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;