mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
QString: Introduce qstring_append_int()
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
6fe9565c5b
commit
764c1caeb3
2 changed files with 10 additions and 0 deletions
|
@ -1,6 +1,7 @@
|
|||
#ifndef QSTRING_H
|
||||
#define QSTRING_H
|
||||
|
||||
#include <stdint.h>
|
||||
#include "qobject.h"
|
||||
|
||||
typedef struct QString {
|
||||
|
@ -13,6 +14,7 @@ typedef struct QString {
|
|||
QString *qstring_new(void);
|
||||
QString *qstring_from_str(const char *str);
|
||||
const char *qstring_get_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);
|
||||
QString *qobject_to_qstring(const QObject *obj);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue