home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
QBasic & Borland Pascal & C
/
Delphi5.iso
/
C
/
Samples
/
CSAPE32.ARJ
/
INCLUDE
/
OASSERT.H
< prev
next >
Wrap
C/C++ Source or Header
|
1990-03-27
|
917b
|
41 lines
/*
oassert.h 11/29/88
% owl_Assert() related ID's and definitions.
OWL 1.2
Copyright (c) 1986, 1987, by Oakland Group, Inc.
ALL RIGHTS RESERVED.
Revision History:
-----------------
*/
/* -------------------------------------------------------------------------- */
#define C_OWL 0
#define C_SCAPE 1
#define C_CELL 2
#define C_TROUT 3
#define C_LP 4
#define C_SPOT 5
#define C_SICK 6
#define C_THRUNITEE 7
#define oak_Assert(cond, prod, err, num) \
if (!(cond)) oak_Error(prod, err, num)
#define owl_Assert(cond, err) \
oak_Assert(cond, C_OWL, err, 0)
#define cs_Assert(cond, err, num) \
oak_Assert(cond, C_SCAPE, err, num)
#define cc_Assert(cond, err) \
oak_Assert(cond, C_CELL, err, 0)
/* OAKERROR.C */
extern void oak_Error(int prod, int err, int num);
/* -------------------------------------------------------------------------- */