diff libinterp/octave-value/ov-class.cc @ 18671:2631484789cf

doc: Improve docstrings for isobject, ismethod, isprop. * ov-class.cc (Fisobject): Add seealso link to isprop. * ov-class.cc (Fismethod): Use 'obj' as the input variable name, rather than just 'x'. * isprop.m: Use 'obj' as the input variable name, rather than just 'h'. Add note that 'obj' may be a class object or a handle to a graphics object.
author Rik <rik@octave.org>
date Mon, 07 Apr 2014 07:46:28 -0700
parents f958e8cd6348
children 6113e0c6920b
line wrap: on
line diff
--- a/libinterp/octave-value/ov-class.cc	Sun Apr 06 13:38:15 2014 -0700
+++ b/libinterp/octave-value/ov-class.cc	Mon Apr 07 07:46:28 2014 -0700
@@ -2044,7 +2044,7 @@
        "-*- texinfo -*-\n\
 @deftypefn {Built-in Function} {} isobject (@var{x})\n\
 Return true if @var{x} is a class object.\n\
-@seealso{class, typeinfo, isa, ismethod}\n\
+@seealso{class, typeinfo, isa, ismethod, isprop}\n\
 @end deftypefn")
 {
   octave_value retval;
@@ -2059,8 +2059,8 @@
 
 DEFUN (ismethod, args, ,
        "-*- texinfo -*-\n\
-@deftypefn {Built-in Function} {} ismethod (@var{x}, @var{method})\n\
-Return true if @var{x} is a class object and the string @var{method}\n\
+@deftypefn {Built-in Function} {} ismethod (@var{obj}, @var{method})\n\
+Return true if @var{obj} is a class object and the string @var{method}\n\
 is a method of this class.\n\
 @seealso{isprop, isobject}\n\
 @end deftypefn")