From 74ff50ee559023e92bf991c0b097953730c9971a Mon Sep 17 00:00:00 2001 From: Alexandre Terrasa Date: Tue, 18 Nov 2014 23:28:09 -0500 Subject: [PATCH] stream: fix missing documentation warnings Signed-off-by: Alexandre Terrasa --- lib/standard/stream.nit | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/lib/standard/stream.nit b/lib/standard/stream.nit index 84b167a..3026c78 100644 --- a/lib/standard/stream.nit +++ b/lib/standard/stream.nit @@ -244,6 +244,7 @@ abstract class BufferedIStream end end +# An Input/Output Stream interface IOStream super IStream super OStream @@ -251,6 +252,7 @@ end ##############################################################" +# A File Descriptor Stream. abstract class FDStream super IOS # File description @@ -265,6 +267,7 @@ abstract class FDStream private fun native_write_char(i: Int, c: Char): Int is extern "stream_FDStream_FDStream_native_write_char_2" end +# An Input File Descriptor Stream. class FDIStream super FDStream super IStream @@ -278,6 +281,7 @@ class FDIStream end end +# An Output File Descriptor Stream. class FDOStream super FDStream super OStream @@ -290,6 +294,7 @@ class FDOStream end end +# An Input/Output File Descriptor Stream. class FDIOStream super FDIStream super FDOStream @@ -389,7 +394,9 @@ class StringOStream content.add(str.to_s) end + # Is the stream closed? protected var closed = false + redef fun close do closed = true end -- 1.7.9.5