Le 27 nov. 2012 à 21:40, Chan Maxthon a écrit :

> Never mind - it turned out to be too big a thing to work on. Do you guys 
> imply int typedef'd to NSInteger and unsigned int to NSUInteger?

For GNUstep (from 
http://svn.gna.org/svn/gnustep/libs/base/trunk/Headers/Foundation/NSObjCRuntime.h):

typedef intptr_t        NSInteger;
typedef uintptr_t       NSUInteger;

For Mac OS X:

#if __LP64__ || TARGET_OS_EMBEDDED || TARGET_OS_IPHONE || TARGET_OS_WIN32 || 
NS_BUILD_32_LIKE_64
typedef long NSInteger;
#else
typedef int NSInteger;
#endif

#if __LP64__ || TARGET_OS_EMBEDDED || TARGET_OS_IPHONE || TARGET_OS_WIN32 || 
NS_BUILD_32_LIKE_64
typedef unsigned long NSUInteger;
#else
typedef unsigned int NSUInteger;
#endif

Cheers,
Quentin.
_______________________________________________
Etoile-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/etoile-discuss

Répondre à