package extism

  1. Overview
  2. Docs

Val_type enumerates every possible argument/result type

type t =
  1. | I32
  2. | I64
  3. | F32
  4. | F64
  5. | V128
  6. | FuncRef
  7. | ExternRef
    (*

    Value type

    *)
val of_int : int -> t
val to_int : t -> int
OCaml

Innovation. Community. Security.