Controls which calling convention to use.
Compatibility:This pragma is compatible with the following platform targets:
|
PowerPC
|
NEC V800
|
Intel x86
|
MIPS
|
#pragma pointers_in_A0
#pragma pointers_in_D0
Remarks:These pragmas are available for Mac OS on 68K processors only.
In Listing 8.10, the Toolbox functions in Sound.h return pointers in D0 and the user-defined functions in Myheader.h use A0.
#pragma pointers_in_D0 // set for Toolbox calls #include <Sound.h> #pragma pointers_in_A0 // set for my own routines #include "Myheader.h"
The pragmas pointers_in_A0 and pointers_in_D0 have much the same meaning as d0_pointers and are available for backwards compatibility. The pragma pointers_in_A0 corresponds to #pragma d0_pointers off and the pragma pointers_in_D0 corresponds to #pragma d0_pointers on. The pragma d0_pointers is recommended for new code since it supports the reset argument. For more information, see "d0_pointers."
This pragma does not correspond to any option in the settings panel. To check whether this option is on, use the __option (d0_pointers), described in "Checking Options."