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

Function get_val

compiler/src/main/mod.rs:112–112  ·  view source on GitHub ↗
(h: u32)

Source from the content-addressed store, hash-verified

110
111pub(super) fn put_val(v: Val) -> u32 { with_runtime(|rt| rt.handles.put(v.0)) }
112pub(super) fn get_val(h: u32) -> Option<Val> { with_runtime(|rt| rt.handles.get(h).map(Val)) }
113
114/* RAII publisher for the live VM pointer. Holding the guard across `run()` ensures a panic or early return cannot leave a stale pointer for later `host_edge_op` calls. */
115pub(super) struct VmGuard;

Callers 5

with_recvFunction · 0.85
with_paused_vmFunction · 0.85
host_edge_opFunction · 0.85
host_edge_decodeFunction · 0.85
make_native_bindingFunction · 0.85

Calls 2

with_runtimeFunction · 0.85
getMethod · 0.45

Tested by

no test coverage detected