gnugo-devel
[Top][All Lists]
Advanced

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

Re: [gnugo-devel] libboard and board.h


From: Inge Wallin
Subject: Re: [gnugo-devel] libboard and board.h
Date: Sun, 3 Aug 2003 06:50:00 -0400 (EDT)

Arend wrote:
> Instead of including liberty.h, these files should
> include a new header file board.h. This should declare all public
> functions of these 5 files. liberty.h will then include board.h.
> 
> This should make these layers more transparent (I was pretty
> confused when I stumble over the enforcement at link time). Also, if
> someone wanted to use the board library in his own program, he would
> have a clear-defined interface by including board.h.
> 
> Objections?

No, it is a nice way of making the code clearer.  I say: Go ahead.

    -Inge




reply via email to

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