Handbook
Glossary
location>> ( object -- value )
Vocabulary
accessors
Inputs
object
an
object
Outputs
value
an
object
Definition
IN:
accessors
GENERIC:
location>>
( object -- value )
Methods
USING:
accessors
classes.struct
classes.struct.private
core-foundation
math
;
M:
CFRange
location>>
T{
struct-slot-spec
{
name
"location"
}
{
offset 0
}
{
class
integer
}
{
initial 0
}
{
type
CFIndex
}
}
read-struct-slot
;
inline
USING:
accessors
classes.struct
classes.struct.private
cocoa.types
math
;
M:
NSRange
location>>
T{
struct-slot-spec
{
name
"location"
}
{
offset 0
}
{
class
integer
}
{
initial 0
}
{
type
NSUInteger
}
}
read-struct-slot
;
inline
USING:
accessors
benchmark.nbody-simd
classes.struct
classes.struct.private
math.vectors.simd.cords
;
M:
body
location>>
T{
struct-slot-spec
{
name
"location"
}
{
offset 0
}
{
class
double-4
}
{
initial
double-4{
0.0 0.0 0.0 0.0
}
}
{
type
double-4
}
}
read-struct-slot
;
inline
USING:
accessors
benchmark.nbody
kernel.private
slots.private
specialized-arrays.instances.alien.c-types.double
;
M:
body
location>>
2
slot
{
double-array
}
declare
;
inline
USING:
accessors
alien.libraries.finder.macos.private
slots.private
;
M:
framework-info
location>>
2
slot
;
inline
USING:
accessors
jamshred.oint
slots.private
;
M:
oint
location>>
2
slot
;
inline
USING:
accessors
arrays
kernel.private
slots.private
tetris.piece
;
M:
piece
location>>
4
slot
{
array
}
declare
;
inline
USING:
accessors
kernel.private
math.vectors.simd
slots.private
terrain
;
M:
player
location>>
2
slot
{
float-4
}
declare
;
inline
USING:
accessors
db.errors
slots.private
;
M:
sql-error
location>>
2
slot
;
inline
USING:
accessors
slots.private
twitter
;
M:
twitter-user
location>>
6
slot
;
inline
USING:
accessors
gpu.util.wasd
slots.private
;
M:
wasd-world
location>>
50
slot
;
inline