This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH, doc RFA] Fix lazy string type docs
- From: Doug Evans <dje at google dot com>
- To: Eli Zaretskii <eliz at gnu dot org>
- Cc: gdb-patches <gdb-patches at sourceware dot org>
- Date: Thu, 3 Nov 2016 16:54:13 -0700
- Subject: Re: [PATCH, doc RFA] Fix lazy string type docs
- Authentication-results: sourceware.org; auth=none
- References: <94eb2c1121f421b06405406923b6@google.com> <83zilgl8zt.fsf@gnu.org> <CADPb22QnnuHuG+sC=rg5HUJP2L_m1P_J7TTFLv0H-KDd6tON=A@mail.gmail.com> <83y410l6wa.fsf@gnu.org>
On Thu, Nov 3, 2016 at 12:07 PM, Eli Zaretskii <eliz@gnu.org> wrote:
>> From: Doug Evans <dje@google.com>
>> Date: Thu, 3 Nov 2016 11:30:39 -0700
>> Cc: gdb-patches <gdb-patches@sourceware.org>
>>
>> On Thu, Nov 3, 2016 at 11:21 AM, Eli Zaretskii <eliz@gnu.org> wrote:
>>
>> > Date: Thu, 03 Nov 2016 17:46:28 +0000
>> > From: Doug Evans <dje@google.com>
>> >
>> > +Return the type of a character in @var{lazy-string}.
>>
>> Hmm... what is "type of a character" in this context?
>>
>> I have no comments to the markup or the text.
>>
>> Thanks.
>>
>> Consider char vs wchar_t.
>> e.g.,
>> #include <stddef.h>
>> char foo[] = "bar";
>> wchar_t wide_foo[] = L"bar";
>
> So maybe it would be more clear to say "the type of characters",
> plural? And perhaps give an example or two of what types these could
> be?
Or how about "the type of an element in the string" ?