diff src/ov-struct.h @ 10760:76079e505f9d

optimize cellfun with uniform struct output
author Jaroslav Hajek <highegg@gmail.com>
date Thu, 01 Jul 2010 08:51:14 +0200
parents 92eb5fb58ebc
children 629f6fc20dc5
line wrap: on
line diff
--- a/src/ov-struct.h	Tue Jun 29 09:05:19 2010 +0200
+++ b/src/ov-struct.h	Thu Jul 01 08:51:14 2010 +0200
@@ -153,6 +153,12 @@
 
   mxArray *as_mxArray (void) const;
 
+  octave_value
+  fast_elem_extract (octave_idx_type n) const;
+
+  bool
+  fast_elem_insert (octave_idx_type n, const octave_value& x);
+
 protected:
 
   // The associative array used to manage the structure data.
@@ -268,6 +274,8 @@
 
   mxArray *as_mxArray (void) const;
 
+  bool fast_elem_insert_self (void *where, builtin_type_t btyp) const;
+
 protected:
 
   // The associative array used to manage the structure data.