<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Feb 24, 2016 at 7:11 AM, Holger Freyther <span dir="ltr"><<a href="mailto:holger@freyther.de" target="_blank">holger@freyther.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><br>
<br>
> On 24 Feb 2016, at 16:06, Esteban Lorenzano <<a href="mailto:estebanlm@gmail.com">estebanlm@gmail.com</a>> wrote:<br>
><br>
><br>
> 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.<br>
> … but I’m not cpp expert so I might be wrong…<br>
<br>
</span>Can't you generate the table as:<br>
<br>
void* IA32FFIPlugin_exports[][3] = {<br>
{STRINGIFY(IA32FFIPlugin), "ffiLogCallsTo", (void*)ffiLogCallsTo},<br>
{STRINGIFY(IA32FFIPlugin), "getModuleName", (void*)getModuleName},<br>
<br>
?</blockquote><div><br></div><div>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.</div></div><div><br></div><div class="gmail_signature"><div dir="ltr"><div><span style="font-size:small;border-collapse:separate"><div>_,,,^..^,,,_<br></div><div>best, Eliot</div></span></div></div></div>
</div></div>