Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSUInteger not recognized




Le 8 nov. 07 à 19:43, Jason Horn a écrit :

I'm trying to use the getPixel method of NSBitmapImageRep

- (void)getPixel:(NSUInteger[])pixelData atX:(NSInteger)x y: (NSInteger)y

As you can see, it calls for an NSUInteger[]. If I declare one, like so:

NSUInteger *data;

the compiler gives an error:

"error: 'NSUInteger' undeclared..."


Any Ideas?

- Jason

Which SDK are you using? NSUInteger is not declared in SDK previous to Mac OS X.5.
Check you project settings.
_______________________________________________


Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden
References: 
 >NSUInteger not recognized (From: Jason Horn <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.