[ First ] [ Previous ] [ Next ] [ Last ] [ Manuals ]
init_seg

Description:
Controls the order in which initialization code is executed.
Compatibility:
This pragma is compatible with the following platform targets:
Prototype:
pragma init_seg( compiler | lib | user | "name ")
Remarks:
This pragma controls the order in which initialization code is executed.The initialization code for a C++ compiled module calls constructors for any statically declared objects. For C, no initialization code is generated.
The order of initialization is
1. compiler
2. lib
3. user
If you specify the name of a segment, a pointer to the initialization code is placed in the designated segment. In this case, the initialization code is not called automatically: it's up to you to call it explicitly.
[ 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