Mercurial > octave
diff src/oct-stream.h @ 4889:658aad1c1b05
[project @ 2004-04-30 22:38:30 by jwe]
author | jwe |
---|---|
date | Fri, 30 Apr 2004 22:38:30 +0000 |
parents | e2d7d1ef5e55 |
children | 44046bbaa52c |
line wrap: on
line diff
--- a/src/oct-stream.h Fri Apr 30 18:27:07 2004 +0000 +++ b/src/oct-stream.h Fri Apr 30 22:38:30 2004 +0000 @@ -398,6 +398,10 @@ void clear (void); + // Clear stream state. + + void clearerr (void); + private: // A reference count. @@ -572,6 +576,8 @@ std::ostream *output_stream (void) { return rep ? rep->output_stream () : 0; } + void clearerr (void) { if (rep) rep->clearerr (); } + private: // The actual representation of this stream.