flipper_format_insert_or_update_string

Function flipper_format_insert_or_update_string 

Source
pub unsafe extern "C" fn flipper_format_insert_or_update_string(
    flipper_format: *mut FlipperFormat,
    key: *const c_char,
    data: *mut FuriString,
) -> bool
Expand description

Updates the value of the first matching key to a string value, or adds the key and value if the key did not exist. Sets the RW pointer to a position at the end of inserted data.

§Arguments

  • flipper_format - Pointer to a FlipperFormat instance
  • key - Key
  • data - Value

§Returns

True on success