File:  [Qemu by Fabrice Bellard] / qemu / qint.h
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 17:34:49 2018 UTC (3 years, 4 months ago) by root
Branches: qemu, MAIN
CVS tags: qemu0125, qemu0124, qemu0123, qemu0122, qemu0121, qemu0120, HEAD
qemu 0.12.0

    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 */

unix.superglobalmegacorp.com