mirror of
https://github.com/ccxvii/mujs.git
synced 2026-02-05 17:29:43 +08:00
Note that js_Report callback must not throw an exception.
Nor should it call any functions that may throw exceptions.
This commit is contained in:
@@ -197,6 +197,10 @@ void js_setreport(js_State *J, js_Report report);
|
||||
Set a callback function for reporting various warnings
|
||||
and garbage collection statistics.
|
||||
|
||||
<p>
|
||||
The report function must <i>not</i> throw an exception
|
||||
or call any other MuJS function except js_getcontext().
|
||||
|
||||
<h3>Garbage collection</h3>
|
||||
|
||||
<pre>
|
||||
|
||||
Reference in New Issue
Block a user