Mercurial > octave
comparison libinterp/corefcn/variables.h @ 30346:91c6288781ba
maint: Shorten some long lines in libinterp to <= 80 characters (bug #57599)
* __isprimelarge__.cc, bsxfun.cc, cellfun.cc, chol.cc, data.cc, error.h,
event-manager.h, filter.cc, find.cc, gcd.cc, gl-render.h, gl2ps-print.cc,
graphics.cc, graphics.in.h, hash.cc, help.cc, hex2num.cc, input.cc, inv.cc,
load-path.cc, load-save.cc, ls-hdf5.cc, ls-hdf5.h, ls-mat5.cc, lu.cc,
mappers.cc, matrix_type.cc, max.cc, mex.cc, mxarray.h, oct-errno.in.cc,
oct-map.cc, oct-stream.cc, oct-stream.h, pr-output.cc, psi.cc, qr.cc, rand.cc,
regexp.cc, sparse-xdiv.h, stack-frame.cc, strfind.cc, strfns.cc, sylvester.cc,
symbfact.cc, symrec.h, symscope.cc, typecast.cc, utils.cc, variables.h, xdiv.h,
xpow.h, __init_fltk__.cc, __ode15__.cc, audiodevinfo.cc, audioread.cc,
convhulln.cc, cdef-class.cc, cdef-class.h, cdef-manager.cc, cdef-method.cc,
cdef-object.cc, cdef-object.h, cdef-package.h, cdef-utils.cc, ov-base-diag.cc,
ov-base-int.cc, ov-base.h, ov-bool-mat.cc, ov-bool.cc, ov-cell.cc,
ov-ch-mat.cc, ov-class.cc, ov-class.h, ov-classdef.cc, ov-colon.h,
ov-complex.cc, ov-cx-mat.cc, ov-cx-sparse.cc, ov-dld-fcn.h, ov-fcn-handle.cc,
ov-float.cc, ov-flt-complex.cc, ov-flt-cx-diag.cc, ov-flt-cx-mat.cc,
ov-flt-re-diag.cc, ov-flt-re-mat.cc, ov-java.cc, ov-lazy-idx.cc, ov-lazy-idx.h,
ov-range.cc, ov-re-mat.cc, ov-re-mat.h, ov-re-sparse.cc, ov-scalar.cc,
ov-str-mat.cc, ov-struct.cc, ov-typeinfo.cc, ov.cc, ov.h, octave.h,
bp-table.cc, bp-table.h, lex.h, oct-lvalue.h, profiler.cc, profiler.h,
pt-binop.h, pt-colon.cc, pt-eval.cc, pt-exp.h, pt-select.h:
Shorten some long lines in libinterp to <= 80 characters.
author | Rik <rik@octave.org> |
---|---|
date | Wed, 24 Nov 2021 09:38:51 -0800 |
parents | eff73c13fcf3 |
children | fe6d1711feea |
comparison
equal
deleted
inserted
replaced
30345:ba03a127bee1 | 30346:91c6288781ba |
---|---|
122 return octave::unique_symbol_name (basename); | 122 return octave::unique_symbol_name (basename); |
123 } | 123 } |
124 | 124 |
125 OCTAVE_DEPRECATED (7, "use 'octave::set_internal_variable' instead") | 125 OCTAVE_DEPRECATED (7, "use 'octave::set_internal_variable' instead") |
126 inline octave_value | 126 inline octave_value |
127 set_internal_variable (bool& var, const octave_value_list& args, int nargout, const char *nm) | 127 set_internal_variable (bool& var, const octave_value_list& args, int nargout, |
128 const char *nm) | |
128 { | 129 { |
129 return octave::set_internal_variable (var, args, nargout, nm); | 130 return octave::set_internal_variable (var, args, nargout, nm); |
130 } | 131 } |
131 | 132 |
132 OCTAVE_DEPRECATED (7, "use 'octave::set_internal_variable' instead") | 133 OCTAVE_DEPRECATED (7, "use 'octave::set_internal_variable' instead") |
133 inline octave_value | 134 inline octave_value |
134 set_internal_variable (char& var, const octave_value_list& args, int nargout, const char *nm) | 135 set_internal_variable (char& var, const octave_value_list& args, int nargout, |
136 const char *nm) | |
135 { | 137 { |
136 return octave::set_internal_variable (var, args, nargout, nm); | 138 return octave::set_internal_variable (var, args, nargout, nm); |
137 } | 139 } |
138 | 140 |
139 OCTAVE_DEPRECATED (7, "use 'octave::set_internal_variable' instead") | 141 OCTAVE_DEPRECATED (7, "use 'octave::set_internal_variable' instead") |
140 inline octave_value | 142 inline octave_value |
141 set_internal_variable (int& var, const octave_value_list& args, int nargout, const char *nm, int minval = std::numeric_limits<int>::min (), int maxval = std::numeric_limits<int>::max ()) | 143 set_internal_variable (int& var, const octave_value_list& args, int nargout, |
144 const char *nm, | |
145 int minval = std::numeric_limits<int>::min (), | |
146 int maxval = std::numeric_limits<int>::max ()) | |
142 { | 147 { |
143 return octave::set_internal_variable (var, args, nargout, nm, minval, maxval); | 148 return octave::set_internal_variable (var, args, nargout, nm, minval, maxval); |
144 } | 149 } |
145 | 150 |
146 OCTAVE_DEPRECATED (7, "use 'octave::set_internal_variable' instead") | 151 OCTAVE_DEPRECATED (7, "use 'octave::set_internal_variable' instead") |
147 inline octave_value | 152 inline octave_value |
148 set_internal_variable (double& var, const octave_value_list& args, int nargout, const char *nm, double minval = -octave::numeric_limits<double>::Inf (), double maxval = octave::numeric_limits<double>::Inf ()) | 153 set_internal_variable (double& var, const octave_value_list& args, int nargout, |
154 const char *nm, | |
155 double minval = -octave::numeric_limits<double>::Inf (), | |
156 double maxval = octave::numeric_limits<double>::Inf ()) | |
149 { | 157 { |
150 return octave::set_internal_variable (var, args, nargout, nm, minval, maxval); | 158 return octave::set_internal_variable (var, args, nargout, nm, minval, maxval); |
151 } | 159 } |
152 | 160 |
153 OCTAVE_DEPRECATED (7, "use 'octave::set_internal_variable' instead") | 161 OCTAVE_DEPRECATED (7, "use 'octave::set_internal_variable' instead") |
154 inline octave_value | 162 inline octave_value |
155 set_internal_variable (std::string& var, const octave_value_list& args, int nargout, const char *nm, bool empty_ok = true) | 163 set_internal_variable (std::string& var, const octave_value_list& args, |
164 int nargout, const char *nm, bool empty_ok = true) | |
156 { | 165 { |
157 return octave::set_internal_variable (var, args, nargout, nm, empty_ok); | 166 return octave::set_internal_variable (var, args, nargout, nm, empty_ok); |
158 } | 167 } |
159 | 168 |
160 OCTAVE_DEPRECATED (7, "use 'octave::set_internal_variable' instead") | 169 OCTAVE_DEPRECATED (7, "use 'octave::set_internal_variable' instead") |
161 inline octave_value | 170 inline octave_value |
162 set_internal_variable (std::string& var, const octave_value_list& args, int nargout, const char *nm, const char **choices) | 171 set_internal_variable (std::string& var, const octave_value_list& args, |
172 int nargout, const char *nm, const char **choices) | |
163 { | 173 { |
164 return octave::set_internal_variable (var, args, nargout, nm, choices); | 174 return octave::set_internal_variable (var, args, nargout, nm, choices); |
165 } | 175 } |
166 | 176 |
167 OCTAVE_DEPRECATED (7, "use 'octave::set_internal_variable' instead") | 177 OCTAVE_DEPRECATED (7, "use 'octave::set_internal_variable' instead") |
168 inline octave_value | 178 inline octave_value |
169 set_internal_variable (int& var, const octave_value_list& args, int nargout, const char *nm, const char **choices) | 179 set_internal_variable (int& var, const octave_value_list& args, int nargout, |
180 const char *nm, const char **choices) | |
170 { | 181 { |
171 return octave::set_internal_variable (var, args, nargout, nm, choices); | 182 return octave::set_internal_variable (var, args, nargout, nm, choices); |
172 } | 183 } |
173 | 184 |
174 OCTAVE_DEPRECATED (7, "use 'octave::maybe_missing_function_hook' instead") | 185 OCTAVE_DEPRECATED (7, "use 'octave::maybe_missing_function_hook' instead") |