From 2910f183ddd5286911bc1e3499ea93cb57de8b75 Mon Sep 17 00:00:00 2001 From: David 'Digit' Turner Date: Mon, 10 May 2010 18:48:35 -0700 Subject: Upstream: Misc integration - includes qobject.h and related sources Change-Id: Idfa93ab5c67c95a3bc1869eeaf3a84a75fe24cd6 --- qint.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 qint.h (limited to 'qint.h') diff --git a/qint.h b/qint.h new file mode 100644 index 0000000..672b321 --- /dev/null +++ b/qint.h @@ -0,0 +1,16 @@ +#ifndef QINT_H +#define QINT_H + +#include +#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 */ -- cgit v1.1