Function simics::api::base::attr_value::attr_dict_resize

source ·
pub fn attr_dict_resize(attr: &mut AttrValue, newsize: u32) -> Result<()>
Expand description

Resize attr, which must be of dict type, to newsize elements. New elements are marked invalid. Dropped elements are freed.

§Arguments

  • attr - The attribute dictionary to resize
  • newsize - The size to grow or shrink the dict to

§Context

Cell Context