nstd_cstring_as_ptr

Function nstd_cstring_as_ptr 

Source
#[unsafe(no_mangle)]
pub const extern "C" fn nstd_cstring_as_ptr( cstring: &NSTDCString<'_>, ) -> *const NSTDChar
Available on crate feature cstring only.
Expand description

Returns a raw pointer to a C string’s memory.

§Parameters:

  • const NSTDCString *cstring - The C string.

§Returns

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