• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: incorrect checksum for freed object
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: incorrect checksum for freed object
      • From: Scott Ribe <email@hidden>
  • Prev by Date: Re: How to set the name of open-with application for a specific file?
  • Next by Date: Re: Core Data App With Auxiliary Panel
  • Previous by thread: Re: How to set the name of open-with application for a specific file?
  • Next by thread: Re: incorrect checksum for freed object
  • Index(es):
    • Date
    • Thread