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