diff src/ov.h @ 7719:87eda1f8faaa

octave_user_code: new base class for octave_user_script and octave_user_function
author John W. Eaton <jwe@octave.org>
date Wed, 16 Apr 2008 22:08:15 -0400
parents 2df457529cfa
children 39930366b709
line wrap: on
line diff
--- a/src/ov.h	Wed Apr 16 21:50:59 2008 -0400
+++ b/src/ov.h	Wed Apr 16 22:08:15 2008 -0400
@@ -571,6 +571,9 @@
   bool is_user_function (void) const
     { return rep->is_user_function (); }
 
+  bool is_user_code (void) const
+    { return rep->is_user_code (); }
+
   bool is_builtin_function (void) const
     { return rep->is_builtin_function (); }
 
@@ -739,6 +742,10 @@
 
   octave_user_function *user_function_value (bool silent = false);
 
+  octave_user_script *user_script_value (bool silent = false);
+
+  octave_user_code *user_code_value (bool silent = false);
+
   octave_fcn_handle *fcn_handle_value (bool silent = false);
 
   octave_fcn_inline *fcn_inline_value (bool silent = false);