diff options
author | Johan Dahlin <jdahlin@async.com.br> | 2009-01-12 23:24:01 +0000 |
---|---|---|
committer | Johan Dahlin <johan@src.gnome.org> | 2009-01-12 23:24:01 +0000 |
commit | 9256e916164ec557ed66f92a0d6d95bb286cdf8b (patch) | |
tree | e481541d55ca9eafb63684f2ee41d48096b8eac5 /tests/scanner/foo.h | |
parent | e81c4681cc88a00fcd841c5a68d860d3714b55d7 (diff) | |
download | gobject-introspection-9256e916164ec557ed66f92a0d6d95bb286cdf8b.tar.gz |
Bug 563591 – Flags not recognized when there is no introspection data
2009-01-12 Johan Dahlin <jdahlin@async.com.br>
Bug 563591 – Flags not recognized when there is no introspection data
* giscanner/ast.py:
* giscanner/girwriter.py:
* giscanner/giscannermodule.c (type_get_is_bitfield):
* giscanner/glibast.py:
* giscanner/glibtransformer.py:
* giscanner/scannerparser.y:
* giscanner/sourcescanner.c (gi_source_type_copy):
* giscanner/sourcescanner.h:
* giscanner/sourcescanner.py:
* giscanner/transformer.py:
* tests/scanner/foo-1.0-expected.gir:
* tests/scanner/foo-1.0-expected.tgir:
* tests/scanner/foo.h:
Large parts of this patch was done by Jürg Billeter.
svn path=/trunk/; revision=1025
Diffstat (limited to 'tests/scanner/foo.h')
-rw-r--r-- | tests/scanner/foo.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/tests/scanner/foo.h b/tests/scanner/foo.h index dbef015b..f08fc3c7 100644 --- a/tests/scanner/foo.h +++ b/tests/scanner/foo.h @@ -128,6 +128,8 @@ typedef enum FOO_FLAGS_THIRD = 1 << 2 } FooFlagsType; +GType foo_flags_type_get_type (void); + typedef enum { FOO_ENUM_UN = 1, @@ -136,7 +138,12 @@ typedef enum FOO_ENUM_NEUF = 9 } FooEnumNoType; -GType foo_flags_type_get_type (void); +typedef enum +{ + FOO_FLAGS_ETT = 1 << 0, + FOO_FLAGS_TVA = 1 << 1, + FOO_FLAGS_FYRA = 1 << 2 +} FooFlagsNoType; typedef enum { |