Mercurial > jwe > octave
diff libinterp/octave-value/ov-base.h @ 23579:c20a0fa91c0c
maint: Deprecate is_bool_type and replace with islogical.
* ov.h (is_bool_type): Use OCTAVE_DEPRECATED macro around function.
* ov.h (islogical): New function.
* __magick_read__.cc, besselj.cc, cellfun.cc, data.cc, find.cc, graphics.cc,
ls-mat5.cc, mex.cc, sparse.cc, typecast.cc, ov-base.h, ov-bool-mat.cc,
ov-bool-mat.h, ov-bool-sparse.h, ov-bool.h, ov-java.cc, ov.h:
Replace instances of is_bool_type with islogical.
author | Rik <rik@octave.org> |
---|---|
date | Mon, 12 Jun 2017 17:24:08 -0700 |
parents | 7b47b7c2d6c7 |
children | 2230f9e10fb3 |
line wrap: on
line diff
--- a/libinterp/octave-value/ov-base.h Mon Jun 12 13:41:35 2017 -0700 +++ b/libinterp/octave-value/ov-base.h Mon Jun 12 17:24:08 2017 -0700 @@ -409,7 +409,7 @@ virtual bool is_uint64_type (void) const { return false; } - virtual bool is_bool_type (void) const { return false; } + virtual bool islogical (void) const { return false; } virtual bool is_integer_type (void) const { return false; }