Wasmtime
wasmtime::GlobalType::Ref Class Reference

#include <global.hh>

Public Member Functions

 Ref (const wasm_globaltype_t *ptr)
 Creates a new reference from the raw underlying C API representation.
 
 Ref (const GlobalType &ty)
 Creates a new reference to the specified type.
 
bool is_mutable () const
 Returns whether or not this global type is mutable.
 
ValType::Ref content () const
 Returns the type of value stored within this global type.
 

Friends

class GlobalType
 

Detailed Description

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


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