Mercurial > octave
diff libinterp/corefcn/gzfstream.h @ 30896:c9788d7f6e65
maint: Use "fcn" as preferred abbreviation for "function" in libinterp/.
* __eigs__.cc, bsxfun.cc, cellfun.cc, daspk.cc, dasrt.cc, dassl.cc, data.cc,
debug.cc, error.cc, graphics.cc, graphics.in.h, gzfstream.h, ls-hdf5.cc,
lsode.cc, max.cc, oct-opengl.h, quad.cc, strfns.cc, utils.cc, utils.h,
variables.cc, __ode15__.cc, gzip.cc, cdef-manager.cc, ov-fcn-handle.cc,
ov-java.cc, ov-usr-fcn.cc, bp-table.cc, bp-table.h, lex.h, lex.ll,
oct-parse.yy, pt-eval.cc:
Replace "func", "fun", "fn" in documentation and variable names with "fcn".
author | Rik <rik@octave.org> |
---|---|
date | Tue, 05 Apr 2022 08:33:58 -0700 |
parents | 796f54d4ddbf |
children | 597f3ee61a48 |
line wrap: on
line diff
--- a/libinterp/corefcn/gzfstream.h Tue Apr 05 01:06:00 2022 -0400 +++ b/libinterp/corefcn/gzfstream.h Tue Apr 05 08:33:58 2022 -0700 @@ -469,7 +469,7 @@ private: // Underlying manipulator function gzofstream& - (*func)(gzofstream&, T1, T2); + (*fcn)(gzofstream&, T1, T2); // Arguments for manipulator function T1 val1; @@ -490,14 +490,14 @@ gzomanip2<T1, T2>::gzomanip2 (gzofstream &(*f)(gzofstream&, T1, T2), T1 v1, T2 v2) - : func(f), val1(v1), val2(v2) + : fcn(f), val1(v1), val2(v2) { } // Insertor applies underlying manipulator function to stream template <typename T1, typename T2> inline gzofstream& operator<<(gzofstream& s, const gzomanip2<T1, T2>& m) -{ return (*m.func)(s, m.val1, m.val2); } +{ return (*m.fcn)(s, m.val1, m.val2); } // Insert this onto stream to simplify setting of compression level inline gzomanip2<int, int>