Files
itgmania212121/stepmania/src/archutils/Unix/CrashHandler.h
T

21 lines
456 B
C
Raw Normal View History

2003-07-27 07:07:45 +00:00
#ifndef CRASH_HANDLER_H
2003-08-02 05:28:38 +00:00
#define CRASH_HANDLER_H
2003-07-27 07:07:45 +00:00
2004-03-19 07:08:40 +00:00
void ForceCrashHandler( const char *reason );
void CrashHandlerHandleArgs( int argc, char* argv[] );
2003-11-11 22:21:33 +00:00
void InitializeCrashHandler();
#if !defined(DARWIN)
#include <signal.h>
#include <ucontext.h>
void CrashSignalHandler( int signal, siginfo_t *si, const ucontext_t *uc );
#endif
2004-03-19 08:17:44 +00:00
#if defined(DARWIN)
2004-03-19 08:26:39 +00:00
#include <MachineExceptions.h>
2004-03-19 08:17:44 +00:00
OSStatus CrashExceptionHandler( ExceptionInformation *e );
#endif
2003-07-27 07:07:45 +00:00
#endif