summaryrefslogtreecommitdiffstats
path: root/objects/ignore-object.h
diff options
context:
space:
mode:
Diffstat (limited to 'objects/ignore-object.h')
-rw-r--r--objects/ignore-object.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/objects/ignore-object.h b/objects/ignore-object.h
new file mode 100644
index 0000000..39f7425
--- /dev/null
+++ b/objects/ignore-object.h
@@ -0,0 +1,21 @@
+#ifndef _IGNORE_OBJECT_H_
+#define _IGNORE_OBJECT_H_
+
+#include <Python.h>
+#include "base-objects.h"
+
+/* forward */
+struct _IGNORE_REC;
+
+typedef struct
+{
+ PyIrssiFinal_HEAD(struct _IGNORE_REC)
+} PyIgnore;
+
+extern PyTypeObject PyIgnoreType;
+
+int ignore_object_init(void);
+PyObject *pyignore_new(void *ignore);
+#define pyignore_check(op) PyObject_TypeCheck(op, &PyIgnoreType)
+
+#endif