repo.or.cz
/
qemu
/
scottt.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
pci: teach pci_default_config_write() ROM bar for normal/bridge device .
[qemu/scottt.git]
/
qint.h
blob
672b32196c7cd5b8cca3826099b668b2f98048f6
1
#ifndef QINT_H
2
#define QINT_H
3
4
#include <stdint.h>
5
#include
"qobject.h"
6
7
typedef
struct
QInt
{
8
QObject_HEAD
;
9
int64_t
value
;
10
}
QInt
;
11
12
QInt
*
qint_from_int
(
int64_t
value
);
13
int64_t
qint_get_int
(
const
QInt
*
qi
);
14
QInt
*
qobject_to_qint
(
const
QObject
*
obj
);
15
16
#endif
/* QINT_H */