aboutsummaryrefslogtreecommitdiffstats
path: root/qstring.h
blob: e012cb7dc5737422e09fd77e72d3a6587cfe7c5f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef QSTRING_H
#define QSTRING_H

#include "qobject.h"

typedef struct QString {
    QObject_HEAD;
    char *string;
} QString;

QString *qstring_from_str(const char *str);
const char *qstring_get_str(const QString *qstring);
QString *qobject_to_qstring(const QObject *obj);

#endif /* QSTRING_H */