]> git.draconx.ca Git - gob-dx.git/blobdiff - src/test.gob
Release 2.0.8
[gob-dx.git] / src / test.gob
index 75d45f01f9a66e7fe9ca4d342a97c2519bf268ed..8146a72538f234665c65ea4bdb5712add599876c 100644 (file)
@@ -56,6 +56,11 @@ union _gob__union_t {
        int i, x, y, z;
 };
 void bubu(void);
+
+/* Fake boxed */
+#define PACKAGE_TYPE_BOXED 1
+typedef void * PackageBoxed;
+
 %}
 %header{
 /* this should be in the header, just under bubu prototype */
@@ -196,6 +201,19 @@ class Test:Object from G:Object
                                flags_type = Some:Flags,
                                link);
 
+         private PackageBoxed *prop;
+         property BOXED prop (nick="prop",
+                              blurb="prop",
+                              boxed_type=Package:Boxed,
+                              link);
+         /* testing old semantics */
+         private PackageBoxed *prop2;
+         property BOXED prop2 (nick="prop2",
+                              blurb="prop2",
+                              boxed_type=PACKAGE_TYPE_BOXED,
+                              link);
+
+
        private int j;
        public GObject * h;
        public char *bleh;