Mercurial > octave
diff libinterp/octave-value/ov-struct.cc @ 23589:63950abd2f81
maint: Deprecate is_null_type and replace with isnull.
* ov.h (is_null_type): Use OCTAVE_DEPRECATED macro around function.
* ov.h (isnull): New function.
* ov-base.h, ov-cell.cc, ov-null-mat.cc, ov-null-mat.h, ov-struct.cc, ov.cc:
Replace instances of is_null_type with isnull.
author | Rik <rik@octave.org> |
---|---|
date | Tue, 13 Jun 2017 13:05:19 -0700 |
parents | 0c468af9dc00 |
children | 90689bdbe048 |
line wrap: on
line diff
--- a/libinterp/octave-value/ov-struct.cc Tue Jun 13 12:43:42 2017 -0700 +++ b/libinterp/octave-value/ov-struct.cc Tue Jun 13 13:05:19 2017 -0700 @@ -474,7 +474,7 @@ } else { - if (! t_rhs.is_null_value ()) + if (! t_rhs.isnull ()) error ("invalid structure assignment"); map.delete_elements (idx.front ());