diff options
author | Mathieu Duponchelle <mathieu@centricular.com> | 2020-06-06 02:13:38 +0200 |
---|---|---|
committer | Mathieu Duponchelle <mathieu@centricular.com> | 2020-07-12 04:10:40 +0200 |
commit | b8c92fddbfbadc910ef0c0c6c65bd5648b8e86ca (patch) | |
tree | 24fb56f6eed5696ef96473d2debce108b422fb5f /tests/scanner/foo.c | |
parent | e7c17469ef3eb1c3a1c4c717800c277ee231405c (diff) | |
download | gobject-introspection-b8c92fddbfbadc910ef0c0c6c65bd5648b8e86ca.tar.gz |
Add the notion of standalone doc sections.
Up to now, section annotations had to match a class or interface
name in order to be serialized in the gir.
With this commit, they now get serialized as docsection nodes,
for potential use by documentation tools.
Diffstat (limited to 'tests/scanner/foo.c')
-rw-r--r-- | tests/scanner/foo.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/scanner/foo.c b/tests/scanner/foo.c index 19bf848b..e409e0a3 100644 --- a/tests/scanner/foo.c +++ b/tests/scanner/foo.c @@ -5,6 +5,13 @@ #include "foo.h" +/** + * SECTION:standalone_section + * + * This documentation section isn't associated with an object + * in particular, but it should be serialized in the gir nevertheless. + */ + /* A hidden type not exposed publicly, similar to GUPNP's XML wrapper object */ typedef struct _RegressFooHidden RegressFooHidden; |