Mercurial > octave
diff libinterp/octave-value/ov-base.h @ 23585:570170b6eb09
maint: Deprecate is_float_type and replace with isfloat.
* ov.h (is_float_type): Use OCTAVE_DEPRECATED macro around function.
* ov.h (isfloat): New function.
* __magick_read__.cc, bsxfun.cc, data.cc, dot.cc, eig.cc, ov-base.h,
ov-class.cc, ov-complex.h, ov-cx-diag.h, ov-cx-mat.h, ov-cx-sparse.h,
ov-float.h, ov-flt-complex.h, ov-flt-cx-diag.h, ov-flt-cx-mat.h,
ov-flt-re-diag.h, ov-flt-re-mat.h, ov-java.cc, ov-lazy-idx.h, ov-perm.h,
ov-range.h, ov-re-diag.h, ov-re-mat.h, ov-re-sparse.h, ov-scalar.h, ov.h:
Replace instances of is_float_type with isfloat.
author | Rik <rik@octave.org> |
---|---|
date | Tue, 13 Jun 2017 09:52:59 -0700 |
parents | 7ed6b258db91 |
children | f6c5db0a02e7 |
line wrap: on
line diff
--- a/libinterp/octave-value/ov-base.h Tue Jun 13 09:20:08 2017 -0700 +++ b/libinterp/octave-value/ov-base.h Tue Jun 13 09:52:59 2017 -0700 @@ -391,7 +391,7 @@ virtual bool is_single_type (void) const { return false; } - virtual bool is_float_type (void) const { return false; } + virtual bool isfloat (void) const { return false; } virtual bool is_int8_type (void) const { return false; }