Mercurial > octave
diff libinterp/corefcn/ls-ascii-helper.cc @ 30006:75dff8f2de2e
move some load-save utilities to octave namespace
* ls-ascii-helper.h, ls-ascii-helper.cc (skip_until_newline,
read_until_newline, skip_preceeding_newline): Move inside octave
namespace. Change all uses as needed. Provide deprecated inline
wrapper functions to preserve old names.
* ls-utils.h, ls-utils.cc (get_save_type): Move inside octave
namespace. Change all uses as needed. Provide deprecated inline
wrapper functions to preserve old names.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Wed, 18 Aug 2021 15:47:29 -0400 |
parents | 0a5b15007766 |
children | 796f54d4ddbf |
line wrap: on
line diff
--- a/libinterp/corefcn/ls-ascii-helper.cc Wed Aug 18 14:11:56 2021 -0400 +++ b/libinterp/corefcn/ls-ascii-helper.cc Wed Aug 18 15:47:29 2021 -0400 @@ -32,6 +32,8 @@ #include <istream> #include <sstream> +OCTAVE_NAMESPACE_BEGIN + // Helper functions when reading from ascii files. // These functions take care of different line endings (LF, CR, CRLF) @@ -177,3 +179,5 @@ return buf.str (); } + +OCTAVE_NAMESPACE_END