CYCLUS
Loading...
Searching...
No Matches
eventhooks.h
Go to the documentation of this file.
1/* Generated by Cython 3.0.11 */
2
3#ifndef __PYX_HAVE__eventhooks
4#define __PYX_HAVE__eventhooks
5
6#include "Python.h"
7
8#ifndef __PYX_HAVE_API__eventhooks
9
10#ifdef CYTHON_EXTERN_C
11 #undef __PYX_EXTERN_C
12 #define __PYX_EXTERN_C CYTHON_EXTERN_C
13#elif defined(__PYX_EXTERN_C)
14 #ifdef _MSC_VER
15 #pragma message ("Please do not define the '__PYX_EXTERN_C' macro externally. Use 'CYTHON_EXTERN_C' instead.")
16 #else
17 #warning Please do not define the '__PYX_EXTERN_C' macro externally. Use 'CYTHON_EXTERN_C' instead.
18 #endif
19#else
20 #define __PYX_EXTERN_C extern "C++"
21#endif
22
23#ifndef DL_IMPORT
24 #define DL_IMPORT(_T) _T
25#endif
26
28
29#endif /* !__PYX_HAVE_API__eventhooks */
30
31/* WARNING: the interface of the module init function changed in CPython 3.5. */
32/* It now returns a PyModuleDef instance instead of a PyModule instance. */
33
34#if PY_MAJOR_VERSION < 3
35PyMODINIT_FUNC initeventhooks(void);
36#else
37/* WARNING: Use PyImport_AppendInittab("eventhooks", PyInit_eventhooks) instead of calling PyInit_eventhooks directly from Python 3.5 */
38PyMODINIT_FUNC PyInit_eventhooks(void);
39
40#if PY_VERSION_HEX >= 0x03050000 && (defined(__GNUC__) || defined(__clang__) || defined(_MSC_VER) || (defined(__cplusplus) && __cplusplus >= 201402L))
41#if defined(__cplusplus) && __cplusplus >= 201402L
42[[deprecated("Use PyImport_AppendInittab(\"eventhooks\", PyInit_eventhooks) instead of calling PyInit_eventhooks directly.")]] inline
43#elif defined(__GNUC__) || defined(__clang__)
44__attribute__ ((__deprecated__("Use PyImport_AppendInittab(\"eventhooks\", PyInit_eventhooks) instead of calling PyInit_eventhooks directly."), __unused__)) __inline__
45#elif defined(_MSC_VER)
46__declspec(deprecated("Use PyImport_AppendInittab(\"eventhooks\", PyInit_eventhooks) instead of calling PyInit_eventhooks directly.")) __inline
47#endif
48static PyObject* __PYX_WARN_IF_PyInit_eventhooks_INIT_CALLED(PyObject* res) {
49 return res;
50}
51#define PyInit_eventhooks() __PYX_WARN_IF_PyInit_eventhooks_INIT_CALLED(PyInit_eventhooks())
52#endif
53#endif
54
55#endif /* !__PYX_HAVE__eventhooks */
#define __PYX_EXTERN_C
Definition eventhooks.h:20
PyMODINIT_FUNC initeventhooks(void)
__PYX_EXTERN_C void CyclusEventLoopHook(void)