From fabcaa8df3d6eb852b87821ef090d31d222870b7 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Wed, 21 Nov 2012 07:03:38 +0000 Subject: libgo: Update to current version of master library. From-SVN: r193688 --- libgo/go/io/io.go | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'libgo/go/io/io.go') diff --git a/libgo/go/io/io.go b/libgo/go/io/io.go index 5187eff70a9..bddb701786b 100644 --- a/libgo/go/io/io.go +++ b/libgo/go/io/io.go @@ -216,6 +216,11 @@ type ByteScanner interface { UnreadByte() error } +// ByteWriter is the interface that wraps the WriteByte method. +type ByteWriter interface { + WriteByte(c byte) error +} + // RuneReader is the interface that wraps the ReadRune method. // // ReadRune reads a single UTF-8 encoded Unicode character -- cgit v1.2.1