[gambit-list] is this a bug in ffi?

Marc Feeley feeley at iro.umontreal.ca
Mon Feb 6 10:21:02 EST 2012


On 2012-02-06, at 9:59 AM, Álvaro Castro-Castilla wrote:

> Thank you Marc. Those are all better solutions than my wrapper function.
> 
> Best regards
> 
> Álvaro

Actually, using a wrapper function is a good idea to reduce code size.  Its intricacies can be hidden in a macro which generates the appropriate Scheme and C code.  I've written something like this in the past and even posted an example to the Gambit mailing list (unfortunately my mail system's search function is broken right now so I can't find the message).

Marc




More information about the Gambit-list mailing list