View source code
Display the source code in dmd/doc.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.doc.gendocfile - multiple declarations

Function gendocfile

Generate Ddoc file for Module m.

void gendocfile (
  Module m,
  const(char*) ddoctext_ptr,
  ulong ddoctext_length,
  const(char*) datetime,
  ErrorSink eSink,
  ref OutBuffer outbuf
);

Parameters

NameDescription
m Module
ddoctext_ptr combined text of .ddoc files for macro definitions
ddoctext_length extant of ddoctext_ptr
datetime charz returned by ctime()
eSink send error messages to eSink
outbuf append the Ddoc text to this

Function gendocfile

Generate Ddoc text for Module m and append it to outbuf.

void gendocfile (
  Module m,
  const(char[]) ddoctext,
  const(char*) datetime,
  ErrorSink eSink,
  ref OutBuffer outbuf
);

Parameters

NameDescription
m Module
ddoctext combined text of .ddoc files for macro definitions
datetime charz returned by ctime()
eSink send error messages to eSink
outbuf append the Ddoc text to this

Authors

Walter Bright

License

Boost License 1.0