Re: [Qemu-devel] [RFC v3 02/27] qobject: introduce qstring_get_try_str()

2017-11-06 Thread Fam Zheng
On Mon, 11/06 17:46, Peter Xu wrote: > The only difference from qstring_get_str() is that it allows the qstring > to be NULL. If so, NULL is returned. > > CC: Eric Blake > CC: Markus Armbruster > Signed-off-by: Peter Xu Reviewed-by: Fam Zheng

[Qemu-devel] [RFC v3 02/27] qobject: introduce qstring_get_try_str()

2017-11-06 Thread Peter Xu
The only difference from qstring_get_str() is that it allows the qstring to be NULL. If so, NULL is returned. CC: Eric Blake CC: Markus Armbruster Signed-off-by: Peter Xu --- include/qapi/qmp/qstring.h | 1 + qobject/qstring.c | 10 ++ 2 files changed, 11 insertions(+) diff