Thread (36 messages) flat view 36 messages, 7 authors, 2016-06-15

Re: strbuf new API, take 2 for inclusion

From: Jeff King <hidden>
Date: 2016-06-15 22:43:33

On Thu, Sep 06, 2007 at 01:20:04PM +0200, Pierre Habouzit wrote:
  I've also stripped as many STRBUF_INIT uses as possible, some people
didn't liked it. I've kept its use for "static" strbufs where it's way
more convenient that a function call.
The STRBUF_INIT initializer just sets everything to '0' or NULL. Static
objects already have this done automagically by the compiler, so there's
no need to use STRBUF_INIT at all there.

-Peff
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help