Handbook
Glossary
Elf32/64_Phdr-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_Phdr-array
class.
Definition
USING:
classes.tuple.private
kernel
slots.private
specialized-arrays.instances.elf.Elf32_Phdr
specialized-arrays.instances.elf.Elf64_Phdr
;
IN:
elf
:
Elf32/64_Phdr-array?
( object -- ? )
dup
tuple?
[
layout-of
7
slot
dup
\
Elf64_Phdr-array
eq?
[
drop
t
]
[
\
Elf32_Phdr-array
eq?
]
if
]
[
drop
f
]
if
;