3#ifndef __PYX_HAVE__pymodule
4#define __PYX_HAVE__pymodule
8#ifndef __PYX_HAVE_API__pymodule
12 #define __PYX_EXTERN_C CYTHON_EXTERN_C
13#elif defined(__PYX_EXTERN_C)
15 #pragma message ("Please do not define the '__PYX_EXTERN_C' macro externally. Use 'CYTHON_EXTERN_C' instead.")
17 #warning Please do not define the '__PYX_EXTERN_C' macro externally. Use 'CYTHON_EXTERN_C' instead.
20 #define __PYX_EXTERN_C extern "C++"
24 #define DL_IMPORT(_T) _T
39#if PY_MAJOR_VERSION < 3
43PyMODINIT_FUNC PyInit_pymodule(
void);
45#if PY_VERSION_HEX >= 0x03050000 && (defined(__GNUC__) || defined(__clang__) || defined(_MSC_VER) || (defined(__cplusplus) && __cplusplus >= 201402L))
46#if defined(__cplusplus) && __cplusplus >= 201402L
47[[deprecated(
"Use PyImport_AppendInittab(\"pymodule\", PyInit_pymodule) instead of calling PyInit_pymodule directly.")]]
inline
48#elif defined(__GNUC__) || defined(__clang__)
49__attribute__ ((__deprecated__(
"Use PyImport_AppendInittab(\"pymodule\", PyInit_pymodule) instead of calling PyInit_pymodule directly."), __unused__)) __inline__
50#elif defined(_MSC_VER)
51__declspec(deprecated(
"Use PyImport_AppendInittab(\"pymodule\", PyInit_pymodule) instead of calling PyInit_pymodule directly.")) __inline
53static PyObject* __PYX_WARN_IF_PyInit_pymodule_INIT_CALLED(PyObject* res) {
56#define PyInit_pymodule() __PYX_WARN_IF_PyInit_pymodule_INIT_CALLED(PyInit_pymodule())
The abstract base class used by all types of agents that live and interact in a simulation.
__PYX_EXTERN_C void CyclusPyCallListeners(std::string, cyclus::Agent *, void *, int, boost::spirit::hold_any)
PyMODINIT_FUNC initpymodule(void)
__PYX_EXTERN_C std::string CyclusPyFindModule(std::string)
__PYX_EXTERN_C cyclus::Agent * CyclusMakePyAgent(std::string, std::string, void *)
__PYX_EXTERN_C void CyclusClearPyAgentRefs(void)
__PYX_EXTERN_C void CyclusInitFromPyAgent(cyclus::Agent *, cyclus::Agent *, void *)
__PYX_EXTERN_C void CyclusPyDelAgent(int)