Mercurial > hg > dmlib
comparison src/dmgrowbuf.h @ 1694:e568535e1a96
Backed out changeset 9611ecd2c4fb
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Tue, 05 Jun 2018 11:03:17 +0300 |
parents | ce8d4552ffd5 |
children | 1036b0dcccb5 |
comparison
equal
deleted
inserted
replaced
1693:ce8d4552ffd5 | 1694:e568535e1a96 |
---|---|
23 int nstack; | 23 int nstack; |
24 struct { size_t offs, len; } stack[32]; | 24 struct { size_t offs, len; } stack[32]; |
25 } DMGrowBuf; | 25 } DMGrowBuf; |
26 | 26 |
27 | 27 |
28 int dmGrowBufInit(DMGrowBuf *buf); | |
28 int dmGrowBufAlloc(DMGrowBuf *buf, const size_t initial, const size_t mingrow); | 29 int dmGrowBufAlloc(DMGrowBuf *buf, const size_t initial, const size_t mingrow); |
29 int dmGrowBufNew(DMGrowBuf **pbuf, const size_t initial, const size_t mingrow); | 30 int dmGrowBufNew(DMGrowBuf **pbuf, const size_t initial, const size_t mingrow); |
30 void dmGrowBufFree(DMGrowBuf *buf); | 31 void dmGrowBufFree(DMGrowBuf *buf); |
31 | 32 |
32 void dmGrowBufPush(DMGrowBuf *buf); | 33 void dmGrowBufPush(DMGrowBuf *buf); |