Mercurial > hg > octave-jordi
diff src/ov-fcn-handle.h @ 9463:d34baf412786
support non-local function lookups in str2func
author | Jaroslav Hajek <highegg@gmail.com> |
---|---|
date | Mon, 27 Jul 2009 10:39:09 +0200 (2009-07-27) |
parents | cf714e75c656 |
children | b3089dba88bf |
line wrap: on
line diff
--- a/src/ov-fcn-handle.h +++ b/src/ov-fcn-handle.h @@ -145,10 +145,11 @@ // to dispatch at all. std::auto_ptr<str_ov_map> disp; - friend octave_value make_fcn_handle (const std::string &); + friend octave_value make_fcn_handle (const std::string &, bool); }; -extern octave_value make_fcn_handle (const std::string& nm); +extern octave_value make_fcn_handle (const std::string& nm, + bool local_funcs = true); #endif