Upgrade modernc.org/cc/v4
Upgrade dependencies
Upgrade dependencies
A simple C documentation generator.
Example output: I maintain the documentation for the wlroots API on my website.
go build .
gyosu [options...] <headers...>
Example:
gyosu \
$(pkg-config --cflags-only-I wlroots) \
-DWLR_USE_UNSTABLE \
-ffile-prefix-map=/usr/include/= \
/usr/include/wlr/types/wlr_output.h
All documentation comments must use /** … */
.
To reference another declaration from a documentation comment, the following notations are recognized:
struct foo
enum foo
union foo
foo()
<foo.h>
Send patches on the mailing list, report bugs on the issue tracker, discuss in #emersion on Libera Chat.
AGPLv3, see LICENSE.
Copyright (C) 2021 Simon Ser