Can somebody point me to the documentation for the "C function API" referred to above? I was hoping to find a CFMapTable but I suppose that would be too obvious :)
Type NSMapTable into Xcode and command-double click on it to open NSMapTable.h. The functions are all in the header.
They're also documented in Foundation reference: http://developer.apple.com/documentation/Cocoa/Reference/Foundation/Miscellaneous/Foundation_DataTypes/Reference/reference.html
Are there any known simple examples of using NSMapTable with C pointers as keys?
I doubt it. It's pretty straightforward.
As for type casting, does this simply mean that I need to cast my key and value C pointer types to id in order for the compiler to accept them as message arguments?
Yes. -- Seth Willits _______________________________________________ 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