[Pharo-project] Fwd: [squeak-dev] I really miss a binary bitOr: selector for integers
May 18, 2010
7:50 a.m.
send code with a nice comments and a test and it will be in 1.1 :)
Stef
On May 18, 2010, at 3:26 AM, Igor Stasenko wrote:
Hello, C world using bitor-s extensively for passing various flags and options.
And porting the code looks really awful with #bitOr: , because it requires braces when you combining more than 2 flags.
Can we , please , please, include #| as an alternative selector for bitor-ing integers into a kernel?
Btw, Alien alredy adds it as extension. But i would really like to get it into the core, so any other may use it.
Meanwhile, i defined own awfull extension selector - #++
-- Best regards, Igor Stasenko AKA sig.
5918
Age (days ago)
5918
Last active (days ago)
0 comments
1 participants
participants (1)
-
Stéphane Ducasse