NEURON
nrnwrap_Python.h
Go to the documentation of this file.
1 #pragma once
2 #undef HAVE_PROTOTYPES
3 #if defined(__MINGW32__)
4 #undef _hypot
5 #define _hypot hypot
6 #endif
7 // https://docs.python.org/3/c-api/intro.html#include-files states: It is
8 // recommended to always define PY_SSIZE_T_CLEAN before including Python.h.
9 #ifndef PY_SSIZE_T_CLEAN
10 #define PY_SSIZE_T_CLEAN
11 #endif
12 #include <Python.h>
13 #undef snprintf