Mercurial > hg > octave-nkf
changeset 18062:aca545afdf25 stable
doc: Add seealso links to find_dir_in_path function.
* utils.cc (Ffile_in_loadpath, Ffile_in_path, Ffind_dir_in_path): Add seealso
links between these three functions.
* variables.cc (Fexist): Add seealso link to find_dir_in_path.
author | Rik <rik@octave.org> |
---|---|
date | Tue, 03 Dec 2013 12:34:13 -0800 |
parents | 46ca76f194cb |
children | 1c4fd938bdef |
files | libinterp/corefcn/utils.cc libinterp/corefcn/variables.cc |
diffstat | 2 files changed, 4 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/libinterp/corefcn/utils.cc +++ b/libinterp/corefcn/utils.cc @@ -303,7 +303,7 @@ If the second optional argument @qcode{\"all\"} is supplied, return\n\ a cell array containing the list of all files that have the same\n\ name in the path. If no files are found, return an empty cell array.\n\ -@seealso{file_in_path, path}\n\ +@seealso{file_in_path, find_dir_in_path, path}\n\ @end deftypefn") { octave_value retval; @@ -380,7 +380,7 @@ If the third optional argument @qcode{\"all\"} is supplied, return\n\ a cell array containing the list of all files that have the same\n\ name in the path. If no files are found, return an empty cell array.\n\ -@seealso{file_in_loadpath}\n\ +@seealso{file_in_loadpath, find_dir_in_path, path}\n\ @end deftypefn") { octave_value retval; @@ -905,6 +905,7 @@ \n\ The second argument is optional. If it is supplied, return a cell array\n\ containing all name matches rather than just the first.\n\ +@seealso{file_in_path, file_in_loadpath, path}\n\ @end deftypefn") { octave_value retval = std::string ();
--- a/libinterp/corefcn/variables.cc +++ b/libinterp/corefcn/variables.cc @@ -548,7 +548,7 @@ Check only for directories.\n\ @end table\n\ \n\ -@seealso{file_in_loadpath, file_in_path, stat}\n\ +@seealso{file_in_loadpath, file_in_path, find_dir_in_path, stat}\n\ @end deftypefn") { octave_value retval = false;