ucx/memstream.h

changeset 57
e18157c52985
parent 56
76caac0da4a0
child 58
733f22fca61a
     1.1 --- a/ucx/memstream.h	Tue Oct 09 15:02:40 2012 +0200
     1.2 +++ b/ucx/memstream.h	Tue Oct 09 16:46:29 2012 +0200
     1.3 @@ -11,8 +11,7 @@
     1.4  
     1.5  
     1.6  /* as FILE is opaque, we don't do evil hacks but provide an alternative */
     1.7 -struct _UcxMemstream; /* cauz we are mad about it, we make it opaque, too */
     1.8 -typedef struct _UcxMemstream UcxMemstream;
     1.9 +typedef struct UcxMemstream UcxMemstream;
    1.10  
    1.11  UcxMemstream *ucx_memopen(void *space, size_t length);
    1.12  void ucx_memclose(UcxMemstream* stream);
    1.13 @@ -29,7 +28,7 @@
    1.14   * remains unchanged.
    1.15   *
    1.16   */
    1.17 -int ucx_memseek(UcxMemstream *stream, long offset, int whence);
    1.18 +int ucx_memseek(UcxMemstream *stream, off_t offset, int whence);
    1.19  size_t ucx_memtell(UcxMemstream *stream);
    1.20  
    1.21  /*

mercurial