(
&self,
)
| 333 | } |
| 334 | impl Guest { |
| 335 | pub fn func_take_char( |
| 336 | &self, |
| 337 | ) -> wasmtime::component::TypedFunc<(char,), ()> { |
| 338 | unsafe { |
| 339 | wasmtime::component::TypedFunc::< |
| 340 | (char,), |
| 341 | (), |
| 342 | >::new_unchecked(self.take_char) |
| 343 | } |
| 344 | } |
| 345 | /// A function that accepts a character |
| 346 | pub fn call_take_char<S: wasmtime::AsContextMut>( |
| 347 | &self, |