Re: Pika-style from first principles Michael Sperber (07 Jan 2004 21:16 UTC)
Re: Pika-style from first principles Michael Sperber 07 Jan 2004 21:16 UTC
>>>>> "Marc" == Marc Feeley <xxxxxx@IRO.UMontreal.CA> 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