Retired Document
Important: This sample code may not represent best practices for current development. The project may use deprecated symbols and illustrate technologies and techniques that are no longer recommended.
CFM_MachO_CFM
Last Revision: | Version 1.0, 2003-07-17 CFM application calls Mach-O routine, passing in a fixed up CFM function pointer as a callback parameter. |
Build Requirements: | |
Runtime Requirements: | Mac OS X Mac OS X 10.1 |
This sample demonstrates how to call a Mach-O function which takes a callback function pointer as a parameter. The main CFM application readies the callback function by calling a routine MachOFunctionPointerForCFMFunctionPointer() which generates power pc assembly glue to call the passed in function pointer. This generated glue is then passed to the Mach-O routine as the callback parameter. Requirements: Mac OS X 10.1 Keywords: Carbon CFM Mach-O Macho Bundle
Copyright © 2003 Apple Computer, Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2003-07-17