(store: impl AsContext, externref: Option<Rooted<ExternRef>>)
| 1610 | Ok(()) |
| 1611 | } |
| 1612 | fn assert_my_externref(store: impl AsContext, externref: Option<Rooted<ExternRef>>) { |
| 1613 | assert_eq!( |
| 1614 | externref |
| 1615 | .unwrap() |
| 1616 | .data(&store) |
| 1617 | .unwrap() |
| 1618 | .unwrap() |
| 1619 | .downcast_ref(), |
| 1620 | Some(&99u32) |
| 1621 | ); |
| 1622 | } |
| 1623 | |
| 1624 | // funcref=null, externref=null |
| 1625 | let (a, b) = typed.call(&mut store, (None, None))?; |
no outgoing calls
no test coverage detected