diff options
author | Giovanni Campagna <gcampagna@src.gnome.org> | 2012-11-20 00:20:46 +0100 |
---|---|---|
committer | Giovanni Campagna <gcampagna@src.gnome.org> | 2012-11-20 23:00:55 +0100 |
commit | 5153efd29e9a813a97d58905340c0ec4af04c5bd (patch) | |
tree | ac2699858b8531a4f51c390793f8774df0fbd457 /tests/scanner/regress.h | |
parent | 3c8927ddff09745cd30654fe99c68ed9bcae6118 (diff) | |
download | gobject-introspection-5153efd29e9a813a97d58905340c0ec4af04c5bd.tar.gz |
Add more tests for boxed types
gjs needs a boxed type that cannot be trivially allocated but has also
a complex constructor.
https://bugzilla.gnome.org/show_bug.cgi?id=612033
Diffstat (limited to 'tests/scanner/regress.h')
-rw-r--r-- | tests/scanner/regress.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/scanner/regress.h b/tests/scanner/regress.h index 137c4e04..d8a3002e 100644 --- a/tests/scanner/regress.h +++ b/tests/scanner/regress.h @@ -432,6 +432,16 @@ struct _RegressTestBoxedC GType regress_test_boxed_c_get_type (void); RegressTestBoxedC *regress_test_boxed_c_new (void); +typedef struct _RegressTestBoxedD RegressTestBoxedD; + +GType regress_test_boxed_d_get_type (void); + +RegressTestBoxedD *regress_test_boxed_d_new (const char *a_string, int a_int); +RegressTestBoxedD *regress_test_boxed_d_copy (RegressTestBoxedD *boxed); +void regress_test_boxed_d_free (RegressTestBoxedD *boxed); + +int regress_test_boxed_d_get_magic (RegressTestBoxedD *boxed); + /* gobject */ #define REGRESS_TEST_TYPE_OBJ (regress_test_obj_get_type ()) #define REGRESS_TEST_OBJECT(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), REGRESS_TEST_TYPE_OBJ, RegressTestObj)) |