mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-23 00:47:56 +01:00
Add a slice.length method.
This commit is contained in:
1 parent
fda696bf95
commit
51f2b183a2
7 files changed
+57
-6
No files matched your search
+2
-1
@@ -588,7 +588,8 @@ puffs_flate_status puffs_flate_decoder_decode(puffs_flate_decoder* self,
|
||||
if (v_z > 0) {
|
||||
v_written = ((puffs_base_slice_u8){.ptr = a_dst.buf->ptr,
|
||||
.len = b_wptr_dst - a_dst.buf->ptr});
|
||||
PUFFS_IGNORE_POTENTIALLY_UNUSED_VARIABLE(v_written);
|
||||
if (((uint64_t)(v_written.len)) >= 32768) {
|
||||
}
|
||||
}
|
||||
status = v_z;
|
||||
goto suspend;
|
||||
|
||||
Reference in new issue
Block a user