Mercurial > hg > octave-lyh
comparison src/graphics.cc @ 7373:f350da755600
[project @ 2008-01-14 20:12:42 by jwe]
author | jwe |
---|---|
date | Mon, 14 Jan 2008 20:12:42 +0000 |
parents | 74d64ead0cd7 |
children | 3771971e8891 |
comparison
equal
deleted
inserted
replaced
7372:c51426c80045 | 7373:f350da755600 |
---|---|
181 for (int i = 0; i < c.length () ; i++) | 181 for (int i = 0; i < c.length () ; i++) |
182 args(2+i) = c(i); | 182 args(2+i) = c(i); |
183 } | 183 } |
184 } | 184 } |
185 else | 185 else |
186 error ("trying to execute non-executable object (class = %s)", | 186 { |
187 cb.class_name ()); | 187 std::string nm = cb.class_name (); |
188 error ("trying to execute non-executable object (class = %s)", | |
189 nm.c_str ()); | |
190 } | |
188 | 191 |
189 if (! error_state) | 192 if (! error_state) |
190 feval (fcn, args); | 193 feval (fcn, args); |
191 | 194 |
192 END_INTERRUPT_WITH_EXCEPTIONS; | 195 END_INTERRUPT_WITH_EXCEPTIONS; |