[Vm-dev] Mix & match plugin and interpreter in Cog

Eliot Miranda eliot.miranda at gmail.com
Wed Oct 6 00:09:44 UTC 2010


On Tue, Oct 5, 2010 at 5:02 PM, Igor Stasenko <siguctua at gmail.com> wrote:

>
> Hello,
>
> in order to avoid overrides to CoInterpreter,
> i created a subclass - NBCoInterpreter, where i put overridden methods.
>
> Now how i could tell that CogNativeBoostPlugin is fine for including when
> generating code using NBCoInterpreter, but not CoInterpreter,
> so it won't be mistakenly included in standard Cog VM build?
>

You could bump  VM_PROXY_MINOR one higher and do that in the makefile/xcode
project file etc, since in platforms/Cross/vm/sqVirtualMachine.h it says

#ifndef VM_PROXY_MINOR
/* Increment the following number if you add functions at the end */
# define VM_PROXY_MINOR 11
#endif


> --
> Best regards,
> Igor Stasenko AKA sig.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20101005/5981c5f8/attachment.htm


More information about the Vm-dev mailing list