Re: pointer -> integer function

Matthew Fluet <[email protected]> Fri, 30 Sep 2016 08:01:21 -0400
Newsgroups gmane.comp.lang.ml.mlton.user
Message-ID <CAMrhFL56soL+nzaS88_opjQcZw7JvW4ExGU+hTXWAj8XcFs9cQ@mail.gmail.com>
On Thu, Sep 29, 2016 at 11:21 PM, Christopher Cramer
<[email protected]> wrote:
> On Wed, Sep 28, 2016 at 10:28:39AM -0400, Matthew Fluet wrote:
>> You can use the stable, but undocumented, `c-types.mlb` library
>
> Actually, I documented it quite a while ago:
>
> http://mlton.org/ForeignFunctionInterfaceTypes

Ah, good.  Actually, `structure C_Pointer` matches the (more
interesting) `signature C_POINTER`
(https://github.com/MLton/mlton/blob/master/basis-library/c/pointer.sig),
not simply `WORD`.

-- 
You received this message because you are subscribed to the Google Groups "MLton-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].


------------------------------------------------------------------------------