From 7ddcc3b268c8c55b2d6fe80e87e090181fbc1bf7 Mon Sep 17 00:00:00 2001 From: Christopher Davis Date: Wed, 21 Jun 2006 00:22:03 +0000 Subject: Added a lot of object wrappers. Most are untested. Will finish up the rest of the object wrappers perhaps tonight or tomorrow. Signal handling will need to be addressed ASAP. There are quite a lot of other global module functions remaining to be wraped, as well. git-svn-id: http://svn.irssi.org/repos/irssi-python@4286 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- objects/notifylist-object.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 objects/notifylist-object.h (limited to 'objects/notifylist-object.h') 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 +#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 -- cgit