core: stream: change read/write buffer type from unsigned char* to void*

This commit is contained in:
2025-10-28 15:14:57 +00:00
parent 2687477cb2
commit 5b090c72c7
3 changed files with 8 additions and 47 deletions

View File

@@ -42,8 +42,8 @@ B_TYPE_CLASS_DECLARATION_BEGIN(b_stream)
b_status (*s_seek)(b_stream *, long long, b_stream_seek_origin);
b_status (*s_tell)(const b_stream *, size_t *);
b_status (*s_getc)(b_stream *, b_wchar *);
b_status (*s_read)(b_stream *, unsigned char *, size_t, size_t *);
b_status (*s_write)(b_stream *, const unsigned char *, size_t, size_t *);
b_status (*s_read)(b_stream *, void *, size_t, size_t *);
b_status (*s_write)(b_stream *, const void *, size_t, size_t *);
b_status (*s_reserve)(b_stream *, size_t);
B_TYPE_CLASS_DECLARATION_END(b_stream)