[net.micro.mac] MoveHHi

joel@gould9.UUCP (Joel West) (02/06/86)

I have a program that uses MoveHHi.  Although I have the Inside mac
(looseleaf), software supplements through 5/85, and misc. other documents,
I have found no documentation of this, though a developer friend
swears it's there.

Where is it documented?  And since my development system (TML) doesn't
support it, how do I emulate it?
-- 
	Joel West	 	(619) 457-9681
	CACI, Inc. Federal, 3344 N. Torrey Pines Ct., La Jolla, CA  92037
	{cbosgd,ihnp4,pyramid,sdcsvax,ucla-cs}!gould9!joel
	gould9!joel@nosc.ARPA

jimb@amdcad.UUCP (Jim Budler) (02/08/86)

In article <310@gould9.UUCP> joel@gould9.UUCP (Joel West) writes:
>I have a program that uses MoveHHi.  Although I have the Inside mac
>(looseleaf), software supplements through 5/85, and misc. other documents,
>I have found no documentation of this, though a developer friend
>swears it's there.
>
>Where is it documented?  And since my development system (TML) doesn't
>support it, how do I emulate it?

In the new Hardback edition the "documentation" is on page II-44. On page
47 of the memory manager section of the 'phone book' edition are the same
routines as page II-44 of the Hardback, except for MoveHHi.
I don't think that will be any help to you. There isn't much info:

Procedure MoveHHi (h:handle); [Not in Rom]

It moves a relocatable block addressed by h toward the top of the heap,
until it runs into something it can't move or the top of heap.
No trap macro.
Returns: noErr, nilHandleErr, or memLockedErr.

Intended to help reduce heap fragmentation.

Good Luck

-- 
 Jim Budler
 Advanced Micro Devices, Inc.
 (408) 749-5806
 Usenet: {ucbvax,decwrl,ihnp4,allegra,intelca}!amdcad!jimb
 Compuserve:	72415,1200