wayland/doc/doxygen
Aaron Faanes 217909c18d doc: Create \comment alias for C-style comments
Since /* */ do not nest, documentation is forced to either use C++ style
// comments or some other foreign notation. This commit provides an alias
that allows C-style comments to be introduced in code blocks that support
aliases.

It should be noted that this macro will not work within \code blocks, as
Doxygen commands are ignored there. Instead, Doxygen's fenced code
blocks (created via ~~~) must be used for proper output. To demonstrate:

~~~
struct example_node {
        int id;
        \comment{Other members ...}
};
~~~

will roughly yield the following HTML (excluding syntax highlighting):

<pre>
struct example_node {
        int id;
        /* Other members ... */
};
</pre>
2013-09-21 11:29:08 -07:00
..
.gitignore doc: Update .gitignore 2012-11-12 16:08:38 -02:00
Makefile.am doc: Include wayland-util.* for doxygen output 2013-09-16 22:00:00 -07:00
wayland.doxygen.in doc: Create \comment alias for C-style comments 2013-09-21 11:29:08 -07:00