Carbon


Determining Mixed Mode Manager Attributes

Header: Gestalt.h

enum {
    gestaltMixedModeAttr = 'mixd',
    gestaltMixedModePowerPC = 0,
    gestaltPowerPCAware = 0,
    gestaltMixedModeCFM68K = 1,
    gestaltMixedModeCFM68KHasTrap = 2,
    gestaltMixedModeCFM68KHasState = 3
};

Constant descriptions

gestaltMixedModeAttr

The Gestalt selector you pass to determine what version of Mixed Mode Manager is present.

gestaltMixedModePowerPC

True if Mixed Mode supports PowerPC ABI calling conventions

gestaltPowerPCAware

Old name for gestaltMixedModePowerPC

gestaltMixedModeCFM68K

True if Mixed Mode supports CFM-68K calling conventions

gestaltMixedModeCFM68KHasTrap

True if CFM-68K Mixed Mode implements _MixedModeDispatch (versions 1.0.1 and prior did not)

gestaltMixedModeCFM68KHasState

True if CFM-68K Mixed Mode exports Save/RestoreMixedModeState

Before calling any function dependent upon Mixed Mode Manager, your application should pass the selector gestaltMixedModeAttr to the Gestalt function to determine the Mixed Mode Manager attributes that are present.


© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)