Mercurial > hg > th-libs
changeset 677:927772fb0745
Oops, fix the return type of thfread_str() and thfwrite_str().
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sat, 29 Feb 2020 12:14:41 +0200 |
parents | f3649df3d9a7 |
children | 7e207f1023d9 |
files | th_ioctx.h |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/th_ioctx.h Tue Feb 25 07:42:50 2020 +0200 +++ b/th_ioctx.h Sat Feb 29 12:14:41 2020 +0200 @@ -131,9 +131,9 @@ int thfprintf(th_ioctx *ctx, const char *fmt, ...) TH_ATTR_PRINTF_FMT(2, 3); -int thfread_str(th_ioctx *ctx, void *ptr, const size_t len); +BOOL thfread_str(th_ioctx *ctx, void *ptr, const size_t len); BOOL thfread_u8(th_ioctx *ctx, uint8_t *); -int thfwrite_str(th_ioctx *ctx, const void *ptr, const size_t len); +BOOL thfwrite_str(th_ioctx *ctx, const void *ptr, const size_t len); BOOL thfwrite_u8(th_ioctx *ctx, const uint8_t);