Allow empty-but-suspendible methods

This commit is contained in:
Nigel Tao committed 2018-03-28 10:24:40 +11:00
1 parent 9cc6964c30
commit f7dfe8c4c2
5 files changed
+20

No files matched your search

+1
View File
@@ -1157,6 +1157,7 @@ suspend:
self->private_impl.c_decode[0].v_checksum = v_checksum;
self->private_impl.c_decode[0].v_z = v_z;
goto exit;
exit:
if (a_dst.buf) {
size_t n = b_wptr_dst - (a_dst.buf->ptr + a_dst.buf->wi);