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

Alex Queiroz asandroq at gmail.com
Tue Mar 30 10:34:15 EDT 2010


Hallo,

2010/3/30 Álvaro Castro-Castilla <alvaro.castro.castilla at gmail.com>:
>
> It seems that ___FECTH__U8 needs two arguments, what do you mean by not
> needed then?
> With ___INT(0) it works fine, but is interesting if there is a shorter way
> to express the same also.

     I always use ___FETCH_U* with a C integer as the second argument,
i. e., I don't use the ___INT() conversion macro.

Cheers,
-- 
-alex
@asandroq
http://www.ventonegro.org/



More information about the Gambit-list mailing list