SCM Repository
[smlnj] Annotation of /sml/releases/release-110.35/src/ml-nlffi-lib/README
Annotation of /sml/releases/release-110.35/src/ml-nlffi-lib/README
Parent Directory
|
Revision Log
Revision 828 -
(view)
(download)
Original Path: sml/trunk/src/ml-nlffi-lib/README
1 : |
blume |
828 |
This is the ML-NLFFI Library, the core of a new foreign-function
|
2 : |
|
|
interface for SML/NJ.
|
3 : |
|
|
|
4 : |
|
|
Library $/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 : |
|
|
|
12 : |
|
|
Library $/c-int.cm (subdirectory "internals"):
|
13 : |
|
|
|
14 : |
|
|
- implements all of $/c.cm
|
15 : |
|
|
- implements low-level hooks to be used by ml-nlffigen-generated code
|
16 : |
|
|
|
17 : |
|
|
Library $/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.
|