Skip to main content

write_shared_i32

Function write_shared_i32 

Source
pub unsafe fn write_shared_i32(cell: *const SharedCell, value: i32)
Expand description

Write an i32 to a SharedCell’s payload, sign-extending to 8 bytes.

§Safety

cell must point to a live SharedCell whose interior FieldKind is I32.