Mercurial > octave
comparison libinterp/corefcn/dirfns.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 | ba4aebad10d1 |
comparison
equal
deleted
inserted
replaced
30000:362029cc0202 | 30001:428cccc75cc9 |
---|---|
721 variable is changed locally for the function and any subroutines it calls. | 721 variable is changed locally for the function and any subroutines it calls. |
722 The original variable value is restored when exiting the function. | 722 The original variable value is restored when exiting the function. |
723 @seealso{rmdir} | 723 @seealso{rmdir} |
724 @end deftypefn */) | 724 @end deftypefn */) |
725 { | 725 { |
726 return SET_INTERNAL_VARIABLE (confirm_recursive_rmdir); | 726 return set_internal_variable (Vconfirm_recursive_rmdir, args, nargout, |
727 "confirm_recursive_rmdir"); | |
727 } | 728 } |
728 | 729 |
729 OCTAVE_NAMESPACE_END | 730 OCTAVE_NAMESPACE_END |