This is a file of overides. It is used to provide definitions
for declarations in the Mac API Pascal interface files that the
macapi program cannot handle. It has a simple format. Each override consists
of a name starting with a hash. The *body* of the declaration is taken to be
eveything up to the next line starting with a hash, or the end of the file.
The first entry has no name, which means it's the file prefix which is added to
the begining of the output file. This is handy for any declarations which are not 
made in the Pascal units but are needed.

Don't include the terminating semicolon and don't embed any hash symbols!

#
IMPORT
	Word;

TYPE
	Single = SINGLE;
	Double = DOUBLE;
	LongDouble = EXTENDED;
	INTEGERPtr = IntegerPtr;
	Integer = (* BITS 16 FOR *) [-32768..32767];  (* aligment restrictions *)
	SINGLE = REAL;
	DOUBLE = LONGREAL;
	LONGINT  = INTEGER;
	UNSIGNEDBYTE = BITS 8 FOR [0..255];
	UNSIGNEDWORD = BITS 16 FOR [0..65535];
	UNSIGNEDLONG = Word.T;
	COMP = EXTENDED;

	(* mysterious missing declarations *)
	streamtabPtr = IntegerPtr;
	mach_port_t = IntegerPtr;
	mach_msg_header_t = IntegerPtr;
	queue_t = IntegerPtr;
	mblk_t = IntegerPtr;
	scalb_n_type = IntegerPtr;
	
CONST
	false = FALSE;
	true = TRUE;

#DSPParamBlock
RECORD dummy: LONGINT END
#AEArrayData
RECORD dummy: LONGINT END
#ataRegValueUnion
RECORD dummy: LONGINT END
#ataPB
RECORD dummy: LONGINT END
#ATSFontFilter
RECORD dummy: LONGINT END
#FMFilter
RECORD dummy: LONGINT END
#ATSUBackgroundData
RECORD dummy: LONGINT END
#ThemeTrackDrawInfo
RECORD dummy: LONGINT END
#MPPParamBlock
RECORD dummy: LONGINT END
#XPPParamBlock
RECORD dummy: LONGINT END
#ATPParamBlock
RECORD dummy: LONGINT END
#HMMessageRecord
RECORD dummy: LONGINT END
#CFStringAppendFormat
(theString: CFMutableStringRef; formatOptions: CFDictionaryRef; format: CFStringRef)
#CMAppleProfileHeader
RECORD dummy: LONGINT END
#CMColor
RECORD dummy: LONGINT END
#CMProfLoc
RECORD dummy: LONGINT END
#CMVideoCardGamma
RECORD dummy: LONGINT END
#HICommandExtended
RECORD dummy: LONGINT END
#GetClientInfoPB
RECORD dummy: LONGINT END
#GetTuplePB
RECORD dummy: LONGINT END
#CFragUsage1Union
RECORD dummy: LONGINT END
#CFragUsage2Union
RECORD dummy: LONGINT END
#CFragWhere1Union
RECORD dummy: LONGINT END
#CFragWhere2Union
RECORD dummy: LONGINT END
#CFragSystem7Locator
RECORD dummy: LONGINT END
#DataBrowserCallbacks
RECORD dummy: LONGINT END
#DataBrowserCustomCallbacks
RECORD dummy: LONGINT END
#ControlButtonContentInfo
RECORD dummy: LONGINT END
#ControlDefSpec
RECORD dummy: LONGINT END
#LongDateCvt
RECORD dummy: LONGINT END
#LongDateRec
RECORD dummy: LONGINT END
#DTPPrinterInfo
RECORD dummy: LONGINT END
#IOCommandContents
RECORD dummy: LONGINT END
#DrvSts
RECORD dummy: LONGINT END
#DriverGestaltDeviceReferenceResponse
RECORD dummy: LONGINT END
#IOPreparationTable
RECORD dummy: LONGINT END
#EParamBlock
RECORD dummy: LONGINT END
#ParamBlockRec
RECORD dummy: LONGINT END
#CInfoPBRec
RECORD dummy: LONGINT END
#HParamBlockRec
RECORD dummy: LONGINT END
#gxColor
RECORD dummy: LONGINT END
#gxSetColor
RECORD dummy: LONGINT END
#HFSPlusAttrRecord
RECORD dummy: LONGINT END
#HIDButtonCaps
RECORD dummy: LONGINT END
#HIDButtonCapabilities
RECORD dummy: LONGINT END
#HIDValueCaps
RECORD dummy: LONGINT END
#HIDValueCapabilities
RECORD dummy: LONGINT END
#ParameterDataBehavior
RECORD dummy: LONGINT END
#SourceData
RECORD dummy: LONGINT END
#WideChar
RECORD dummy: LONGINT END
#ListDefSpec
RECORD dummy: LONGINT END
#HMHelpContent
RECORD dummy: LONGINT END
#ip_addrbytes
RECORD dummy: LONGINT END
#IPParamBlock
RECORD dummy: LONGINT END
#LAPStatsAddrXlation
RECORD dummy: LONGINT END
#TCPiopb
RECORD dummy: LONGINT END
#UDPiopb
RECORD dummy: LONGINT END
#TXNControlData
RECORD dummy: LONGINT END
#TXNAttributeData
RECORD dummy: LONGINT END
#TXNBackgroundData
RECORD dummy: LONGINT END
#Point
BITS 32 FOR RECORD v, h: Integer END
#Rect
RECORD t, l, b, r: Integer END
#NumVersionVariant
RECORD dummy: LONGINT END
#BasicWindowDescription
RECORD dummy: LONGINT END
#WindowDefSpec
RECORD dummy: LONGINT END
#MenuDefSpec
RECORD dummy: LONGINT END
#NavFileOrFolderInfo
RECORD dummy: LONGINT END
#NavEventDataInfo
RECORD dummy: LONGINT END
#T_stream_timer
RECORD dummy: LONGINT END
#FormatTuple
RECORD dummy: LONGINT END
#TupleBody
RECORD dummy: LONGINT END
#PEFExportedSymbolKey
RECORD dummy: LONGINT END
#LocationNameRec
RECORD dummy: LONGINT END
#PPCPortRec
RECORD dummy: LONGINT END
#PPCParamBlockRec
RECORD dummy: LONGINT END
#TPrint
RECORD dummy: LONGINT END
#TimeCodeRecord
RECORD dummy: LONGINT END
#XMLAttributeValue
RECORD dummy: LONGINT END
#XMLElementContent
RECORD dummy: LONGINT END
#TQAPlatformDevice
RECORD dummy: LONGINT END
#TQAPlatformClip
RECORD dummy: LONGINT END
#TQANoticeMethod
RECORD dummy: LONGINT END
#TQAEngineMethod
RECORD dummy: LONGINT END
#TQADrawMethod
RECORD dummy: LONGINT END
#CDB
RECORD dummy: LONGINT END
#SFNTLookupFormatSpecificHeader
RECORD dummy: LONGINT END
#MortSpecificSubtable
RECORD dummy: LONGINT END
#MorxSpecificSubtable
RECORD dummy: LONGINT END
#KernFormatSpecificHeader
RECORD dummy: LONGINT END
#BslnFormatUnion
RECORD dummy: LONGINT END
#scalerStream
RECORD dummy: LONGINT END
#SoundHeaderUnion
RECORD dummy: LONGINT END
#DefStartRec
RECORD dummy: LONGINT END
#USBVariantBits
RECORD dummy: LONGINT END
#USBHIDData
RECORD dummy: LONGINT END
#WSILookupFormatSpecificHeader
RECORD dummy: LONGINT END
#GlyphExpansionTable
RECORD dummy: LONGINT END
#VolumeVirtualMemoryInfo
RECORD
		version:				PBVersion;								
		volumeRefNum:			SInt16;									
		inUse:					BOOLEAN;								
		fill:					SInt8; (* was _fill *)
		vmOptions:				UInt32;																										
END
#kEventDurationMillisecond
kEventDurationSecond / 1000.0
#kEventDurationMicrosecond
kEventDurationSecond / 1000000.0
#kEventDurationNanosecond
kEventDurationSecond / 1000000000.0
#GetCurrentArchitecture
0
#kEventDurationMinute
kEventDurationSecond*60.0
#kEventDurationHour
kEventDurationMinute*60.0
#kEventDurationDay
kEventDurationHour*24.0
#MachineLocation
RECORD
		latitude:				Fract;
		longitude:				Fract;
		gmtDelta:			LONGINT;								
END
#CallOSTrapUniversalProc
(theProcPtr: UniversalProcPtr; procInfo: ProcInfoType): LONGINT
#CallUniversalProc
(theProcPtr: UniversalProcPtr; procInfo: ProcInfoType): LONGINT
#ATSUMemoryCallbacks
RECORD dummy: LONGINT END
#dprintf
dprintf(format: ConstCStringPtr)
#Vector128
RECORD dummy: LONGINT END
#ExceptionInfo
RECORD dummy: LONGINT END
#cmn_err
RECORD dummy: LONGINT END
#ISpDriverFunctionPtr_Generic
PROCEDURE (refCon: UInt32): OSStatus
#scalb
(x: double_t;n: scalb_n_type): double_t (* used to be _scalb_n_type *)
#trunc
(x: double_t): a_trunc_return_type
#UInt16
UNSIGNEDWORD
#UInt32
UNSIGNEDLONG
#UInt8
UNSIGNEDBYTE
