magic>> ( object -- value )


Vocabulary
accessors

Inputs
objectan object


Outputs
valuean object


Definition

GENERIC: magic>> ( object -- value )


Methods

M: HeaderNew magic>>
T{ struct-slot-spec
{ name "magic" }
{ offset 0 }
{ class object }
{ type { char 20 } }
} read-struct-slot ; inline



M: HeaderOld magic>>
T{ struct-slot-spec
{ name "magic" }
{ offset 0 }
{ class object }
{ type { char 11 } }
} read-struct-slot ; inline



M: embedded-image-footer.32 magic>>
T{ struct-slot-spec
{ name "magic" }
{ offset 8 }
{ class fixnum }
{ initial 0 }
{ type u32 }
} read-struct-slot ; inline









M: fat_header magic>>
T{ struct-slot-spec
{ name "magic" }
{ offset 0 }
{ class fixnum }
{ initial 0 }
{ type uint }
} read-struct-slot ; inline









M: image-header.32 magic>>
T{ struct-slot-spec
{ name "magic" }
{ offset 0 }
{ class fixnum }
{ initial 0 }
{ type u32 }
} read-struct-slot ; inline



M: image-header.64 magic>>
T{ struct-slot-spec
{ name "magic" }
{ offset 0 }
{ class integer }
{ initial 0 }
{ type u64 }
} read-struct-slot ; inline



M: image-header magic>>
T{ struct-slot-spec
{ name "magic" }
{ offset 0 }
{ class integer }
{ initial 0 }
{ type cell_t }
} read-struct-slot ; inline






M: mach_header magic>>
T{ struct-slot-spec
{ name "magic" }
{ offset 0 }
{ class fixnum }
{ initial 0 }
{ type uint }
} read-struct-slot ; inline



M: mach_header_64 magic>>
T{ struct-slot-spec
{ name "magic" }
{ offset 0 }
{ class fixnum }
{ initial 0 }
{ type uint }
} read-struct-slot ; inline