Handbook
Glossary
library-dll ( obj -- dll )
Factor handbook
»
C library interface
»
Loading native libraries
Prev:
remove-library ( name -- )
Next:
deploy-library ( name -- )
Vocabulary
alien
.
libraries
Inputs
obj
an
object
Outputs
dll
a DLL handle
Word description
Looks up a library by logical name and outputs a handle which may be passed to
dlsym
or
dlclose
.
Definition
IN:
alien.libraries
GENERIC:
library-dll
( obj -- dll )
Methods
USING:
alien.libraries
;
M:
f
library-dll
;
USING:
accessors
alien.libraries
kernel
;
M:
library
library-dll
[
dll>>
]
?call
;
USING:
alien.libraries
strings
;
M:
string
library-dll
lookup-library
library-dll
;