diff options
author | Markus Armbruster | 2020-12-11 18:11:45 +0100 |
---|---|---|
committer | Markus Armbruster | 2020-12-19 10:39:16 +0100 |
commit | b3119b08143a036e8089fb442f9d42c4920ba22c (patch) | |
tree | 4896d46e1c0689abcfcfacf717bb4f0bbc42bb16 /include/qapi | |
parent | qobject: Drop qobject_get_try_str() (diff) | |
download | qemu-b3119b08143a036e8089fb442f9d42c4920ba22c.tar.gz qemu-b3119b08143a036e8089fb442f9d42c4920ba22c.tar.xz qemu-b3119b08143a036e8089fb442f9d42c4920ba22c.zip |
qobject: Drop qstring_get_try_str()
No users left outside tests/, and the ones in tests/ can just as well
use qstring_get_str(). Do that, and drop the function.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20201211171152.146877-14-armbru@redhat.com>
Diffstat (limited to 'include/qapi')
-rw-r--r-- | include/qapi/qmp/qstring.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/qapi/qmp/qstring.h b/include/qapi/qmp/qstring.h index 56034dae54..53567db6c0 100644 --- a/include/qapi/qmp/qstring.h +++ b/include/qapi/qmp/qstring.h @@ -28,7 +28,6 @@ QString *qstring_from_substr(const char *str, size_t start, size_t end); QString *qstring_from_gstring(GString *gstr); size_t qstring_get_length(const QString *qstring); const char *qstring_get_str(const QString *qstring); -const char *qstring_get_try_str(const QString *qstring); void qstring_append_int(QString *qstring, int64_t value); void qstring_append(QString *qstring, const char *str); void qstring_append_chr(QString *qstring, int c); |