Handbook
Glossary
tick#<< ( value object -- )
Vocabulary
accessors
Inputs
value
an
object
object
an
object
Outputs
None
Definition
IN:
accessors
GENERIC:
tick#<<
( value object -- )
Methods
USING:
accessors
alien.c-types
classes.struct
classes.struct.private
game.loop.benchmark
math
;
M:
game-loop-benchmark
tick#<<
T{
struct-slot-spec
{
name
"tick#"
}
{
offset 400
}
{
class
integer
}
{
initial 0
}
{
type
ulonglong
}
}
write-struct-slot
;
inline
USING:
accessors
game.loop
kernel
math
slots
slots.private
;
M:
game-loop
tick#<<
[
dup
integer?
[
\
integer
bad-slot-value
]
unless
]
dip
6
set-slot
;
inline