diff options
author | Jasper St. Pierre <jstpierre@mecheye.net> | 2013-02-01 20:15:32 -0500 |
---|---|---|
committer | Jasper St. Pierre <jstpierre@mecheye.net> | 2013-02-01 20:16:40 -0500 |
commit | 8577f17cde7db54584dea9e722fc065341fc2f8e (patch) | |
tree | 2f8f456b66e8bced8faae4c99b8f99e919da2028 /tests | |
parent | d1ac20f7920e788face9c8d32bd554287d7861da (diff) | |
download | gobject-introspection-8577f17cde7db54584dea9e722fc065341fc2f8e.tar.gz |
doc-examples-obj: Rename @self to @obj in doc_examples_obj_method
This will be used to test Python "self" parameter forcing.
Diffstat (limited to 'tests')
5 files changed, 7 insertions, 7 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 d1be796a..10477538 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 @@ -54,7 +54,7 @@ gint first_arg, <p>This is an example of how to document a method.</p><p>You should call this on a <link xref="DocExamples.Obj"/> that was created with <link xref="DocExamples.Obj.new"/>, by passing it -in as <code>self</code>.</p><p>This should be a %FALSEALARM.</p> +in as <code>obj</code>.</p><p>This should be a %FALSEALARM.</p> <p>Since 0.99</p> 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 9eae46c1..b3dad03f 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 @@ -51,7 +51,7 @@ function method(first_arg:Number, second_arg:Number, boolean_arg:Boolean, pointe <p>This is an example of how to document a method.</p><p>You should call this on a <link xref="DocExamples.Obj"/> that was created with <link xref="DocExamples.Obj.new"/>, by passing it -in as <code>self</code>.</p><p>This should be a %FALSEALARM.</p> +in as <code>obj</code>.</p><p>This should be a %FALSEALARM.</p> <p>Since 0.99</p> 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 050d7b38..0b5681eb 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 @@ -52,7 +52,7 @@ def method(self, first_arg, second_arg, boolean_arg, pointer_arg, string): <p>This is an example of how to document a method.</p><p>You should call this on a <link xref="DocExamples.Obj"/> that was created with <link xref="DocExamples.Obj.new"/>, by passing it -in as <code>self</code>.</p><p>This should be a %FALSEALARM.</p> +in as <code>obj</code>.</p><p>This should be a %FALSEALARM.</p> <p>Since 0.99</p> diff --git a/tests/doctool/doc-examples-obj.c b/tests/doctool/doc-examples-obj.c index 3b571101..fff1aaa5 100644 --- a/tests/doctool/doc-examples-obj.c +++ b/tests/doctool/doc-examples-obj.c @@ -104,7 +104,7 @@ doc_examples_obj_new (void) /** * doc_examples_obj_method: - * @self: A #DocExamplesObj. + * @obj: A #DocExamplesObj. * @first_arg: first argument * @second_arg: second argument * @boolean_arg: You should always pass %TRUE. @@ -117,7 +117,7 @@ doc_examples_obj_new (void) * * You should call this on a #DocExamplesObj that was * created with doc_examples_obj_new(), by passing it - * in as @self. + * in as @obj. * * This should be a %FALSEALARM. * @@ -126,7 +126,7 @@ doc_examples_obj_new (void) * Returns: Either %FALSE or something %FALSE-y. */ gboolean -doc_examples_obj_method (DocExamplesObj *self, gint first_arg, gfloat second_arg, +doc_examples_obj_method (DocExamplesObj *obj, gint first_arg, gfloat second_arg, gboolean boolean_arg, gpointer pointer_arg, gchar *string) { return FALSE; diff --git a/tests/doctool/doc-examples-obj.h b/tests/doctool/doc-examples-obj.h index 641aa813..543a8c29 100644 --- a/tests/doctool/doc-examples-obj.h +++ b/tests/doctool/doc-examples-obj.h @@ -56,7 +56,7 @@ struct _DocExamplesObjClass GType doc_examples_obj_get_type (void) G_GNUC_CONST; DocExamplesObj *doc_examples_obj_new (void); -gboolean doc_examples_obj_method (DocExamplesObj *self, gint first_arg, gfloat second_arg, +gboolean doc_examples_obj_method (DocExamplesObj *obj, gint first_arg, gfloat second_arg, gboolean boolean_arg, gpointer pointer_arg, gchar *string); gboolean doc_examples_obj_static_method (gint *out_arg); |