Showing the changes to libraries/script-engine/src/ScriptManagerScriptingInterface.cpp (1 of 9 files). Show all
Unified · Split
| @@ -63,3 +63,7 @@ QVariantMap ScriptManagerScriptingInterface::getMemoryUsageStatistics() { · 62 unmodified lines | ||
| 63 | 63 | map.insert("usedGlobalHandlesSize", QVariant((qulonglong)(statistics.usedGlobalHandlesSize))); |
| 64 | 64 | return map; |
| 65 | 65 | } |
| 66 | + | |
| 67 | +ScriptValue ScriptManagerScriptingInterface::createGarbageCollectorDebuggingObject() { | |
| 68 | + return _manager->engine()->newQObject(new TestQObject, ScriptEngine::ScriptOwnership); | |
| 69 | +} | |