@macro tag

This tag can be used to define a documentation macro which can be expanded using the @invoke tag and @insert tag. A macro can have named arguments.

Macros which are defined in code comments are local to the current header file and can only be expanded by the @invoke tag.


@macro <macro name>
<macro content>
@end macro

@macro <macro name> [<arg1 name> <arg2 name> ...]
... @<arg1 name>@ ...
@end macro


@macro bool_table true_doc false_doc
@table 2
@item Value @item Action
@c -----------------------------
@item True @item @true_doc@
@item False @item @false_doc@
@end table
@end macro

@invoke {foo() is called} {bar() is called} bool_table

Valid XHTML 1.0 StrictGenerated by diaxen on Sat Apr 30 17:58:47 2016 using MkDoc