7 The MLWorks Foreign Interface Library

7.5 The Store structure

The Store structure defines store objects and operations upon them. The idea behind stores is straightforward: they provide the underlying workspace in which foreign data is represented. To access and manipulate foreign data, you must declare objects associated with particular locations within stores. It is through these objects that foreign data can be read and written. Store objects can be relocated under user control within their associated store.

A store therefore represents a statically allocated, uniformly addressable (that is, contiguous) workspace, in which interfacing can take place as a direct action upon memory. Stores have additional structure to make them more robust and convenient for programming. For example, you have control over what happens if and when a store overflows. A possible overflow policy is to raise an exception; another policy automatically expands the store and increases the workspace available.

Stores are not specific to any particular language interface.

7.5.1 - Machine pointers and stores
7.5.2 - Stores
store
store_status
ReadOnly
WriteOnly
storeStatus
setStoreStatus
alloc_policy
overflow_policy
store
storeSize
storeAlloc
storeOverflow
isStandardStore
isEphemeralStore
ExpandStore
expand

MLWorks Reference Manual (version 1.0) - 3 DEC 1996

Generated with Harlequin WebMaker