Handbook
Glossary
major>> ( object -- value )
Vocabulary
accessors
Inputs
object
an
object
Outputs
value
an
object
Definition
IN:
accessors
GENERIC:
major>>
( object -- value )
Methods
USING:
accessors
kernel.private
math
semver
slots.private
;
M:
semver
major>>
2
slot
{
integer
}
declare
;
inline
USING:
accessors
alien.c-types
classes.struct
classes.struct.private
math
yaml.ffi
;
M:
version_directive_token_data
major>>
T{
struct-slot-spec
{
name
"major"
}
{
offset 0
}
{
class
fixnum
}
{
initial 0
}
{
type
int
}
}
read-struct-slot
;
inline
USING:
accessors
alien.c-types
classes.struct
classes.struct.private
math
yaml.ffi
;
M:
yaml_version_directive_t
major>>
T{
struct-slot-spec
{
name
"major"
}
{
offset 0
}
{
class
fixnum
}
{
initial 0
}
{
type
int
}
}
read-struct-slot
;
inline