mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-26 17:01:35 +01:00
Remove the (table T).linearize method
This commit is contained in:
1 parent
c723329263
commit
47cf248e57
11 files changed
+6
-95
No files matched your search
@@ -324,15 +324,6 @@ func (g *gen) writeBuiltinTable(b *buffer, recv *a.Expr, method t.ID, args []*a.
|
||||
case t.IDWidth:
|
||||
field = "width"
|
||||
|
||||
case t.IDLinearize:
|
||||
// TODO: don't assume that the table is a table of base.u8.
|
||||
b.writes("wuffs_base__table_u8__linearize(")
|
||||
if err := g.writeExpr(b, recv, rp, depth); err != nil {
|
||||
return err
|
||||
}
|
||||
b.writeb(')')
|
||||
return nil
|
||||
|
||||
case t.IDRow:
|
||||
// TODO: don't assume that the table is a table of base.u8.
|
||||
b.writes("wuffs_base__table_u8__row(")
|
||||
|
||||
Reference in new issue
Block a user