Beaver.ENIF.Type (beaver v0.4.2)
Query the MLIR type of an Erlang term or environment.
Summary
Types
A tuple representing the signature of an enif function. Each tuple contains
Types
@type signature() :: {atom(), [Beaver.MLIR.Type.t()], [Beaver.MLIR.Type.t()]}
A tuple representing the signature of an enif function. Each tuple contains:
- The name of the function, which is an atom.
- A list of argument MLIR types.
- A list of return MLIR types.
Functions
@spec binary(Beaver.Deferred.opts()) :: Beaver.Deferred.type()
@spec env(Beaver.Deferred.opts()) :: Beaver.Deferred.type()
@spec term(Beaver.Deferred.opts()) :: Beaver.Deferred.type()