Handbook
Glossary
prev<< ( value object -- )
Vocabulary
accessors
Inputs
value
an
object
object
an
object
Outputs
None
Definition
IN:
accessors
GENERIC:
prev<<
( value object -- )
Methods
USING:
accessors
alien
alien.syntax
classes.struct
classes.struct.private
glib.ffi
;
M:
GSource
prev<<
T{
struct-slot-spec
{
name
"prev"
}
{
offset 64
}
{
class
c-ptr
}
{
type
pointer:
GSource
}
}
write-struct-slot
;
inline
USING:
accessors
dlists
kernel
slots
slots.private
;
M:
dlist-link
prev<<
[
dup
[
dlist-link?
]
[
t
]
if*
[
maybe{
dlist-link
}
bad-slot-value
]
unless
]
dip
2
set-slot
;
inline
USING:
accessors
kernel
slots
slots.private
unrolled-lists.private
;
M:
node
prev<<
[
dup
?node?
[
\
?node
bad-slot-value
]
unless
]
dip
3
set-slot
;
inline