Add a writer1.slice method.

This commit is contained in:
Nigel Tao committed 2017-09-22 11:54:24 +10:00
1 parent 519ec373f2
commit 18e32d61e5
10 files changed
+115 -24

No files matched your search

+2
View File
@@ -1288,6 +1288,8 @@ exit:
*lim->ptr_to_len -= n;
}
}
/* Avoid the "unused variable" warning. */
(void)(b_wend_dst);
}
if (a_src.buf) {
size_t n = b_rptr_src - (a_src.buf->ptr + a_src.buf->ri);