diff options
author | Jasper St. Pierre <jstpierre@mecheye.net> | 2013-02-02 11:40:51 -0500 |
---|---|---|
committer | Jasper St. Pierre <jstpierre@mecheye.net> | 2013-02-11 12:34:52 -0500 |
commit | 4dee82c91f91076e96c1c8d309621a9fb1141ac8 (patch) | |
tree | 29f251185f2aa0e849449bb3626bc41b3a623c2b /tests | |
parent | c9450dc3d7e2f87fa980923594736621f0ecd6ae (diff) | |
download | gobject-introspection-4dee82c91f91076e96c1c8d309621a9fb1141ac8.tar.gz |
docwriter: Skip lots of special kinds of parameters
Gjs ignores all of these when constructing function signatures.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/doctool/DocExamples-1.0-Gjs-expected/DocExamples.callback_function.page | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/tests/doctool/DocExamples-1.0-Gjs-expected/DocExamples.callback_function.page b/tests/doctool/DocExamples-1.0-Gjs-expected/DocExamples.callback_function.page index 4e3de123..cb449c74 100644 --- a/tests/doctool/DocExamples-1.0-Gjs-expected/DocExamples.callback_function.page +++ b/tests/doctool/DocExamples-1.0-Gjs-expected/DocExamples.callback_function.page @@ -17,21 +17,13 @@ <api:type>DocExamples.Callback</api:type> <api:name>callback</api:name> </api:arg> - <api:arg> - <api:type>gpointer</api:type> - <api:name>user_data</api:name> - </api:arg> - <api:arg> - <api:type>GLib.DestroyNotify</api:type> - <api:name>destroy_notify</api:name> - </api:arg> </api:function> </info> <title>callback_function</title> <synopsis><code mime="text/x-gjs"> -function callback_function(callback:DocExamples.Callback, user_data:gpointer, destroy_notify:GLib.DestroyNotify):DocExamples.Enum { +function callback_function(callback:DocExamples.Callback):DocExamples.Enum { // Gjs wrapper for doc_examples_callback_function() } </code></synopsis> @@ -47,10 +39,6 @@ will expose this in different ways (e.g. Python keeps the <dl> <dt><p>callback :</p></dt> <dd><p>Just Call Me Maybe</p></dd> -<dt><p>user_data :</p></dt> -<dd><p>your stuff</p></dd> -<dt><p>destroy_notify :</p></dt> -<dd><p>how to get rid of <code>user_data</code></p></dd> <dt><p>Returns :</p></dt> <dd><p><link xref="DocExamples.Enum"/>.foo sometimes, <link xref="DocExamples.Enum"/>.bar other times.</p></dd> </dl> |