MCPcopy Create free account
hub / github.com/bytecodealliance/wasmtime / wasmtime_module_image_range

Function wasmtime_module_image_range

crates/c-api/src/module.rs:194–202  ·  view source on GitHub ↗
(
    module: &wasmtime_module_t,
    start: &mut *const u8,
    end: &mut *const u8,
)

Source from the content-addressed store, hash-verified

192
193#[unsafe(no_mangle)]
194pub extern "C" fn wasmtime_module_image_range(
195 module: &wasmtime_module_t,
196 start: &mut *const u8,
197 end: &mut *const u8,
198) {
199 let range = module.module.image_range();
200 *start = range.start;
201 *end = range.end;
202}
203
204#[unsafe(no_mangle)]
205pub unsafe extern "C" fn wasmtime_module_deserialize(

Callers

nothing calls this directly

Calls 1

image_rangeMethod · 0.45

Tested by

no test coverage detected