aboutsummaryrefslogtreecommitdiffstats
path: root/python/gevent/gevent.ares.h
blob: 25ba0413f9ad595d9104fe26afbfc2dec1526e55 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
/* Generated by Cython 0.25.2 */

#ifndef __PYX_HAVE__gevent__ares
#define __PYX_HAVE__gevent__ares

struct PyGeventAresChannelObject;

/* "gevent/ares.pyx":245
 * 
 * 
 * cdef public class channel [object PyGeventAresChannelObject, type PyGeventAresChannel_Type]:             # <<<<<<<<<<<<<<
 * 
 *     cdef public object loop
 */
struct PyGeventAresChannelObject {
  PyObject_HEAD
  struct __pyx_vtabstruct_6gevent_4ares_channel *__pyx_vtab;
  PyObject *loop;
  struct ares_channeldata *channel;
  PyObject *_watchers;
  PyObject *_timer;
};

#ifndef __PYX_HAVE_API__gevent__ares

#ifndef __PYX_EXTERN_C
  #ifdef __cplusplus
    #define __PYX_EXTERN_C extern "C"
  #else
    #define __PYX_EXTERN_C extern
  #endif
#endif

#ifndef DL_IMPORT
  #define DL_IMPORT(_T) _T
#endif

__PYX_EXTERN_C DL_IMPORT(PyTypeObject) PyGeventAresChannel_Type;

#endif /* !__PYX_HAVE_API__gevent__ares */

#if PY_MAJOR_VERSION < 3
PyMODINIT_FUNC initares(void);
#else
PyMODINIT_FUNC PyInit_ares(void);
#endif

#endif /* !__PYX_HAVE__gevent__ares */