mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-26 01:01:35 +01:00
Generate C function arguments.
Also rename "io.buf1" to just "buf1".
This commit is contained in:
1 parent
ee27dffa9e
commit
4c0a659a18
9 files changed
+106
-29
No files matched your search
+4
-1
@@ -20,7 +20,10 @@ const char* test_filename = "gif/lzw.c";
|
||||
void test_lzw_decode() {
|
||||
puffs_gif_lzw_decoder dec;
|
||||
puffs_gif_lzw_decoder_constructor(&dec, PUFFS_VERSION, 0);
|
||||
puffs_gif_status status = puffs_gif_lzw_decoder_decode(&dec);
|
||||
puffs_base_buf1 dst = {0};
|
||||
puffs_base_buf1 src = {0};
|
||||
puffs_gif_status status =
|
||||
puffs_gif_lzw_decoder_decode(&dec, &dst, &src, false);
|
||||
if (status != puffs_gif_status_ok) {
|
||||
FAIL("test_lzw_decode: status: got %d, want %d", status,
|
||||
puffs_gif_status_ok);
|
||||
|
||||
Reference in new issue
Block a user