static void declaration in apple example code
static void declaration in apple example code
- Subject: static void declaration in apple example code
- From: Boris Dobroslav <email@hidden>
- Date: Sun, 23 Sep 2012 01:46:24 +0200
Hi,
I'm perplexed by one line that appears in the file AVSPDocument.h from the apple example code project AVSimplePlayer:
staticvoid *AVSPPlayerItemStatusContext = &AVSPPlayerItemStatusContext;
This definition appears outside of Objective-C @interface or @implementation, so it must be pure C. But isn't it self-referential? Is it a C idiom? Any pointers would be appreciated.
Thanks.
_______________________________________________
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