mirror of
https://github.com/elliotnunn/mac-rom.git
synced 2024-11-19 18:31:05 +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.
47 lines
1.2 KiB
C
47 lines
1.2 KiB
C
/* --------------------------------------------------------------------------------------
|
|
|
|
Copyright © 1990-1991, Apple Computer, Inc, All Rights Reserved.
|
|
|
|
File: Assertion.h
|
|
|
|
Author: John Farmer
|
|
|
|
Contains: Header file information for the file Assertion.c.
|
|
|
|
Revisions: (most recent first):
|
|
|
|
ID Date Description
|
|
|
|
System 6.1.0 and 7.0 Changes:
|
|
|
|
<2> 04/02/91 John Farmer - Changed kAssertionFailed to false and renamed
|
|
assertionFailed parameter to assertion.
|
|
|
|
<1> 11/29/90 John Farmer - Create file and it's original contents.
|
|
|
|
----------------------------------------------------------------------------------- */
|
|
|
|
|
|
#ifndef __Assertion__
|
|
#define __Assertion__
|
|
|
|
|
|
// Constants
|
|
|
|
|
|
#define kAssertionFailed false
|
|
|
|
|
|
// Prototypes
|
|
|
|
|
|
Boolean Assert( Boolean assertion, StringPtr assertionString );
|
|
Boolean AssertCharacter( Character value, Character minimum, Character maximum );
|
|
Boolean AssertInteger( LongInteger value, LongInteger minimum, LongInteger maximum );
|
|
Boolean AssertUnsignedInteger( UnsignedLongInteger value, UnsignedLongInteger minimum, UnsignedLongInteger maximum );
|
|
Boolean AssertPointer( Ptr thePointer );
|
|
Boolean AssertHandle( Handle theHandle );
|
|
|
|
|
|
#endif __Assertion__
|