[gobject-introspection] [cairo] Mark add structs as foreign



commit f81ef8287f49978c82397251082b3f74d93366fb
Author: Johan Dahlin <johan gnome org>
Date:   Thu Mar 25 09:34:20 2010 -0300

    [cairo] Mark add structs as foreign
    
    https://bugzilla.gnome.org/show_bug.cgi?id=610357

 gir/cairo-1.0.gir |   18 +++++++++---------
 1 files changed, 9 insertions(+), 9 deletions(-)
---
diff --git a/gir/cairo-1.0.gir b/gir/cairo-1.0.gir
index 8794a13..e6a6596 100644
--- a/gir/cairo-1.0.gir
+++ b/gir/cairo-1.0.gir
@@ -4,10 +4,10 @@
             xmlns:c="http://www.gtk.org/introspection/c/1.0";
             xmlns:glib="http://www.gtk.org/introspection/glib/1.0";>
   <namespace name="cairo" version="1.0">
-    <record name="Context" c:type="cairo_t"/>
-    <record name="Surface" c:type="cairo_surface_t"/>
-    <record name="Matrix" c:type="cairo_matrix_t"/>
-    <record name="Pattern" c:type="cairo_pattern_t"/>
+    <record name="Context" c:type="cairo_t" foreign="1"/>
+    <record name="Surface" c:type="cairo_surface_t" foreign="1"/>
+    <record name="Matrix" c:type="cairo_matrix_t" foreign="1"/>
+    <record name="Pattern" c:type="cairo_pattern_t" foreign="1"/>
     <enumeration name="Content" c:type="cairo_content_t">
       <member name="COLOR"
               value="4096"
@@ -19,11 +19,11 @@
               value="12288"
               c:identifier="CAIRO_CONTENT_COLOR_ALPHA"/>
     </enumeration>
-    <record name="FontOptions" c:type="cairo_font_options_t"/>
-    <record name="FontType" c:type="cairo_font_type_t"/>
-    <record name="FontFace" c:type="cairo_font_face_t"/>
-    <record name="ScaledFont" c:type="cairo_scaled_font_t"/>
-    <record name="Path" c:type="cairo_path_t"/>
+    <record name="FontOptions" c:type="cairo_font_options_t" foreign="1"/>
+    <record name="FontType" c:type="cairo_font_type_t" foreign="1"/>
+    <record name="FontFace" c:type="cairo_font_face_t" foreign="1"/>
+    <record name="ScaledFont" c:type="cairo_scaled_font_t" foreign="1"/>
+    <record name="Path" c:type="cairo_path_t" foreign="1"/>
     <function name="image_surface_create" c:identifier="cairo_image_surface_create">
       <return-value transfer-ownership="none">
         <type name="none" c:type="void"/>



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