Mercurial > octave
diff libinterp/dldfcn/audioread.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 | ddcbf10c8c39 |
children | 336f89b6208b |
line wrap: on
line diff
--- a/libinterp/dldfcn/audioread.cc Mon Jun 12 17:24:08 2017 -0700 +++ b/libinterp/dldfcn/audioread.cc Mon Jun 12 17:53:28 2017 -0700 @@ -285,7 +285,7 @@ scale = std::pow (2.0, 15); else if (args(1).is_int32_type ()) scale = std::pow (2.0, 31); - else if (args(1).is_integer_type ()) + else if (args(1).isinteger ()) err_wrong_type_arg ("audiowrite", args(1)); Matrix audio = args(1).matrix_value ();