[Spice-devel] [PATCH spice-common] Unify headers guard names

2018-11-23 Thread Frediano Ziglio
Always use H_SPICE_COMMON_ prefix with uppercase filename (without extension). Signed-off-by: Frediano Ziglio --- common/backtrace.h | 6 +++--- common/canvas_base.h| 4 ++-- common/canvas_utils.h | 4 ++-- common/client_marshallers.h | 4 ++-- common/demarshallers.h

Re: [Spice-devel] [spice-common v2] utils: Add genum -> string helpers

2018-11-23 Thread Frediano Ziglio
> > This makes it easier to convert enums registered with glib type system > to string in order to print them at runtime. > > Signed-off-by: Christophe Fergeau Acked-by: Frediano Ziglio Frediano > --- > common/Makefile.am | 2 ++ > common/meson.build | 2 ++ > common/utils.c | 68

[Spice-devel] [spice-common v2] utils: Add genum -> string helpers

2018-11-23 Thread Christophe Fergeau
This makes it easier to convert enums registered with glib type system to string in order to print them at runtime. Signed-off-by: Christophe Fergeau --- common/Makefile.am | 2 ++ common/meson.build | 2 ++ common/utils.c | 68 ++ common/utils.h

Re: [Spice-devel] [spice-common] utils: Add genum -> string helpers

2018-11-23 Thread Christophe Fergeau
On Thu, Nov 22, 2018 at 04:08:45PM -0500, Frediano Ziglio wrote: > > > > This makes it easier to convert enums registered with glib type system > > to string in order to print them at runtime. > > > > Signed-off-by: Christophe Fergeau > > --- > > common/Makefile.am | 2 ++ > > common/meson.bui