diff src/ov-base.cc @ 10670:654fbde5dceb

make cellfun's fast scalar collection mechanism public
author Jaroslav Hajek <highegg@gmail.com>
date Fri, 28 May 2010 12:28:06 +0200
parents 2f0fbfa4dd23
children 604e13a89c7f
line wrap: on
line diff
--- a/src/ov-base.cc	Thu May 27 20:12:51 2010 -0700
+++ b/src/ov-base.cc	Fri May 28 12:28:06 2010 +0200
@@ -1425,6 +1425,25 @@
   curr_print_indent_level = 0;
 }
 
+
+octave_value
+octave_base_value::fast_elem_extract (octave_idx_type n) const
+{
+  return octave_value ();
+}
+
+bool
+octave_base_value::fast_elem_insert (octave_idx_type n, const octave_value& x)
+{
+  return false;
+}
+
+bool 
+octave_base_value::fast_elem_insert_self (void *where, builtin_type_t btyp) const
+{
+  return false;
+}
+
 CONVDECLX (matrix_conv)
 {
   return new octave_matrix ();