mirror of https://github.com/python/cpython
17 lines
314 B
C
17 lines
314 B
C
|
#ifndef Py_CRITICAL_SECTION_H
|
||
|
#define Py_CRITICAL_SECTION_H
|
||
|
#ifdef __cplusplus
|
||
|
extern "C" {
|
||
|
#endif
|
||
|
|
||
|
#ifndef Py_LIMITED_API
|
||
|
# define Py_CPYTHON_CRITICAL_SECTION_H
|
||
|
# include "cpython/critical_section.h"
|
||
|
# undef Py_CPYTHON_CRITICAL_SECTION_H
|
||
|
#endif
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
}
|
||
|
#endif
|
||
|
#endif /* !Py_CRITICAL_SECTION_H */
|