<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 <<a href="mailto:eliot.miranda@gmail.com" class="">eliot.miranda@gmail.com</a>> 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=""><<a href="mailto:holger@freyther.de" target="_blank" class="">holger@freyther.de</a>></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="">
> On 24 Feb 2016, at 16:06, Esteban Lorenzano <<a href="mailto:estebanlm@gmail.com" class="">estebanlm@gmail.com</a>> wrote:<br class="">
><br class="">
><br class="">
> 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="">
> … 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="">
{STRINGIFY(IA32FFIPlugin), "ffiLogCallsTo", (void*)ffiLogCallsTo},<br class="">
{STRINGIFY(IA32FFIPlugin), "getModuleName", (void*)getModuleName},<br class="">
<br class="">
?</blockquote><div class=""><br class=""></div><div class="">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 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, Eliot</div></span></div></div></div>
</div></div>
</div></blockquote></div><br class=""></div></body></html>