Mercurial > octave
diff libinterp/octave-value/ov.h @ 23587:0c468af9dc00
maint: Deprecate is_object and replace with isobject.
* ov.h (is_object): Use OCTAVE_DEPRECATED macro around function.
* ov.h (isobject): New function.
* bsxfun.cc, cellfun.cc, data.cc, ls-mat5.cc, oct-stream.cc, symtab.h,
variables.cc, ov-base.h, ov-class.cc, ov-class.h, ov-classdef.h,
ov-oncleanup.h, ov-struct.cc, ov.cc, ov.h, op-class.cc, pt-arg-list.cc,
pt-eval.cc, pt-tm-const.cc:
Replace instances of is_object with isobject.
author | Rik <rik@octave.org> |
---|---|
date | Tue, 13 Jun 2017 11:25:31 -0700 |
parents | f6c5db0a02e7 |
children | 0549061d35b9 |
line wrap: on
line diff
--- a/libinterp/octave-value/ov.h Tue Jun 13 10:20:55 2017 -0700 +++ b/libinterp/octave-value/ov.h Tue Jun 13 11:25:31 2017 -0700 @@ -592,12 +592,16 @@ bool is_map (void) const { return isstruct (); } - bool is_object (void) const - { return rep->is_object (); } - bool is_classdef_object (void) const { return rep->is_classdef_object (); } + bool isobject (void) const + { return rep->isobject (); } + + OCTAVE_DEPRECATED ("use 'isobject' instead") + bool is_object (void) const + { return isobject (); } + bool isjava (void) const { return rep->isjava (); }