mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-18 00:32:11 +01:00
std/tga: re-type a field from slice to roslice
This commit is contained in:
1 parent
65924cd44d
commit
cac4df3bde
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -929,7 +929,7 @@ func (n *TypeExpr) HasPointers() bool {
|
||||
return true
|
||||
}
|
||||
}
|
||||
case t.IDNptr, t.IDPtr, t.IDSlice, t.IDTable:
|
||||
case t.IDNptr, t.IDPtr, t.IDRoslice, t.IDRotable, t.IDSlice, t.IDTable:
|
||||
return true
|
||||
}
|
||||
}
|
||||
|
||||
@@ -308,7 +308,7 @@ pri func decoder.do_decode_frame?(dst: ptr base.pixel_buffer, src: base.io_reade
|
||||
var dst_palette : slice base.u8
|
||||
var dst : slice base.u8
|
||||
var dst_start : base.u64
|
||||
var src_palette : slice base.u8
|
||||
var src_palette : roslice base.u8
|
||||
var mark : base.u64
|
||||
var num_pixels64 : base.u64
|
||||
var num_pixels32 : base.u32[..= 0xFFFF]
|
||||
|
||||
Reference in new issue
Block a user