<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<div class="moz-cite-prefix">Just a little remark because I phrased
this misleadingly:</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">Am 29.03.21 um 21:59 schrieb Thomas
Weber:<br>
</div>
<blockquote type="cite" cite="mid:c0fb1dd7-a6c7-b505-89e9-c41fe663fe61@notengrafik.com">
I then wrap my entire code like this:
<blockquote>
<pre>function main(args)
-- Here goes the code
end
require "lib.xpcall" (main, ...)</pre>
</blockquote>
</blockquote>
<p><br>
</p>
<p>Of course only the entry point needs to be wrapped like this, not
the "entire code". I retrofit some of my JWLua code with the
xpcall lib, and in that case, I simply wrapped the entire code
(except for the plugindef function).<br>
</p>
<p><br>
</p>
<pre class="moz-signature" cols="0">--
Notengrafik Berlin GmbH
HRB 150007
UstID: DE 289234097
Geschäftsführer:
Thomas Weber und Werner J. Wolff
fon: +49 30 25359505
Friedrichstraße 23a
10969 Berlin
notengrafik.com</pre>
</body>
</html>