[Larceny-users] typedefs and the ffi
Felix Klock
felixluser at pnkfx.org
Wed Feb 25 18:54:22 EST 2009
Ed-
On Feb 25, 2009, at 3:01 PM, Eduardo Cavazos wrote:
> Is this:
>
> (ffi-add-alias-of-attribute-entry! 'xyz 'ulong)
>
> the proper way to model this:
>
> typedef unsigned long xyz ;
Yes, I added that function precisely because I wanted to directly
model typedef's in code that used the FFI.
(I had to look at the relevant changeset and log entry to verify this:
https://trac.ccs.neu.edu/trac/larceny/changeset/5598 )
> Just wanted to verify since the manual isn't clear on this.
I don't think the FFI section of the manual is going to get revised by
the time 0.97 is released, but perhaps it will by 0.98 or 0.99. Sorry
about that.
-Felix
More information about the Larceny-users
mailing list