• 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
method declaration error
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

method declaration error


  • Subject: method declaration error
  • From: Nick Rogers <email@hidden>
  • Date: Thu, 27 Mar 2008 17:51:13 +0530

i'm declaring the following method:

- (BOOL)searchNodeTarget:(const ItemType)target
		location:(int &)location;

with error: "parse error before '&' token".

can we not use (int &) this way?

Thanks,
Nick

_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:
This email sent to email@hidden


  • Follow-Ups:
    • Re: method declaration error
      • From: "Jonathan del Strother" <email@hidden>
  • Prev by Date: Master-Slave Display Exception - Cannot remove an observer
  • Next by Date: Rép : method declaration error
  • Previous by thread: Master-Slave Display Exception - Cannot remove an observer
  • Next by thread: Re: method declaration error
  • Index(es):
    • Date
    • Thread