Drop the "?" from "copy_from32?".

Also add a PUFFS_COROUTINE_SUSPENSION_POINT_MAYBE_SUSPEND macro.

Also add a loop to decoder.decode, as the code generator was previously
(incorrectly) not generating a coro_susp_point at the end of the
function.
This commit is contained in:
Nigel Tao committed 2017-10-07 14:34:31 +11:00
1 parent 0e09aa8c10
commit 585ea2024d
10 files changed
+218 -134

No files matched your search

+1
View File
@@ -183,6 +183,7 @@ typedef struct {
struct {
uint32_t coro_susp_point;
uint32_t v_length;
uint32_t v_n;
uint64_t scratch;
} c_decode_uncompressed[1];
struct {