From e4c9f185b03325c7f76a2cedff2f738b53a8d1b9 Mon Sep 17 00:00:00 2001 From: kevin Date: Sun, 12 Jan 2014 10:23:23 -0500 Subject: [PATCH] cmStrStream.h : Added cmOStrStreamWriteStrN(). --- cmStrStream.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cmStrStream.h b/cmStrStream.h index dcba2c4..3c6ed20 100644 --- a/cmStrStream.h +++ b/cmStrStream.h @@ -15,7 +15,7 @@ extern "C" { typedef cmHandle_t cmStrStreamH_t; typedef cmRC_t cmSsRC_t; - extern cmStrStreamH_t cmStrStreamNullHandle_t; + extern cmStrStreamH_t cmStrStreamNullHandle; cmSsRC_t cmOStrStreamCreate( cmCtx_t* ctx, cmStrStreamH_t* hp, unsigned dfltBlkByteCnt ); @@ -25,6 +25,7 @@ extern "C" { cmSsRC_t cmOStrStreamWrite( cmStrStreamH_t h, const void* dp, unsigned byteCnt ); cmSsRC_t cmOStrStreamWriteStr( cmStrStreamH_t h, const cmChar_t* str ); + cmSsRC_t cmOStrStreamWriteStrN( cmStrStreamH_t h, const cmChar_t* str, unsigned n ); cmSsRC_t cmOStrStreamVPrintf( cmStrStreamH_t h, const cmChar_t* fmt, va_list vl ); cmSsRC_t cmOStrStreamPrintf( cmStrStreamH_t h, const cmChar_t* fmt, ... );