gobject-introspection r1041 - trunk/tests/scanner



Author: johan
Date: Wed Jan 14 21:41:38 2009
New Revision: 1041
URL: http://svn.gnome.org/viewvc/gobject-introspection?rev=1041&view=rev

Log:
And the .gir files

Modified:
   trunk/tests/scanner/annotation-1.0-expected.gir
   trunk/tests/scanner/annotation-1.0-expected.tgir

Modified: trunk/tests/scanner/annotation-1.0-expected.gir
==============================================================================
--- trunk/tests/scanner/annotation-1.0-expected.gir	(original)
+++ trunk/tests/scanner/annotation-1.0-expected.gir	Wed Jan 14 21:41:38 2009
@@ -506,6 +506,27 @@
         <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.">

Modified: trunk/tests/scanner/annotation-1.0-expected.tgir
==============================================================================
--- trunk/tests/scanner/annotation-1.0-expected.tgir	(original)
+++ trunk/tests/scanner/annotation-1.0-expected.tgir	Wed Jan 14 21:41:38 2009
@@ -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">



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]