Mercurial > hg > octave-lyh
diff src/ov.h @ 2427:2f50b24ce84f
[project @ 1996-10-25 06:15:28 by jwe]
author | jwe |
---|---|
date | Fri, 25 Oct 1996 06:15:50 +0000 |
parents | de430cdd9234 |
children | 1573640a9994 |
line wrap: on
line diff
--- a/src/ov.h +++ b/src/ov.h @@ -59,19 +59,25 @@ octave_xvalue (void) { } }; +class octave_value; + +// XXX FIXME XXX -- these should probably really be inside the scope +// of the octave_value class, but the cygwin32 beta16 version of g++ +// can't handlt that. + +typedef octave_value (*binary_op_fcn) + (const octave_value&, const octave_value&); + +typedef octave_value (*assign_op_fcn) + (octave_value&, const octave_value_list&, const octave_value&); + +typedef octave_value * (*type_conv_fcn) (const octave_value&); + class octave_value { public: - typedef octave_value (*binary_op_fcn) - (const octave_value&, const octave_value&); - - typedef octave_value (*assign_op_fcn) - (octave_value&, const octave_value_list&, const octave_value&); - - typedef octave_value * (*type_conv_fcn) (const octave_value&); - enum binary_op { add,