diff src/ov-mapper.cc @ 5743:a527e0f77aa5

[project @ 2006-04-06 08:20:21 by jwe]
author jwe
date Thu, 06 Apr 2006 08:20:23 +0000
parents 69a4f320d95a
children ace8d8d26933
line wrap: on
line diff
--- a/src/ov-mapper.cc
+++ b/src/ov-mapper.cc
@@ -445,11 +445,9 @@
 	{
 	  unwind_protect::begin_frame ("mapper_func_eval");
 
-	  unwind_protect_ptr (curr_function);
-	  unwind_protect_ptr (curr_caller_function);
+	  octave_call_stack::push (this);
 
-	  curr_caller_function = curr_function;
-	  curr_function = this;
+	  unwind_protect::add (octave_call_stack::unwind_pop, 0);
 
 	  retval = apply (args(0));