Mercurial > octave
diff libinterp/octave-value/ov-java.cc @ 23575:e95738a119da
maint: Deprecate is_cellstr and replace with iscellstr.
* ov.h (is_cellstr): Use OCTAVE_DEPRECATED macro for is_cellstr.
* ov.h (iscellstr): New function.
* Cell.cc, Cell.h, data.cc, graphics.cc, graphics.in.h, lookup.cc, strfns.cc,
sysdep.cc, __delaunayn__.cc, __voronoi__.cc, convhulln.cc, ov-base.h,
ov-cell.cc, ov-cell.h, ov-java.cc, ov-struct.cc:
Replace occurrences of is_cellstr with iscellstr.
author | Rik <rik@octave.org> |
---|---|
date | Sun, 11 Jun 2017 15:26:14 -0700 |
parents | 1b4f4ec53b4a |
children | 00e518162fda |
line wrap: on
line diff
--- a/libinterp/octave-value/ov-java.cc Fri Jun 09 15:32:33 2017 -0400 +++ b/libinterp/octave-value/ov-java.cc Sun Jun 11 15:26:14 2017 -0700 @@ -1503,7 +1503,7 @@ jobj = jni_env->NewStringUTF (s.c_str ()); jcls = jni_env->GetObjectClass (jobj); } - else if (val.is_cellstr ()) + else if (val.iscellstr ()) { const Array<std::string> str_arr = val.cellstr_value (); const octave_idx_type n = str_arr.numel ();