Hi Slava,
Yep, these forwarding functions should probably just be a 1 line macro:
PRIMITIVE_FORWARD(exit);
(although if the vm struct gets split out into a tree of objects they
would end up being something like PRIMITIVE_FORWARD(dataheap,gc).
Is that what you're after or do you have a better idea?
Thanks,
Phil
Slava Pestov wrote:
> Phil,
>
> Can you clean up the boilerplate with primitives?
>
> PRIMITIVE(exit)
> {
> PRIMITIVE_GETVM()->vmprim_exit();
> }
>
> etc.
>
> Slava
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry® Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9-12, 2009. Register now!
> http://p.sf.net/sfu/devconf
> _______________________________________________
> Factor-talk mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/factor-talk
>
------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Factor-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/factor-talk