2010/3/30 Alex Queiroz <asandroq@gmail.com>
Hallo,
2010/3/30 Mikael <mikael.trash@gmail.com>:
> You do this, by declaring the passed u8vector as a scheme-object in theAFAIK you do not need the last ___INT().
> c-lambda definition.
> The memory pointer to the u8vector's contents in the C code is resolved by
> void *u8vectorptr =
> ___CAST(void*,&___FETCH_U8(___BODY(theu8vectorschemeobjectvariable),___INT(0)));
> Remember that the pointer is only to be kept until the next return to
> Scheme.
Cheers,
--
-alex
@asandroq
http://www.ventonegro.org/