comparison libinterp/corefcn/c-file-ptr-stream.h @ 31608:23664317f0d3

maint: merge stable to default
author Rik <rik@octave.org>
date Thu, 01 Dec 2022 20:05:44 -0800
parents dfa5d9c3ae72 aac27ad79be6
children 5f11de0e7440
comparison
equal deleted inserted replaced
31606:dfa5d9c3ae72 31608:23664317f0d3
44 44
45 typedef std::streambuf::int_type int_type; 45 typedef std::streambuf::int_type int_type;
46 46
47 typedef int (*close_fcn) (FILE *); 47 typedef int (*close_fcn) (FILE *);
48 48
49 FILE *stdiofile (void) { return m_f; } 49 FILE * stdiofile (void) { return m_f; }
50 50
51 c_file_ptr_buf (FILE *f, close_fcn cf = file_close) 51 c_file_ptr_buf (FILE *f, close_fcn cf = file_close)
52 : std::streambuf (), m_f (f), m_cf (cf) 52 : std::streambuf (), m_f (f), m_cf (cf)
53 { } 53 { }
54 54