MCPcopy Create free account
hub / github.com/dylan-sutton-chavez/edge-python / dispatch_new_dict

Function dispatch_new_dict

compiler/src/main/abi_bridge.rs:214–216  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

212}
213
214fn dispatch_new_dict() -> Result<Val, VmErr> {
215 in_vm("edge_op new_dict called outside run()", |vm| vm.heap.alloc(HeapObj::Dict(Rc::new(RefCell::new(DictMap::new())))))
216}
217
218fn dispatch_new_list() -> Result<Val, VmErr> {
219 in_vm("edge_op new_list called outside run()", |vm| vm.heap.alloc(HeapObj::List(Rc::new(RefCell::new(Vec::new())))))

Callers 1

host_edge_opFunction · 0.85

Calls 2

in_vmFunction · 0.85
allocMethod · 0.45

Tested by

no test coverage detected