Handbook
Glossary
copy-struct-data ( src dst c-type -- )
Vocabulary
compiler
.
cfg
.
builder
.
alien
.
boxing
Inputs
src
an
object
dst
an
object
c-type
an
object
Outputs
None
Definition
USING:
alien.c-types
arrays
cpu.architecture
layouts
math
sequences
;
IN:
compiler.cfg.builder.alien.boxing
::
copy-struct-data
( src dst c-type -- )
c-type
heap-size
cell
align
cell
/i
int-rep
<array>
c-type
integer-struct-components
[|
offset type |
src offset
int-rep
type
load-struct-component
dst offset
int-rep
type
store-struct-component
]
2each
;