7.10 The C structure

setAddr

Function

Signature:
val setAddr : { obj:c_object, addr:c_object }
-> unit

Description:

This makes the value part of the obj object coincide with the value based at the address given by the addr object. The c_type of obj may be arbitrary and the c_type of addr should be a numeric type capable of representing a machine address or an appropriate pointer type.

In a sense, this makes the obj object inspect value data at a given address.


MLWorks Reference Manual (version 1.0) - 3 DEC 1996

Generated with Harlequin WebMaker