• 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
Swift Beta 3 has no more CConstPointer
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Swift Beta 3 has no more CConstPointer


  • Subject: Swift Beta 3 has no more CConstPointer
  • From: "Gerriet M. Denkmann" <email@hidden>
  • Date: Tue, 08 Jul 2014 14:00:08 +0700

This worked in Swift Beta 2. But Beta 3 complains	Error: Use of undeclared type 'CConstPointer'

let zerosArrayPointer : CConstPointer<Int> = appDelegate!.halHelper.zerosArray
let zerosArray = UnsafePointer<Int>(zerosArrayPointer)

halHelper.zerosArray returns a pointer to: NSUInteger zerosArray[256];

This is the way I used to use this:
	localCount += UInt( zerosArray[ Int(oneByte) ] )


What to do now?

Gerriet.


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Follow-Ups:
    • Re: Swift Beta 3 has no more CConstPointer
      • From: Roland King <email@hidden>
  • Prev by Date: Swift Beta 3 error
  • Next by Date: Re: Swift Beta 3 has no more CConstPointer
  • Previous by thread: Re: Swift Beta 3 error
  • Next by thread: Re: Swift Beta 3 has no more CConstPointer
  • Index(es):
    • Date
    • Thread