Handbook
Glossary
sec>> ( object -- value )
Vocabulary
accessors
Inputs
object
an
object
Outputs
value
an
object
Definition
IN:
accessors
GENERIC:
sec>>
( object -- value )
Methods
USING:
accessors
alien.c-types
classes.struct
classes.struct.private
duckdb.ffi
math
;
M:
duckdb_time_struct
sec>>
T{
struct-slot-spec
{
name
"sec"
}
{
offset 2
}
{
class
fixnum
}
{
initial 0
}
{
type
int8_t
}
}
read-struct-slot
;
inline
USING:
accessors
classes.struct
classes.struct.private
math
unix.time
unix.types
;
M:
timespec
sec>>
T{
struct-slot-spec
{
name
"sec"
}
{
offset 0
}
{
class
integer
}
{
initial 0
}
{
type
time_t
}
}
read-struct-slot
;
inline
USING:
accessors
alien.c-types
classes.struct
classes.struct.private
math
unix.time
;
M:
timeval
sec>>
T{
struct-slot-spec
{
name
"sec"
}
{
offset 0
}
{
class
integer
}
{
initial 0
}
{
type
long
}
}
read-struct-slot
;
inline
USING:
accessors
alien.c-types
classes.struct
classes.struct.private
math
unix.time
;
M:
tm
sec>>
T{
struct-slot-spec
{
name
"sec"
}
{
offset 0
}
{
class
fixnum
}
{
initial 0
}
{
type
int
}
}
read-struct-slot
;
inline