Re: [libvirt] [PATCH RFC 1/2] util: Add VIR_ENUM_IMPL_LABEL

2018-07-27 Thread Michal Privoznik
On 07/26/2018 07:49 PM, Cole Robinson wrote: > This allows passing in a string label describing the enum, which can > be used to autogenerate error messages > > Signed-off-by: Cole Robinson > --- > src/util/virutil.c | 20 > src/util/virutil.h | 15 ++- > 2 files

[libvirt] [PATCH RFC 1/2] util: Add VIR_ENUM_IMPL_LABEL

2018-07-26 Thread Cole Robinson
This allows passing in a string label describing the enum, which can be used to autogenerate error messages Signed-off-by: Cole Robinson --- src/util/virutil.c | 20 src/util/virutil.h | 15 ++- 2 files changed, 26 insertions(+), 9 deletions(-) diff --git a/src/