Function simics::api::base::attr_value::make_attr_object

source ·
pub fn make_attr_object(obj: *mut ConfObject) -> AttrValue
Expand description

Create a new object AttrValue

§Arguments

  • obj - The object to store a pointer to in the AttrValue. The pointer must remain valid for the lifetime of the AttrValue.

§Return Value

An AttrValue storing a pointer to the ConfObject

§Notes

obj.into() may be preferred

§Context

Cell Context