Mercurial > octave
diff libinterp/corefcn/pr-output.cc @ 30001:428cccc75cc9
move most functions in variables.cc to octave namespace
* variables.h, variables.cc: Move most functions to octave namespace.
Provide deprecated inline wrapper functions to preserve old names.
Change all uses as needed.
(SET_INTERNAL_VARIABLE, SET_NONEMPTY_INTERNAL_STRING_VARIABLE,
SET_INTERNAL_VARIABLE_WITH_LIMITS, SET_INTERNAL_VARIABLE_CHOICES):
Note that these macros are obsolete.
* dirfns.cc, ls-oct-text.cc, pr-flt-fmt.cc, pr-output.cc, svd.cc,
ov-base.cc, ov-java.cc, ov-struct.cc, ov-usr-fcn.cc, ov.cc:
Eliminate use of SET_INTERNAL_VARIABLE macros.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Wed, 18 Aug 2021 11:40:25 -0400 |
parents | 7d6709900da7 |
children | c2132e0147ff |
line wrap: on
line diff
--- a/libinterp/corefcn/pr-output.cc Wed Aug 18 09:23:45 2021 -0400 +++ b/libinterp/corefcn/pr-output.cc Wed Aug 18 11:40:25 2021 -0400 @@ -4093,7 +4093,8 @@ @seealso{format, output_precision} @end deftypefn */) { - return SET_INTERNAL_VARIABLE (fixed_point_format); + return set_internal_variable (Vfixed_point_format, args, nargout, + "fixed_point_format"); } DEFUN (print_empty_dimensions, args, nargout, @@ -4123,7 +4124,8 @@ @seealso{format} @end deftypefn */) { - return SET_INTERNAL_VARIABLE (print_empty_dimensions); + return set_internal_variable (Vprint_empty_dimensions, args, nargout, + "print_empty_dimensions"); } DEFUN (split_long_rows, args, nargout, @@ -4162,7 +4164,8 @@ @seealso{format} @end deftypefn */) { - return SET_INTERNAL_VARIABLE (split_long_rows); + return set_internal_variable (Vsplit_long_rows, args, nargout, + "split_long_rows"); } OCTAVE_NAMESPACE_END