| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
Set newObject->isa = self; (i.e. the class being allocated). Zero out all other bytes belonging to newObject. That's all the runtime needs, and all other initialization is handled by whatever -init methods the class uses.
- Ladd
_______________________________________________ Do not post admin requests to the list. They will be ignored. Objc-language mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/objc-language/email@hidden
| References: | |
| >custom memory allocations (From: Niko Matsakis <email@hidden>) | |
| >Re: custom memory allocations (From: Greg Parker <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.