Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
PythonLimitedAPI.h
Go to the documentation of this file.
1#ifndef ROOT_PythonLimitedAPI_h
2#define ROOT_PythonLimitedAPI_h
3
4// Use what is in the limited API since Python 3.10.
5
6// On Windows we can't use the stable ABI yet: it requires linking against a
7// different libpython, so as long as we don't build all translation units in
8// the ROOT Pythonization library with the stable ABI we should not use it.
9#ifndef _WIN32
10#define Py_LIMITED_API 0x030A0000
11#endif
12
13#include <Python.h>
14
15#endif