Re: [gnome-db] gda-decl.h

On 11/30/06, Murray Cumming <murrayc murrayc com> wrote:
On Thu, 2006-11-30 at 14:51 +0100, Vivien Malerba wrote:
> On 11/30/06, Murray Cumming <murrayc murrayc com> wrote:
> > Why on earth are all the struct prototype declarations in gda-decl.h
> > instead of the headers of their classes?
> To make it easy for the header files inclusion for example when A.h
> needs some declaration in B.h and B.h needs some which is A.h (I don't
> have any precise example at hand but there must be some).

In this case (circular includes), the prototype declaration for A or B
should just be repeated.

I'm going to put these prototypes declarations in their normal places,
if you don't object. If it builds while doing this normally, then I will
have proved that it's not necessary.

Ok, great!


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