![]() |
SetApplBase |
||||
Header: | MacMemory.h | Carbon status: | Unsupported | |
Sets the starting address for an applications heap zone.
void SetApplBase ( void *startPtr );
The starting address of the application heap zone for the application being initialized.
The Process Manager calls the SetApplBase function when it launches your application. You should never need to call it. It is documented for completeness only.
Call the function MemError to get the result code. See
You should not call SetApplBase at all, but, if you must, be sure not to call it at interrupt time because it affects memory.
Like InitApplZone, SetApplBase is a potentially dangerous operation, because the programs code itself normally resides in the application heap zone. To do so safely, you must make sure that the code containing the SetApplBase call is not in the application zone.
Not supported in Carbon. Not available in CarbonLib, but available when InterfaceLib 7.1 or later is installed. Exported by InterfaceLib 7.1 and later.