Handbook
Glossary
W<< ( value object -- )
Vocabulary
accessors
Inputs
value
an
object
object
an
object
Outputs
None
Definition
IN:
accessors
GENERIC:
W<<
( value object -- )
Methods
USING:
accessors
checksums.sha.private
kernel
slots
slots.private
specialized-arrays.instances.alien.c-types.uint
;
M:
sha1-state
W<<
[
dup
uint-array?
[
\
uint-array
bad-slot-value
]
unless
]
dip
10
set-slot
;
inline
USING:
accessors
alien.c-types
classes.struct
classes.struct.private
math
ogg.vorbis
;
M:
vorbis-block
W<<
T{
struct-slot-spec
{
name
"W"
}
{
offset 56
}
{
class
integer
}
{
initial 0
}
{
type
long
}
}
write-struct-slot
;
inline
USING:
accessors
alien.c-types
classes.struct
classes.struct.private
math
ogg.vorbis
;
M:
vorbis-dsp-state
W<<
T{
struct-slot-spec
{
name
"W"
}
{
offset 64
}
{
class
integer
}
{
initial 0
}
{
type
long
}
}
write-struct-slot
;
inline