libxl: Add comments to libxl__json_*get* functions
authorAnthony PERARD <anthony.perard@citrix.com>
Thu, 3 Jan 2019 18:24:56 +0000 (18:24 +0000)
committerWei Liu <wei.liu2@citrix.com>
Fri, 11 Jan 2019 14:57:52 +0000 (14:57 +0000)
commit3729730e94c4e7909a80320e7e0e195b9663d584
tree5f2b995ca335faaab583d30ffb7d613f0a7dc554
parent60351caf90494f7e74ae767b5a09471ae9bbbd60
libxl: Add comments to libxl__json_*get* functions

This comments that libxl__json_object_get_* and libxl__json_*_get
functions accept the libxl__json_object parameter to be NULL.

libxl__json_object_to_json also works with NULL.

This also move libxl__json_object_alloc declaration closer to similar
functions, and closer to libxl__json_object_free.

Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/libxl/libxl_internal.h