Update jerryscript each frame.

This commit is contained in:
2026-06-06 10:30:22 -05:00
parent 5a08384ae1
commit 6f47543720
5 changed files with 40 additions and 21 deletions
+8
View File
@@ -22,6 +22,14 @@ extern script_t SCRIPT;
*/
errorret_t scriptInit(void);
/**
* Updates the script system, running any pending jobs. This should be called
* once per frame.
*
* @return Any error that occurred.
*/
errorret_t scriptUpdate(void);
/**
* Evaluates a JS source string in the global scope.
*