Files
typthon/Include/intrcheck.h
copilot-swe-agent[bot] b198f511d2 Rename Py_ to Ty_ throughout C API
Massive automated renaming of all Py_/PyObject/etc. prefixes to Ty_/TyObject/etc.
This includes:
- All public API types (TyObject, TyTypeObject, etc.)
- All public API functions (Ty_Initialize, Ty_BuildValue, etc.)
- All internal API (_Ty_ prefixes)
- Reference counting macros (Ty_INCREF, Ty_DECREF, etc.)
- Type flags (Ty_TPFLAGS_*)
- Debug flags (Ty_DEBUG, Ty_TRACE_REFS, etc.)
- All object type APIs (TyList_, TyDict_, TyUnicode_, etc.)

This changes over 60,000 occurrences across 1000+ files.

Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
2025-12-29 17:37:49 +00:00

24 lines
535 B
C

#ifndef Ty_INTRCHECK_H
#define Ty_INTRCHECK_H
#ifdef __cplusplus
extern "C" {
#endif
PyAPI_FUNC(int) TyOS_InterruptOccurred(void);
#ifdef HAVE_FORK
#if !defined(Ty_LIMITED_API) || Ty_LIMITED_API+0 >= 0x03070000
PyAPI_FUNC(void) TyOS_BeforeFork(void);
PyAPI_FUNC(void) TyOS_AfterFork_Parent(void);
PyAPI_FUNC(void) TyOS_AfterFork_Child(void);
#endif
#endif
/* Deprecated, please use TyOS_AfterFork_Child() instead */
Ty_DEPRECATED(3.7) PyAPI_FUNC(void) TyOS_AfterFork(void);
#ifdef __cplusplus
}
#endif
#endif /* !Ty_INTRCHECK_H */