nstd_cstring_allocator

Function nstd_cstring_allocator 

Source
#[unsafe(no_mangle)]
pub const 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.