Important: The information in this document is obsolete and should not be used for new development.
Memory Location Record
For fragments located in memory, theinMem
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 theMemFragment
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.