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: [Q] [NSValue valueWithBytes: objCType:]



Hello.

Well, I did review the code as usual.
It is interesting that the exactly same memory blocks were allocated for the interested data and dataDesc.
So, it looked like that it is referenced, although they were not.


Thanks.

Jens Alfke wrote:
Something's fundamentally wrong with your code, in that data you think you're copying is really just being referenced through a pointer. I'm sorry, but you posted a lot of stuff and I'm not going to read through it all to debug it for you. You need to do some code review on your own.

—Jens

_______________________________________________

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: 
 >[Q] [NSValue valueWithBytes: objCType:] (From: JongAm Park <email@hidden>)
 >Re: [Q] [NSValue valueWithBytes: objCType:] (From: Jens Alfke <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.