<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">&lt;<a href="mailto:holger@freyther.de" target="_blank">holger@freyther.de</a>&gt;</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>
&gt; On 24 Feb 2016, at 16:06, Esteban Lorenzano &lt;<a href="mailto:estebanlm@gmail.com">estebanlm@gmail.com</a>&gt; wrote:<br>
&gt;<br>
&gt;<br>
&gt; 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>
&gt; … but I’m not cpp expert so I might be wrong…<br>
<br>
</span>Can&#39;t you generate the table as:<br>
<br>
void* IA32FFIPlugin_exports[][3] = {<br>
        {STRINGIFY(IA32FFIPlugin), &quot;ffiLogCallsTo&quot;, (void*)ffiLogCallsTo},<br>
        {STRINGIFY(IA32FFIPlugin), &quot;getModuleName&quot;, (void*)getModuleName},<br>
<br>
?</blockquote><div><br></div><div>Yes.  This is nice.   Esteban, give me a while and I&#39;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>