02.03.2014 Views

BSP Developer's Guide

BSP Developer's Guide

BSP Developer's Guide

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

L<br />

Refgen<br />

* SYNOPSIS<br />

* \cs<br />

* void xxxMemoryInit(void)<br />

* \ce<br />

For some languages, the routine definition is also used to create a PARAMETERS section<br />

automatically.<br />

The online form of documentation is assumed to fit into a structure involving a parent file<br />

(which includes a list of libraries) and a routine index. Several of the procedures in this<br />

library require names or labels for these files, in order to include links to them in the<br />

output. The parent file and routine index need not actually exist at the time that<br />

procedures in this library execute.<br />

DESCRIPTION tags are supplied automatically for all description sections, whether or<br />

not the tag is present in the source file.<br />

SEE ALSO sections are always present in the output for routine descriptions, whether or<br />

not they are present in the source. SEE ALSO sections for routine descriptions<br />

automatically include a reference to the containing library.<br />

OUTPUT DIRECTIVES<br />

The following keywords, always spelled in all capital letters and appearing at the start of<br />

a line, alter the text that is considered for output. Some directives accept an argument in a<br />

specific format, on the same line.<br />

NOROUTINES<br />

Indicates that subroutine documentation should not be generated (must appear in the<br />

library section).<br />

NOMANUAL<br />

Suppresses the section where it appears: either an entire routine’s documentation, or<br />

the library documentation. Routine documentation can also be suppressed in<br />

language-specific ways, specified by matching a regular expression in the<br />

meta-syntactic list LOCALdecls. See refDocGen for a command-line option that<br />

overrides this.<br />

INTERNAL<br />

Suppresses a section (that is, all text from the directive until the next heading, if any).<br />

See refDocGen for a command-line option that overrides this.<br />

APPEND filename<br />

Includes documentation from filename in the output, as if its source were appended to<br />

the file containing the APPEND keyword.<br />

L<br />

EXPLICIT MARKUP<br />

The refgen utility supports a simple markup language that is meant to be inconspicuous<br />

in source files, while supporting most common output needs.<br />

417

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!