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/netsplit-server-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/netsplit-server-object.h')
-rw-r--r-- | objects/netsplit-server-object.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/objects/netsplit-server-object.h b/objects/netsplit-server-object.h new file mode 100644 index 0000000..f1d5fbf --- /dev/null +++ b/objects/netsplit-server-object.h @@ -0,0 +1,18 @@ +#ifndef _NETSPLIT_SERVER_OBJECT_H_ +#define _NETSPLIT_SERVER_OBJECT_H_ + +#include <Python.h> +#include "base-objects.h" + +typedef struct +{ + PyIrssiFinal_HEAD(void) +} PyNetsplitServer; + +extern PyTypeObject PyNetsplitServerType; + +int netsplit_server_object_init(void); +PyObject *pynetsplit_server_new(void *nss); +#define pynetsplit_server_check(op) PyObject_TypeCheck(op, &PyNetsplitServerType) + +#endif |