[gambit-list] How to pass a u8vector to the FFI

Marc Feeley feeley at iro.umontreal.ca
Tue Mar 30 11:16:21 EDT 2010


On 2010-03-30, at 10:52 AM, Álvaro Castro-Castilla wrote:

> Thanks a lot for all your explanations. I'd like to put this in the wiki page:
> 
> http://dynamo.iro.umontreal.ca/~gambit/wiki/index.php/Using_Gambit_with_External_Libraries
> 
> is that ok?
> 

Sure.  Don't forget the caveat about movable objects (i.e. the C compiler does not know that the GC might move objects, so the C code must be written to avoid calling the GC either directly or indirectly).

Marc




More information about the Gambit-list mailing list