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:
registerExternalValueFunction
val registerExternalValue : string * 'a -> unit
Function
val deleteExternalValue : string -> unit
Function
val externalValues : unit -> string list
Function