diff options
author | Jasper St. Pierre <jstpierre@mecheye.net> | 2013-02-01 20:19:12 -0500 |
---|---|---|
committer | Jasper St. Pierre <jstpierre@mecheye.net> | 2013-02-01 20:37:56 -0500 |
commit | d1e368a22c8b9a9a7b260f7077142233b1a3e189 (patch) | |
tree | 3d5008a6cbbc3ed7e5fd8900c7f1c514550ac5b7 /tests | |
parent | 607ec4a55fce7e8e73a901420745b2c80df164f6 (diff) | |
download | gobject-introspection-d1e368a22c8b9a9a7b260f7077142233b1a3e189.tar.gz |
doctool: Update templates to include the actual instance parameter
Rather than fabricating one with a fake name.
Diffstat (limited to 'tests')
3 files changed, 8 insertions, 10 deletions
diff --git a/tests/doctool/DocExamples-1.0-C-expected/DocExamples.Obj.method.page b/tests/doctool/DocExamples-1.0-C-expected/DocExamples.Obj.method.page index 10477538..8dbe8a73 100644 --- a/tests/doctool/DocExamples-1.0-C-expected/DocExamples.Obj.method.page +++ b/tests/doctool/DocExamples-1.0-C-expected/DocExamples.Obj.method.page @@ -14,8 +14,8 @@ </api:returns> <api:name>doc_examples_obj_method</api:name> <api:arg> - <api:type>DocExamplesObj *</api:type> - <api:name>self</api:name> + <api:type>DocExamplesObj*</api:type> + <api:name>obj</api:name> </api:arg> <api:arg> <api:type>gint</api:type> @@ -43,8 +43,8 @@ <title>doc_examples_obj_method</title> <synopsis><code mime="text/x-csrc"> -gboolean doc_examples_obj_method (DocExamplesObj *self, -gint first_arg, +gboolean doc_examples_obj_method (DocExamplesObj* obj, + gint first_arg, gfloat second_arg, gboolean boolean_arg, gpointer pointer_arg, diff --git a/tests/doctool/DocExamples-1.0-Gjs-expected/DocExamples.Obj.method.page b/tests/doctool/DocExamples-1.0-Gjs-expected/DocExamples.Obj.method.page index b3dad03f..abe38df2 100644 --- a/tests/doctool/DocExamples-1.0-Gjs-expected/DocExamples.Obj.method.page +++ b/tests/doctool/DocExamples-1.0-Gjs-expected/DocExamples.Obj.method.page @@ -14,10 +14,6 @@ </api:returns> <api:name>doc_examples_obj_method</api:name> <api:arg> - <api:type>DocExamplesObj *</api:type> - <api:name>self</api:name> - </api:arg> - <api:arg> <api:type>Number</api:type> <api:name>first_arg</api:name> </api:arg> diff --git a/tests/doctool/DocExamples-1.0-Python-expected/DocExamples.Obj.method.page b/tests/doctool/DocExamples-1.0-Python-expected/DocExamples.Obj.method.page index 390c40c2..7b7c8fa0 100644 --- a/tests/doctool/DocExamples-1.0-Python-expected/DocExamples.Obj.method.page +++ b/tests/doctool/DocExamples-1.0-Python-expected/DocExamples.Obj.method.page @@ -14,7 +14,7 @@ </api:returns> <api:name>doc_examples_obj_method</api:name> <api:arg> - <api:type>DocExamplesObj *</api:type> + <api:type>DocExamples.Obj</api:type> <api:name>self</api:name> </api:arg> <api:arg> @@ -43,7 +43,7 @@ <title>Obj.method</title> <synopsis><code mime="text/x-python"> -@accepts(int, float, bool, gpointer, unicode) +@accepts(DocExamples.Obj, int, float, bool, gpointer, unicode) @returns(bool) def method(self, first_arg, second_arg, boolean_arg, pointer_arg, string): # Python wrapper for doc_examples_obj_method() @@ -59,6 +59,8 @@ in as <code>self</code>.</p><p>This should be a %FALSEALARM.</p> <dl> +<dt><p>self :</p></dt> +<dd><p>A <link xref="DocExamples.Obj"/>.</p></dd> <dt><p>first_arg :</p></dt> <dd><p>first argument</p></dd> <dt><p>second_arg :</p></dt> |