Handbook
Glossary
game-loop-benchmark-array? ( object -- ? )
Vocabulary
specialized-arrays
.
instances
.
game
.
loop
.
benchmark
.
game-loop-benchmark
Inputs and outputs
object
an
object
?
a
boolean
Word description
Tests if the object is an instance of the
game-loop-benchmark-array
class.
Definition
USING:
classes.tuple.private
kernel
slots.private
;
IN:
specialized-arrays.instances.game.loop.benchmark.game-loop-benchmark
:
game-loop-benchmark-array?
( object -- ? )
dup
tuple?
[
layout-of
7
slot
\
game-loop-benchmark-array
eq?
]
[
drop
f
]
if
;