This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH, doc RFA] Fix lazy string type docs


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" ?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]