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: PowerPC System Software /
Chapter 3 - Code Fragment Manager / Code Fragment Manager Reference
Data Structures


Memory Location Record

For fragments located in memory, the inMem field of a fragment location record contains a memory location record, which specifies the location of the fragment in memory. A memory location record is defined by the MemFragment data type.

struct MemFragment {
   Ptr                     address;       /*pointer to start of fragment*/
   long                    length;        /*length of fragment*/
   Boolean                 inPlace;       /*is data section in place?*/
};
typedef struct MemFragment MemFragment;
Field Description
address
A pointer to the beginning of the fragment in memory.
length
The length, in bytes, of the fragment.
inPlace
A Boolean value that specifies whether the container's data section is instantiated in place (true) or elsewhere (false).

IMPORTANT

The fields of a memory location record are aligned in memory in accordance with 680x0 alignment conventions.

Previous Book Contents Book Index Next

© Apple Computer, Inc.
3 JUL 1996