Important: The information in this document is obsolete and should not be used for new development.
Data Types
Table 11-1 lists the various binary data types and their sizes in the classic 68K runtime environment.All numeric and pointer data types are stored in big-endian format (that is, high bytes first, then low bytes). Signed integers use two's-complement representation.
The size of data structures and unions must be a multiple of two (2-byte alignment), and an extra byte may be added at the end to meet this requirement. Items inside a data structure (except for types
- IMPORTANT
- The layout of the
extended
data type is either that of the SANE 80-bit data type or that of the 96-bit MC68881 data type, depending on the software development environment used.UInt8
andSInt8
) are placed on a 2-byte boundary with an extra padding byte inserted if necessary. TypeUInt8
and typeSInt8
items (single variables or arrays) are merely placed in the next available byte.
© Apple Computer, Inc.
11 MARCH 1997