#[no_mangle]
pub const extern "C" fn nstd_vec_allocator<'a>(
    vec: &NSTDVec<'a>
) -> &'a NSTDAllocator
Available 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.