diff options
author | Giovanni Campagna <gcampagna@src.gnome.org> | 2014-02-02 00:57:24 +0100 |
---|---|---|
committer | Giovanni Campagna <gcampagna@src.gnome.org> | 2014-02-20 03:09:38 +0100 |
commit | b6568a4c8007f574f8b9c6a048d04f80dd291f37 (patch) | |
tree | 6519689ee028c39cfff837b2bef13ab433b22904 /tests/scanner/Regress-1.0-Python-expected/Regress.TestFundamentalObject-copy.page | |
parent | 6cc9207cbdb1328c746e0899f459bb09d1e3e954 (diff) | |
download | gobject-introspection-b6568a4c8007f574f8b9c6a048d04f80dd291f37.tar.gz |
scanner: support virtual functions with a typedef-ed callback
The field of a callback need not be anonymous, it could be a
typedef, with a proper Type node.
Fixes TelepathyGlib.BaseClient having no virtual functions
(and probably others)
https://bugzilla.gnome.org/show_bug.cgi?id=723439
Diffstat (limited to 'tests/scanner/Regress-1.0-Python-expected/Regress.TestFundamentalObject-copy.page')
-rw-r--r-- | tests/scanner/Regress-1.0-Python-expected/Regress.TestFundamentalObject-copy.page | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestFundamentalObject-copy.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestFundamentalObject-copy.page new file mode 100644 index 00000000..d80c40b3 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestFundamentalObject-copy.page @@ -0,0 +1,30 @@ +<?xml version="1.0"?> +<page id="Regress.TestFundamentalObject-copy" + type="topic" + style="vfunc" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + <link xref="Regress.TestFundamentalObject" group="vfunc" type="guide"/> + </info> + <title>Regress.TestFundamentalObject::copy</title> + <synopsis><code mime="text/x-python"> +@accepts(Regress.TestFundamentalObject) +@returns(Regress.TestFundamentalObject) +def do_copy(obj): + </code></synopsis> + + +<terms> +<item> +<title><code>obj</code></title> + +</item> +<item> +<title><code>Returns</code></title> + +</item> +</terms> + +</page> |