mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-19 08:38:14 +01:00
Rename I/O available methods to length
This commit is contained in:
1 parent
79b923c322
commit
be8542e313
15 files changed
+149
-152
No files matched your search
@@ -150,7 +150,7 @@ func (g *gen) ioRecvName(recv *a.Expr) (string, error) {
|
||||
|
||||
func (g *gen) writeBuiltinIO(b *buffer, recv *a.Expr, method t.ID, args []*a.Node, depth uint32) error {
|
||||
switch method {
|
||||
case t.IDAvailable:
|
||||
case t.IDLength:
|
||||
name, err := g.ioRecvName(recv)
|
||||
if err != nil {
|
||||
return err
|
||||
|
||||
Reference in new issue
Block a user