Revert "alien.libraries: allow "foo f address-of" to be folded."
This reverts commit 96c7a59ad2
.
db4
parent
f278cb5447
commit
3cfce74d28
|
@ -56,12 +56,8 @@ M: library dispose dll>> [ dispose ] when* ;
|
|||
|
||||
ERROR: no-such-symbol name library ;
|
||||
|
||||
: (address-of) ( name -- value )
|
||||
dup f dlsym-raw [ nip ] [ f no-such-symbol ] if* ; foldable
|
||||
|
||||
: address-of ( name library/f -- value )
|
||||
[ 2dup load-library dlsym-raw [ 2nip ] [ no-such-symbol ] if* ]
|
||||
[ (address-of) ] if* ; inline
|
||||
: address-of ( name library -- value )
|
||||
2dup load-library dlsym-raw [ 2nip ] [ no-such-symbol ] if* ;
|
||||
|
||||
SYMBOL: deploy-libraries
|
||||
|
||||
|
|
Loading…
Reference in New Issue