mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-20 08:47:28 +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
@@ -1,5 +1,3 @@
|
||||
use "std/io"
|
||||
|
||||
pub struct lzw_decoder?(
|
||||
literal_width u32[2..8] = 8,
|
||||
stack[4096] u8,
|
||||
@@ -7,7 +5,7 @@ pub struct lzw_decoder?(
|
||||
prefixes[4096] u16,
|
||||
)
|
||||
|
||||
pub func lzw_decoder.decode?(dst ptr io.buf1, src ptr io.buf1, src_final bool)() {
|
||||
pub func lzw_decoder.decode?(dst ptr buf1, src ptr buf1, src_final bool)() {
|
||||
var bits u32
|
||||
var n_bits u32
|
||||
|
||||
|
||||
Reference in new issue
Block a user