Handbook
Glossary
C-LIBRARY:
Vocabulary
alien
.
syntax
Syntax
C-LIBRARY: name paths
Inputs and outputs
name
a logical library name
paths
an alist of {os,path} pairs
Word description
Adds the appropriate library path for the current
os
using
cdecl
calling convention.
Definition
USING:
alien
alien.libraries
assocs
classes
kernel
lexer
parser
system
;
IN:
alien.syntax
SYNTAX:
C-LIBRARY:
scan-token
scan-object
os
'[
drop
_
swap
instance?
]
assoc-find
[
nip
]
[
2drop
os
library-not-found
]
if
cdecl
add-library
;