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

Method kind

crates/c-api/include/wasm.hh:560–560  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

558 }
559
560 auto kind() const -> ValKind { return kind_; }
561 auto i32() const -> int32_t { assert(kind_ == ValKind::I32); return impl_.i32; }
562 auto i64() const -> int64_t { assert(kind_ == ValKind::I64); return impl_.i64; }
563 auto f32() const -> float32_t { assert(kind_ == ValKind::F32); return impl_.f32; }

Callers 4

to_flag_valueFunction · 0.45
TESTFunction · 0.45
TESTFunction · 0.45
TESTFunction · 0.45

Calls

no outgoing calls

Tested by 3

TESTFunction · 0.36
TESTFunction · 0.36
TESTFunction · 0.36