59 lines
2.5 KiB
C++
59 lines
2.5 KiB
C++
/* Generated by Cython 3.2.9 */
|
|
|
|
#ifndef __PYX_HAVE__PyCafe
|
|
#define __PYX_HAVE__PyCafe
|
|
|
|
#include "Python.h"
|
|
|
|
#ifndef __PYX_HAVE_API__PyCafe
|
|
|
|
#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
|
|
#define __PYX_EXTERN_C extern "C++"
|
|
#endif
|
|
|
|
#ifndef DL_IMPORT
|
|
#define DL_IMPORT(_T) _T
|
|
#endif
|
|
|
|
__PYX_EXTERN_C void cy_monitor_handler_wrapper(void *);
|
|
__PYX_EXTERN_C void cy_data_event_handler_wrapper(void *, unsigned int, std::string, PVDataHolder);
|
|
__PYX_EXTERN_C void cy_ctrl_event_handler_wrapper(void *, unsigned int, std::string, PVCtrlHolder);
|
|
__PYX_EXTERN_C void cy_event_handler_wrapper(void *, unsigned int, std::string);
|
|
__PYX_EXTERN_C void cy_handle_handler_wrapper(void *, unsigned int);
|
|
__PYX_EXTERN_C void cy_connect_handler_wrapper(void *, unsigned int, std::string, int);
|
|
__PYX_EXTERN_C void cy_cb_handle_get_wrapper(void *, unsigned int);
|
|
__PYX_EXTERN_C void cy_cb_handle_put_wrapper(void *, unsigned int);
|
|
|
|
#endif /* !__PYX_HAVE_API__PyCafe */
|
|
|
|
/* WARNING: the interface of the module init function changed in CPython 3.5. */
|
|
/* It now returns a PyModuleDef instance instead of a PyModule instance. */
|
|
|
|
/* WARNING: Use PyImport_AppendInittab("PyCafe", PyInit_PyCafe) instead of calling PyInit_PyCafe directly from Python 3.5 */
|
|
PyMODINIT_FUNC PyInit_PyCafe(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(\"PyCafe\", PyInit_PyCafe) instead of calling PyInit_PyCafe directly.")]] inline
|
|
#elif defined(__GNUC__) || defined(__clang__)
|
|
__attribute__ ((__deprecated__("Use PyImport_AppendInittab(\"PyCafe\", PyInit_PyCafe) instead of calling PyInit_PyCafe directly."), __unused__)) __inline__
|
|
#elif defined(_MSC_VER)
|
|
__declspec(deprecated("Use PyImport_AppendInittab(\"PyCafe\", PyInit_PyCafe) instead of calling PyInit_PyCafe directly.")) __inline
|
|
#endif
|
|
static PyObject* __PYX_WARN_IF_PyInit_PyCafe_INIT_CALLED(PyObject* res) {
|
|
return res;
|
|
}
|
|
#define PyInit_PyCafe() __PYX_WARN_IF_PyInit_PyCafe_INIT_CALLED(PyInit_PyCafe())
|
|
#endif
|
|
|
|
#endif /* !__PYX_HAVE__PyCafe */
|