gnugo-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [gnugo-devel] switching to multiple boards


From: Paul Pogonyshev
Subject: Re: [gnugo-devel] switching to multiple boards
Date: Mon, 11 Apr 2005 17:23:02 +0300
User-agent: KMail/1.4.3

Dave Denholm wrote:

> > If we go at it, we should probably create a CVS branch (or will
> > that be a Subversion branch?), since the task seems to be _very_
> > large and the multi-board version will be in non-working state for
> > (very) long time.  For the start, it is absolutely necessary to
> > make `libboard' compile and at this stage cooperation is hardly
> > possible.  Later, it will be possible that several of us work on
> > separate modules, converting them more or less independently.
>
> Can it be done incrementaly by using #define to map an existing name
> to an element in the global structure ?

I doubt.  You cannot do something like

#define board (game->board)

because of the infinite loop.  We could use different names for the
fields, though.  Anyway, it generally looks like a very unclean solution
to me.

Paul





reply via email to

[Prev in Thread] Current Thread [Next in Thread]