diff options
| author | Christopher Davis <loafier@gmail.com> | 2006-06-21 00:22:03 +0000 |
|---|---|---|
| committer | Christopher Davis <loafier@gmail.com> | 2006-06-21 00:22:03 +0000 |
| commit | 7ddcc3b268c8c55b2d6fe80e87e090181fbc1bf7 (patch) | |
| tree | cc0ceff989c10739bcb18ae0743579bfb5074c3a /objects/notifylist-object.h | |
| parent | bb48c914c6239ed1dbcb29eb62d33d3ab91e7215 (diff) | |
| download | irssi-python-7ddcc3b268c8c55b2d6fe80e87e090181fbc1bf7.tar.gz irssi-python-7ddcc3b268c8c55b2d6fe80e87e090181fbc1bf7.tar.xz irssi-python-7ddcc3b268c8c55b2d6fe80e87e090181fbc1bf7.zip | |
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
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 |
