diff options
author | Johan Dahlin <johan@src.gnome.org> | 2009-01-14 21:41:38 +0000 |
---|---|---|
committer | Johan Dahlin <johan@src.gnome.org> | 2009-01-14 21:41:38 +0000 |
commit | 0f4621466960e610e5a2182c83be7e28564c7a95 (patch) | |
tree | 792de31454897312622aee41105b77b00fccee05 | |
parent | f5b858c5411a446171be01b2588904e557d6220f (diff) | |
download | gobject-introspection-0f4621466960e610e5a2182c83be7e28564c7a95.tar.gz |
And the .gir files
svn path=/trunk/; revision=1041
-rw-r--r-- | tests/scanner/annotation-1.0-expected.gir | 21 | ||||
-rw-r--r-- | tests/scanner/annotation-1.0-expected.tgir | 19 |
2 files changed, 40 insertions, 0 deletions
diff --git a/tests/scanner/annotation-1.0-expected.gir b/tests/scanner/annotation-1.0-expected.gir index 96afdba4..4c65b093 100644 --- a/tests/scanner/annotation-1.0-expected.gir +++ b/tests/scanner/annotation-1.0-expected.gir @@ -506,6 +506,27 @@ known by GObject as it's only marked as G_TYPE_POINTER"> <type name="none" c:type="void"/> </return-value> </function> + <function name="string_zero_terminated" + c:identifier="annotation_string_zero_terminated"> + <return-value transfer-ownership="none" doc="The return value"> + <array c:type="char**"> + <type name="utf8"/> + </array> + </return-value> + </function> + <function name="string_zero_terminated_out" + c:identifier="annotation_string_zero_terminated_out"> + <return-value transfer-ownership="none"> + <type name="none" c:type="void"/> + </return-value> + <parameters> + <parameter name="out" direction="inout" transfer-ownership="none"> + <array c:type="char***"> + <type name="utf8"/> + </array> + </parameter> + </parameters> + </function> <record name="Struct" c:type="AnnotationStruct" doc="This is a test of an array of object in an field of a struct."> diff --git a/tests/scanner/annotation-1.0-expected.tgir b/tests/scanner/annotation-1.0-expected.tgir index cdd3e9e2..756c81c5 100644 --- a/tests/scanner/annotation-1.0-expected.tgir +++ b/tests/scanner/annotation-1.0-expected.tgir @@ -376,6 +376,25 @@ <type name="none"/> </return-value> </function> + <function name="string_zero_terminated" c:identifier="annotation_string_zero_terminated"> + <return-value transfer-ownership="none"> + <array zero-terminated="1"> + <type name="utf8"/> + </array> + </return-value> + </function> + <function name="string_zero_terminated_out" c:identifier="annotation_string_zero_terminated_out"> + <return-value transfer-ownership="none"> + <type name="none"/> + </return-value> + <parameters> + <parameter name="out" transfer-ownership="none" direction="inout"> + <array zero-terminated="1"> + <type name="utf8"/> + </array> + </parameter> + </parameters> + </function> <record name="Struct"> <field name="objects" writable="1"> <array fixed-size="10"> |