Mercurial > hg > octave-lyh
diff src/pt-const.h @ 1277:db4f4009d6e8
[project @ 1995-04-24 20:35:06 by jwe]
author | jwe |
---|---|
date | Mon, 24 Apr 1995 20:35:06 +0000 |
parents | 68d147abe7ca |
children | c6f21b933f95 |
line wrap: on
line diff
--- a/src/pt-const.h +++ b/src/pt-const.h @@ -255,10 +255,7 @@ // Is at least one of the dimensions of this constant zero? int is_empty (void) const - { - return ((! (is_magic_colon () || is_all_va_args () || is_unknown ())) - && (rows () == 0 || columns () == 0)); - } + { return rep->is_empty (); } // Are the dimensions of this constant zero by zero? @@ -290,7 +287,11 @@ Octave_map map_value (void) const; - tree_constant lookup_map_element (SLList<char*>& list); + tree_constant lookup_map_element (const char *ref, int insert = 0, + int silent = 0); + + tree_constant lookup_map_element (SLList<char*>& list, + int insert = 0, int silent = 0); ColumnVector vector_value (int force_string_conversion = 0, int force_vector_conversion = 0) const