repo.or.cz
/
qemu
/
mdroth.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
qdev: add string property.
[qemu/mdroth.git]
/
qstring.h
blob
e012cb7dc5737422e09fd77e72d3a6587cfe7c5f
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
}
QString
;
10
11
QString
*
qstring_from_str
(
const char
*
str
);
12
const char
*
qstring_get_str
(
const
QString
*
qstring
);
13
QString
*
qobject_to_qstring
(
const
QObject
*
obj
);
14
15
#endif
/* QSTRING_H */