Searched hist:f1cc129df8341ebb6176363d24b57035bb5dabe4 (Results 1 – 3 of 3) sorted by relevance
/openbmc/qemu/include/qapi/qmp/ |
H A D | qstring.h | diff f1cc129df8341ebb6176363d24b57035bb5dabe4 Fri Dec 11 11:11:36 CST 2020 Markus Armbruster <armbru@redhat.com> qobject: Use GString instead of QString to accumulate JSON
QString supports modifying its string, but it's quite limited: you can only append. The remaining callers use it for building an initial string, never for modifying it later.
Use of GString for building the initial string is actually more convenient here. Change qobject_to_json() & friends to do that.
Once all such uses are replaced this way, QString can become immutable.
Signed-off-by: Markus Armbruster <armbru@redhat.com> Message-Id: <20201211171152.146877-5-armbru@redhat.com>
|
/openbmc/qemu/qobject/ |
H A D | qstring.c | diff f1cc129df8341ebb6176363d24b57035bb5dabe4 Fri Dec 11 11:11:36 CST 2020 Markus Armbruster <armbru@redhat.com> qobject: Use GString instead of QString to accumulate JSON
QString supports modifying its string, but it's quite limited: you can only append. The remaining callers use it for building an initial string, never for modifying it later.
Use of GString for building the initial string is actually more convenient here. Change qobject_to_json() & friends to do that.
Once all such uses are replaced this way, QString can become immutable.
Signed-off-by: Markus Armbruster <armbru@redhat.com> Message-Id: <20201211171152.146877-5-armbru@redhat.com>
|
H A D | qjson.c | diff f1cc129df8341ebb6176363d24b57035bb5dabe4 Fri Dec 11 11:11:36 CST 2020 Markus Armbruster <armbru@redhat.com> qobject: Use GString instead of QString to accumulate JSON
QString supports modifying its string, but it's quite limited: you can only append. The remaining callers use it for building an initial string, never for modifying it later.
Use of GString for building the initial string is actually more convenient here. Change qobject_to_json() & friends to do that.
Once all such uses are replaced this way, QString can become immutable.
Signed-off-by: Markus Armbruster <armbru@redhat.com> Message-Id: <20201211171152.146877-5-armbru@redhat.com>
|