<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">yes, thanks :)<div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On 24 Feb 2016, at 17:22, Eliot Miranda &lt;<a href="mailto:eliot.miranda@gmail.com" class="">eliot.miranda@gmail.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><br class=""><div class="gmail_extra"><br class=""><div class="gmail_quote">On Wed, Feb 24, 2016 at 7:11 AM, Holger Freyther <span dir="ltr" class="">&lt;<a href="mailto:holger@freyther.de" target="_blank" class="">holger@freyther.de</a>&gt;</span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><br class="">
<br class="">
&gt; On 24 Feb 2016, at 16:06, Esteban Lorenzano &lt;<a href="mailto:estebanlm@gmail.com" class="">estebanlm@gmail.com</a>&gt; wrote:<br class="">
&gt;<br class="">
&gt;<br class="">
&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 class="">
&gt; … but I’m not cpp expert so I might be wrong…<br class="">
<br class="">
</span>Can't you generate the table as:<br class="">
<br class="">
void* IA32FFIPlugin_exports[][3] = {<br class="">
&nbsp; &nbsp; &nbsp; &nbsp; {STRINGIFY(IA32FFIPlugin), "ffiLogCallsTo", (void*)ffiLogCallsTo},<br class="">
&nbsp; &nbsp; &nbsp; &nbsp; {STRINGIFY(IA32FFIPlugin), "getModuleName", (void*)getModuleName},<br class="">
<br class="">
?</blockquote><div class=""><br class=""></div><div class="">Yes.&nbsp; This is nice. &nbsp; Esteban, give me a while and I'll fix this.&nbsp; For now, you can compile the plugin as an external plugin.</div></div><div class=""><br class=""></div><div class="gmail_signature"><div dir="ltr" class=""><div class=""><span style="font-size:small;border-collapse:separate" class=""><div class="">_,,,^..^,,,_<br class=""></div><div class="">best,&nbsp;Eliot</div></span></div></div></div>
</div></div>
</div></blockquote></div><br class=""></div></body></html>