nstd_mutex_get_mut

Function nstd_mutex_get_mut 

Source
#[unsafe(no_mangle)]
pub extern "C" fn nstd_mutex_get_mut( guard: &mut NSTDMutexGuard<'_, '_>, ) -> NSTDAnyMut
Available on crate feature mutex only.
Expand description

Returns a mutable pointer to a mutex’s raw data.

§Parameters:

  • NSTDMutexGuard *guard - A handle to the mutex’s protected data.

§Returns

NSTDAnyMut data - A mutable pointer to the mutex’s data.