Wasmtime
wasmtime::ImportType::Ref Class Reference

#include <import.hh>

Public Member Functions

 Ref (const wasm_importtype_t *ptr)
 Creates a new reference from the raw underlying C API representation.
 
std::string_view module ()
 Returns the module name associated with this import.
 
std::string_view name ()
 Returns the field name associated with this import.
 

Friends

class ExternType
 

Detailed Description

Non-owning reference to an ImportType, must not be used after the original owner is deleted.


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