Mercurial > hg > octave-avbm
changeset 3975:1339486fb498
[project @ 2002-07-04 17:42:59 by jwe]
author | jwe |
---|---|
date | Thu, 04 Jul 2002 17:43:00 +0000 |
parents | e2290bf911f0 |
children | 4038f12b8eea |
files | src/ChangeLog src/ov-usr-fcn.cc |
diffstat | 2 files changed, 8 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,7 +1,8 @@ 2002-07-04 John W. Eaton <jwe@bevo.che.wisc.edu> + * ov-usr-fcn.cc (Fva_arg, Fva_start, Fvr_val): Warn that these + functions are deprecated. * lex.l (EL): Warn that `...' is deprecated. - * ov-usr-fcn.cc (octave_user_function::varargout_to_vr_val, octave_user_function::has_varargout): New functions. (Fvr_val): Ensure varargout is not defined.
--- a/src/ov-usr-fcn.cc +++ b/src/ov-usr-fcn.cc @@ -599,6 +599,8 @@ has not been declared to take a variable number of parameters.\n\ @end deftypefn") { + ::warning ("va_arg is deprecated; use varargin instead"); + octave_value_list retval; int nargin = args.length (); @@ -633,6 +635,8 @@ that has not been declared to take a variable number of parameters.\n\ @end deftypefn") { + ::warning ("va_start is deprecated; use varargin instead"); + octave_value_list retval; int nargin = args.length (); @@ -669,6 +673,8 @@ been declared to return an unspecified number of output arguments.\n\ @end deftypefn") { + ::warning ("vr_val is deprecated; use varargout instead"); + octave_value_list retval; int nargin = args.length ();