On 2013-12-23 12:20, Benjamin Thaut wrote: > Yes it would, but then I would have to define some mangling for myself. You can do something like this: void foo (); extern (C) pragma(mangle, foo.mangleof) void foo () { } I'm pretty sure you remove the duplication with a mixin. -- /Jacob Carlborg