Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: Mac OS Runtime Architectures /
Chapter 5 - CFM-68K Runtime Conventions / Routine Calling Conventions


Fixed-Argument Passing Conventions

Fixed parameters may either be items used to call a fixed-argument type routine, or fixed items that precede the variable items in a variable-argument function call. In either case, fixed parameters must occupy a multiple of 4 bytes when pushed onto the stack, with padding added if necessary. Note that the data can actually be pushed in any order as long as the final alignment matches the required convention.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 MARCH 1997