Mercurial > octave
changeset 2951:ab9673e3bb5d
[project @ 1997-05-09 14:46:19 by jwe]
author | jwe |
---|---|
date | Fri, 09 May 1997 14:46:19 +0000 |
parents | 5252c7275b8c |
children | c4bc40161199 |
files | src/oct-obj.h |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/oct-obj.h Fri May 09 14:23:43 1997 +0000 +++ b/src/oct-obj.h Fri May 09 14:46:19 1997 +0000 @@ -112,6 +112,8 @@ int length (void) const { return data.length (); } + bool empty (void) const { return length () == 0; } + void resize (int n) { data.resize (n); } void resize (int n, const octave_value& val) { data.resize (n, val); }