-
Notifications
You must be signed in to change notification settings - Fork 91
Closed
Description
The table API looks pretty much as a placeholder now, one can't do anything useful with it:
type Table
func (t *Table) AsExtern() *Extern
func (t *Table) Size() uint32
func (t *Table) Type() *TableTypeThe Rust API is actually useful. Examples of missing methods:
pub fn get(&self, index: u32) -> Option<Val>
pub fn set(&self, index: u32, val: Val) -> Result<()>
pub fn grow(&self, delta: u32, init: Val) -> Result<u32>
pub fn copy(
dst_table: &Table,
dst_index: u32,
src_table: &Table,
src_index: u32,
len: u32
) -> Result<()>Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels