7 The MLWorks Foreign Interface Library

7.8 The LibML structure

This structure provides the ML side of a C programmers' interface for accessing ML values and calling ML functions from C. This facility is provided only for C code that has already been called from ML. An application of this is to provide windowing callback functions as ML functions. To make use of this, ML values have first to be registered by ML for access from C. The following functions provide facilities for this registration. Values so registered are called external values:

registerExternalValue
deleteExternalValue
externalValues
clearExternalValues

MLWorks Reference Manual (version 1.0) - 3 DEC 1996

Generated with Harlequin WebMaker