flipperzero_sys

Function furi_string_alloc_set_str

Source
pub unsafe extern "C" fn furi_string_alloc_set_str(
    cstr_source: *const c_char,
) -> *mut FuriString
Expand description

Allocate new FuriString and set it to C string.

Allocate & Set the string a to the C string.

§Arguments

  • cstr_source - The C-string instance

§Returns

pointer to the new instance of FuriString