furi_string_reserve

Function furi_string_reserve 

Source
pub unsafe extern "C" fn furi_string_reserve(
    string: *mut FuriString,
    size: usize,
)
Expand description

Reserve memory for string.

Modify the string capacity to be able to handle at least ‘alloc’ characters (including final null char).

§Arguments

  • string - The FuriString instance
  • size - The size to reserve