Controls the availability of symbols outside a module.
Compatibility:This pragma is compatible with the following platform targets:
|
NEC V800
|
Intel x86
|
MIPS
|
Embedded 68K
|
#pragma internal on | off | reset | list names
Remarks:This pragma applies to Mac OS CFM programming only.
For example, the code in Listing 8.7 uses #pragma internal on and off to declare the variable w and the functions a1() and b1() as internal.
#pragma internal on:#pragma internal on int a1(int x, double y); double b1(int z); int w; #pragma internal off
Listing 8.8 uses #pragma internal list to declare the symbols as internal.
#pragma internal list:int a1(int x, double y); double b1(int z); int w; #pragma internal list a1, b1, w
Listing 8.9 uses __declspec(internal) to declare the symbols as internal.
__declspec(internal):__declspec(internal)int a1(int x, double y);__declspec(internal)double b1(int z);__declspec(internal)int w;
This pragma does not correspond to an option in any settings panel. To check whether this option is on, use __option (internal), described in "Checking Options."