src/buffer.c

changeset 541
67e078518935
parent 540
47e0f2237a94
child 542
45bcfd152f85
equal deleted inserted replaced
540:47e0f2237a94 541:67e078518935
55 buffer->capacity = capacity; 55 buffer->capacity = capacity;
56 buffer->size = 0; 56 buffer->size = 0;
57 buffer->pos = 0; 57 buffer->pos = 0;
58 58
59 buffer->flush_func = NULL; 59 buffer->flush_func = NULL;
60 buffer->flush_target = NULL;
60 buffer->flush_blkmax = 0; 61 buffer->flush_blkmax = 0;
61 buffer->flush_blksize = 4096; 62 buffer->flush_blksize = 4096;
62 buffer->flush_threshold = SIZE_MAX; 63 buffer->flush_threshold = SIZE_MAX;
63 64
64 return 0; 65 return 0;

mercurial