Mercurial > hg > octave-jordi
diff src/graphics.h.in @ 7824:adb520646d7e
Fix execution of callback strings and allow execution of callback by name.
author | Michael Goffioul <michael.goffioul@gmail.com> |
---|---|
date | Fri, 08 Feb 2008 16:46:34 +0100 |
parents | edbaa13397ee |
children | 68550ad9ee9c |
line wrap: on
line diff
--- a/src/graphics.h.in +++ b/src/graphics.h.in @@ -985,6 +985,11 @@ OCTINTERP_API void execute (const octave_value& data = octave_value ()) const; + OCTINTERP_API static + void execute (const octave_value& cb, const graphics_handle& h, + const octave_value& data = octave_value ()); + + callback_property& operator = (const octave_value& val) { set (val);