mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-26 09:01:35 +01:00
Update std/gif's pass-through uncompressed_wi
This commit is contained in:
1 parent
043ba870f5
commit
ed1a8b4057
12 files changed
+69
-5
No files matched your search
@@ -389,7 +389,12 @@ func (g *gen) writeVars(b *buffer, block []*a.Node, skipPointerTypes bool, skipI
|
||||
b.writes(";\n")
|
||||
if typ.IsIOType() {
|
||||
b.printf("wuffs_base__io_buffer %s%s;\n", uPrefix, name)
|
||||
// TODO: don't hard code wptr instead of rptr.
|
||||
b.printf("uint8_t* %swptr_%s = NULL;\n", bPrefix, name)
|
||||
b.printf("uint8_t* %swend_%s = NULL;\n", bPrefix, name)
|
||||
b.printf("WUFFS_BASE__IGNORE_POTENTIALLY_UNUSED_VARIABLE(%s%s);\n", uPrefix, name)
|
||||
b.printf("WUFFS_BASE__IGNORE_POTENTIALLY_UNUSED_VARIABLE(%swptr_%s);\n", bPrefix, name)
|
||||
b.printf("WUFFS_BASE__IGNORE_POTENTIALLY_UNUSED_VARIABLE(%swend_%s);\n", bPrefix, name)
|
||||
}
|
||||
return nil
|
||||
})
|
||||
|
||||
Reference in new issue
Block a user