aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/pycxx/IndirectPythonInterface.hxx
diff options
context:
space:
mode:
authorqrort <qrort@yandex-team.com>2022-11-30 23:47:12 +0300
committerqrort <qrort@yandex-team.com>2022-11-30 23:47:12 +0300
commit22f8ae0e3f5d68b92aecccdf96c1d841a0334311 (patch)
treebffa27765faf54126ad44bcafa89fadecb7a73d7 /contrib/libs/pycxx/IndirectPythonInterface.hxx
parent332b99e2173f0425444abb759eebcb2fafaa9209 (diff)
downloadydb-22f8ae0e3f5d68b92aecccdf96c1d841a0334311.tar.gz
validate canons without yatest_common
Diffstat (limited to 'contrib/libs/pycxx/IndirectPythonInterface.hxx')
-rwxr-xr-xcontrib/libs/pycxx/IndirectPythonInterface.hxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/contrib/libs/pycxx/IndirectPythonInterface.hxx b/contrib/libs/pycxx/IndirectPythonInterface.hxx
new file mode 100755
index 00000000000..8a59407d346
--- /dev/null
+++ b/contrib/libs/pycxx/IndirectPythonInterface.hxx
@@ -0,0 +1,7 @@
+#include "WrapPython.h"
+
+#if PY_MAJOR_VERSION == 2
+#include "Python2/IndirectPythonInterface.hxx"
+#else
+#include "Python3/IndirectPythonInterface.hxx"
+#endif