#ifndef Py_INTERNAL_FAULTHANDLER_H
#define Py_INTERNAL_FAULTHANDLER_H
#ifdef __cplusplus
extern "C" {
#endif
#ifndef Py_BUILD_CORE
# error "this header requires Py_BUILD_CORE define"
#endif
#ifdef HAVE_SIGACTION
# include <signal.h>
#endif
#ifndef MS_WINDOWS
#define FAULTHANDLER_USER
#endif
#ifdef HAVE_SIGACTION
# ifdef HAVE_SIGALTSTACK
#define FAULTHANDLER_USE_ALT_STACK
# endif
_Py_sighandler_t;
#else
typedef PyOS_sighandler_t _Py_sighandler_t;
#endif
#ifdef FAULTHANDLER_USER
struct faulthandler_user_signal { … };
#endif
struct _faulthandler_runtime_state { … };
#define _faulthandler_runtime_state_INIT …
#ifdef __cplusplus
}
#endif
#endif