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 49 50 51 52 53 54 55 56 57 58 59
|
/* Generated by Cython 3.0.8 */
#ifndef __PYX_HAVE__pygame_sdl2__event
#define __PYX_HAVE__pygame_sdl2__event
#include "Python.h"
#ifndef __PYX_HAVE_API__pygame_sdl2__event
#ifdef CYTHON_EXTERN_C
#undef __PYX_EXTERN_C
#define __PYX_EXTERN_C CYTHON_EXTERN_C
#elif defined(__PYX_EXTERN_C)
#ifdef _MSC_VER
#pragma message ("Please do not define the '__PYX_EXTERN_C' macro externally. Use 'CYTHON_EXTERN_C' instead.")
#else
#warning Please do not define the '__PYX_EXTERN_C' macro externally. Use 'CYTHON_EXTERN_C' instead.
#endif
#else
#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 PyObject *event_queue;
#endif /* !__PYX_HAVE_API__pygame_sdl2__event */
/* WARNING: the interface of the module init function changed in CPython 3.5. */
/* It now returns a PyModuleDef instance instead of a PyModule instance. */
#if PY_MAJOR_VERSION < 3
PyMODINIT_FUNC initevent(void);
#else
/* WARNING: Use PyImport_AppendInittab("event", PyInit_event) instead of calling PyInit_event directly from Python 3.5 */
PyMODINIT_FUNC PyInit_event(void);
#if PY_VERSION_HEX >= 0x03050000 && (defined(__GNUC__) || defined(__clang__) || defined(_MSC_VER) || (defined(__cplusplus) && __cplusplus >= 201402L))
#if defined(__cplusplus) && __cplusplus >= 201402L
[[deprecated("Use PyImport_AppendInittab(\"event\", PyInit_event) instead of calling PyInit_event directly.")]] inline
#elif defined(__GNUC__) || defined(__clang__)
__attribute__ ((__deprecated__("Use PyImport_AppendInittab(\"event\", PyInit_event) instead of calling PyInit_event directly."), __unused__)) __inline__
#elif defined(_MSC_VER)
__declspec(deprecated("Use PyImport_AppendInittab(\"event\", PyInit_event) instead of calling PyInit_event directly.")) __inline
#endif
static PyObject* __PYX_WARN_IF_PyInit_event_INIT_CALLED(PyObject* res) {
return res;
}
#define PyInit_event() __PYX_WARN_IF_PyInit_event_INIT_CALLED(PyInit_event())
#endif
#endif
#endif /* !__PYX_HAVE__pygame_sdl2__event */
|