#[no_mangle]
pub extern "C" fn nstd_cstring_allocator<'a>(
    cstring: &NSTDCString<'a>
) -> &'a NSTDAllocator
Available 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.