diff src/ov-usr-fcn.h @ 7761:5adeea5de26c

symbol table reporting functions
author John W. Eaton <jwe@octave.org>
date Tue, 06 May 2008 05:51:17 -0400
parents 40c428ea3408
children 8447a5024650
line wrap: on
line diff
--- a/src/ov-usr-fcn.h	Tue May 06 03:23:12 2008 -0400
+++ b/src/ov-usr-fcn.h	Tue May 06 05:51:17 2008 -0400
@@ -91,6 +91,8 @@
 
   octave_function *function_value (bool = false) { return this; }
 
+  const octave_function *function_value (bool = false) const { return this; }
+
   octave_user_script *user_script_value (bool = false) { return this; }
 
   octave_user_code *user_code_value (bool = false) { return this; }
@@ -181,6 +183,8 @@
 
   octave_function *function_value (bool = false) { return this; }
 
+  const octave_function *function_value (bool = false) const { return this; }
+
   octave_user_function *user_function_value (bool = false) { return this; }
 
   octave_user_code *user_code_value (bool = false) { return this; }
@@ -225,6 +229,10 @@
 
   bool takes_var_return (void) const;
 
+  void lock_subfunctions (void);
+
+  void unlock_subfunctions (void);
+
   octave_value_list octave_all_va_args (void);
 
   void stash_function_name (const std::string& s) { my_name = s; }