class Wasmer::Table
- Wasmer::Table
- Reference
- Object
Overview
A Table instance is the runtime representation of a table. It holds a vector of function elements and an optional maximum size, if one was specified in the table type at the table’s definition site.
A table created by the host or in WebAssembly code will be accessible and mutable from both host and WebAssembly.
See also
Specification: https://webassembly.github.io/spec/core/exec/runtime.html#table-instances
Included Modules
Defined in:
wasmer/table.crInstance Method Summary
- 
        #size : UInt32
        
          Returns the Table's size 
- #to_extern : Extern
- #to_unsafe : Pointer(Int64)
Instance methods inherited from module Wasmer::WithExtern
  
  
    
      to_extern : Extern
    to_extern
    
  
    
    
  
    
    
    
  
    
    
    
  
Instance Method Detail
        
        def size : UInt32
        #
      
      
        Returns the Table's size
table = instance.table("exported_table").not_nil!
size = table.size