Mercurial > hg > octave-thorsten
changeset 93:0a3d698c6e60
[project @ 1993-09-13 02:29:54 by jwe]
(is_empty): New inline function.
author | jwe |
---|---|
date | Mon, 13 Sep 1993 02:29:54 +0000 |
parents | ef73939dc2c5 |
children | c568ba9fc151 |
files | src/pt-const.h |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/pt-const.h +++ b/src/pt-const.h @@ -688,6 +688,8 @@ int rows (void) { return rep->rows (); } int columns (void) { return rep->columns (); } + int is_empty (void) { return (rows () == 0 || columns () == 0); } + tree_constant all (void) { return rep->all (); } tree_constant any (void) { return rep->any (); } tree_constant isstr (void) { return rep->isstr (); }