strbuf: export strbuf_addchars()
Move strbuf_addchars() to strbuf.c, where it belongs, and make it available for other callers. Signed-off-by: Rene Scharfe <l.s.r@web.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:

committed by
Junio C Hamano

parent
e6aaa39347
commit
d07235a027
@ -142,6 +142,10 @@ then they will free() it.
|
||||
|
||||
Add a single character to the buffer.
|
||||
|
||||
`strbuf_addchars`::
|
||||
|
||||
Add a character the specified number of times to the buffer.
|
||||
|
||||
`strbuf_insert`::
|
||||
|
||||
Insert data to the given position of the buffer. The remaining contents
|
||||
|
Reference in New Issue
Block a user