Movatterモバイル変換


[0]ホーム

URL:


D Logo
Menu
Search

Library Reference

version 2.112.0

overview

Report a bug
If you spot a problem with this page, click here to create a Bugzilla issue.
Improve this page
Quickly fork, edit online, and submit a pull request for this page.Requires a signed-in GitHub account. This works well for small changes.If you'd like to make larger changes you may want to consider usinga local clone.

dmd.mangle

Does name mangling forextern(D) symbols.

SpecificationName Mangling

Authors:
Walter Bright,https://www.digitalmars.com
License:
Boost License 1.0

Sourcedmangle.d

Documentationhttps://dlang.org/phobos/dmd_dmangle.html

Coveragehttps://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/mangle/package.d

Referenceshttps://dlang.org/blog/2017/12/20/ds-newfangled-name-mangling/

const(char)*mangleExact(FuncDeclarationfd);
Returns exact mangled name of function.
package(dmd) nothrow boolisValidMangling(dcharc);
Returns:
true if the given character is a valid mangled character
TypedecoToType(const(char)[]deco);
Convert a string representing a type (the deco) and return its equivalent Type.
Parameters:
const(char)[]decostring containing the deco
Returns:
null for failed to convert Type for succeeded
Copyright © 1999-2026 by theD Language Foundation | Page generated byDdoc on Fri Feb 20 00:51:25 2026

[8]ページ先頭

©2009-2026 Movatter.jp