diff options
author | Alban Browaeys <prahal@yahoo.com> | 2012-07-24 15:34:24 +0200 |
---|---|---|
committer | Tomeu Vizoso <tomeu.vizoso@collabora.com> | 2012-08-03 13:57:28 +0200 |
commit | 0b3162bb981038027c3fcdfccff0767bedf25743 (patch) | |
tree | 3af360ae984b10da8059c0083ed5ec39f986ec28 /tests/scanner/regress.h | |
parent | 8b4d1acc40c03ddb0255b6a9f10ee5d731b39016 (diff) | |
download | gobject-introspection-0b3162bb981038027c3fcdfccff0767bedf25743.tar.gz |
Test typedef in #define
requires "handle unsigned properly for type of defined size" patch.
Diffstat (limited to 'tests/scanner/regress.h')
-rw-r--r-- | tests/scanner/regress.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/scanner/regress.h b/tests/scanner/regress.h index ce5d1dc2..511201b5 100644 --- a/tests/scanner/regress.h +++ b/tests/scanner/regress.h @@ -262,6 +262,9 @@ GQuark regress_atest_error_quark (void); #define REGRESS_G_GINT64_CONSTANT (G_GINT64_CONSTANT (1000)) #define REGRESS_GUINT64_CONSTANT ((guint64) -1) +typedef guint64 RegressTestTypeGUInt64; +#define REGRESS_GUINT64_CONSTANTA ((RegressTestTypeGUInt64) -1) + /* structures */ typedef struct _RegressTestStructA RegressTestStructA; typedef struct _RegressTestStructB RegressTestStructB; |