how to use a lib in d
Adam D. Ruppe
destructionator at gmail.com
Mon Mar 28 11:37:21 PDT 2011
Mafi wrote:
> PS: Just a thought of mine: You should be theoretically be able
> regenereate function signatures from mangled names. Maybe someone
> could such a tool.
import core.demangle;
http://digitalmars.com/d/2.0/phobos/std_demangle.html
If you did a mixin(demangle(fname)) you actually should be able
to make it work from a lib in most cases.
There's a lot of mangled names that can't be unmangled though, so
it won't be perfect.
More information about the Digitalmars-d
mailing list