git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH v2] string-list: Document STRING_LIST_INIT_* macros.

From
Thiago Farina <tfransosi@gmail.com>
Date
Sep 6, 2010, 00:15 UTC
Message-ID
<AANLkTi=cfOaivQ0OcLw8XU4JXAnW8kPj1SZbOOQPs2ua@mail.gmail.com>
In-Reply-To
<20100905235752.GA18060@burratino>
On Sun, Sep 5, 2010 at 8:57 PM, Jonathan Nieder <jrnieder@gmail.com> wrote:
> Hmm, something seems to have go wrong here.  Did you intend to
> insert that line break and duplicate the text below it?
>
Ops, good catch. Fixed that.
Show 12 quoted lines
>> @@ -52,6 +58,18 @@ However, if you use the list to check if a certain string was added
>>  already, you should not do that (using unsorted_string_list_has_string()),
>>  because the complexity would be quadratic again (but with a worse factor).
>>
>> +Macros
>> +------
>> +
>> +`STRING_LIST_INIT_NODUP`::
>> +
>> +     Initialize the members and set the `strdup_strings` member to 0.
>
> I think this section is not very useful.
OK, removed that section.
Previous: Jonathan Nieder
Message 3 of 3 in “string-list: Document STRING_LIST_INIT_* macros.”
  1. string-list: Document STRING_LIST_INIT_* macros.Thiago Farina, Sep 5, 2010
  2. Jonathan NiederSep 5, 2010
  3. Thiago FarinaSep 6, 2010

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.