<div>Hi Argyrios,</div>
<div> </div>
<div>I've attached a couple of patches for a dumbed-down plugin registration mechanism, for review.</div>
<div>
<div class="gmail_quote"> </div>
<div class="gmail_quote">The cpluginreg patch has most of it for the Clang side.</div>
<div class="gmail_quote"> </div></div>
<div class="gmail_quote">The lpluginreg patch, for the LLVM side, just adds a couple of preprocessor symbols for wrapping the DLL imports/exports for Windows.  I wasn't really sure where to put them, as there doesn't seem to be a common header always included.  Because they might be involved in the DLL work I plan to do next, it seemed to make sense to put them in the LLVM side for now.  Let me know if there is a better place.</div>

<div class="gmail_quote"> </div>
<div class="gmail_quote">I tested this on both Windows and Linux with the print-fns plugin.</div>
<div class="gmail_quote"> </div>
<div class="gmail_quote">-John</div>
<div class="gmail_quote"> </div>
<div class="gmail_quote">On Wed, Apr 6, 2011 at 2:19 PM, Argyrios Kyrtzidis <span dir="ltr"><<a href="mailto:kyrtzidis@apple.com">kyrtzidis@apple.com</a>></span> wrote:<br></div>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">
<div style="WORD-WRAP: break-word">
<div>
<div class="im">
<div>On Apr 6, 2011, at 11:54 AM, John Thompson wrote:</div><br>
<blockquote type="cite">
<div class="gmail_quote">
<div> </div>
<div>Argyrios,</div>
<div> </div>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">
<div>Well your patch pokes at and exposes, IMO, implementation details of Registry; it doesn't seem the right way to go about it..</div></blockquote></div>
<div class="gmail_quote">
<div> </div>
<div>Okay.  Would you like me to have a go at it, or were you thinking to do it?</div></div></blockquote>
<div><br></div></div>
<div>Please have a go, you'll be able to make sure that it works on Windows, unlike if I try.</div><br>
<blockquote type="cite">
<div class="im">
<div class="gmail_quote">
<div> </div>
<div>Thanks.</div>
<div> </div>
<div>-John</div>
<div> </div>
<div>-- <br>John Thompson<br><a href="mailto:John.Thompson.JTSoftware@gmail.com" target="_blank">John.Thompson.JTSoftware@gmail.com</a><br></div></div></div>
<div class="im">_______________________________________________<br>cfe-dev mailing list<br><a href="mailto:cfe-dev@cs.uiuc.edu" target="_blank">cfe-dev@cs.uiuc.edu</a><br><a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev</a><br>
</div></blockquote></div><br></div></blockquote><br><br clear="all"><br>-- <br>John Thompson<br><a href="mailto:John.Thompson.JTSoftware@gmail.com">John.Thompson.JTSoftware@gmail.com</a><br><br>