[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 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