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

Re: Pika-style from first principles



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

>> I think I'm missing a crucial bit here: Where do
>> NONNULL_UCS2STAR_FROM_SCHEME, NONNULL_UCS2STAR_TO_SCHEME and
>> 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