Mercurial > octave
diff src/ov.h @ 4654:a9b22513b7a6
[project @ 2003-11-24 18:56:35 by jwe]
author | jwe |
---|---|
date | Mon, 24 Nov 2003 18:56:35 +0000 |
parents | bd2067547b40 |
children | 12b6fbd57436 |
line wrap: on
line diff
--- a/src/ov.h Mon Nov 24 05:02:46 2003 +0000 +++ b/src/ov.h Mon Nov 24 18:56:35 2003 +0000 @@ -42,6 +42,7 @@ #include "str-vec.h" class Cell; +class fcn_handle_array; class streamoff_array; class Octave_map; class octave_stream; @@ -213,7 +214,8 @@ octave_value (const octave_stream& s, int n); octave_value (const streamoff_array& off); octave_value (octave_function *f); - octave_value (const octave_fcn_handle& fh); + octave_value (const fcn_handle_array& fha); + octave_value (octave_function *f, const std::string &nm); // function handle octave_value (const octave_value_list& m, bool is_cs_list = false); octave_value (octave_value::magic_colon); octave_value (octave_value::all_va_args); @@ -452,6 +454,9 @@ virtual bool is_constant (void) const { return rep->is_constant (); } + virtual bool is_function_handle (void) const + { return rep->is_function_handle (); } + virtual bool is_function (void) const { return rep->is_function (); }