Handbook
Glossary
integer-struct-components ( reps c-type -- offsets types )
Vocabulary
compiler
.
cfg
.
builder
.
alien
.
boxing
Inputs
reps
an
object
c-type
an
object
Outputs
offsets
an
object
types
an
object
Definition
USING:
alien.c-types
kernel
layouts
math
math.order
sequences
;
IN:
compiler.cfg.builder.alien.boxing
::
integer-struct-components
( reps c-type -- offsets types )
reps
component-offsets
dup
[|
offset |
c-type
heap-size
offset
-
cell
min
dup
cell
<
[
<partial-struct-cell>
]
[
drop
f
]
if
]
map
;