Handbook
Glossary
%alien-invoke ( varargs? reg-inputs stack-inputs reg-outputs dead-outputs cleanup stack-size symbols dll gc-map -- )
Vocabulary
cpu
.
architecture
Inputs
varargs?
a
boolean
reg-inputs
a
sequence
stack-inputs
a
sequence
reg-outputs
a
sequence
dead-outputs
a
sequence
cleanup
an
integer
stack-size
an
integer
symbols
a
string
dll
a
dll
or
f
gc-map
a
gc-map
Outputs
None
Word description
Machine code emitter for the
##alien-invoke
instruction.
Definition
USING:
system
;
IN:
cpu.architecture
HOOK:
%alien-invoke
cpu
( varargs? reg-inputs stack-inputs reg-outputs dead-outputs cleanup stack-size symbols dll gc-map -- )
Methods
USING:
cpu.architecture
generalizations
system
;
M:
arm.64
%alien-invoke
10
ndrop
;
USING:
cpu.architecture
kernel
system
;
M:
x86
%alien-invoke
[
%c-invoke
]
3curry
%alien-assembly
;