[cffi-devel] uffi compatible library
Luís Oliveira
luismbo at gmail.com
Mon Sep 6 21:18:03 UTC 2010
2010/8/23 Gustavo <gugamilare at gmail.com>:
> Those don't fail, but:
>
> UFFI-TESTS> (let ((native-string "test string"))
> (uffi:with-foreign-string (fs native-string)
> (ensure-char-character
> (deref-pointer fs :char))))
> #\t
> UFFI-TESTS> (let ((native-string "test string"))
> (uffi:with-foreign-string (fs native-string)
> (deref-pointer fs :char)))
> 116
>
> The latter would return #\t in uffi-compat.
Thanks for investigating this issue. I've applied your fix.
Cheers,
--
Luís Oliveira
http://r42.eu/~luis/
More information about the cffi-devel
mailing list