nstd_string_as_ptr

Function nstd_string_as_ptr 

Source
#[unsafe(no_mangle)]
pub const extern "C" fn nstd_string_as_ptr( string: &NSTDString<'_>, ) -> *const NSTDByte
Available on crate feature string only.
Expand description

Returns a raw pointer to a string’s memory.

§Parameters:

  • const NSTDString *string - The string.

§Returns

const NSTDByte *ptr - A raw pointer to a string’s memory.