# HG changeset patch # User jwe # Date 863189179 0 # Node ID ab9673e3bb5d178161710bd045d4a3556576934e # Parent 5252c7275b8c8bc7d72b6623350e2c4bdbe2019e [project @ 1997-05-09 14:46:19 by jwe] diff -r 5252c7275b8c -r ab9673e3bb5d src/oct-obj.h --- 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); }