Mercurial > octave
diff libinterp/corefcn/utils.cc @ 33446:5fded8395daa
rename yTYPE_value functions strict_TYPE_value
* ov.h, ov.cc (octave_value::strict_int_value): Rename from yint_value.
Change all uses.
(octave_value::strict_idx_type_value): Rename from yidx_type_value.
Change all uses.
(octave_value::strict_bool_value): Rename from ybool_value.
Change all uses.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Wed, 17 Apr 2024 13:58:27 -0400 |
parents | fb44a9db1bc6 |
children |
line wrap: on
line diff
--- a/libinterp/corefcn/utils.cc Mon Apr 22 17:52:32 2024 +0200 +++ b/libinterp/corefcn/utils.cc Wed Apr 17 13:58:27 2024 -0400 @@ -1295,7 +1295,7 @@ } else { - int val = args(0).yint_value ("errno: argument must be string or integer"); + int val = args(0).strict_int_value ("errno: argument must be string or integer"); retval = octave_errno::set (val); }