[DGD] Maximum delay on call_outs?

Mikael Lind mikkelin at gmail.com
Thu Jul 19 20:59:48 CEST 2007


On 19/07/07, Rev Dr Ari D Jordon <x262sm102 at sneakemail.com> wrote:
> Well, call_out() is returning a positive value. However, reread the
> call_out doc yet again and noticed a bit I'd missed before, about the
> function not being private.  Whoops.  Changed that, and hopefully will work
> now.  This does raise the question of how to prevent said function being
> called by anything other than the call_out.  I'm guessing checking
> this_object() against previous_object()?

Declare your function static to hide it from other objects. It can
still be called locally (from the same object) with direct calls,
call_other(), and call_out().

Regards,
Mikael



More information about the DGD mailing list