pike.git / lib / modules / Function.pmod

version» Context lines:

pike.git/lib/modules/Function.pmod:99:   //! @endcode   //! equals   //! @code   //! {   //! mixed err=catch { if (the_callback) the_callback(some,arguments); };   //! if (err) master()->handle_error(err);   //! }   //! @endcode   //! (Approximately, since call_callback also calls handle_error   //! if 0 were thrown.) -  +    void call_callback(function f,mixed ... args)   {    if (!f) return;    mixed err=catch { f(@args); return; };    master()->handle_error(err);   } -  +