Re: Help with NSPointerArray and NSMapTable
Jonathan Dann <[email protected]>
| Newsgroups | gmane.comp.macosx.devel |
|---|---|
| Message-ID | <[email protected]> |
On 23 Sep 2009, at 01:10, Christiaan Hofman wrote: [snip] > Right, that's basically what I proposed as well. So I also need to > use this for simple types like CGFloat that are not pointer-sized? Yep. [snip] > Nice samples, that surely helps. Thanks. I just find it confusing > that for NSInteger it works differently. Though I guess I could do > the same. No problem. When you're doing this, you're not casting an integer to a pointer, so AFAICT the caveats in the 64-bit docs don't apply here. Jonathan