change cocoa and core foundation types to be 64-bit clean
[factor/jcg.git] / unmaintained / io / io.factor
blob24151d96c6881f8459e59163d175a4237c8e69a1
1 USING: calendar io io-internals kernel math namespaces
2 nonblocking-io prettyprint quotations sequences ;
3 IN: libs-io
5 : bit-set? ( m n -- ? ) [ bitand ] keep = ; 
6 : set-bit ( m bit -- n ) bitor ;
7 : clear-bit ( m bit -- n ) bitnot bitand ;