Re: NSStream's enum of NSStreamEventEndEncountered.
Re: NSStream's enum of NSStreamEventEndEncountered.
- Subject: Re: NSStream's enum of NSStreamEventEndEncountered.
- From: edward taffel <email@hidden>
- Date: Thu, 24 Jul 2014 14:58:14 -0400
On Jul 24, 2014, at 2:45 PM, Sean McBride <email@hidden> wrote:
> On Thu, 24 Jul 2014 14:05:17 -0400, Alex Zavatone said:
>
>> If I change
>>
>> case NSStreamEventEndEncountered:
>>
>> to
>>
>> case 4:
>>
>> the event is caught.
>>
>> Since NSStreamEventEndEncountered is supposed to = 1UL << 4 in the
>> NSStream header, does anyone have any idea what's going on here?
>
> Um, 1<<4 != 4. :)
the first time i’ve seen this header: is there any point in shifting 0?
NSStreamEventOpenCompleted = 1 << 0,
a point of style?
_______________________________________________
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