Handbook
Glossary
deploy-library ( name -- )
Factor handbook
»
C library interface
»
Loading native libraries
Prev:
library-dll ( obj -- dll )
Vocabulary
alien
.
libraries
Inputs
name
a
string
Outputs
None
Word description
Specifies that the logical library named
name
should be included during
Application deployment
.
name
must be the name of a library previously loaded with
add-library
.
Definition
USING:
assocs
compiler.errors
kernel
namespaces
sequences
;
IN:
alien.libraries
:
deploy-library
( name -- )
dup
libraries
get
key?
[
deploy-libraries
get
[
member?
]
[
2drop
]
[
push
]
2if
]
[
"deploy-library failure"
no-such-library
]
if
;