• 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
confused by what seems to be a recursive declaration/definition
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

confused by what seems to be a recursive declaration/definition


  • Subject: confused by what seems to be a recursive declaration/definition
  • From: Luther Baker <email@hidden>
  • Date: Thu, 11 Aug 2011 18:10:44 -0500

What is this statement actually doing?

static void *AVPlayerDemoPlaybackViewControllerRateObservationContext = &
AVPlayerDemoPlaybackViewControllerRateObservationContext;

Isn't the right side evaluated first? But it doesn't yet exist? It compiles
... but seems to be a recursive definition??

http://developer.apple.com/library/ios/#samplecode/AVPlayerDemo/Listings/Classes_AVPlayerDemoPlaybackViewController_m.html#//apple_ref/doc/uid/DTS40010101-Classes_AVPlayerDemoPlaybackViewController_m-DontLinkElementID_8

Thanks,
-Luther
_______________________________________________

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: confused by what seems to be a recursive declaration/definition
      • From: William Squires <email@hidden>
    • Re: confused by what seems to be a recursive declaration/definition
      • From: Jens Alfke <email@hidden>
  • Prev by Date: connections appears to be not closing
  • Next by Date: File Copy With Progress?
  • Previous by thread: Re: connections appears to be not closing
  • Next by thread: Re: confused by what seems to be a recursive declaration/definition
  • Index(es):
    • Date
    • Thread