On Jul 24, 2014, at 2:45 PM, Sean McBride <s...@rogue-research.com> 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 (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