diff src/pt-misc.h @ 9644:080e11f1b0c1

don't return undefined output values from user functions
author Jaroslav Hajek <highegg@gmail.com>
date Tue, 15 Sep 2009 17:17:13 +0200
parents eb63fbe60fab
children cd96d29c5efa
line wrap: on
line diff
--- a/src/pt-misc.h
+++ b/src/pt-misc.h
@@ -79,7 +79,7 @@
 
   bool is_defined (void);
 
-  octave_value_list convert_to_const_vector (const Cell& varargout);
+  octave_value_list convert_to_const_vector (int nargout, const Cell& varargout);
 
   tree_parameter_list *dup (symbol_table::scope_id scope,
 			    symbol_table::context_id context) const;