Function CSTL_u32string_resize

Source
pub unsafe extern "C" fn CSTL_u32string_resize(
    instance: CSTL_UTF32StringRef,
    new_size: usize,
    ch: char32_t,
    alloc: *mut CSTL_Alloc,
) -> bool
Expand description

Resizes the string to contain new_size characters, appending ch if current size is less than new_size.

If new_size is greater than CSTL_u32string_max_size() this function has no effect and returns false, otherwise it returns true.