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/logitem-object.h | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 src/objects/logitem-object.h (limited to 'src/objects/logitem-object.h') diff --git a/src/objects/logitem-object.h b/src/objects/logitem-object.h new file mode 100644 index 0000000..b7fd588 --- /dev/null +++ b/src/objects/logitem-object.h @@ -0,0 +1,21 @@ +#ifndef _LOG_ITEM_OBJECT_H_ +#define _LOG_ITEM_OBJECT_H_ + +#include +#include "base-objects.h" + +typedef struct +{ + PyObject_HEAD + PyObject *type; + PyObject *name; + PyObject *servertag; +} PyLogitem; + +extern PyTypeObject PyLogitemType; + +int logitem_object_init(void); +PyObject *pylogitem_new(void *log); +#define pylogitem_check(op) PyObject_TypeCheck(op, &PyLogitemType) + +#endif -- cgit