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

Method new_u32

pulley/src/interp.rs:437–441  ·  view source on GitHub ↗
(x: u32)

Source from the content-addressed store, hash-verified

435 }
436
437 pub fn new_u32(x: u32) -> Self {
438 let mut val = XRegVal::default();
439 val.set_u32(x);
440 val
441 }
442
443 pub fn new_i64(x: i64) -> Self {
444 let mut val = XRegVal::default();

Callers

nothing calls this directly

Calls 1

set_u32Method · 0.45

Tested by

no test coverage detected