[gtk-doc] tests: add a test for the attributes annotation
- From: Stefan Kost <stefkost src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk-doc] tests: add a test for the attributes annotation
- Date: Mon, 19 Sep 2016 09:26:10 +0000 (UTC)
commit b2043af886dd95222fa9b793e7e5b909b502ef57
Author: Stefan Sauer <ensonic users sf net>
Date: Mon Sep 19 11:22:54 2016 +0200
tests: add a test for the attributes annotation
See #771255
tests/annotations/docs/tester-sections.txt | 1 +
tests/annotations/src/tester.c | 10 ++++++++++
tests/annotations/src/tester.h | 2 ++
3 files changed, 13 insertions(+), 0 deletions(-)
---
diff --git a/tests/annotations/docs/tester-sections.txt b/tests/annotations/docs/tester-sections.txt
index d3efd64..ff7ef70 100644
--- a/tests/annotations/docs/tester-sections.txt
+++ b/tests/annotations/docs/tester-sections.txt
@@ -19,6 +19,7 @@ annotation_skip
annotation_skip_return
annotation_scope
annotation_rename_to
+annotation_attributes_single
stability_unstable
annotation_multiline_on_function
annotation_multiline_on_function2
diff --git a/tests/annotations/src/tester.c b/tests/annotations/src/tester.c
index 4e05dc5..4a8d23b 100644
--- a/tests/annotations/src/tester.c
+++ b/tests/annotations/src/tester.c
@@ -258,6 +258,16 @@ annotation_rename_to (void)
}
/**
+ * annotation_attributes_single: (attributes key value)
+ *
+ * Documentation for this function.
+ */
+void
+annotation_attributes_single (void)
+{
+}
+
+/**
* stability_unstable:
*
* An experimental function.
diff --git a/tests/annotations/src/tester.h b/tests/annotations/src/tester.h
index 3627e59..2269c7a 100644
--- a/tests/annotations/src/tester.h
+++ b/tests/annotations/src/tester.h
@@ -38,6 +38,8 @@ void annotation_scope (GCallback *callback, gpointer user_data);
void annotation_rename_to (void);
+void annotation_attributes_single (void);
+
void stability_unstable(void);
void annotation_multiline_on_function (void);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]