[babel-devel] question about #\Nul char and Unicode

Luís Oliveira luismbo at gmail.com
Sat Aug 7 06:35:41 UTC 2010


On Sat, Aug 7, 2010 at 7:23 AM, Vsevolod Dyomkin <vseloved at gmail.com> wrote:
> Actually, the string type doesn't have such a slot now (and that was kind of
> what I thought to add).
> But the more simple solution (not involving the need to patch CFFI) was just
> to use (foreign-string-to-lisp data :count size), which is also used
> internally by translate-from-foreign (but without the count parameter).

Sorry I wasn't clear. What I meant is that you could add such a slot,
then use it in translate-from-foreign to feed foreign-string-to-lisp's
count parameter.

Cheers,

-- 
Luís Oliveira
http://r42.eu/~luis/




More information about the babel-devel mailing list