On 2012-10-10 23:04, Andrej Mitrovic wrote:
Mine compiles but I'll have to reference some inlined functions since they're not exported in the DLL. Yours looks very similar (you almost can't go wrong with generating C bindings, it's very easy compared to C++).
Yeah, I haven't done anything about inline functions yet. Another think I haven't been able to figure out yet is to how to properly translate include directives. It's not easy to translate to the module system used by D.
Btw, you should try to rename a module from 'object' to '_object' or similar, otherwise it might conflict with the implicitly imported object module in druntime. Walter flagged this as wontfix (http://d.puremagic.com/issues/show_bug.cgi?id=7651).
Right, I missed that. It's easy to forget this kind of symbols, they're not really keywords but they are kind of reserved words. Any other symbols behaving like this I could have missed?
-- /Jacob Carlborg