Module: Extism::ValType

Defined in:
lib/extism/wasm.rb

Overview

Extism specific values for Wasm types. Useful when you need to describe something in pure wasm like host function signatures.

Examples:

register_import :hostfunc, [Extism::ValType::I32, Extism::ValType::F64], [Extism::ValType::I64]

Constant Summary collapse

I32 =
0
I64 =
1
PTR =
1
F32 =
2
F64 =
3
V128 =
4
FUNC_REF =
5
EXTERN_REF =
6