Handbook
Glossary
data-map-param
Vocabulary
alien
.
data
.
map
.
private
Definition
USING:
alien
math
;
IN:
alien.data.map.private
TUPLE:
data-map-param
{
c-type
read-only
}
{
count
fixnum
read-only
initial:
0
}
{
orig
read-only
}
{
bytes
c-ptr
read-only
initial:
f
}
{
byte-length
fixnum
read-only
initial:
0
}
{
iter-length
fixnum
read-only
initial:
0
}
{
iter-count
fixnum
read-only
initial:
0
}
;
Methods
USING:
accessors
alien.data.map.private
sequences
;
M:
data-map-param
length
iter-count>>
;
inline
USING:
accessors
alien.data.map.private
combinators
math
sequences.private
;
M:
data-map-param
nth-unsafe
{
[
iter-length>>
*
>fixnum
]
[
bytes>>
]
[
count>>
]
[
c-type>>
]
}
cleave
<displaced-direct-array>
;
inline