diff options
Diffstat (limited to 'objects/notifylist-object.h')
-rw-r--r-- | objects/notifylist-object.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/objects/notifylist-object.h b/objects/notifylist-object.h new file mode 100644 index 0000000..9db6922 --- /dev/null +++ b/objects/notifylist-object.h @@ -0,0 +1,18 @@ +#ifndef _NOTIFYLIST_OBJECT_H_ +#define _NOTIFYLIST_OBJECT_H_ + +#include <Python.h> +#include "base-objects.h" + +typedef struct +{ + PyIrssiFinal_HEAD(void) +} PyNotifylist; + +extern PyTypeObject PyNotifylistType; + +int notifylist_object_init(void); +PyObject *pynotifylist_new(void *notifylist); +#define pynotifylist_check(op) PyObject_TypeCheck(op, &PyNotifylistType) + +#endif |