dmd.dmangle
Does name mangling for extern(D)
symbols.
Specification: Name Mangling
License
Source: dmangle.d
Documentation: https://dlang.org/phobos/dmd_dmangle.html
-
Declaration
package nothrow bool
isValidMangling
(dcharc
);Return Value
true
if the given character is a valid mangled character -
Declaration
const(char)*
mangleExact
(FuncDeclarationfd
);Returns exact mangled name of function.
-
Declaration
void
mangleToFuncSignature
(ref OutBufferbuf
, FuncDeclarationfd
);Mangle function signatures ('this' qualifier, and parameter types) to check conflicts in function overloads. It's different from
fd
.type.deco. For example,fd
.type.deco would benull
iffd
is an auto function.Parameters
OutBuffer
buf
OutBuffer
to write the mangled function signature toFuncDeclaration
fd
FuncDeclaration
to mangle