Hi Andreas,<div><br></div><div>    in the Qwaq VMMaker we do.  I would therefore ask that if this is implemented in the Squeak VMMaker (remember ossi ;) ) that we use the same pragma.  I&#39;m using &lt;doNotGenerate&gt;.  Using this approach I don&#39;t need a simulator class for the JIT part of the Cog VM.  All its Smalltalk-only debug code is marked &lt;doNotGenerate&gt; or uses self cCode: &#39;&#39; inSmalltalk: [...simulation code...].<br>
<br><div class="gmail_quote">On Wed, Sep 16, 2009 at 11:05 AM, Andreas Raab <span dir="ltr">&lt;<a href="mailto:andreas.raab@gmx.de">andreas.raab@gmx.de</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
Hi -<br>
<br>
I haven&#39;t been following all this stuff but do we nowadays have some pragma/annotation that actually prevents the code generator to translate a particular method? The reason I&#39;m asking is that it would be quite helpful if one could augment a plugin with utility functions that map to standard (or included) C functions along the lines of:<br>

<br>
MyPlugin&gt;&gt;strlen: strPtr<br>
  &quot;Simulated function strlen(). Not translated.&quot;<br>
  &lt;translate: false&gt;<br>
  ^strPtr indexOf: 0 asCharacter ifAbsent:[self error: &#39;core dump&#39;].<br>
<br>
Cheers,<br><font color="#888888">
  - Andreas<br>
</font></blockquote></div><br></div>