(t: &wasm_table_t)
| 93 | |
| 94 | #[unsafe(no_mangle)] |
| 95 | pub unsafe extern "C" fn wasm_table_size(t: &wasm_table_t) -> wasm_table_size_t { |
| 96 | let table = t.table(); |
| 97 | let store = t.ext.store.context(); |
| 98 | u32::try_from(table.size(&store)).unwrap() |
| 99 | } |
| 100 | |
| 101 | #[unsafe(no_mangle)] |
| 102 | #[cfg(feature = "gc")] |