Function CSTL_wstring_c_str

Source
pub unsafe extern "C" fn CSTL_wstring_c_str(
    instance: CSTL_WideStringCRef,
) -> *const wchar_t
Expand description

Returns a const pointer to the underlying null-terminated array serving as character storage.

If CSTL_wstring_empty(instance) == true the pointer is still valid and points to a single null character.

The range [CSTL_wstring_c_str(instance), CSTL_wstring_c_str(instance) + size] is always valid.