shithub: libmujs

Download patch

ref: fe63f4cb3c48346d818af264cf4773d27e1c3b5d
parent: e3f04e7f96b4f2852ca270b07f48690787a20252
author: Tor Andersson <[email protected]>
date: Wed Mar 11 11:59:53 EDT 2020

Note that js_Report callback must not throw an exception.

Nor should it call any functions that may throw exceptions.

--- a/docs/reference.html
+++ b/docs/reference.html
@@ -197,6 +197,10 @@
 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>