]> gitweb.factorcode.org Git - factor.git/blobdiff - basis/windows/handles/handles.factor
Make sure io.backend.windows loads the implementations for the generics it defines...
[factor.git] / basis / windows / handles / handles.factor
index 70ffdf80a61730c66521b09e78d0cf3f553f2117..07d6c8f5d2fd66eb02c01dbf15f3966b6f45beed 100644 (file)
@@ -1,6 +1,6 @@
 ! Copyright (C) 2010 Doug Coleman.
 ! See http://factorcode.org/license.txt for BSD license.
-USING: accessors destructors io.timeouts kernel windows.errors
+USING: accessors destructors kernel windows.errors
 windows.kernel32 windows.types ;
 IN: windows.handles
 
@@ -19,11 +19,3 @@ TUPLE: win32-handle < disposable handle ;
 
 M: win32-handle dispose* ( handle -- )
     handle>> CloseHandle win32-error=0/f ;
-
-TUPLE: win32-file < win32-handle ptr ;
-
-: <win32-file> ( handle -- win32-file )
-    win32-file new-win32-handle ;
-
-M: win32-file dispose
-    [ cancel-operation ] [ call-next-method ] bi ;