<br><br><div class="gmail_quote">On Mon, Jul 7, 2008 at 4:16 AM, Igor Stasenko <<a href="mailto:siguctua@gmail.com">siguctua@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
I wonder, is it would be better to support reverse, like by declaring:<br>
<br>
self macro: true.<br>
<br>
in method body , tell CodeGenerator to generate a macro definition<br>
instead of C function?</blockquote><div><br>I've added support for the following:<br><div>stackPageAt: index pages: thePages</div><div><span class="Apple-tab-span" style="white-space:pre">        </span><cmacro: '(index,pages) ((pages) + (index) - 1)'></div>
<span class="Apple-tab-span" style="white-space:pre">        </span>^thePages at: index<br><br>which generates<br><br>#define stackPageAtpages(index,pages) ((pages) + (index) - 1)<br><br>but this is using a 3.8/Tweak method property and I want it to be a proper pragma.<br>
</div></div>