On Sunday, 4 March 2012 at 00:09:11 UTC, Andrej Mitrovic wrote:
Could export help?

Not for the global (that's handled adequately by dmd's
name mangling anyway), but I did just add export checking
as comments.

export void foo() {}

becomes

function /*export*/ mangled_foo() {}


the idea is then tools like gcfunctions will know
not to strip that function out, since it may be referenced
in another module.

It also occurs to me that .di generation may be useful here
for things like server communication. So that might be
cool.

Reply via email to