comparison src/ov-flt-re-mat.h @ 9358:d4b1314a7c31

mex.cc (mxArray_octave_value::get_data): avoid enumerating types that can be handled as foreign
author John W. Eaton <jwe@octave.org>
date Wed, 17 Jun 2009 21:11:41 -0400
parents 16a5f9e1fdb3
children a04352386a6b
comparison
equal deleted inserted replaced
9357:95ec56601497 9358:d4b1314a7c31
188 188
189 int write (octave_stream& os, int block_size, 189 int write (octave_stream& os, int block_size,
190 oct_data_conv::data_type output_type, int skip, 190 oct_data_conv::data_type output_type, int skip,
191 oct_mach_info::float_format flt_fmt) const 191 oct_mach_info::float_format flt_fmt) const
192 { return os.write (matrix, block_size, output_type, skip, flt_fmt); } 192 { return os.write (matrix, block_size, output_type, skip, flt_fmt); }
193
194 // Unsafe. This function exists to support the MEX interface.
195 // You should not use it anywhere else.
196 void *mex_get_data (void) const { return matrix.mex_get_data (); }
193 197
194 mxArray *as_mxArray (void) const; 198 mxArray *as_mxArray (void) const;
195 199
196 octave_value erf (void) const; 200 octave_value erf (void) const;
197 octave_value erfc (void) const; 201 octave_value erfc (void) const;