MCPcopy Create free account
hub / github.com/WebAssembly/wasm-c-api / kind

Method kind

include/wasm.hh:554–554  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

552 }
553
554 auto kind() const -> ValKind { return kind_; }
555 auto i32() const -> int32_t { assert(kind_ == ValKind::I32); return impl_.i32; }
556 auto i64() const -> int64_t { assert(kind_ == ValKind::I64); return impl_.i64; }
557 auto f32() const -> float32_t { assert(kind_ == ValKind::F32); return impl_.f32; }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected