7.10 The C structure

setPtrAddrOf

Function

Signature:
val setPtrAddrOf : { ptr:c_object, data:c_object } -> unit

Description:

This sets the given pointer object, ptr, to reference the value referred to by the data object. The c_type of ptr is any pointer c_type and the c_type of data must be compatible with this.

This function makes a pointer object refer to a given piece of data of compatible type.


MLWorks Reference Manual (version 1.0) - 3 DEC 1996

Generated with Harlequin WebMaker