Handbook
Glossary
Elf32/64_Shdr? ( object -- ? )
Vocabulary
elf
Inputs and outputs
object
an
object
?
a
boolean
Word description
Tests if the object is an instance of the
Elf32/64_Shdr
class.
Definition
USING:
classes.tuple.private
kernel
math.private
slots.private
;
IN:
elf
:
Elf32/64_Shdr?
( object -- ? )
dup
tuple?
[
layout-of
dup
1
slot
9
fixnum>=
[
9
slot
dup
\
Elf64_Shdr
eq?
[
drop
t
]
[
\
Elf32_Shdr
eq?
]
if
]
[
drop
f
]
if
]
[
drop
f
]
if
;