Re: [PATCH] guard enums in generated wayland-*-protocol.h

2011-01-23 Thread Kristian Høgsberg
On Sun, Jan 23, 2011 at 6:21 AM, Tim Wiederhake wrote: > --- >  wayland/scanner.c |    8 +++- >  1 files changed, 7 insertions(+), 1 deletions(-) Yup, that's what I had in mind, thanks. I edited the #define prefix to keep it in the WL_* namespace. thanks, Kristian > diff --git a/wayland/sc

[PATCH] guard enums in generated wayland-*-protocol.h

2011-01-23 Thread Tim Wiederhake
--- wayland/scanner.c |8 +++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/wayland/scanner.c b/wayland/scanner.c index 91054b7..b24ee39 100644 --- a/wayland/scanner.c +++ b/wayland/scanner.c @@ -470,13 +470,19 @@ emit_enumerations(struct interface *interface) str