blob: a1d845ab407a7ef31cbf1be0bead7a93e2882ecc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#ifndef _IRC_CHANNEL_OBJECT_H_
#define _IRC_CHANNEL_OBJECT_H_
#include <Python.h>
#include "window-item-object.h"
/* forward */
struct _IRC_CHANNEL_REC;
typedef struct
{
PyWindowItem_HEAD(struct _IRC_CHANNEL_REC)
} PyIrcChannel;
extern PyTypeObject PyIrcChannelType;
int irc_channel_object_init(void);
PyObject *pyirc_channel_new(void *chan);
#define pyirc_channel_check(op) PyObject_TypeCheck(op, &PyIrcChannelType)
#endif
|