Handbook
Glossary
dylib-exports ( path -- symbol-names )
Vocabulary
macho
Inputs
path
an
object
Outputs
symbol-names
an
object
Definition
USING:
kernel
locals.backend
sequences
;
IN:
macho
:
dylib-exports
( path -- symbol-names )
[
load-local
0
get-local
load-commands
symtab-commands
0
get-local
[
load-local
0
get-local
[
load-local
load-local
-1
get-local
0
get-local
symbols
[
[
dylib-export?
]
filter
]
[
[
c-symbol-name
]
curry
{
}
map-as
]
bi*
2
drop-locals
]
curry
call
1
drop-locals
]
curry
{
}
map-as
concat
1
drop-locals
]
with-mapped-macho
;