Handbook
Glossary
sec<< ( value object -- )
Vocabulary
accessors
Inputs
value
an
object
object
an
object
Outputs
None
Definition
IN:
accessors
GENERIC:
sec<<
( value object -- )
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
}
}
write-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
}
}
write-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
}
}
write-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
}
}
write-struct-slot
;
inline