Function agb::sync::memory_write_hint

source ·
pub fn memory_write_hint<T>(val: *mut T)
Expand description

Marks that a pointer is read or written to without actually writing to it.

This uses an asm! instruction that marks the parameter as being read and written, requiring the compiler to treat this function as if anything could be done to it.