Bläddra i källkod

cmStrStream.h : Added cmOStrStreamWriteStrN().

master
kevin 11 år sedan
förälder
incheckning
e4c9f185b0
1 ändrade filer med 2 tillägg och 1 borttagningar
  1. 2
    1
      cmStrStream.h

+ 2
- 1
cmStrStream.h Visa fil

@@ -15,7 +15,7 @@ extern "C" {
15 15
   typedef cmHandle_t cmStrStreamH_t;
16 16
   typedef cmRC_t     cmSsRC_t;
17 17
 
18
-  extern cmStrStreamH_t cmStrStreamNullHandle_t;
18
+  extern cmStrStreamH_t cmStrStreamNullHandle;
19 19
 
20 20
 
21 21
   cmSsRC_t cmOStrStreamCreate( cmCtx_t* ctx, cmStrStreamH_t* hp, unsigned dfltBlkByteCnt );
@@ -25,6 +25,7 @@ extern "C" {
25 25
 
26 26
   cmSsRC_t cmOStrStreamWrite(     cmStrStreamH_t h, const void* dp, unsigned byteCnt );
27 27
   cmSsRC_t cmOStrStreamWriteStr(  cmStrStreamH_t h, const cmChar_t* str );
28
+  cmSsRC_t cmOStrStreamWriteStrN( cmStrStreamH_t h, const cmChar_t* str, unsigned n );
28 29
   cmSsRC_t cmOStrStreamVPrintf(   cmStrStreamH_t h, const cmChar_t* fmt, va_list vl );  
29 30
   cmSsRC_t cmOStrStreamPrintf(    cmStrStreamH_t h, const cmChar_t* fmt, ... );
30 31
 

Laddar…
Avbryt
Spara