comparison Sources/PythonLock.h @ 26:b0d1308280d8

Added the PYTHON_WINDOWS_USE_RELEASE_LIBS CMake option to allow usage of debug or release Python builds when building in debug mode under Windows with Visual Studio.
author Benjamin Golinvaux <bgo@osimis.io>
date Mon, 06 Apr 2020 20:39:49 +0200
parents 7ed502b17b8f
children b2bbb516056e
comparison
equal deleted inserted replaced
25:3b59f5dd7e72 26:b0d1308280d8
20 #pragma once 20 #pragma once
21 21
22 #include <orthanc/OrthancCPlugin.h> 22 #include <orthanc/OrthancCPlugin.h>
23 23
24 #define PY_SSIZE_T_CLEAN /* Make "s#" use Py_ssize_t rather than int. */ 24 #define PY_SSIZE_T_CLEAN /* Make "s#" use Py_ssize_t rather than int. */
25 #include <Python.h> 25 #include "PythonHeaderWrapper.h"
26 26
27 #include <boost/noncopyable.hpp> 27 #include <boost/noncopyable.hpp>
28 #include <string> 28 #include <string>
29 29
30 class PythonLock : public boost::noncopyable 30 class PythonLock : public boost::noncopyable