Re: incorrect checksum for freed object
Re: incorrect checksum for freed object
- Subject: Re: incorrect checksum for freed object
- From: "email@hidden" <email@hidden>
- Date: Sat, 1 Aug 2009 09:07:42 -0700
At 6:31 PM -0700 7/31/09, Shawn Erickson wrote:
On Fri, Jul 31, 2009 at 3:39 PM, email@hidden<email@hidden> wrote:
where interface and device are declared as follows:
@property ( assign, nonatomic) IOUSBDeviceInterface300** device;
@property ( assign, nonatomic) IOUSBInterfaceInterface300**
interface;
Why are you use a pointer to a pointer (**) in above? I ask because
doing so seems a little strange and hence leads me to think you may
have a misunderstanding of pointers, etc. in some of the API you are
calling.
-Shawn
i'm using pointer to pointer (sometimes called handles) because that
is what is required when using the usb aspects of the IOKit as
demonstated in apple's sample code.
ken
_______________________________________________
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:
This email sent to email@hidden