]> gitweb.factorcode.org Git - factor.git/blobdiff - basis/alien/libraries/finder/windows/windows.factor
alien.c-types: not necessary to import `short` differently anymore
[factor.git] / basis / alien / libraries / finder / windows / windows.factor
index e9a5202ce230bf6d32d99de0b393a48caf507d3c..8272bd7737abd9d9883cf33733d12230280451a6 100644 (file)
@@ -1,14 +1,12 @@
 ! Copyright (C) 2013 Björn Lindqvist, John Benediktsson
 ! See http://factorcode.org/license.txt for BSD license
 
-USING: alien.data alien.libraries.finder alien.strings arrays
-byte-arrays combinators.short-circuit environment io.backend
-io.files io.files.info io.pathnames kernel sequences
+USING: alien.c-types alien.data alien.libraries.finder
+alien.strings arrays combinators.short-circuit environment
+io.backend io.files io.files.info io.pathnames kernel sequences
 specialized-arrays splitting system system-info.windows
-windows.kernel32 windows.types ;
-FROM: alien.c-types => ushort ;
+windows.kernel32 ;
 SPECIALIZED-ARRAY: ushort
-
 IN: alien.libraries.finder.windows
 
 <PRIVATE
@@ -32,7 +30,7 @@ IN: alien.libraries.finder.windows
 
 : find-library-paths ( name -- path/f )
     candidate-paths [
-        { [ exists? ] [ file-info regular-file? ] } 1&&
+        { [ file-exists? ] [ file-info regular-file? ] } 1&&
     ] find nip ;
 
 : find-library-file ( name -- path/f )