comparison libinterp/octave-value/cdef-manager.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 83f9f8bda883
children e88a07dec498
comparison
equal deleted inserted replaced
30895:360d330cc30e 30896:c9788d7f6e65
170 retval(0) = prop.get_value (true, "getConstant"); 170 retval(0) = prop.get_value (true, "getConstant");
171 171
172 return retval; 172 return retval;
173 } 173 }
174 174
175 #define META_CLASS_CMP(OP, CLSA, CLSB, FUN) \ 175 #define META_CLASS_CMP(OP, CLSA, CLSB, FCN) \
176 static octave_value_list \ 176 static octave_value_list \
177 class_ ## OP (const octave_value_list& args, int /* nargout */) \ 177 class_ ## OP (const octave_value_list& args, int /* nargout */) \
178 { \ 178 { \
179 octave_value_list retval; \ 179 octave_value_list retval; \
180 \ 180 \
187 \ 187 \
188 cdef_class clsa = to_cdef (args(0)); \ 188 cdef_class clsa = to_cdef (args(0)); \
189 \ 189 \
190 cdef_class clsb = to_cdef (args(1)); \ 190 cdef_class clsb = to_cdef (args(1)); \
191 \ 191 \
192 retval(0) = FUN (CLSA, CLSB); \ 192 retval(0) = FCN (CLSA, CLSB); \
193 \ 193 \
194 return retval; \ 194 return retval; \
195 } 195 }
196 196
197 META_CLASS_CMP (lt, clsb, clsa, is_strict_superclass) 197 META_CLASS_CMP (lt, clsb, clsa, is_strict_superclass)