Mercurial > hg > octave-nkf
diff src/utils.h @ 10033:f349847c4541
optimize cellfun (@subsref, args, {subs}, uniformoutput, true) case
author | Jaroslav Hajek <highegg@gmail.com> |
---|---|
date | Sun, 27 Dec 2009 21:56:53 +0100 |
parents | 5acd99c3e794 |
children | 76df75b10c80 |
line wrap: on
line diff
--- a/src/utils.h +++ b/src/utils.h @@ -28,6 +28,7 @@ #include <iosfwd> #include <string> +#include <list> #include "dMatrix.h" #include "lo-utils.h" @@ -95,7 +96,10 @@ extern OCTINTERP_API octave_idx_type dims_to_numel (const dim_vector& dims, const octave_value_list& idx); - +extern OCTINTERP_API void +decode_subscripts (const char* name, const octave_value& arg, + std::string& type_string, + std::list<octave_value_list>& idx); extern OCTINTERP_API Matrix identity_matrix (octave_idx_type nr, octave_idx_type nc);