endoza-codeblock"><code data-language="c"><span class="mdzsyn-identifier">JANET_API</span> <span class="mdzsyn-type">int</span> <span class="mdzsyn-identifier">janet_init</span><span class="mdzsyn-operator">(</span><span class="mdzsyn-type">void</span><span class="mdzsyn-operator">)</span><span class="mdzsyn-operator">;</span></code></pre><p>Use this function to initialize global Janet state. This must be called once
per thread if using Janet in a multithreaded environment, as all Janet global
state is thre