(
t: &mut wasm_table_t,
index: wasm_table_size_t,
)
| 69 | #[unsafe(no_mangle)] |
| 70 | #[cfg(feature = "gc")] |
| 71 | pub unsafe extern "C" fn wasm_table_get( |
| 72 | t: &mut wasm_table_t, |
| 73 | index: wasm_table_size_t, |
| 74 | ) -> Option<Box<wasm_ref_t>> { |
| 75 | let table = t.table(); |
| 76 | let r = table.get(t.ext.store.context_mut(), u64::from(index))?; |
| 77 | wasm_ref_t::new(r) |
| 78 | } |
| 79 | |
| 80 | #[unsafe(no_mangle)] |
| 81 | #[cfg(feature = "gc")] |
nothing calls this directly
no test coverage detected