Swift Beta 3 has no more CConstPointer
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