diff options
author | Kent Hansen <khansen@trolltech.com> | 2009-08-05 09:35:51 (GMT) |
---|---|---|
committer | Kent Hansen <khansen@trolltech.com> | 2009-08-05 09:35:51 (GMT) |
commit | 791bddfcd5cc7540219835ef5d91486acd833c4b (patch) | |
tree | 10139fab690670a9dbf97b3cd4647eec78c6cbc2 /src/script/bridge/qscriptfunction.cpp | |
parent | f22c8da7c2c98cb25642c255c4b4f05fa4e4da3d (diff) | |
download | Qt-791bddfcd5cc7540219835ef5d91486acd833c4b.zip Qt-791bddfcd5cc7540219835ef5d91486acd833c4b.tar.gz Qt-791bddfcd5cc7540219835ef5d91486acd833c4b.tar.bz2 |
add type info and attribute getters for function wrappers
Diffstat (limited to 'src/script/bridge/qscriptfunction.cpp')
-rw-r--r-- | src/script/bridge/qscriptfunction.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/script/bridge/qscriptfunction.cpp b/src/script/bridge/qscriptfunction.cpp index 5b3de9e..1c8ea91 100644 --- a/src/script/bridge/qscriptfunction.cpp +++ b/src/script/bridge/qscriptfunction.cpp @@ -60,6 +60,8 @@ ASSERT_CLASS_FITS_IN_CELL(QScript::FunctionWithArgWrapper); namespace QScript { +const JSC::ClassInfo FunctionWrapper::info = { "QtNativeFunctionWrapper", &PrototypeFunction::info, 0, 0 }; +const JSC::ClassInfo FunctionWithArgWrapper::info = { "QtNativeFunctionWithArgWrapper", &PrototypeFunction::info, 0, 0 }; FunctionWrapper::FunctionWrapper(JSC::ExecState *exec, int length, const JSC::Identifier &name, QScriptEngine::FunctionSignature function) |