Function CSTL_u16string_insert_str

Source
pub unsafe extern "C" fn CSTL_u16string_insert_str(
    instance: CSTL_UTF16StringRef,
    where_: *const char16_t,
    other: CSTL_UTF16StringCRef,
    alloc: *mut CSTL_Alloc,
) -> *mut char16_t
Expand description

Inserts the string other at the pointer where in instance.

If the length of the resulting string is greater than CSTL_u16string_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.