Mercurial > hg > octave-lyh
diff src/ov-base-scalar.h @ 5900:c20eb7330d13
[project @ 2006-07-22 08:31:16 by jwe]
author | jwe |
---|---|
date | Sat, 22 Jul 2006 08:31:17 +0000 |
parents | ce79d238f142 |
children | 0eac3484e8df |
line wrap: on
line diff
--- a/src/ov-base-scalar.h +++ b/src/ov-base-scalar.h @@ -104,6 +104,10 @@ bool print_name_tag (std::ostream& os, const std::string& name) const; + // Unsafe. This function exists to support the MEX interface. + // You should not use it anywhere else. + void *mex_get_data (void) const { return const_cast<ST *> (&scalar); } + protected: // The value of this scalar.