Handbook
Glossary
load-command? ( object -- ? )
Vocabulary
macho
Inputs and outputs
object
an
object
?
a
boolean
Word description
Tests if the object is an instance of the
load-command
class.
Definition
USING:
classes.tuple.private
kernel
math.private
slots.private
;
IN:
macho
:
load-command?
( object -- ? )
dup
tuple?
[
layout-of
dup
1
slot
9
fixnum>=
[
9
slot
dup
\
uuid_command
eq?
[
drop
t
]
[
dup
\
twolevel_hints_command
eq?
[
drop
t
]
[
dup
\
dysymtab_command
eq?
[
drop
t
]
[
dup
\
symtab_command
eq?
~quotation~ ~quotation~
if
]
if
]
if
]
if
]
[
drop
f
]
if
]
[
drop
f
]
if
;