Handbook
Glossary
remove-library ( name -- )
Factor handbook
»
C library interface
»
Loading native libraries
Prev:
add-library ( name path abi -- )
Next:
library-dll ( obj -- dll )
Vocabulary
alien
.
libraries
Inputs
name
a
string
Outputs
None
Word description
Unloads a library and removes it from the internal list of libraries. The
name
parameter should be a name that was previously passed to
add-library
. If no library with that name exists, this word does nothing.
Definition
USING:
assocs
destructors
kernel
namespaces
;
IN:
alien.libraries
:
remove-library
( name -- )
libraries
get
delete-at*
[
dispose
]
[
drop
]
if
;