diff src/oct-stream.h @ 2902:c5b7a019b9ed

[project @ 1997-04-30 03:46:53 by jwe]
author jwe
date Wed, 30 Apr 1997 03:49:42 +0000
parents 5c1b9e545dd1
children 66ef74ee5d9f
line wrap: on
line diff
--- a/src/oct-stream.h	Wed Apr 30 03:43:29 1997 +0000
+++ b/src/oct-stream.h	Wed Apr 30 03:49:42 1997 +0000
@@ -434,6 +434,10 @@
 
   static string mode_as_string (int mode);
 
+  istream *input_stream (void) { return rep->input_stream (); }
+
+  ostream *output_stream (void) { return rep->output_stream (); }
+
 private:
 
   // The actual representation of this stream.
@@ -490,7 +494,7 @@
 
   ~octave_stream_list (void) { }
 
-  static int insert (octave_base_stream *obs);
+  static octave_value insert (octave_base_stream *obs);
 
   static octave_stream *lookup (int fid);
   static octave_stream *lookup (const octave_value& fid);
@@ -517,7 +521,7 @@
 
   static octave_stream_list *instance;
 
-  int do_insert (octave_base_stream *obs);
+  octave_value do_insert (octave_base_stream *obs);
 
   octave_stream *do_lookup (int fid) const;
   octave_stream *do_lookup (const octave_value& fid) const;