3. bzero(individual + individualIvarsOffset, individualIvarsSize);

This should cast "individual" to void* before doing the pointer arithmetic, of course.

So, thoughts? Am I insane? Is the above scheme safe? Is there a better way? Thanks for any feedback!

I should note that the scheme described does appear to work correctly on 10.5, at least.

Ben Haller
McGill University


_______________________________________________

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