summaryrefslogtreecommitdiffstats
path: root/objects/dcc-send-object.h
blob: 6303f86d718f65a59bfddb09176eee1bd8871b6c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef _DCC_SEND_OBJECT_H_
#define _DCC_SEND_OBJECT_H_

#include <Python.h>
#include "dcc-object.h"

typedef struct
{
    PyDcc_HEAD(void)
} PyDccSend;

extern PyTypeObject PyDccSendType;

PyObject *pydcc_send_new(void *dcc);
#define pydcc_send_check(op) PyObject_TypeCheck(op, &PyDccSendType)
int dcc_send_object_init(void);

#endif