]> icculus.org git repositories - taylor/freespace2.git/blob - include/exceptionhandler.h
a few NDEBUG updates.
[taylor/freespace2.git] / include / exceptionhandler.h
1 /*
2  * $Logfile: /Freespace2/code/ExceptionHandler/ExceptionHandler.h $
3  * $Revision$
4  * $Date$
5  * $Author$
6  *
7  * Header file for program exception handling
8  *
9  * $Log$
10  * Revision 1.2  2002/06/01 07:12:32  relnev
11  * a few NDEBUG updates.
12  *
13  * removed a few warnings.
14  *
15  * Revision 1.1.1.1  2002/05/03 03:28:11  root
16  * Initial import.
17  *
18  * 
19  * 1     6/29/99 7:42p Dave
20  * 
21  * 2     1/18/99 4:34p Allender
22  * added the exception handler routines from Game Developer for structured
23  * exception handling in vsdk code
24  *
25  * $NoKeywords: $
26  */
27
28 #ifndef PLAT_UNIX
29 #pragma once            // Include this file only once
30 #endif
31
32 #ifndef __EXCEPTION_HANDLER_H
33 #define __EXCEPTION_HANDLER_H
34
35 // --------------------
36 //
37 // Defines
38 //
39 // --------------------
40
41
42 // --------------------
43 //
44 // Enumerated types
45 //
46 // --------------------
47
48
49 // --------------------
50 //
51 // Structures
52 //
53 // --------------------
54
55 // this is a forward declaration so we don't need to include windows.h
56
57 typedef struct _EXCEPTION_POINTERS EXCEPTION_POINTERS, *PEXCEPTION_POINTERS;
58
59 // --------------------
60 //
61 // Classes
62 //
63 // --------------------
64
65
66 // --------------------
67 //
68 // Variables
69 //
70 // --------------------
71
72
73 // --------------------
74 //
75 // Prototypes
76 //
77 // --------------------
78
79 int __cdecl RecordExceptionInfo(PEXCEPTION_POINTERS data, const char *Message);
80
81 // --------------------
82 //
83 // Helper Macros
84 //
85 // --------------------
86
87
88 #endif // __EXCEPTION_HANDLER_H
89