Function CSTL_wstring_insert_at

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

Inserts the null-terminated string at ptr at offset off in instance.

If off is outside of the range [instance, instance + CSTL_wstring_size(instance)] or if the length of the resulting string is greater than CSTL_wstring_max_size() this function has no effect and returns false, otherwise it returns true.