get_mut

Function get_mut 

Source
pub unsafe fn get_mut<T>(
    callback: retro_environment_t,
    id: u32,
    data: T,
) -> Option<(T, bool)>
Expand description

Passes a value to the environment callback and returns the modified value.

The second value is the return value of the callback itself.