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: Eli Zaretskii <eliz at gnu dot org>
- To: Doug Evans <dje at google dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Thu, 03 Nov 2016 21:07:01 +0200
- 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>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> 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?
Thanks.