passing pointers
passing pointers
- Subject: passing pointers
- From: Aaron Boothello <email@hidden>
- Date: Mon, 30 Dec 2002 04:29:41 -0500
I'm trying to return the address of an object from a class.
decleration:
- (object *) function:(id)sender;
implementation:
-(object *) function:(id)sender
{
return *obj;
}
call:
obj2 = [outlet function];
what am i doing wrong ? Thanks.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.