[Larceny-users] on NULL and not-NULL pointers in the FFI

Felix Klock felixluser at pnkfx.org
Sat Jan 3 09:10:48 EST 2009


Marco (cc'ing larceny-users)-

On Jan 2, 2009, at 2:55 PM, Marco Maggi wrote:

> This is biting me right now because I want to
> invoke "realpath()" with a NULL pointer as
> second argument. (By the way, how do I send
> a NULL pointer as argument to a foreign
> function?)
>
> IMHO this should be changed to make NULL pointers
> be pointer records like all the others, and a
> VOID*-NULL? predicate should be introduced.

See discussion here:

https://lists.ccs.neu.edu/pipermail/larceny-users/2008-November/000371.html

Sorry that this has remained without proper docs for so long.

-Felix




More information about the Larceny-users mailing list