test-kivy-app/kivy_venv/lib/python3.11/site-packages/kivy/graphics/cgl.h

60 lines
2.0 KiB
C
Raw Permalink Normal View History

2024-09-15 12:12:16 +00:00
/* Generated by Cython 3.0.0 */
#ifndef __PYX_HAVE__kivy__graphics__cgl
#define __PYX_HAVE__kivy__graphics__cgl
#include "Python.h"
#ifndef __PYX_HAVE_API__kivy__graphics__cgl
#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 int verify_gl_main_thread;
#endif /* !__PYX_HAVE_API__kivy__graphics__cgl */
/* 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 initcgl(void);
#else
/* WARNING: Use PyImport_AppendInittab("cgl", PyInit_cgl) instead of calling PyInit_cgl directly from Python 3.5 */
PyMODINIT_FUNC PyInit_cgl(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(\"cgl\", PyInit_cgl) instead of calling PyInit_cgl directly.")]] inline
#elif defined(__GNUC__) || defined(__clang__)
__attribute__ ((__deprecated__("Use PyImport_AppendInittab(\"cgl\", PyInit_cgl) instead of calling PyInit_cgl directly."), __unused__)) __inline__
#elif defined(_MSC_VER)
__declspec(deprecated("Use PyImport_AppendInittab(\"cgl\", PyInit_cgl) instead of calling PyInit_cgl directly.")) __inline
#endif
static PyObject* __PYX_WARN_IF_PyInit_cgl_INIT_CALLED(PyObject* res) {
return res;
}
#define PyInit_cgl() __PYX_WARN_IF_PyInit_cgl_INIT_CALLED(PyInit_cgl())
#endif
#endif
#endif /* !__PYX_HAVE__kivy__graphics__cgl */