Commit a176ef2c authored by Niels Möller's avatar Niels Möller
Browse files

(string_buffer_putc): New constant

BUFFER_INCREMENT. Code still not used.

Rev: src/string_buffer.c:1.8
parent d4eb4eaa
...@@ -87,11 +87,12 @@ string_buffer_grow(struct string_buffer *buffer, UINT32 increment) ...@@ -87,11 +87,12 @@ string_buffer_grow(struct string_buffer *buffer, UINT32 increment)
} }
#if 0 #if 0
#define BUFFER_INCREMENT 50
void void
string_buffer_putc(struct string_buffer *buffer, UINT8 c) string_buffer_putc(struct string_buffer *buffer, UINT8 c)
{ {
if (!buffer->left) if (!buffer->left)
string_buffer_grow(buffer, buffer->increment); string_buffer_grow(buffer, BUFFER_INCREMENT);
assert(buffer->left); assert(buffer->left);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment