I want to make an NSArray type container to store some handles in, they're just void* c pointers. I don't need them managed in any way, I can deal with removing the handles from the NSArray before deletion and cleaning them up, I really just want to use an NSArray as a convenient place to dump spare handles in an object I'm familiar with and wanted to use a simple syntax like [ [ NSCrapPointerKeeper alloc ] initWithPointer:<your void* here> ] and stuff it in an NSArray

Is there a simple already-available wrapper for a void* I can use which doesn't even attempt to do any memory management, I failed to find one? I looked at NSPointerArray, which might actually do what I want, but was a little put off by the personality and memory management options.

Thanks
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to