[racket] ffi/unsafe examples

From: Sam Phillips (samdphillips at gmail.com)
Date: Mon Feb 7 14:25:17 EST 2011

On Mon, Feb 7, 2011 at 10:51 AM, Ben Dean <benjamin.dean at aya.yale.edu> wrote:
> I'm not clear, however, on what the particular object files I'm looking up
> with ffi-lib. I also am unclear about the convention for the function-name
> parameter to get-ffi-obj. Is it as simple as a string of the the name that
> the C api is exposing?
> I hope I've revealed my ignorance appropriately-- if you noticed any other
> misconceptions or egregious gaps, please do let me know!

Although it documents an older version of the FFI library I find
Eli/Dmitry's paper a nice tutorial/refresher
on using the Racket FFI.

http://www.ccs.neu.edu/racket/pubs/scheme04-bo.pdf

Cheers,
Sam


Posted on the users mailing list.