Add lookup-external from recent S48 (it's already described in the manual).

This commit is contained in:
mainzelm 2002-11-07 09:43:29 +00:00
parent 8900f05fd2
commit a1e9e54bbc
2 changed files with 6 additions and 0 deletions

View File

@ -98,6 +98,11 @@
losers)
#f))))))
; Re-lookup one external.
(define (lookup-external external)
(external-lookup (external-name external)
(external-value external)))
; Quietly look up all externals, returning #F if unsuccessful

View File

@ -289,6 +289,7 @@
(export dynamic-load
get-external
lookup-external
lookup-all-externals
external?