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