| 92 | } |
| 93 | |
| 94 | static inline void debug_stats(strbuf_t *s) |
| 95 | { |
| 96 | if (s->debug) { |
| 97 | fprintf(stderr, "strbuf(%lx) reallocs: %d, length: %d, size: %d\n", |
| 98 | (long)s, s->reallocs, s->length, s->size); |
| 99 | } |
| 100 | } |
| 101 | |
| 102 | /* If strbuf_t has not been dynamically allocated, strbuf_free() can |
| 103 | * be called any number of times strbuf_init() */ |
no outgoing calls
no test coverage detected