comparison libinterp/corefcn/utils.h @ 21526:b76d1de20f9a

Deprecate unused C++ functions oct_file_in_path, mex_file_in_path. * utils.cc: Add note that functions were deprecated in 4.2, should be removed in 4.6. * utils.h (oct_file_in_path, mex_file_in_path): Add OCTAVE_DEPRECATED macro, along with a string suggesting a replacement function, to the function declaration.
author Rik <rik@octave.org>
date Tue, 22 Mar 2016 14:36:15 -0700
parents 1473547f50f5
children bac0d6f07a3e
comparison
equal deleted inserted replaced
21525:50255c612915 21526:b76d1de20f9a
72 bool require_regular_file = false); 72 bool require_regular_file = false);
73 73
74 extern OCTINTERP_API std::string contents_file_in_path (const std::string&); 74 extern OCTINTERP_API std::string contents_file_in_path (const std::string&);
75 75
76 extern OCTINTERP_API std::string fcn_file_in_path (const std::string&); 76 extern OCTINTERP_API std::string fcn_file_in_path (const std::string&);
77
78 OCTAVE_DEPRECATED ("use 'load_path::find_oct_file' instead")
77 extern OCTINTERP_API std::string oct_file_in_path (const std::string&); 79 extern OCTINTERP_API std::string oct_file_in_path (const std::string&);
80
81 OCTAVE_DEPRECATED ("use 'load_path::find_mex_file' instead")
78 extern OCTINTERP_API std::string mex_file_in_path (const std::string&); 82 extern OCTINTERP_API std::string mex_file_in_path (const std::string&);
79 83
80 extern OCTINTERP_API std::string do_string_escapes (const std::string& s); 84 extern OCTINTERP_API std::string do_string_escapes (const std::string& s);
81 85
82 extern OCTINTERP_API const char *undo_string_escape (char c); 86 extern OCTINTERP_API const char *undo_string_escape (char c);