Skip to main content

islisp_object_value

Function islisp_object_value 

Source
pub fn islisp_object_value(
    cx: &mut Cx,
    class: Symbol,
    slots: BTreeMap<Symbol, Value>,
) -> Result<Value>
Expand description

Wraps an IslispObject as an opaque kernel Value.

Allocates the instance through the context factory so it participates in the runtime like any other object value.