File:  [Qemu by Fabrice Bellard] / qemu / qint.h
Revision 1.1: download - view: text, annotated - select for diffs
Tue Apr 24 17:34:49 2018 UTC (16 months, 3 weeks ago) by root
CVS tags: MAIN, HEAD
Initial revision

#ifndef QINT_H
#define QINT_H

#include <stdint.h>
#include "qobject.h"

typedef struct QInt {
    QObject_HEAD;
    int64_t value;
} QInt;

QInt *qint_from_int(int64_t value);
int64_t qint_get_int(const QInt *qi);
QInt *qobject_to_qint(const QObject *obj);

#endif /* QINT_H */

unix.superglobalmegacorp.com