diff libinterp/octave-value/ov.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.h	Tue Jun 13 09:20:08 2017 -0700
+++ b/libinterp/octave-value/ov.h	Tue Jun 13 09:52:59 2017 -0700
@@ -633,8 +633,12 @@
   bool is_single_type (void) const
   { return rep->is_single_type (); }
 
+  bool isfloat (void) const
+  { return rep->isfloat (); }
+
+  OCTAVE_DEPRECATED ("use 'isfloat' instead")
   bool is_float_type (void) const
-  { return rep->is_float_type (); }
+  { return rep->isfloat (); }
 
   // Integer types.