From 3a028090359e5d5d24ccbfc11d9b6ff5681aab4f Mon Sep 17 00:00:00 2001 From: Christopher Davis Date: Sat, 12 Aug 2006 22:16:53 +0000 Subject: directory structure change git-svn-id: http://svn.irssi.org/repos/irssi-python@4312 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- src/objects/textdest-object.h | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 src/objects/textdest-object.h (limited to 'src/objects/textdest-object.h') diff --git a/src/objects/textdest-object.h b/src/objects/textdest-object.h new file mode 100644 index 0000000..3e273e6 --- /dev/null +++ b/src/objects/textdest-object.h @@ -0,0 +1,24 @@ +#ifndef _TEXTDEST_OBJECT_H_ +#define _TEXTDEST_OBJECT_H_ + +#include +#include "base-objects.h" + +/* forward */ +struct _TEXT_DEST_REC; + +typedef struct +{ + PyIrssiFinal_HEAD(struct _TEXT_DEST_REC) + PyObject *window; + PyObject *server; + int owned; +} PyTextDest; + +extern PyTypeObject PyTextDestType; + +int textdest_object_init(void); +PyObject *pytextdest_new(void *td); +#define pytextdest_check(op) PyObject_TypeCheck(op, &PyTextDestType) + +#endif -- cgit