Mercurial > octave-nkf
diff src/oct-obj.h @ 10181:a668fbd32e34
improve cellfun & avoid undefined values from builtins
author | Jaroslav Hajek <highegg@gmail.com> |
---|---|
date | Thu, 21 Jan 2010 14:22:20 +0100 |
parents | cd96d29c5efa |
children | f3b65e1ae355 |
line wrap: on
line diff
--- a/src/oct-obj.h Thu Jan 21 03:25:23 2010 -0500 +++ b/src/oct-obj.h Thu Jan 21 14:22:20 2010 +0100 @@ -149,6 +149,16 @@ void make_storable_values (void); + octave_value& xelem (octave_idx_type i) + { + return data.xelem (i); + } + + void clear (void) + { + data.clear (); + } + private: static octave_allocator allocator;