diff libinterp/octave-value/ov.cc @ 23580:2230f9e10fb3

maint: Deprecate is_integer_type and replace with isinteger. * ov.h (is_integer_type): Use OCTAVE_DEPRECATED macro around function. * ov.h (isinteger): New function. * cellfun.cc, data.cc, find.cc, graphics.cc, oct-stream.cc, typecast.cc, audioread.cc, qr.cc, ov-base.h, ov-class.cc, ov-intx.h, ov.cc: Replace instances of is_integer_type with isinteger.
author Rik <rik@octave.org>
date Mon, 12 Jun 2017 17:53:28 -0700
parents 80c42f4cca13
children 0c468af9dc00
line wrap: on
line diff
--- a/libinterp/octave-value/ov.cc	Mon Jun 12 17:24:08 2017 -0700
+++ b/libinterp/octave-value/ov.cc	Mon Jun 12 17:53:28 2017 -0700
@@ -1784,7 +1784,7 @@
 {
   Array<int> retval;
 
-  if (is_integer_type ())
+  if (isinteger ())
     {
       if (is_int32_type ())
         retval = convert_to_int_array (int32_array_value ());
@@ -1854,7 +1854,7 @@
 {
   Array<octave_idx_type> retval;
 
-  if (is_integer_type ())
+  if (isinteger ())
     {
       if (is_int32_type ())
         retval = convert_to_octave_idx_type_array (int32_array_value ());