Function nstd_sys::vec::nstd_vec_allocator
source · #[no_mangle]
pub const extern "C" fn nstd_vec_allocator<'a>(
vec: &NSTDVec<'a>
) -> &'a NSTDAllocatorAvailable on crate feature
vec only.Expand description
Returns an immutable reference to a vector’s allocator.
Parameters:
const NSTDVec *vec- The vector.
Returns
const NSTDAllocator *allocator - The vector’s allocator.