On Mar 28, 2008, at 10:00 AM, Alastair Houghton wrote:
To answer your actual question, you might write:

 - (void)function2:(NSNumber **)value
 {
   *value = [NSNumber numberWithBool:YES];
 }


Careful about that - if value is NULL, then that will cause a crash. That's why you have to check to make sure value is not NULL first.

Nick Zitzmann
<http://www.chronosnet.com/>




_______________________________________________

Cocoa-dev mailing list ([email protected])

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 [EMAIL PROTECTED]

Reply via email to