mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-24 16:52:18 +01:00
Add wuffs_base__table_u8__subtable_ij
This commit is contained in:
1 parent
8025bf1bd7
commit
962a515dd2
5 files changed
+57
-4
No files matched your search
@@ -1034,6 +1034,15 @@ func (g *gen) writeBuiltinTable(b *buffer, recv *a.Expr, method t.ID, args []*a.
|
||||
}
|
||||
b.writes(", ")
|
||||
return g.writeArgs(b, args, depth)
|
||||
|
||||
case t.IDSubtable:
|
||||
// TODO: don't assume that the table is a table of base.u8.
|
||||
b.writes("wuffs_base__table_u8__subtable_ij(")
|
||||
if err := g.writeExpr(b, recv, false, depth); err != nil {
|
||||
return err
|
||||
}
|
||||
b.writes(", ")
|
||||
return g.writeArgs(b, args, depth)
|
||||
}
|
||||
|
||||
if field != "" {
|
||||
|
||||
Reference in new issue
Block a user