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