summaryrefslogtreecommitdiffstats
path: root/objects/dcc-get-object.h
diff options
context:
space:
mode:
Diffstat (limited to 'objects/dcc-get-object.h')
-rw-r--r--objects/dcc-get-object.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/objects/dcc-get-object.h b/objects/dcc-get-object.h
new file mode 100644
index 0000000..532b854
--- /dev/null
+++ b/objects/dcc-get-object.h
@@ -0,0 +1,18 @@
+#ifndef _DCC_GET_OBJECT_H_
+#define _DCC_GET_OBJECT_H_
+
+#include <Python.h>
+#include "dcc-object.h"
+
+typedef struct
+{
+ PyDcc_HEAD(void)
+} PyDccGet;
+
+extern PyTypeObject PyDccGetType;
+
+PyObject *pydcc_get_new(void *dcc);
+#define pydcc_get_check(op) PyObject_TypeCheck(op, &PyDccGetType)
+int dcc_get_object_init(void);
+
+#endif