Wasmtime
wasmtime::FuncType::Ref Class Reference

#include <func.hh>

Public Member Functions

 Ref (const wasm_functype_t *ptr)
 Creates a new reference from the underlying C API representation.
 
 Ref (const FuncType &ty)
 Creates a new reference to the given type.
 
ValType::ListRef params () const
 Returns the list of types this function type takes as parameters.
 
ValType::ListRef results () const
 Returns the list of types this function type returns.
 

Friends

class FuncType
 

Detailed Description

Non-owning reference to a FuncType, must not be used after the original owner has been deleted.


The documentation for this class was generated from the following file: