changeset 1477:e8fe529f4341

Rename one of the growbuf functions.
author Matti Hamalainen <ccr@tnsp.org>
date Fri, 11 May 2018 02:26:29 +0300
parents f0232684857a
children d883b4c1cf48
files src/dmgrowbuf.c src/dmgrowbuf.h
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/dmgrowbuf.c	Fri May 11 02:26:09 2018 +0300
+++ b/src/dmgrowbuf.c	Fri May 11 02:26:29 2018 +0300
@@ -125,7 +125,7 @@
 }
 
 
-BOOL dmGrowBufPutStr(DMGrowBuf *buf, const void *str, const size_t len)
+BOOL dmGrowBufPut(DMGrowBuf *buf, const void *str, const size_t len)
 {
     if (str == NULL)
         return FALSE;
--- a/src/dmgrowbuf.h	Fri May 11 02:26:09 2018 +0300
+++ b/src/dmgrowbuf.h	Fri May 11 02:26:29 2018 +0300
@@ -30,7 +30,7 @@
 int    dmGrowBufResize(DMGrowBuf *buf);
 
 BOOL   dmGrowBufPutU8(DMGrowBuf *buf, const Uint8 value);
-BOOL   dmGrowBufPutStrU8(DMGrowBuf *buf, const void *str, const size_t len);
+BOOL   dmGrowBufPut(DMGrowBuf *buf, const void *str, const size_t len);
 
 BOOL   dmGrowBufPutU16BE(DMGrowBuf *buf, const Uint16 val);
 BOOL   dmGrowBufPutU16LE(DMGrowBuf *buf, const Uint16 val);