Mercurial > hg > th-libs
diff th_ioctx.h @ 209:462b837ea492
Change io context API. Again.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Fri, 12 Feb 2016 03:00:19 +0200 |
parents | 3635415a2d03 |
children | 2341776f880b |
line wrap: on
line diff
--- a/th_ioctx.h Fri Feb 12 02:49:21 2016 +0200 +++ b/th_ioctx.h Fri Feb 12 03:00:19 2016 +0200 @@ -75,8 +75,8 @@ // // I/O context management functions // -th_ioctx * th_io_new(const th_ioctx_ops *fops); -int th_io_open(th_ioctx *ctx, const char *filename, const char *mode); +th_ioctx * th_io_new(const th_ioctx_ops *fops, const char *filename); +int th_io_open(th_ioctx *ctx, const char *mode); th_ioctx * th_io_fopen(const th_ioctx_ops *fops, const char *filename, const char *mode); void th_io_close(th_ioctx *ctx); void th_io_free(th_ioctx *ctx);