2012/2/6 Marc Feeley feeley@iro.umontreal.ca:
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
Marc,
Is this the message you're referring to?
https://mercure.iro.umontreal.ca/pipermail/gambit-list/2011-November/005445....