[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [gnugo-devel] arend_1_26.5: owl callback fix
From: |
Gunnar Farneback |
Subject: |
Re: [gnugo-devel] arend_1_26.5: owl callback fix |
Date: |
Fri, 22 Feb 2002 08:03:42 +0100 |
User-agent: |
EMH/1.14.1 SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.3 Emacs/20.7 (sparc-sun-solaris2.7) (with unibyte mode) |
Arend wrote:
> > I think this can be simplified by including the safe_move_cache in the
> > local_owl_data struct.
> Unfortunately, this struct is not available in owl_shapes_callback. So I
> fear I have to stick with the ugly global variable
> current_owl_safe_move_cache.
The owl data is frequently used in autohelpers, so it would be very
strange if it couldn't be reached from the callback itself. This is
done through the global variable current_owl_data, so I don't think we
should need one more ugly global variable of this kind.
/Gunnar