ucx/memstream.h

changeset 58
733f22fca61a
parent 57
e18157c52985
     1.1 --- a/ucx/memstream.h	Tue Oct 09 16:46:29 2012 +0200
     1.2 +++ b/ucx/memstream.h	Wed Oct 10 09:32:06 2012 +0200
     1.3 @@ -37,16 +37,6 @@
     1.4   *
     1.5   */
     1.6  int ucx_memeof(UcxMemstream *stream);
     1.7 -/*
     1.8 - * returns non-zero, iff the current stream position has exceeded the length
     1.9 - * of the underlying buffer
    1.10 - *
    1.11 - * in contrast to ucx_memeof this function will return zero, if the current
    1.12 - * position exactly matches the buffer length
    1.13 - *
    1.14 - * this function should be called after any ucx_memprintf/ucx_memscanf call
    1.15 - */
    1.16 -int ucx_memoverflow(UcxMemstream *stream);
    1.17  
    1.18  /* memwrite, memread, memputc and memreadc shall not generate overflows */
    1.19  size_t ucx_memio(void *d, size_t s, size_t n, UcxMemstream* m, _Bool read);
    1.20 @@ -57,10 +47,6 @@
    1.21  int ucx_memputc(UcxMemstream *stream, int c);
    1.22  int ucx_memgetc(UcxMemstream *stream);
    1.23  
    1.24 -/* printf / scanf may generate overflows */
    1.25 -int ucx_memprintf(UcxMemstream *stream, const char* format, ...);
    1.26 -int ucx_memscanf(UcxMemstream *stream, const char* format, ...);
    1.27 -
    1.28  #ifdef	__cplusplus
    1.29  }
    1.30  #endif

mercurial