flipper_format_insert_or_update_bool

Function flipper_format_insert_or_update_bool 

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

Updates the value of the first matching key to a bool array 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
  • data_size (direction in) - The data size

§Returns

True on success