gnustep-dev
[Top][All Lists]
Advanced

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

Re: Header cleanliness [was: removing the 'makeinstall'-->'makeall'depe


From: Alexander Malmberg
Subject: Re: Header cleanliness [was: removing the 'makeinstall'-->'makeall'dependency]
Date: Tue, 17 Dec 2002 12:37:44 +0100

David Ayers wrote:
> I really don't want to get off the topic too much but... :-)
> Another thing I keep wondering about, is whether libraries and
> frameworks (should/must) include thier own project headers with a
> prefix. i.e. why NSArray.m includes:
> 
> #include <Foundation/NSArray.h>
> instead of
> #include "NSArray.h"

Don't know about this one...

> and why NSArray.h includes:
> #include <Foundation/NSRange.h>
> instead of
> #include "NSRange.h"

...but headers are included by stuff outside -base itself, so they need
the prefix (ie. "NSRange.h" makes no sense in an app, and I don't think
the include paths should be changed to make it valid).

- Alexander Malmberg



reply via email to

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