mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-12-17 21:26:13 -07:00
QString: Introduce qstring_append_chr()
It appends a C char to a QString. Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
8ff5a7d346
commit
6fe9565c5b
2 changed files with 20 additions and 5 deletions
|
|
@ -14,6 +14,7 @@ QString *qstring_new(void);
|
|||
QString *qstring_from_str(const char *str);
|
||||
const char *qstring_get_str(const QString *qstring);
|
||||
void qstring_append(QString *qstring, const char *str);
|
||||
void qstring_append_chr(QString *qstring, int c);
|
||||
QString *qobject_to_qstring(const QObject *obj);
|
||||
|
||||
#endif /* QSTRING_H */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue