qobject: Make QString immutable
commit4ac76ba414ecb94f086d73621775d8b38b6f0a43
authorMarkus Armbruster <armbru@redhat.com>
Fri, 11 Dec 2020 17:11:52 +0000 (11 18:11 +0100)
committerMarkus Armbruster <armbru@redhat.com>
Sat, 19 Dec 2020 09:39:41 +0000 (19 10:39 +0100)
tree14a3da0ae64a62bcbe23d122e34b750902284b27
parent18cf67c5e1d6e23042b752831aa6f9e4e478787b
qobject: Make QString immutable

The functions to modify a QString's string are all unused now.  Drop
them, and make the string immutable.  Saves 16 bytes per QString on my
system.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20201211171152.146877-21-armbru@redhat.com>
include/qapi/qmp/qstring.h
qobject/qstring.c
tests/check-qobject.c
tests/check-qstring.c