View source code
Display the source code in dmd/tokens.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.tokens.Token.setString - multiple declarations

Function Token.setString

Set to contents of ptr[0..length]

extern(C++) void setString (
  const(char)* ptr,
  ulong length
);

Parameters

NameDescription
ptr pointer to string
length length of string

Function Token.setString

Set to contents of buf

extern(C++) void setString (
  ref const(dmd.root.outbuffer.OutBuffer) buf
);

Parameters

NameDescription
buf string (not zero terminated)

Function Token.setString

Set to empty string

extern(C++) void setString();

Authors

Walter Bright

License

Boost License 1.0