doc(deprecated) Document more API between the old and the new one.

This commit is contained in:
Ivan Enderlin
2020-07-03 15:54:31 +02:00
parent 9a7c8a7dd1
commit fe0ed40b5c
28 changed files with 215 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
struct Table {}
impl Table {
fn new(desc: TableDescriptor) -> Result<Self, CreationError>;
fn descriptor(&self) -> TableDescriptor;
fn set<T: StorableInTable>(&self, index: u32, element: T) -> Result<(), TableAccessError>;
fn size(&self) -> u32;
fn grow(&self, delta: u32) -> Result<u32, GrowError>;
fn vm_local_table(&mut self) -> *mut LocalTable;
}