[Vm-dev] VM Maker: VMMaker.oscog-eem.1694.mcz

Eliot Miranda eliot.miranda at gmail.com
Wed Feb 24 16:22:04 UTC 2016


On Wed, Feb 24, 2016 at 7:11 AM, Holger Freyther <holger at freyther.de> wrote:

>
>
> > On 24 Feb 2016, at 16:06, Esteban Lorenzano <estebanlm at gmail.com> wrote:
> >
> >
> > I don’t think this will work… AFAIK stringify is to convert macro
> arguments into strings… we need to replace the contents of a string.
> > … but I’m not cpp expert so I might be wrong…
>
> Can't you generate the table as:
>
> void* IA32FFIPlugin_exports[][3] = {
>         {STRINGIFY(IA32FFIPlugin), "ffiLogCallsTo", (void*)ffiLogCallsTo},
>         {STRINGIFY(IA32FFIPlugin), "getModuleName", (void*)getModuleName},
>
> ?


Yes.  This is nice.   Esteban, give me a while and I'll fix this.  For now,
you can compile the plugin as an external plugin.

_,,,^..^,,,_
best, Eliot
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20160224/c5b7cee3/attachment.htm


More information about the Vm-dev mailing list