> On 8 Sep 2016, at 3:44 AM, Andreas Falkenhahn <andr...@falkenhahn.com> wrote:
> 
> How can I access "IMPORTANT_DATA_PTR" from within the block above?


You already did it. Variables are captured from the scope where the block is 
declared and “magically” get referenced within the block. So what you’ve 
written should work.

Have you tried it?

(You might want to more strongly type your parameters though, void* is a nasty 
idea).

—Graham
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to