mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-29 16:01:38 +00:00
Simplify header inclusion
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29669 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
14a557fcd7
commit
7cc69dfaae
185 changed files with 245 additions and 425 deletions
27
Source/common.h
Normal file
27
Source/common.h
Normal file
|
@ -0,0 +1,27 @@
|
|||
/* Header file for all objective-c code in the base library.
|
||||
* This imports all the common headers in a consistent order such that
|
||||
* we can be sure only local headers are used rather than any which
|
||||
* might be from an earlier build.
|
||||
*/
|
||||
|
||||
#import "config.h"
|
||||
|
||||
#import "GNUstepBase/GSConfig.h"
|
||||
#import "GNUstepBase/preface.h"
|
||||
|
||||
/* Foundation/NSObject.h imports <Foundation/NSZone.h> and
|
||||
* <Foundation/NSObjCRuntime.h> so we import local versions first.
|
||||
*/
|
||||
#import "Foundation/NSZone.h"
|
||||
#import "Foundation/NSObjCRuntime.h"
|
||||
|
||||
/* Almost all headers import <Foundation/NSObject.h> so we import
|
||||
* "Foundation/NSObject.h" first, to ensure we have a local copy.
|
||||
*/
|
||||
#import "Foundation/NSObject.h"
|
||||
|
||||
/* These headers are used in almost every file.
|
||||
*/
|
||||
#import "Foundation/NSString.h"
|
||||
#import "Foundation/NSDebug.h"
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue