Function simics::api::base::attr_value::_attr_dict_resize

source ·
fn _attr_dict_resize(attr: &mut AttrValue, newsize: u32)
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