Mercurial > hg > octave-lyh
diff src/ov-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 | e2344f4af0cb |
children | d9716e3ee0dd |
line wrap: on
line diff
--- a/src/ov-re-mat.h +++ b/src/ov-re-mat.h @@ -199,6 +199,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;