MCPcopy Create free account
hub / github.com/bluejekyll/wasmtime-java / WasmSliceWrapper

Class WasmSliceWrapper

wasmtime-jni/src/ty/wasm_alloc.rs:182–185  ·  view source on GitHub ↗

This is use to free memory after a function call

Source from the content-addressed store, hash-verified

180
181/// This is use to free memory after a function call
182pub(crate) struct WasmSliceWrapper<'w> {
183 wasm_alloc: &'w WasmAlloc,
184 wasm_slice: WasmSlice,
185}
186
187impl<'w> WasmSliceWrapper<'w> {
188 pub fn new(wasm_alloc: &'w WasmAlloc, wasm_slice: WasmSlice) -> Self {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…