Skip to main content

heap_to_value

Function heap_to_value 

Source
pub unsafe fn heap_to_value(ptr: *const u8) -> Result<Value, BridgeError>
Expand description

Convert a heap-allocated object to a Value.

ยงSafety

ptr must point to a valid HeapObject allocated by the JIT nursery.