• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
passing pointers
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.
  • Follow-Ups:
    • Re: passing pointers
      • From: David Rio Vierra <email@hidden>
  • Prev by Date: How to update a minimized windows dock icon?
  • Next by Date: combo box in table view
  • Previous by thread: How to update a minimized windows dock icon?
  • Next by thread: Re: passing pointers
  • Index(es):
    • Date
    • Thread