bug-gnulib
[Top][All Lists]
Advanced

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

Re: [bug-libunistring] Avoiding heap allocations in ‘u32_conv_from_encod


From: Ludovic Courtès
Subject: Re: [bug-libunistring] Avoiding heap allocations in ‘u32_conv_from_encoding’
Date: Wed, 14 Jul 2010 01:47:55 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux)

Hi,

>> Can you also comment on this:
>> 
>> > BTW, it’s unclear to me from the manual whether RESULT_LEN above should
>> > be the size in bytes or the size in uint32_t.
>
> It's documented in chapter 2 "Conventions" of the manual [1]. The *LENGTHP
> value indicates the string length in units (i.e. uint32_t in this case).

Indeed, thanks!

Ludo’.



reply via email to

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