[Vm-dev] VM Maker: VMMaker.oscog-eem.1694.mcz
Esteban Lorenzano
estebanlm at gmail.com
Wed Feb 24 15:17:26 UTC 2016
no, I cannot… if anyone can, it is Eliot :)
(but in case we replace strings for macros, we do not need the stringify :)
> On 24 Feb 2016, at 16:11, 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},
>
> ?
More information about the Vm-dev
mailing list