Mercurial > hg > octave-nkf
diff src/ov-fcn-handle.h @ 10324:7673850d6adf
make simple handles printed inline
author | Jaroslav Hajek <highegg@gmail.com> |
---|---|
date | Mon, 15 Feb 2010 08:55:46 +0100 |
parents | 21551cc88061 |
children | 4d1fc073fbb7 |
line wrap: on
line diff
--- a/src/ov-fcn-handle.h +++ b/src/ov-fcn-handle.h @@ -144,6 +144,9 @@ void print_raw (std::ostream& os, bool pr_as_read_syntax = false) const; + // Simple function handles are printed without a newline. + bool print_as_scalar (void) const { return nm != anonymous; } + private: bool set_fcn (const std::string &octaveroot, const std::string& fpath);