summaryrefslogtreecommitdiff
path: root/tests/scanner/warnlib.c
diff options
context:
space:
mode:
authorDieter Verfaillie <dieterv@optionexplicit.be>2013-08-23 08:48:05 +0200
committerDieter Verfaillie <dieterv@optionexplicit.be>2013-10-08 20:57:16 +0200
commit001631bf9b9e672154492bf6547c0c7c985ed3e0 (patch)
tree864a7a826ff4c7d57e2b1bbd49d5cb95e562f633 /tests/scanner/warnlib.c
parent9d5c9989515126f52252d090d70df7af8bc878fe (diff)
downloadgobject-introspection-001631bf9b9e672154492bf6547c0c7c985ed3e0.tar.gz
giscanner: write virtual method instance parameter docs to .gir file
Diffstat (limited to 'tests/scanner/warnlib.c')
-rw-r--r--tests/scanner/warnlib.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/scanner/warnlib.c b/tests/scanner/warnlib.c
index 940d2b6a..d7c1e2a1 100644
--- a/tests/scanner/warnlib.c
+++ b/tests/scanner/warnlib.c
@@ -31,3 +31,17 @@ warnlib_whatever_do_moo (WarnLibWhatever *self, int x, gpointer y)
{
WARNLIB_WHATEVER_GET_IFACE(self)->do_moo (self, x, y);
}
+
+/**
+ * warnlib_whatever_do_boo:
+ * @self: a WarnLibWhatever
+ * @x: x parameter
+ * @y: y parameter
+ *
+ * Does boo.
+ */
+void
+warnlib_whatever_do_boo (WarnLibWhatever *self, int x, gpointer y)
+{
+ WARNLIB_WHATEVER_GET_IFACE(self)->do_boo (self, x, y);
+}