[gambit-list] Anyone else working in a schemey wrapper for c structs/unions/types?

Hendrik Boom hendrik at topoi.pooq.com
Sun Dec 22 12:30:00 EST 2013


On Sun, Dec 22, 2013 at 05:00:48PM +0100, Estevo wrote:
> I've experimented in the past with making a macro that would generate the
> appropriate ffi code to create and manage c structs/unions/types.  The
> challenge was to handle references obtained from accessors to fields
> containing other structs/union/types within them in such a way that
> - no copying was necessary, and
> - the original structure wouldn't be released as long as derived references
> existed

Anyone know what guile does?  If anything?

-- hendrik



More information about the Gambit-list mailing list