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/dcc-chat-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/dcc-chat-object.h')
| -rw-r--r-- | objects/dcc-chat-object.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/objects/dcc-chat-object.h b/objects/dcc-chat-object.h new file mode 100644 index 0000000..955e6be --- /dev/null +++ b/objects/dcc-chat-object.h @@ -0,0 +1,21 @@ +#ifndef _DCC_CHAT_OBJECT_H_ +#define _DCC_CHAT_OBJECT_H_ + +#include <Python.h> +#include "dcc-object.h" + +/* forward */ +struct CHAT_DCC_REC; + +typedef struct +{ + PyDcc_HEAD(struct CHAT_DCC_REC) +} PyDccChat; + +extern PyTypeObject PyDccChatType; + +PyObject *pydcc_chat_new(void *dcc); +#define pydcc_chat_check(op) PyObject_TypeCheck(op, &PyDccChatType) +int dcc_chat_object_init(void); + +#endif |
