• 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
Re: C arrays as __block variables
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: C arrays as __block variables


  • Subject: Re: C arrays as __block variables
  • From: Bill Bumgarner <email@hidden>
  • Date: Sat, 26 Jun 2010 20:16:09 -0700

On Jun 26, 2010, at 7:48 PM, Tony Romano wrote:

> hmmm.  Your saying this doesn't work?
>
> 		NSBlockOperation * foo = [NSBlockOperation blockOperationWithBlock:^{
> 			__block char array1[5];
>
> 			array1[0] = 'T';
> 		}];
>
>
> It works fine for me.  Are you saying something different?

No -- that works fine.  That is a different expression than the one OP posted.

b.bum
_______________________________________________

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: C arrays as __block variables
      • From: Tony Romano <email@hidden>
References: 
 >C arrays as __block variables (From: Matt Neuburg <email@hidden>)
 >Re: C arrays as __block variables (From: Bill Bumgarner <email@hidden>)
 >Re: C arrays as __block variables (From: Tony Romano <email@hidden>)

  • Prev by Date: Re: C arrays as __block variables
  • Next by Date: Re: C arrays as __block variables
  • Previous by thread: Re: C arrays as __block variables
  • Next by thread: Re: C arrays as __block variables
  • Index(es):
    • Date
    • Thread