7.10 The C structure

defineForeignFun

Function

Signature:
val defineForeignFun : (c_structure * c_signature) -> (name -> c_function)

Description:

This is the main function in which all the key elements of the C interface are combined. This function is used to extract named foreign code from a c_structure and then combined with the type information associated with the c_signature for that name. The result is a c_function object which can then be supplied with arguments and called.


MLWorks Reference Manual (version 1.0) - 3 DEC 1996

Generated with Harlequin WebMaker