magic<< ( value object -- )


Vocabulary
accessors

Inputs
valuean object
objectan object


Outputs
None

Definition

GENERIC: magic<< ( value object -- )


Methods

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



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



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









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






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



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