diff options
author | Jasper St. Pierre <jstpierre@mecheye.net> | 2013-03-27 17:09:16 -0400 |
---|---|---|
committer | Jasper St. Pierre <jstpierre@mecheye.net> | 2014-06-10 12:34:35 -0400 |
commit | a1ec815afd2dd4379ce443efbb4d4aca4cf97c33 (patch) | |
tree | ebc574ae3a6b79a3e0adc976ebf5fcd36c67c4c3 /tests/scanner/regress.c | |
parent | d906932afae1b4e961b8cf3210b2dee95f73058b (diff) | |
download | gobject-introspection-a1ec815afd2dd4379ce443efbb4d4aca4cf97c33.tar.gz |
giscanner: Create AST nodes for SECTION: doc blocks; add a GIR nodedoc-sections
These will eventually be paired with the sections file parser to create
a set of sections.
Diffstat (limited to 'tests/scanner/regress.c')
-rw-r--r-- | tests/scanner/regress.c | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/tests/scanner/regress.c b/tests/scanner/regress.c index 1bad36e3..00e21e3b 100644 --- a/tests/scanner/regress.c +++ b/tests/scanner/regress.c @@ -6,6 +6,28 @@ #include "regress.h" +/** + * SECTION:one + * @Short_description: One test section + * @Title: Test One! + * @See_also: two + * + * Testing some docs. + * + * Do not sound the alarm. + */ + +/** + * SECTION:two + * @Short_description: Another test section + * @Title: Test Another! + * @See_also: one + * + * Testing some more docs. + * + * Oh hey, this is still a test! + */ + static gboolean abort_on_error = TRUE; #define ASSERT_VALUE(condition) \ |