diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2010-12-17 13:46:27 +0100 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2010-12-17 14:18:26 +0100 |
commit | bc129171d0ca02c3132e675d97914a04db5bc64c (patch) | |
tree | 03574bfec50b38a3a8d0253e33e4dab67dab3e91 | |
parent | fbf1c3bdc2ab91cfd8a39b334115ca4b8f460b8e (diff) |
c-constants-gen.py: add magic gir rune when generating flags enum
-rw-r--r-- | tools/c-constants-gen.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/c-constants-gen.py b/tools/c-constants-gen.py index 09608c2bd..188ab82ac 100644 --- a/tools/c-constants-gen.py +++ b/tools/c-constants-gen.py @@ -79,7 +79,7 @@ extern "C" { */ """) - self.write("typedef enum {\n") + self.write("typedef enum /*< flags >*/ {\n") for flag in get_by_path(flags, 'flag'): self.do_val(flag, value_prefix) |