diff libinterp/dldfcn/gzip.cc @ 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 e88a07dec498
line wrap: on
line diff
--- a/libinterp/dldfcn/gzip.cc	Tue Apr 05 01:06:00 2022 -0400
+++ b/libinterp/dldfcn/gzip.cc	Tue Apr 05 08:33:58 2022 -0700
@@ -577,7 +577,7 @@
 
   template<typename X>
   static octave_value_list
-  xzip (const std::string& func_name, const octave_value_list& args)
+  xzip (const std::string& fcn_name, const octave_value_list& args)
   {
     const octave_idx_type nargin = args.length ();
     if (nargin < 1 || nargin > 2)
@@ -585,7 +585,7 @@
 
     const Array<std::string> source_patterns
       = args(0).xcellstr_value ("%s: FILES must be a character array or cellstr",
-                                func_name.c_str ());
+                                fcn_name.c_str ());
     if (nargin == 1)
       return octave_value (Cell (xzip<X> (source_patterns)));
     else // nargin == 2