View source code
Display the source code in dmd/e2ir.d from which this page was generated on github.
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 using local clone.

dmd.e2ir.toStringSymbol - multiple declarations

Function toStringSymbol

Write read-only string to object file, create a local symbol for it. Makes a copy of str's contents, does not keep a reference to it.

dmd.backend.cc.Symbol* toStringSymbol (
  const(char)* str,
  ulong len,
  ulong sz
);

Parameters

NameDescription
str string
len number of code units in string
sz number of bytes per code unit

Returns

Symbol

Function toStringSymbol

Turn StringExp into Symbol.

dmd.backend.cc.Symbol* toStringSymbol (
  StringExp se
);

Authors

Walter Bright

License

Boost License 1.0