diff options
author | Andreas Rottmann <a.rottmann@gmx.at> | 2009-03-04 14:59:28 (GMT) |
---|---|---|
committer | Andreas Rottmann <a.rottmann@gmx.at> | 2009-03-04 14:59:28 (GMT) |
commit | b8e3172424ba956a0d18eae8deb305310b2cab74 (patch) | |
tree | 50bf11870760c23d6734bc7fa65e10d30da10ef6 /tests/scanner/utility-1.0-expected.gir | |
parent | 5b4df314f3c59530a930ab3b09cd44212603a771 (diff) |
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-1.0-expected.gir')
-rw-r--r-- | tests/scanner/utility-1.0-expected.gir | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/scanner/utility-1.0-expected.gir b/tests/scanner/utility-1.0-expected.gir index 7ff6ca5..0ca72cb 100644 --- a/tests/scanner/utility-1.0-expected.gir +++ b/tests/scanner/utility-1.0-expected.gir @@ -42,11 +42,11 @@ and/or use gtk-doc annotations. --> </parameter> </parameters> </callback> - <enumeration name="FlagType" c:type="UtilityFlagType"> - <member name="a" value="0" c:identifier="UTILITY_FLAG_A"/> - <member name="b" value="1" c:identifier="UTILITY_FLAG_B"/> - <member name="c" value="2" c:identifier="UTILITY_FLAG_C"/> - </enumeration> + <bitfield name="FlagType" c:type="UtilityFlagType"> + <member name="a" value="1" c:identifier="UTILITY_FLAG_A"/> + <member name="b" value="2" c:identifier="UTILITY_FLAG_B"/> + <member name="c" value="4" c:identifier="UTILITY_FLAG_C"/> + </bitfield> <class name="Object" c:type="UtilityObject" parent="GObject.Object" |