mirror of
https://github.com/elliotnunn/mac-rom.git
synced 2025-01-16 03:29:58 +00:00
4325cdcc78
Resource forks are included only for .rsrc files. These are DeRezzed into their data fork. 'ckid' resources, from the Projector VCS, are not included. The Tools directory, containing mostly junk, is also excluded.
40 lines
681 B
C
40 lines
681 B
C
/************************************************************
|
|
|
|
Assert.h
|
|
Diagnostics
|
|
|
|
Copyright © Apple Computer,Inc. 1987-1991.
|
|
All Rights Reserved.
|
|
This file is used in these builds: ROM System
|
|
|
|
|
|
Change History (most recent first):
|
|
|
|
<4> 8/8/91 JL Update copyright
|
|
|
|
To Do:
|
|
************************************************************/
|
|
|
|
#undef assert
|
|
|
|
#ifdef NDEBUG
|
|
|
|
#define assert(ignore) ((void) 0)
|
|
|
|
#else
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
void __assertprint(const char* file, int line, const char* expr);
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#define assert(expression) \
|
|
( (expression) ? (void) 0 : (__assertprint(__FILE__, __LINE__, #expression)) )
|
|
|
|
#endif
|
|
|
|
|