📜  pybind11 python37_d.dll 访问冲突 - Python 代码示例

📅  最后修改于: 2022-03-11 14:46:37.534000             🧑  作者: Mango

代码示例1
Turns out that pybind11 undefines _DEBUG
which causes Py_DEBUG not to be defined as well,
so one must explicitly define it in VS Preprocessor tab in order to avoid crashes
because of the size difference between the structures on pybind11 and python36_d sides.

Source: https://github.com/pybind/pybind11/issues/1293