Function nstd_sys::mutex::nstd_mutex_get

source ·
#[no_mangle]
pub extern "C" fn nstd_mutex_get(
    guard: &NSTDMutexGuard<'_, '_>
) -> NSTDAny
Available on crate feature nstd_mutex only.
Expand description

Returns a pointer to a mutex’s raw data.

Parameters:

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

Returns

NSTDAny data - A pointer to the mutex’s data.