Staging
v0.8.1
https://github.com/python/cpython
Revision cefe6b34dee64de176e7c871df6576634ecdc0a9 authored by Zachary Ware on 18 February 2014, 14:39:04 UTC, committed by Zachary Ware on 18 February 2014, 14:39:04 UTC
1 parent 5b8d2c3
Raw File
Tip revision: cefe6b34dee64de176e7c871df6576634ecdc0a9 authored by Zachary Ware on 18 February 2014, 14:39:04 UTC
Issue #20510: Rewrote test_exit in test_sys to match existing comments
Tip revision: cefe6b3
intrcheck.h

#ifndef Py_INTRCHECK_H
#define Py_INTRCHECK_H
#ifdef __cplusplus
extern "C" {
#endif

PyAPI_FUNC(int) PyOS_InterruptOccurred(void);
PyAPI_FUNC(void) PyOS_InitInterrupts(void);
PyAPI_FUNC(void) PyOS_AfterFork(void);
PyAPI_FUNC(int) _PyOS_IsMainThread(void);

#ifdef MS_WINDOWS
/* windows.h is not included by Python.h so use void* instead of HANDLE */
PyAPI_FUNC(void*) _PyOS_SigintEvent(void);
#endif

#ifdef __cplusplus
}
#endif
#endif /* !Py_INTRCHECK_H */
back to top