]> gitweb.factorcode.org Git - factor.git/commitdiff
compiler: Use lookup-library.
authorDoug Coleman <doug.coleman@gmail.com>
Sun, 24 Mar 2013 04:23:23 +0000 (21:23 -0700)
committerDoug Coleman <doug.coleman@gmail.com>
Sun, 24 Mar 2013 04:23:23 +0000 (21:23 -0700)
basis/compiler/tests/alien.factor

index ff11ac7eb98f027530d06ce7ec0a5c4e81993e03..10be5ff8f975f239400402731ebee0a1954de74b 100755 (executable)
@@ -134,7 +134,7 @@ unit-test
     gc ;
 
 [ f ] [ "f-stdcall" load-library f = ] unit-test
-[ stdcall ] [ "f-stdcall" library abi>> ] unit-test
+[ stdcall ] [ "f-stdcall" lookup-library abi>> ] unit-test
 
 : ffi_test_18 ( w x y z -- int )
     int "f-stdcall" "ffi_test_18" { int int int int }
@@ -628,7 +628,7 @@ FUNCTION: short ffi_test_48 ( bool-field-test x ) ;
 [ ] [ assembly-test-1 ] unit-test
 
 [ f ] [ "f-fastcall" load-library f = ] unit-test
-[ fastcall ] [ "f-fastcall" library abi>> ] unit-test
+[ fastcall ] [ "f-fastcall" lookup-library abi>> ] unit-test
 
 : ffi_test_49 ( x -- int )
     int "f-fastcall" "ffi_test_49" { int }