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