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

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

2018-11-22 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 > --- > common/Makefile.am | 2 ++ > common/meson.build | 2 ++ > common/utils.c | 64 +++

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

2018-11-22 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 | 64 ++ common/utils.h