home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
watc11up.zip
/
cpplib_hdr.zip
/
h
/
except.h
< prev
next >
Wrap
C/C++ Source or Header
|
2001-08-28
|
1KB
|
64 lines
//
// except.h -- C++ default exception handlers
//
// Copyright by WATCOM International Corp. 1988-1996. All rights reserved.
// Copyright by Sybase, Inc. 1997-1999. All rights reserved.
//
#ifndef _EXCEPT_H_INCLUDED
#define _EXCEPT_H_INCLUDED
#if !defined(_ENABLE_AUTODEPEND)
#pragma read_only_file;
#endif
#ifndef __cplusplus
#error except.h is for use with C++
#endif
#ifndef _COMDEF_H_INCLUDED
#include <_comdef.h>
#endif
#ifndef _PFV_DEFINED
#define _PFV_DEFINED
#define _PFV_DEFINED_
typedef void (*PFV)( void );
#endif
#ifndef _PFU_DEFINED
#define _PFU_DEFINED
#define _PFU_DEFINED_
typedef int (*PFU)( unsigned );
#endif
#ifndef _PNH_DEFINED
#define _PNH_DEFINED
#define _PNH_DEFINED_
typedef int (*_PNH)( unsigned );
#endif
#if defined(__SW_BR)
#ifndef _PPV_DEFINED
#define _PPV_DEFINED
#define _PPV_DEFINED_
typedef void (*_PVV)( void *);
#endif
#ifndef _PUP_DEFINED
#define _PUP_DEFINED
#define _PUP_DEFINED_
typedef void* (*_PUP)( unsigned );
#endif
#endif
#ifndef _WATCOM_EXCEPTION_DEFINED
#define _WATCOM_EXCEPTION_DEFINED
#define _WATCOM_EXCEPTION_DEFINED_
struct __WATCOM_exception {
#if defined(__AXP__) || defined(__PPC__)
void *__filler;
#endif
};
#endif
_WPRTLINK extern void terminate( void );
_WPRTLINK extern PFV set_terminate( PFV );
_WPRTLINK extern void unexpected( void );
_WPRTLINK extern PFV set_unexpected( PFV );
#endif