Function CSTL_wstring_insert_n

Source
pub unsafe extern "C" fn CSTL_wstring_insert_n(
    instance: CSTL_WideStringRef,
    where_: *const wchar_t,
    ptr: *const wchar_t,
    count: usize,
    alloc: *mut CSTL_Alloc,
) -> *mut wchar_t
Expand description

Inserts the first count characters of the string at ptr at the pointer where in instance.

If the length of the resulting string is greater than CSTL_wstring_max_size() this function has no effect and returns NULL, otherwise it returns a pointer to the first inserted character.

The pointer where must be valid and dereferenceable on instance.