[DGD] obtaining object in extension system

RobF squaretriangle at hotmail.co.uk
Thu Nov 17 14:45:35 CET 2011


On 17/11/2011 13:25, Felix A. Croes wrote:
> I see.  1.2.143 is from February 2008, but DGD_OBJECT_GETVAL was
> removed later that year.  Getting an object from a value can have
> the side effect, in Hydra, of immediately cancelling the task (because
> the object may not exist).  I did not want to expose the cancellation
> framework to the extension interface, so I decided to remove all such
> unsafe functions.
>

Fair enough.  Is there likely to be any workaround in future or will 
extensions always be crippled in this way?  If it's limited to hydra 
couldn't it do an #ifndef HYDRA condition or so in the dgd source (from 
which, I assume, hydra inherits), adding the functions only in a regular 
dgd build?  I guess this is more work than I make it sound...?



More information about the DGD mailing list