| ... | ... | @@ -191,6 +191,8 @@ pub struct InStream { |
| 191 | 191 | } |
| 192 | 192 | } |
| 193 | 193 | |
| 194 | /// Upon success, the stream is in an uninitialized state. To continue using it, |
| 195 | /// you must use the open() function. |
| 194 | 196 | pub fn close(is: &InStream) -> %void { |
| 195 | 197 | switch (@compileVar("os")) { |
| 196 | 198 | linux => { |
| ... | ... | @@ -206,6 +208,7 @@ pub struct InStream { |
| 206 | 208 | else => error.Unexpected, |
| 207 | 209 | } |
| 208 | 210 | } |
| 211 | return; |
| 209 | 212 | } |
| 210 | 213 | }, |
| 211 | 214 | else => @compileError("unsupported OS"), |