Function CSTL_u16string_append_char

Source
pub unsafe extern "C" fn CSTL_u16string_append_char(
    instance: CSTL_UTF16StringRef,
    count: usize,
    ch: char16_t,
    alloc: *mut CSTL_Alloc,
) -> bool
Expand description

Appends count copies of the character ch to instance.

If the length of the resulting string is greater than CSTL_u16string_max_size() this function has no effect and returns false, otherwise it returns true.