Mercurial > octave
comparison libinterp/corefcn/utils.cc @ 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 | 120bb822c6f4 |
children | 6fab85c1538f |
comparison
equal
deleted
inserted
replaced
21525:50255c612915 | 21526:b76d1de20f9a |
---|---|
526 } | 526 } |
527 | 527 |
528 return retval; | 528 return retval; |
529 } | 529 } |
530 | 530 |
531 // Deprecated in 4.2, remove in 4.6. | |
531 // See if there is a .oct file in the path. | 532 // See if there is a .oct file in the path. |
532 // If so, return the full path to the file. | 533 // If so, return the full path to the file. |
533 | 534 |
534 std::string | 535 std::string |
535 oct_file_in_path (const std::string& name) | 536 oct_file_in_path (const std::string& name) |
554 } | 555 } |
555 | 556 |
556 return retval; | 557 return retval; |
557 } | 558 } |
558 | 559 |
560 // Deprecated in 4.2, remove in 4.6. | |
559 // See if there is a .mex file in the path. | 561 // See if there is a .mex file in the path. |
560 // If so, return the full path to the file. | 562 // If so, return the full path to the file. |
561 | 563 |
562 std::string | 564 std::string |
563 mex_file_in_path (const std::string& name) | 565 mex_file_in_path (const std::string& name) |