Mercurial > hg > octave-nkf
diff src/variables.cc @ 9724:f22bbc5d56e9
Fix various incorrect usages of TeXinfo deffn and deftypefn macros
which were causing bad entries in the function index.
author | Rik <rdrider0-list@yahoo.com> |
---|---|
date | Tue, 13 Oct 2009 21:10:37 -0700 |
parents | bb413c0d0d6d |
children | 04386b72d3df |
line wrap: on
line diff
--- a/src/variables.cc +++ b/src/variables.cc @@ -1600,10 +1600,10 @@ DEFUN (who, args, nargout, "-*- texinfo -*-\n\ -@deffn {Command} who\n\ -@deffnx {Command} who pattern @dots{}\n\ -@deffnx {Command} who option pattern @dots{}\n\ -@deffnx {Command} C = who(\"pattern\", @dots{})\n\ +@deftypefn {Command} {} who\n\ +@deftypefnx {Command} {} who pattern @dots{}\n\ +@deftypefnx {Command} {} who option pattern @dots{}\n\ +@deftypefnx {Command} {C =} who(\"pattern\", @dots{})\n\ List currently defined variables matching the given patterns. Valid\n\ pattern syntax is the same as described for the @code{clear} command.\n\ If no patterns are supplied, all variables are listed.\n\ @@ -1627,7 +1627,7 @@ If called as a function, return a cell array of defined variable names\n\ matching the given patterns.\n\ @seealso{whos, regexp}\n\ -@end deffn") +@end deftypefn") { octave_value retval; @@ -1648,10 +1648,10 @@ DEFUN (whos, args, nargout, "-*- texinfo -*-\n\ -@deffn {Command} whos\n\ -@deffnx {Command} whos pattern @dots{}\n\ -@deffnx {Command} whos option pattern @dots{}\n\ -@deffnx {Command} S = whos(\"pattern\", @dots{})\n\ +@deftypefn {Command} {} whos\n\ +@deftypefnx {Command} {} whos pattern @dots{}\n\ +@deftypefnx {Command} {} whos option pattern @dots{}\n\ +@deftypefnx {Command} {S =} whos(\"pattern\", @dots{})\n\ Provide detailed information on currently defined variables matching the\n\ given patterns. Options and pattern syntax are the same as for the\n\ @code{who} command. Extended information about each variable is\n\ @@ -1688,7 +1688,7 @@ describing each variable are: name, size, bytes, class, global, sparse, \n\ complex, nesting, persistent.\n\ @seealso{who, whos_line_format}\n\ -@end deffn") +@end deftypefn") { octave_value retval;