diff options
author | Andreas Rottmann <a.rottmann@gmx.at> | 2009-03-04 15:59:28 +0100 |
---|---|---|
committer | Andreas Rottmann <a.rottmann@gmx.at> | 2009-03-04 15:59:28 +0100 |
commit | b8e3172424ba956a0d18eae8deb305310b2cab74 (patch) | |
tree | 50bf11870760c23d6734bc7fa65e10d30da10ef6 /tests/scanner/utility.h | |
parent | 5b4df314f3c59530a930ab3b09cd44212603a771 (diff) | |
download | gobject-introspection-b8e3172424ba956a0d18eae8deb305310b2cab74.tar.gz |
Bug 573332 - Allow annotation of enums as bitfields
Add support for a `(type bitfield)' annotation for enums.
Signed-off-by: Andreas Rottmann <a.rottmann@gmx.at>
Diffstat (limited to 'tests/scanner/utility.h')
-rw-r--r-- | tests/scanner/utility.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/scanner/utility.h b/tests/scanner/utility.h index b493a677..cad93ff5 100644 --- a/tests/scanner/utility.h +++ b/tests/scanner/utility.h @@ -62,9 +62,9 @@ typedef enum typedef enum { - UTILITY_FLAG_A, - UTILITY_FLAG_B, - UTILITY_FLAG_C + UTILITY_FLAG_A = 1, + UTILITY_FLAG_B = 2, + UTILITY_FLAG_C = 4 } UtilityFlagType; typedef struct |