Complete includes and use typedef instead of #define

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/performance/trunk@31602 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Riccardo Mottola 2010-11-11 20:32:28 +00:00
parent 6c465a5ec3
commit ed730dcfa1
7 changed files with 15 additions and 3 deletions

View file

@ -2,6 +2,14 @@
* GSCache.m
use always class_getInstanceSize() on GNUSTEP for all runtimes and define a compatibility macro for old macs
* GSThreadPool.h
* GSLinkedList.h
* GSThreadPool.m
* GSSkipMutableArray.m
* GSIOThreadPool.h
* GSIOThreadPool.m
Complete includes and use typedef instead of #define
2010-11-11 Richard Frith-Macdonald <rfm@gnu.org>

View file

@ -25,7 +25,7 @@
#import <Foundation/NSObject.h>
#if !defined (GNUSTEP) && (MAC_OS_X_VERSION_MAX_ALLOWED <= MAC_OS_X_VERSION_10_4)
#define NSUInteger unsigned int
typedef unsigned int NSUInteger;
#endif
@class NSThread;

View file

@ -27,6 +27,7 @@
#import <Foundation/NSRunLoop.h>
#import <Foundation/NSThread.h>
#import <Foundation/NSTimer.h>
#import <Foundation/NSException.h>
#import "GSIOThreadPool.h"
@interface GSIOThread : NSThread

View file

@ -25,7 +25,7 @@
#import <Foundation/NSObject.h>
#if !defined (GNUSTEP) && (MAC_OS_X_VERSION_MAX_ALLOWED <= MAC_OS_X_VERSION_10_4)
#define NSUInteger unsigned int
typedef unsigned int NSUInteger;
#endif
@class GSLinkedList;

View file

@ -31,7 +31,7 @@
#import "GSIndexedSkipList.h"
#if !defined (GNUSTEP) && (MAC_OS_X_VERSION_MAX_ALLOWED <= MAC_OS_X_VERSION_10_4)
#define NSUInteger unsigned int
typedef unsigned int NSUInteger;
#endif
static Class abstractClass = 0;

View file

@ -23,6 +23,7 @@
Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111 USA.
*/
#import <Foundation/NSObject.h>
#import <Foundation/NSDate.h>
@class GSLinkedList;
@class NSLock;

View file

@ -1,7 +1,9 @@
#include "GSLinkedList.h"
#include "GSThreadPool.h"
#include <Foundation/NSAutoreleasePool.h>
#include <Foundation/NSLock.h>
#include <Foundation/NSThread.h>
#include <Foundation/NSException.h>
@class GSThreadPool;