[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: scm_to_locale_stringbuf

From: Neil Jerram
Subject: Re: scm_to_locale_stringbuf
Date: Sun, 08 Feb 2009 21:41:08 +0000
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux)

address@hidden (Ludovic Courtès) writes:

> I would say returning both "number of bytes needed for the full string"
> (as is the case) plus "number of bytes actually written" (which may be
> smaller than MAX_LEN in the case of multi-byte encoding).  This would be
> an addition to the API, IMO, while `scm_to_locale_stringbuf ()' would
> keep behaving as described, with the limitations you outline above.

That sounds good to me.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]