Re: Handle data disappearing out from underneath me
Re: Handle data disappearing out from underneath me
- Subject: Re: Handle data disappearing out from underneath me
- From: glenn andreas <email@hidden>
- Date: Sun, 8 Apr 2007 10:01:45 -0500
On Apr 8, 2007, at 9:48 AM, Ken Tozier wrote:
NSData *slugData = [NSData dataWithBytes: inSlugHandle length:
GetHandleSize(inSlugHandle)];
You are using bytes starting at the master pointer - not the data
contained in the handle (since a handle is a pointer to a pointer to
the data)
You need to use [NSData dataWithBytes: *inSlugHandle length:
GetHandleSize(inSlugHandle)]
Glenn Andreas email@hidden
<http://www.gandreas.com/> wicked fun!
quadrium2 | build, mutate, evolve, animate | images, textures,
fractals, art
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden