[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Pika-style from first principles

This page is part of the web mail archives of SRFI 50 from before July 7th, 2015. The new archives for SRFI 50 are here. Eventually, the entire history will be moved there, including any new messages.

>>>>> "Marc" == Marc Feeley <feeley@xxxxxxxxxxxxxxxx> writes:

>> I think I'm missing a crucial bit here: Where do
>> associates come from?  What's "a way to define type aliases on the C
>> side of the FFI"?

Marc> These are conversion functions (in C) defined by the FFI (they take a
Marc> bunch of parameters that are irrelevant to this discussion).  The C
Marc> code generated by the Gambit compiler contains calls to these
Marc> conversion functions at the appropriate places.

So what do you do when there isn't a predefined conversion function
between Scheme type and C type?

Cheers =8-} Mike
Friede, Völkerverständigung und überhaupt blabla