summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJasper St. Pierre <jstpierre@mecheye.net>2013-02-01 20:41:53 -0500
committerJasper St. Pierre <jstpierre@mecheye.net>2013-02-01 20:48:52 -0500
commit911339b844bfe41b404f197924bb92a9060031ee (patch)
treef39e9d197cf4211b80234557b19dc86cbb6bbd2b /tests
parentd1e368a22c8b9a9a7b260f7077142233b1a3e189 (diff)
downloadgobject-introspection-911339b844bfe41b404f197924bb92a9060031ee.tar.gz
doctool: Move signal/vfunc templates to extend function.tmpl
Diffstat (limited to 'tests')
-rw-r--r--tests/doctool/DocExamples-1.0-C-expected/DocExamples.Obj-signal-example.page19
-rw-r--r--tests/doctool/DocExamples-1.0-C-expected/DocExamples.Obj-vfunc.page2
2 files changed, 19 insertions, 2 deletions
diff --git a/tests/doctool/DocExamples-1.0-C-expected/DocExamples.Obj-signal-example.page b/tests/doctool/DocExamples-1.0-C-expected/DocExamples.Obj-signal-example.page
index 5b54651a..8502865c 100644
--- a/tests/doctool/DocExamples-1.0-C-expected/DocExamples.Obj-signal-example.page
+++ b/tests/doctool/DocExamples-1.0-C-expected/DocExamples.Obj-signal-example.page
@@ -13,7 +13,12 @@
</info>
<title>DocExamples.Obj::signal-example</title>
-
+<synopsis><code mime="text/x-csrc">
+void signal-example (guint int_param,
+ guint float_param,
+ gpointer pointer_param);
+</code></synopsis>
+
<p>This is an example of how to document a signal.</p>
@@ -21,7 +26,17 @@
<p>Since 0.99</p>
-
+<dl>
+<dt><p>int_param :</p></dt>
+<dd><p>a parameter of type int</p></dd>
+<dt><p>float_param :</p></dt>
+<dd><p>a parameter of type float</p></dd>
+<dt><p>pointer_param :</p></dt>
+<dd><p>A pointer to @obj's thingy -- pass <code>int_param</code> if you really want to.</p></dd>
+<dt><p>Returns :</p></dt>
+<dd></dd>
+</dl>
+
</page>
diff --git a/tests/doctool/DocExamples-1.0-C-expected/DocExamples.Obj-vfunc.page b/tests/doctool/DocExamples-1.0-C-expected/DocExamples.Obj-vfunc.page
index c06c5e7a..6a71a87c 100644
--- a/tests/doctool/DocExamples-1.0-C-expected/DocExamples.Obj-vfunc.page
+++ b/tests/doctool/DocExamples-1.0-C-expected/DocExamples.Obj-vfunc.page
@@ -13,6 +13,8 @@
<title>DocExamples.Obj::vfunc</title>
<synopsis><code mime="text/x-csrc">
+void vfunc (DocExamplesObj* self,
+ gint first_arg);
</code></synopsis>