Branch: Tag:

2002-01-29

2002-01-29 15:30:43 by Martin Stjernholm <mast@lysator.liu.se>

Discarded some catches that ignored all sorts of errors in the change
callbacks.

Rev: server/etc/modules/Variable.pmod/module.pmod:1.74

1: - // $Id: module.pmod,v 1.73 2001/11/21 15:47:57 grubba Exp $ + // $Id: module.pmod,v 1.74 2002/01/29 15:30:43 mast Exp $      #include <module.h>   #include <roxen.h>
430:    {    changed_values[ _id ] = to;    if( get_changed_callback() ) -  catch( get_changed_callback()( this_object() ) ); +  get_changed_callback()( this_object() );    return 1;    }    else    {    m_delete( changed_values, _id );    if( get_changed_callback() ) -  catch( get_changed_callback()( this_object() ) ); +  get_changed_callback()( this_object() );    return -1;    }    }