/usr/share/doc/mlton/mlnlffi-lib/README is in mlton-doc 20100608-5.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | This is the ML-NLFFI Library, the core of a new foreign-function
interface for SML/NJ.
Library $c/c.cm provides:
- an encoding of the C type system in ML
- dynamic linking (an interface to dlopen/dlsym)
- ML/C string conversion routines
This is the (only) library to be used by user code.
Library $c/c-int.cm (subdirectory "internals"):
- implements all of $c/c.cm
- implements low-level hooks to be used by ml-nlffigen-generated code
Library $c/memory.cm (subdirectory "memory"):
- encapsulates low-level details related to raw memory access
User code should NOT directly refer to this library.
|