Handbook
Glossary
mass>> ( object -- value )
Vocabulary
accessors
Inputs
object
an
object
Outputs
value
an
object
Definition
IN:
accessors
GENERIC:
mass>>
( object -- value )
Methods
USING:
accessors
alien.c-types
benchmark.nbody-simd
classes.struct
classes.struct.private
math
;
M:
body
mass>>
T{
struct-slot-spec
{
name
"mass"
}
{
offset 64
}
{
class
float
}
{
initial 0.0
}
{
type
double
}
}
read-struct-slot
;
inline
USING:
accessors
benchmark.nbody
kernel.private
math
slots.private
;
M:
body
mass>>
4
slot
{
float
}
declare
;
inline