Header tidyups, particularly updating of version compatibility macros.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@24000 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2006-10-31 07:05:46 +00:00
parent 39944dd5e9
commit 57a828c7c7
113 changed files with 884 additions and 641 deletions

View file

@ -18,23 +18,25 @@
You should have received a copy of the GNU Library General Public
License along with this library; if not, write to the Free
Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
MA 02111 USA.
Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02111 USA.
*/
#ifndef __NSNull_h_GNUSTEP_BASE_INCLUDE
#define __NSNull_h_GNUSTEP_BASE_INCLUDE
#import <GNUstepBase/GSVersionMacros.h>
/*
* An object to use as a placeholder - in collections for instance.
*/
#ifndef NO_MACOS_X
#include <Foundation/NSObject.h>
#if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
#import <Foundation/NSObject.h>
#if defined(__cplusplus)
extern "C" {
#endif
/*
* An object to use as a placeholder - in collections for instance.
*/
@interface NSNull : NSObject <NSCoding, NSCopying>
+ (NSNull*) null;
@end
@ -43,6 +45,6 @@ extern "C" {
}
#endif
#endif
#endif /* GS_API_MACOSX */
#endif /* __NSNull_h_GNUSTEP_BASE_INCLUDE */
#endif /* __NSNull_h_GNUSTEP_BASE_INCLUDE */