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

[PATCH 0/4] Simplify and document strbuf_split() functions

From
Michael Haggerty <mhagger@alum.mit.edu>
Date
Nov 4, 2012, 06:46 UTC
Message-ID
<1352011614-29334-1-git-send-email-mhagger@alum.mit.edu>

The strbuf_split() family of functions was completely undocumented. Add documentation and also simplify the definition of strbuf_split_buf().

Michael Haggerty (4):
  strbuf_split_buf(): use ALLOC_GROW()
  strbuf_split_buf(): simplify iteration
  strbuf_split*(): rename "delim" parameter to "terminator"
  strbuf_split*(): document functions
 Documentation/technical/api-strbuf.txt | 16 ++++++++++++
 strbuf.c                               | 39 ++++++++++++---------------
 strbuf.h                               | 48 +++++++++++++++++++++++++++++-----
 3 files changed, 74 insertions(+), 29 deletions(-)
-- 
1.8.0
Next: Michael Haggerty
Message 1 of 9 in “Simplify and document strbuf_split() functions”
  1. 0/4 Simplify and document strbuf_split() functionsMichael Haggerty, Nov 4, 2012
  2. 1/4 strbuf_split_buf(): use ALLOC_GROW()Michael Haggerty, Nov 4, 2012
  3. Jeff KingNov 4, 2012
  4. Michael HaggertyNov 6, 2012
  5. Jeff KingNov 8, 2012
  6. 2/4 strbuf_split_buf(): simplify iterationMichael Haggerty, Nov 4, 2012
  7. 3/4 strbuf_split*(): rename "delim" parameter to "terminator"Michael Haggerty, Nov 4, 2012
  8. 4/4 strbuf_split*(): document functionsMichael Haggerty, Nov 4, 2012
  9. Jeff KingNov 4, 2012

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.