Mercurial > hg > octave-nkf
diff 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 |
line wrap: on
line diff
--- a/src/ov-flt-re-mat.h +++ b/src/ov-flt-re-mat.h @@ -191,6 +191,10 @@ oct_mach_info::float_format flt_fmt) const { return os.write (matrix, block_size, output_type, skip, flt_fmt); } + // Unsafe. This function exists to support the MEX interface. + // You should not use it anywhere else. + void *mex_get_data (void) const { return matrix.mex_get_data (); } + mxArray *as_mxArray (void) const; octave_value erf (void) const;