Re: [Qemu-devel] [PATCH] ui: use enum to string helpers
On Wed, Aug 01, 2018 at 11:25:08AM +0200, Marc-André Lureau wrote: > Minor code simplification. Added to ui queue. thanks, Gerd
Re: [Qemu-devel] [PATCH] ui: use enum to string helpers
Marc-André Lureau writes: > Minor code simplification. It's also a bit more robust: FOO_str(VAL) checks VAL is in range, FOO_lookup.array[VAL] doesn't. > > Signed-off-by: Marc-André Lureau Reviewed-by: Markus Armbruster