| 18 | |
| 19 | #ifdef WASMTIME_FEATURE_GC |
| 20 | inline Trap Store::Context::throw_exception(ExnRef exn) { |
| 21 | return Trap(wasmtime_context_set_exception(capi(), exn.capi())); |
| 22 | } |
| 23 | |
| 24 | inline std::optional<ExnRef> Store::Context::take_exception() { |
| 25 | wasmtime_exnref_t exn; |