CYCLUS
Loading...
Searching...
No Matches
pyinfile.h
Go to the documentation of this file.
1/* Generated by Cython 3.0.11 */
2
3#ifndef __PYX_HAVE__pyinfile
4#define __PYX_HAVE__pyinfile
5
6#include "Python.h"
7
8#ifndef __PYX_HAVE_API__pyinfile
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
27__PYX_EXTERN_C std::string CyclusPyToJson(std::string);
28__PYX_EXTERN_C std::string CyclusJsonToPy(std::string);
29
30#endif /* !__PYX_HAVE_API__pyinfile */
31
32/* WARNING: the interface of the module init function changed in CPython 3.5. */
33/* It now returns a PyModuleDef instance instead of a PyModule instance. */
34
35#if PY_MAJOR_VERSION < 3
36PyMODINIT_FUNC initpyinfile(void);
37#else
38/* WARNING: Use PyImport_AppendInittab("pyinfile", PyInit_pyinfile) instead of calling PyInit_pyinfile directly from Python 3.5 */
39PyMODINIT_FUNC PyInit_pyinfile(void);
40
41#if PY_VERSION_HEX >= 0x03050000 && (defined(__GNUC__) || defined(__clang__) || defined(_MSC_VER) || (defined(__cplusplus) && __cplusplus >= 201402L))
42#if defined(__cplusplus) && __cplusplus >= 201402L
43[[deprecated("Use PyImport_AppendInittab(\"pyinfile\", PyInit_pyinfile) instead of calling PyInit_pyinfile directly.")]] inline
44#elif defined(__GNUC__) || defined(__clang__)
45__attribute__ ((__deprecated__("Use PyImport_AppendInittab(\"pyinfile\", PyInit_pyinfile) instead of calling PyInit_pyinfile directly."), __unused__)) __inline__
46#elif defined(_MSC_VER)
47__declspec(deprecated("Use PyImport_AppendInittab(\"pyinfile\", PyInit_pyinfile) instead of calling PyInit_pyinfile directly.")) __inline
48#endif
49static PyObject* __PYX_WARN_IF_PyInit_pyinfile_INIT_CALLED(PyObject* res) {
50 return res;
51}
52#define PyInit_pyinfile() __PYX_WARN_IF_PyInit_pyinfile_INIT_CALLED(PyInit_pyinfile())
53#endif
54#endif
55
56#endif /* !__PYX_HAVE__pyinfile */
#define __PYX_EXTERN_C
Definition pyinfile.h:20
__PYX_EXTERN_C std::string CyclusPyToJson(std::string)
__PYX_EXTERN_C std::string CyclusJsonToPy(std::string)
PyMODINIT_FUNC initpyinfile(void)