Showing the changes to libraries/script-engine/src/ScriptManagerScriptingInterface.h (1 of 2 files). Show all
Unified · Split
| @@ -563,7 +563,7 @@ public: · 562 unmodified lines | ||
| 563 | 563 | |
| 564 | 564 | /*@jsdoc |
| 565 | 565 | * Create test object for garbage collector debugging. |
| 566 | − * @function Script.createGarbageCollectorDebuggingObject() | |
| 566 | + * @function Script.createGarbageCollectorDebuggingObject | |
| 567 | 567 | * @Returns Test object. |
| 568 | 568 | */ |
| 569 | 569 | Q_INVOKABLE ScriptValue createGarbageCollectorDebuggingObject(); |
| @@ -636,6 +636,13 @@ public: · 66 unmodified lines | ||
| 636 | 636 | */ |
| 637 | 637 | Q_INVOKABLE QString btoa(const QByteArray &binary); |
| 638 | 638 | |
| 639 | + /*@jsdoc | |
| 640 | + * Clears the script cache. | |
| 641 | + * This causes scripts to be downloaded again. Useful for script development. | |
| 642 | + * @function ScriptDiscoveryService.clearCache | |
| 643 | + */ | |
| 644 | + Q_INVOKABLE void clearCache(); | |
| 645 | + | |
| 639 | 646 | signals: |
| 640 | 647 | |
| 641 | 648 | /*@jsdoc |