mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06:00
qobject: Make qobject_to_json_pretty() take a pretty argument
Signed-off-by: Markus Armbruster <armbru@redhat.com> Message-Id: <20201211171152.146877-4-armbru@redhat.com>
This commit is contained in:
parent
20076f4a8c
commit
6589f45991
6 changed files with 19 additions and 25 deletions
|
@ -26,6 +26,6 @@ QDict *qdict_from_jsonf_nofail(const char *string, ...)
|
|||
GCC_FMT_ATTR(1, 2);
|
||||
|
||||
QString *qobject_to_json(const QObject *obj);
|
||||
QString *qobject_to_json_pretty(const QObject *obj);
|
||||
QString *qobject_to_json_pretty(const QObject *obj, bool pretty);
|
||||
|
||||
#endif /* QJSON_H */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue