Handbook
Glossary
green>> ( object -- value )
Vocabulary
accessors
Inputs
object
an
object
Outputs
value
an
object
Definition
IN:
accessors
GENERIC:
green>>
( object -- value )
Methods
USING:
accessors
alien
alien.c-types
alien.syntax
classes.struct
classes.struct.private
glfw.ffi
;
M:
GLFWgammaramp
green>>
T{
struct-slot-spec
{
name
"green"
}
{
offset 8
}
{
class
c-ptr
}
{
type
pointer:
short
}
}
read-struct-slot
;
inline
USING:
accessors
alien.c-types
classes.struct
classes.struct.private
math
x11.xlib
;
M:
XColor
green>>
T{
struct-slot-spec
{
name
"green"
}
{
offset 10
}
{
class
fixnum
}
{
initial 0
}
{
type
ushort
}
}
read-struct-slot
;
inline
USING:
accessors
colors
;
M:
color
green>>
>rgba
green>>
;
USING:
accessors
colors.gray
;
M:
gray
green>>
gray>>
;
USING:
accessors
colors
slots.private
;
M:
rgba
green>>
3
slot
;
inline