octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Graphics properties implementation


From: John W. Eaton
Subject: Re: Graphics properties implementation
Date: Mon, 14 Jan 2008 03:57:47 -0500

On 13-Jan-2008, Michael Goffioul wrote:

| The attached patch:
| - implements callback execution
| - call deletefcn callback on object destruction
| - fix some default values to avoid undefined octave_value being returned
| to octave

I checked it in with the following ChangeLog entry.

  2008-01-14  Michael Goffioul <address@hidden>

          * genprops.awk (emit_get_callback): Pass user data to execute method.
          * graphics.cc (execute_callback): New static function.
          (callback_property::validate): Make it work.
          (callback_property::execute): Make it work.
          (gh_manager::do_free): Execute delete function here.
          * graphics.h.in (callback_property::execute): Fix decl.
          (base_properties::buttondownfcn, base_properties::createfcn,
          base_properties::deletefcn, base_properties::userdata): Default
          value is empty Matrix, not undefined octave_value object.
          (base_properties::execute_createfcn): New function.
          (base_properties::execute_deletefcn): New function.

Thanks,

jwe


reply via email to

[Prev in Thread] Current Thread [Next in Thread]