mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-26 17:01:35 +01:00
Make an io_{reader,writer}'s buffer private
This commit is contained in:
1 parent
8827e222b1
commit
a2cf739e52
17 files changed
+379
-399
No files matched your search
@@ -23,7 +23,7 @@
|
||||
|
||||
template short_read(string qPKGPREFIXq, string qnameq) {
|
||||
short_read_qnameq:
|
||||
if (a_qnameq.buf && a_qnameq.buf->closed &&
|
||||
if (a_qnameq.private_impl.buf && a_qnameq.private_impl.buf->closed &&
|
||||
!a_qnameq.private_impl.limit.ptr_to_len) {
|
||||
status = qPKGPREFIXqERROR_UNEXPECTED_EOF;
|
||||
goto exit;
|
||||
|
||||
Reference in new issue
Block a user