diff src/ov.cc @ 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 443a8f5a50fd
children 5adeea5de26c
line wrap: on
line diff
--- a/src/ov.cc	Wed Apr 16 21:50:59 2008 -0400
+++ b/src/ov.cc	Wed Apr 16 22:08:15 2008 -0400
@@ -1151,6 +1151,18 @@
   return rep->user_function_value (silent);
 }
 
+octave_user_script *
+octave_value::user_script_value (bool silent)
+{
+  return rep->user_script_value (silent);
+}
+
+octave_user_code *
+octave_value::user_code_value (bool silent)
+{
+  return rep->user_code_value (silent);
+}
+
 octave_fcn_handle *
 octave_value::fcn_handle_value (bool silent)
 {