Statistics
| Branch: | Revision:

root / qstring.h @ 9c9efb6b

History | View | Annotate | Download (426 Bytes)

1
#ifndef QSTRING_H
2
#define QSTRING_H
3

    
4
#include "qobject.h"
5

    
6
typedef struct QString {
7
    QObject_HEAD;
8
    char *string;
9
    size_t length;
10
    size_t capacity;
11
} QString;
12

    
13
QString *qstring_new(void);
14
QString *qstring_from_str(const char *str);
15
const char *qstring_get_str(const QString *qstring);
16
void qstring_append(QString *qstring, const char *str);
17
QString *qobject_to_qstring(const QObject *obj);
18

    
19
#endif /* QSTRING_H */