Important: The information in this document is obsolete and should not be used for new development.
|
|
Log In | Not a Member? |
Contact ADC |
GetCurrentISA
You can use theGetCurrentISAfunction to get the current instruction set architecture.
ISAType GetCurrentISA (void);DESCRIPTION
TheGetCurrentISAfunction returns the current instruction set architecture. See "Instruction Set Architectures" on page 2-35 for a list of the valuesGetCurrentISA
can return.SPECIAL CONSIDERATIONS
Currently, theGetCurrentISAfunction is defined as a compiler macro.
#if defined(powerc) || defined(__powerc) #define GetCurrentISA() ((ISAType) kPowerPCISA) #else #define GetCurrentISA() ((ISAType) kM68kISA) #endifThe implementation details are subject to change.
Get information on Apple products.
Visit the Apple Store online or at retail locations. 1-800-MY-APPLE Copyright © 2007 Apple Inc. All rights reserved. | Terms of use | Privacy Notice |