mac-rom/Toolbox/FontMgr/Library/Interface/Assertion.h
Elliot Nunn 4325cdcc78 Bring in CubeE sources
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.
2017-12-26 09:52:23 +08:00

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__