Mercurial > hg > dmlib
comparison src/dmgrowbuf.h @ 2296:732fa926a5ef
Constify.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Thu, 04 Jul 2019 10:50:07 +0300 |
parents | 3d4bb20f6739 |
children | 39b4e06785f5 |
comparison
equal
deleted
inserted
replaced
2295:046056326041 | 2296:732fa926a5ef |
---|---|
38 | 38 |
39 DMGrowBuf * dmGrowBufCopy(DMGrowBuf *dst, const DMGrowBuf *src, const size_t enlarge); | 39 DMGrowBuf * dmGrowBufCopy(DMGrowBuf *dst, const DMGrowBuf *src, const size_t enlarge); |
40 DMGrowBuf * dmGrowBufCopyOffs(DMGrowBuf *dst, const DMGrowBuf *src, const size_t offs, const size_t enlarge); | 40 DMGrowBuf * dmGrowBufCopyOffs(DMGrowBuf *dst, const DMGrowBuf *src, const size_t offs, const size_t enlarge); |
41 DMGrowBuf * dmGrowBufConstCopy(DMGrowBuf *dst, const DMGrowBuf *src); | 41 DMGrowBuf * dmGrowBufConstCopy(DMGrowBuf *dst, const DMGrowBuf *src); |
42 DMGrowBuf * dmGrowBufConstCopyOffs(DMGrowBuf *dst, const DMGrowBuf *src, const size_t offs); | 42 DMGrowBuf * dmGrowBufConstCopyOffs(DMGrowBuf *dst, const DMGrowBuf *src, const size_t offs); |
43 DMGrowBuf * dmGrowBufConstCreateFrom(DMGrowBuf *buf, Uint8 *data, size_t len); | 43 DMGrowBuf * dmGrowBufConstCreateFrom(DMGrowBuf *buf, Uint8 *data, const size_t len); |
44 | 44 |
45 | 45 |
46 BOOL dmGrowBufGrow(DMGrowBuf *buf, const size_t amount); | 46 BOOL dmGrowBufGrow(DMGrowBuf *buf, const size_t amount); |
47 BOOL dmGrowBufCheckGrow(DMGrowBuf *buf, const size_t nsize); | 47 BOOL dmGrowBufCheckGrow(DMGrowBuf *buf, const size_t nsize); |
48 | 48 |