[ First ] [ Previous ] [ Next ] [ Last ] [ Manuals ]
segment

Description:
Specifies the code segment where subsequent object code should be stored.
Compatibility:
This pragma is compatible with the following platform targets:
Prototype:
#pragma segment name
Remarks:
This pragma applies to Mac OS programming only.
This pragma places all the functions that follow into the code segment named name. For more on function-level segmentation, consult the Targeting manual for the platform you're developing for.
Generally, the PowerPC compilers ignore this directive since PowerPC applications do not have code segments. However, if you choose by #pragma segment from the Code Sorting pop-up menu in the PPC PEF settings panel, the PowerPC compilers group functions in the same segment together. For more information, consult the Targeting manual for the platform you're developing for.
This pragma does not correspond to an option in any settings panel.
[ First ] [ Previous ] [ Next ] [ Last ] [ Manuals ]
Visit the Metrowerks website at: http://www.metrowerks.com
For assistance contact Metrowerks Technical Support at: cw_support@metrowerks.com
Copyright © 2000, Metrowerks Corp. All rights reserved.
Last updated: August 17, 2000