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
parents cf714e75c656
children b3089dba88bf
line wrap: on
line diff
--- a/src/ov-fcn-handle.h	Mon Jul 27 08:34:54 2009 +0200
+++ b/src/ov-fcn-handle.h	Mon Jul 27 10:39:09 2009 +0200
@@ -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