Commit Graph
13 Commits
Author SHA1 Message Date
Nigel Tao 8fe438d0b4 Temporary code to continue this.lzw.decode calls.
This is a hard-coded, short term fix so that GIF decoding works
end-to-end. The long term fix is to have some principled way of
responding to non-fatal status codes such as "short read".
2017-06-23 15:46:08 +10:00
Nigel Tao 8ad82f5e1f Generate C code to set coroutine state. 2017-06-23 15:35:18 +10:00
Nigel Tao 0088c7e257 Have read_u8 honor the limit. 2017-06-23 10:01:31 +10:00
Nigel Tao 7a3ddbc025 Add a "limit" keyword. 2017-06-22 17:32:56 +10:00
Nigel Tao 17e47fbc1e Add reader1 and writer1 base types. 2017-06-18 11:50:34 +10:00
Nigel Tao d16a25806f Decode a GIF's Global Color Table. 2017-06-18 11:11:10 +10:00
Nigel Tao 524d323992 Decode a GIF's width and height. 2017-06-18 10:05:07 +10:00
Nigel Tao d059fff2ae Re-organize test/c/std/gif.c function names. 2017-06-16 13:07:49 +10:00
Nigel Tao 8882085f91 Generate C code for "if foo?()". 2017-06-16 13:05:07 +10:00
Nigel Tao 1c2ccee966 Put "std" in the "gen/c/std/gif.c" filename. 2017-06-16 11:32:39 +10:00
Nigel Tao dec40addf5 Re-organize test/c/std/gif.c. 2017-06-16 11:02:42 +10:00
Nigel Tao 622d115148 Make test_constructor_not_called more robust.
Previously, it could report a false negative, based on re-using stack
memory from a previous test.
2017-06-16 11:01:32 +10:00
Nigel Tao 70612df43a Re-organize test/c code. 2017-06-16 10:47:54 +10:00