Hi folks, I am trying to understand them. What I understood so that is that from SLANG we can say:<br><br>&lt;export: true&gt;   ----&gt; it will add the keyword EXPORT(sqInt) functXX();<br clear="all"><br>&lt;api&gt;    ----&gt;   it WONT put the static prefix  -&gt;&gt;    (sqInt) funcXXX() <br>
<br>if nothing is said    -&gt;   it puts the static   -&gt;&gt;  static (sqInt)   functXXX()<br><br>If I understood correctly, static functions are not callable outside of the C file they are defined in. So, if you don&#39;t put static, then they are callable. <br>
<br>I am correct with all that ?<br><br>So..first question, why we need the this ?   when I should declare a function/method as API ? is it possible that this is when plugins need to call a function from the VM ?<br><br>Second, when should I need to declare a method/function as EXPORT ? Are there any other reason that being able to call them from GDB ?<br>
<br>Third, why there are methods which do not put the &lt;export: true&gt;    but in fact are added in #requiredMethodNames and hence exported.   Why they cannot have the &lt;export: true&gt;   instead of being hardcoded there? <br>
<br>Thanks a lot in advance,<br><br>-- <br>Mariano<br><a href="http://marianopeck.wordpress.com" target="_blank">http://marianopeck.wordpress.com</a><br><br>