Function CSTL_wstring_resize

Source
pub unsafe extern "C" fn CSTL_wstring_resize(
    instance: CSTL_WideStringRef,
    new_size: usize,
    ch: wchar_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_wstring_max_size() this function has no effect and returns false, otherwise it returns true.