summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJohan Dahlin <johan@gnome.org>2010-10-06 11:26:37 -0300
committerJohan Dahlin <johan@gnome.org>2010-10-06 11:26:37 -0300
commit24d989b151b1c553ce0ee65a7c9f43c1da1f2b90 (patch)
tree62634adb9ac100702cfd5ef96cc377f001359d18 /tests
parent57213017a4e3c79d8f690097c67b403690c39def (diff)
downloadgobject-introspection-24d989b151b1c553ce0ee65a7c9f43c1da1f2b90.tar.gz
Revert "Apply `(type bitfield)' annotations for enums"
This reverts commit d15e386c8e10dd6b645a444e29cc053100089a07.
Diffstat (limited to 'tests')
-rw-r--r--tests/scanner/Annotation-1.0-expected.gir4
-rw-r--r--tests/scanner/annotation.h9
2 files changed, 0 insertions, 13 deletions
diff --git a/tests/scanner/Annotation-1.0-expected.gir b/tests/scanner/Annotation-1.0-expected.gir
index 92d4ff21..050d888b 100644
--- a/tests/scanner/Annotation-1.0-expected.gir
+++ b/tests/scanner/Annotation-1.0-expected.gir
@@ -15,10 +15,6 @@ and/or use gtk-doc annotations. -->
shared-library="libannotation.so"
c:identifier-prefixes="Annotation"
c:symbol-prefixes="annotation">
- <bitfield name="Bitfield" c:type="AnnotationBitfield">
- <member name="foo" value="1" c:identifier="ANNOTATION_FLAG_FOO"/>
- <member name="bar" value="2" c:identifier="ANNOTATION_FLAG_BAR"/>
- </bitfield>
<callback name="Callback" c:type="AnnotationCallback">
<doc xml:whitespace="preserve">This is a callback.</doc>
<return-value transfer-ownership="none">
diff --git a/tests/scanner/annotation.h b/tests/scanner/annotation.h
index 9559e400..ef05ddb2 100644
--- a/tests/scanner/annotation.h
+++ b/tests/scanner/annotation.h
@@ -4,15 +4,6 @@
#include <glib-object.h>
/**
- * AnnotationBitfield: (type bitfield)
- **/
-typedef enum
-{
- ANNOTATION_FLAG_FOO = 1,
- ANNOTATION_FLAG_BAR = 2
-} AnnotationBitfield;
-
-/**
* AnnotationCallback:
* @in: (in) (transfer none): array of ints
*