Handbook
Glossary
r<< ( value object -- )
Vocabulary
accessors
Inputs
value
an
object
object
an
object
Outputs
None
Definition
IN:
accessors
GENERIC:
r<<
( value object -- )
Methods
USING:
accessors
alien.c-types
classes.struct
classes.struct.private
math
raylib
;
M:
Color
r<<
T{
struct-slot-spec
{
name
"r"
}
{
offset 0
}
{
class
fixnum
}
{
initial 0
}
{
type
uchar
}
}
write-struct-slot
;
inline
USING:
accessors
kernel
math
random.cmwc
slots
slots.private
;
M:
cmwc
r<<
[
dup
integer?
[
\
integer
bad-slot-value
]
unless
]
dip
7
set-slot
;
inline
USING:
accessors
chipmunk.ffi
classes.struct
classes.struct.private
math
;
M:
cpBB
r<<
T{
struct-slot-spec
{
name
"r"
}
{
offset 16
}
{
class
float
}
{
initial 0.0
}
{
type
cpFloat
}
}
write-struct-slot
;
inline
USING:
accessors
chipmunk.ffi
classes.struct
classes.struct.private
math
;
M:
cpCircleShape
r<<
T{
struct-slot-spec
{
name
"r"
}
{
offset 128
}
{
class
float
}
{
initial 0.0
}
{
type
cpFloat
}
}
write-struct-slot
;
inline
USING:
accessors
chipmunk.ffi
classes.struct
classes.struct.private
math
;
M:
cpSegmentShape
r<<
T{
struct-slot-spec
{
name
"r"
}
{
offset 160
}
{
class
float
}
{
initial 0.0
}
{
type
cpFloat
}
}
write-struct-slot
;
inline