comparison libinterp/corefcn/oct-stream.cc @ 31606:dfa5d9c3ae72

maint: merge stable to default
author Rik <rik@octave.org>
date Thu, 01 Dec 2022 14:28:07 -0800
parents 2f08a53e0a23 e88a07dec498
children 23664317f0d3
comparison
equal deleted inserted replaced
31604:9ecc95d840ca 31606:dfa5d9c3ae72
65 #include "ov.h" 65 #include "ov.h"
66 #include "ovl.h" 66 #include "ovl.h"
67 #include "pager.h" 67 #include "pager.h"
68 #include "utils.h" 68 #include "utils.h"
69 69
70 namespace octave 70 OCTAVE_BEGIN_NAMESPACE(octave)
71 { 71
72 // Programming Note: There are two very different error functions used 72 // Programming Note: There are two very different error functions used
73 // in the stream code. When invoked with "error (...)" the member 73 // in the stream code. When invoked with "error (...)" the member
74 // function from stream or base_stream is called. This 74 // function from stream or base_stream is called. This
75 // function sets the error state on the stream AND returns control to 75 // function sets the error state on the stream AND returns control to
76 // the caller. The caller must then return a value at the end of the 76 // the caller. The caller must then return a value at the end of the
7746 7746
7747 octave_value stream_list::stderr_file (void) const 7747 octave_value stream_list::stderr_file (void) const
7748 { 7748 {
7749 return octave_value (m_stderr_file); 7749 return octave_value (m_stderr_file);
7750 } 7750 }
7751 } 7751
7752 OCTAVE_END_NAMESPACE(octave)