gevent.ares.h 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. /* Generated by Cython 0.25.2 */
  2. #ifndef __PYX_HAVE__gevent__ares
  3. #define __PYX_HAVE__gevent__ares
  4. struct PyGeventAresChannelObject;
  5. /* "gevent/ares.pyx":245
  6. *
  7. *
  8. * cdef public class channel [object PyGeventAresChannelObject, type PyGeventAresChannel_Type]: # <<<<<<<<<<<<<<
  9. *
  10. * cdef public object loop
  11. */
  12. struct PyGeventAresChannelObject {
  13. PyObject_HEAD
  14. struct __pyx_vtabstruct_6gevent_4ares_channel *__pyx_vtab;
  15. PyObject *loop;
  16. struct ares_channeldata *channel;
  17. PyObject *_watchers;
  18. PyObject *_timer;
  19. };
  20. #ifndef __PYX_HAVE_API__gevent__ares
  21. #ifndef __PYX_EXTERN_C
  22. #ifdef __cplusplus
  23. #define __PYX_EXTERN_C extern "C"
  24. #else
  25. #define __PYX_EXTERN_C extern
  26. #endif
  27. #endif
  28. #ifndef DL_IMPORT
  29. #define DL_IMPORT(_T) _T
  30. #endif
  31. __PYX_EXTERN_C DL_IMPORT(PyTypeObject) PyGeventAresChannel_Type;
  32. #endif /* !__PYX_HAVE_API__gevent__ares */
  33. #if PY_MAJOR_VERSION < 3
  34. PyMODINIT_FUNC initares(void);
  35. #else
  36. PyMODINIT_FUNC PyInit_ares(void);
  37. #endif
  38. #endif /* !__PYX_HAVE__gevent__ares */