summaryrefslogtreecommitdiff
path: root/tests/scanner/Regress-1.0-expected.gir
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2020-02-14 14:53:09 +0000
committerEmmanuele Bassi <ebassi@gmail.com>2020-04-24 14:25:21 +0000
commitb4c058bba4d95ae10e1e4238f9417fe954f97795 (patch)
treea8014c2c550a9cd2909f21c3b66975c7a7227c6f /tests/scanner/Regress-1.0-expected.gir
parent9cb1ac54f5cda256230e76d4d78e960f98c9d2c3 (diff)
downloadgobject-introspection-b4c058bba4d95ae10e1e4238f9417fe954f97795.tar.gz
Add element-type support to GListModel
GListModel is an interface for creating typed, list-like containers. The data stored is GObject instances, but it's useful to be able to annotate the actual type, for both documentation and code generation purposes. Fixes: #328
Diffstat (limited to 'tests/scanner/Regress-1.0-expected.gir')
-rw-r--r--tests/scanner/Regress-1.0-expected.gir32
1 files changed, 32 insertions, 0 deletions
diff --git a/tests/scanner/Regress-1.0-expected.gir b/tests/scanner/Regress-1.0-expected.gir
index cef3b124..af648273 100644
--- a/tests/scanner/Regress-1.0-expected.gir
+++ b/tests/scanner/Regress-1.0-expected.gir
@@ -8041,6 +8041,38 @@ element-type annotation.</doc>
</parameter>
</parameters>
</function>
+ <function name="test_list_model_none"
+ c:identifier="regress_test_list_model_none"
+ introspectable="0">
+ <doc xml:space="preserve"
+ filename="regress.c"
+ line="4689">Test GListModel with no annotation.</doc>
+ <source-position filename="regress.h" line="1538"/>
+ <return-value transfer-ownership="full">
+ <doc xml:space="preserve"
+ filename="regress.c"
+ line="4694">a GListModel</doc>
+ <type name="Gio.ListModel" c:type="GListModel*">
+ <type name="gpointer" c:type="gpointer"/>
+ </type>
+ </return-value>
+ </function>
+ <function name="test_list_model_object"
+ c:identifier="regress_test_list_model_object">
+ <doc xml:space="preserve"
+ filename="regress.c"
+ line="4704">Test GListModel return value with an element type annotation.</doc>
+ <source-position filename="regress.h" line="1541"/>
+ <return-value transfer-ownership="full">
+ <doc xml:space="preserve"
+ filename="regress.c"
+ line="4709">a GListModel
+ containing RegressTestObj values</doc>
+ <type name="Gio.ListModel" c:type="GListModel*">
+ <type name="TestObj"/>
+ </type>
+ </return-value>
+ </function>
<function name="test_long" c:identifier="regress_test_long">
<source-position filename="regress.h" line="73"/>
<return-value transfer-ownership="none">