flipperzero_sys

Function furi_string_alloc_move

Source
pub unsafe extern "C" fn furi_string_alloc_move(
    source: *mut FuriString,
) -> *mut FuriString
Expand description

Allocate new FuriString and move source string content to it.

Allocate the string, set it to the other one, and destroy the other one.

§Arguments

  • source - The source FuriString instance

§Returns

pointer to the new instance of FuriString