X-Git-Url: http://git.draconx.ca/gitweb/gob-dx.git/blobdiff_plain/308dc7bdfb924370cfd205f656eb0e83191d01a9..b3db2950b11fc5f3abd9ecdae855746e2d19c836:/src/test.gob diff --git a/src/test.gob b/src/test.gob index 75d45f0..8146a72 100644 --- a/src/test.gob +++ b/src/test.gob @@ -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;