mirror of
https://github.com/python/cpython.git
synced 2026-01-27 13:15:25 +00:00
gh-130396: Export _Py_ReachedRecursionLimitWithMargin() (#142012)
test_peg_generator needs the function.
This commit is contained in:
parent
d5d9e89dde
commit
9c4ff8a615
@ -263,7 +263,8 @@ static inline int _Py_ReachedRecursionLimit(PyThreadState *tstate) {
|
||||
#endif
|
||||
}
|
||||
|
||||
extern int _Py_ReachedRecursionLimitWithMargin(
|
||||
// Export for test_peg_generator
|
||||
PyAPI_FUNC(int) _Py_ReachedRecursionLimitWithMargin(
|
||||
PyThreadState *tstate,
|
||||
int margin_count);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user