summaryrefslogtreecommitdiffstats
path: root/src/objects/notifylist-object.h
blob: 9db6922e2f134cf6246d3726a6f867c4015721ef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef _NOTIFYLIST_OBJECT_H_
#define _NOTIFYLIST_OBJECT_H_

#include <Python.h>
#include "base-objects.h"

typedef struct
{
    PyIrssiFinal_HEAD(void)
} PyNotifylist;

extern PyTypeObject PyNotifylistType;

int notifylist_object_init(void);
PyObject *pynotifylist_new(void *notifylist);
#define pynotifylist_check(op) PyObject_TypeCheck(op, &PyNotifylistType)

#endif