[gtk-doc] annotation: add a test for putting skip on returns:
- From: Stefan Kost <stefkost src gnome org>
- To: commits-list gnome org
- Cc: 
- Subject: [gtk-doc] annotation: add a test for putting skip on returns:
- Date: Thu,  4 Oct 2012 18:17:57 +0000 (UTC)
commit 18f95993723350b20b47e87044fa1855807e73d9
Author: Stefan Sauer <ensonic users sf net>
Date:   Thu Oct 4 20:16:20 2012 +0200
    annotation: add a test for putting skip on returns:
 tests/annotations/docs/tester-sections.txt |    1 +
 tests/annotations/src/tester.c             |   14 ++++++++++++++
 tests/annotations/src/tester.h             |    1 +
 3 files changed, 16 insertions(+), 0 deletions(-)
---
diff --git a/tests/annotations/docs/tester-sections.txt b/tests/annotations/docs/tester-sections.txt
index a8a609b..30d9282 100644
--- a/tests/annotations/docs/tester-sections.txt
+++ b/tests/annotations/docs/tester-sections.txt
@@ -9,6 +9,7 @@ annotation_elementtype_transfer
 annotation_elementtype_returns
 annotation_outparams
 annotation_skip
+annotation_skip_return
 annotation_scope
 <SUBSECTION Standard>
 <SUBSECTION Private>
diff --git a/tests/annotations/src/tester.c b/tests/annotations/src/tester.c
index 1e133fb..88fe705 100644
--- a/tests/annotations/src/tester.c
+++ b/tests/annotations/src/tester.c
@@ -111,6 +111,20 @@ annotation_skip (GList *list)
 }
 
 /**
+ * annotation_skip_return: (skip)
+ * @list: a pointer to take a list
+ *
+ * Documentation for this function.
+ *
+ * Returns: (skip): %TRUE for success
+ */
+gboolean
+annotation_skip_return (GList *list)
+{
+  return TRUE;
+}
+
+/**
  * annotation_scope:
  * @callback: (scope async): a callback
  * @user_data: data to pass to callback
diff --git a/tests/annotations/src/tester.h b/tests/annotations/src/tester.h
index 1c8e17c..f2ad034 100644
--- a/tests/annotations/src/tester.h
+++ b/tests/annotations/src/tester.h
@@ -25,6 +25,7 @@ extern GList *annotation_elementtype_returns (void);
 extern gboolean annotation_outparams (GList **list);
 
 extern void annotation_skip (GList *list);
+extern gboolean annotation_skip_return (GList *list);
 
 extern void annotation_scope (GCallback *callback, gpointer user_data);
 
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]