nstd_string_allocator

Function nstd_string_allocator 

Source
#[unsafe(no_mangle)]
pub const extern "C" fn nstd_string_allocator<'a>( string: &NSTDString<'a>, ) -> &'a NSTDAllocator
Available 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.