Re: pointers in FFI, differences between MLton 2010 and 2013 versions
Phil Clayton <[email protected]> Fri, 18 Sep 2015 11:51:14 +0100
| Newsgroups | gmane.comp.lang.ml.mlton.user |
|---|---|
| Message-ID | <[email protected]> |
18/09/15 10:45, Dr. Jussi Rintanen wrote: > Can anyone help? What type to use for the pointers _in_the_20100608_ > MLton version? > Is it different in the 20130715 version? Is the FFI documentation up to > date? It's there in 20100608. I suspect that you need to include $(SML_LIB)/basis/mlton.mlb in your MLB file to see the MLton structure. For example: local $(SML_LIB)/basis/basis.mlb $(SML_LIB)/basis/mlton.mlb <------- this ... in ... end For using the FFI, I suggest looking at all documentation and examples referenced from here: http://www.mlton.org/ForeignFunctionInterface Regards, Phil ------------------------------------------------------------------------------