diff options
| author | Kent Hansen <kent.hansen@nokia.com> | 2011-02-25 15:33:47 +0100 |
|---|---|---|
| committer | Kent Hansen <kent.hansen@nokia.com> | 2011-02-25 15:55:08 +0100 |
| commit | 2af7bc6259e41415817cadb456909f33249225ed (patch) | |
| tree | cf7f01a176329ae1b421b01319d97a835f0e9166 /src/script/api/qscriptengine.cpp | |
| parent | d4166fa6ce24b55b483f29e8ef447c0f63f0a30f (diff) | |
Add missing API shims to QScriptValue constructors
This is needed to ensure that the calls into JSC are safe,
e.g. with regards to reentrancy.
I was not able to construct a testcase, but several of our
autotests crash without this change if
COLLECT_ON_EVERY_ALLOCATION is set to 1 in Collector.cpp
(this forces a garbage collection every time an object is
allocated).
Task-number: QTBUG-17815
Reviewed-by: Olivier Goffart
Diffstat (limited to 'src/script/api/qscriptengine.cpp')
0 files changed, 0 insertions, 0 deletions
