diff options
| author | Aaron Faanes <dafrito@gmail.com> | 2013-09-17 16:40:49 -0500 |
|---|---|---|
| committer | Kristian Høgsberg <krh@bitplanet.net> | 2013-09-21 11:29:08 -0700 |
| commit | 217909c18d0a7f8a4e91c9a56ccec3b75ca6d532 (patch) | |
| tree | e798049b53bf63dddb0b72a8f2ecda65dd390187 /protocol | |
| parent | doc: Include wayland-util.* for doxygen output (diff) | |
| download | wayland-217909c18d0a7f8a4e91c9a56ccec3b75ca6d532.tar wayland-217909c18d0a7f8a4e91c9a56ccec3b75ca6d532.tar.gz wayland-217909c18d0a7f8a4e91c9a56ccec3b75ca6d532.tar.bz2 wayland-217909c18d0a7f8a4e91c9a56ccec3b75ca6d532.tar.lz wayland-217909c18d0a7f8a4e91c9a56ccec3b75ca6d532.tar.xz wayland-217909c18d0a7f8a4e91c9a56ccec3b75ca6d532.tar.zst wayland-217909c18d0a7f8a4e91c9a56ccec3b75ca6d532.zip | |
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>
Diffstat (limited to 'protocol')
0 files changed, 0 insertions, 0 deletions
