Import Upstream version 20180207
[hcoop/debian/mlton.git] / lib / mlnlffi-lib / README
CommitLineData
7f918cf1
CE
1This is the ML-NLFFI Library, the core of a new foreign-function
2interface for SML/NJ.
3
4Library $c/c.cm provides:
5
6 - an encoding of the C type system in ML
7 - dynamic linking (an interface to dlopen/dlsym)
8 - ML/C string conversion routines
9
10 This is the (only) library to be used by user code.
11
12Library $c/c-int.cm (subdirectory "internals"):
13
14 - implements all of $c/c.cm
15 - implements low-level hooks to be used by ml-nlffigen-generated code
16
17Library $c/memory.cm (subdirectory "memory"):
18
19 - encapsulates low-level details related to raw memory access
20
21 User code should NOT directly refer to this library.