diff src/ov.h @ 7876:8447a5024650

clear subfunctions when clearing parent function
author John W. Eaton <jwe@octave.org>
date Fri, 06 Jun 2008 15:04:12 -0400
parents 5861b95e9879
children f336dd8e96d0
line wrap: on
line diff
--- a/src/ov.h	Fri Jun 06 11:35:10 2008 -0400
+++ b/src/ov.h	Fri Jun 06 15:04:12 2008 -0400
@@ -613,6 +613,8 @@
   bool is_mex_function (void) const
     { return rep->is_mex_function (); }
 
+  void erase_subfunctions (void) { rep->erase_subfunctions (); }
+
   // Values.
 
   octave_value eval (void) { return *this; }