diff options
author | Giovanni Campagna <gcampagna@src.gnome.org> | 2012-08-28 00:11:40 +0200 |
---|---|---|
committer | Giovanni Campagna <gcampagna@src.gnome.org> | 2012-10-28 18:41:04 +0100 |
commit | d893890d1098953d6740d5c8114d278b6d9875fc (patch) | |
tree | 495d4ba5656a19725f6c8b65f03599d4614cc509 /tests/scanner/regress.h | |
parent | b7e230a61b9f9682c5ee433e24cfb749cec8c9c5 (diff) | |
download | gobject-introspection-d893890d1098953d6740d5c8114d278b6d9875fc.tar.gz |
Add documentation for enumeration members
Enum members were Annotated in the AST, and most code already assumed
they could have docs. What was missing was reading the docs from the
comment blocks and writing them in the XML.
https://bugzilla.gnome.org/show_bug.cgi?id=683046
Diffstat (limited to 'tests/scanner/regress.h')
-rw-r--r-- | tests/scanner/regress.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/scanner/regress.h b/tests/scanner/regress.h index b1a82868..aba29dfa 100644 --- a/tests/scanner/regress.h +++ b/tests/scanner/regress.h @@ -150,6 +150,13 @@ GVariant *regress_test_gvariant_as (void); #define NUM_REGRESS_FOO +/** + * RegressTestEnum: + * @REGRESS_TEST_VALUE1: value 1 + * @REGRESS_TEST_VALUE2: value 2 + * + * By purpose, not all members have documentation + */ typedef enum { REGRESS_TEST_VALUE1, |