[gambit-list] using #defined values

Pavel Dudrenov dudrenov at gmail.com
Tue Nov 10 13:48:15 EST 2009

I think that James Long was working on some automatic ffi generating code.
Maybe you can take a look at his code and see what he is doing and extract
things relevant to you. Or just use what he has.

On Tue, Nov 10, 2009 at 9:49 AM, Aditya Godbole <aag.lists at gmail.com> wrote:

> On Tue, Nov 10, 2009 at 7:43 PM, Alex Queiroz <asandroq at gmail.com> wrote:
> >
> >     You must create a variable in Scheme-land too:
> >
> > (define *ABC* ((c-lambda () int "___result = ABC;")))
> I have a few header files that have quite a few of these declarations.
> I was wondering whether there was any easy way out, instead of going
> through the header files and writing a c-lambda for each one.
> -aditya
> _______________________________________________
> Gambit-list mailing list
> Gambit-list at iro.umontreal.ca
> https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.iro.umontreal.ca/pipermail/gambit-list/attachments/20091110/4bec7251/attachment.htm>

More information about the Gambit-list mailing list