Skip to content

Conversation

@zshipko
Copy link
Contributor

@zshipko zshipko commented Jul 18, 2024

Currently host_fn only supports Extism pointer arguments, this PR updates host_fn to preserve Wasm-native arguments (i32, i64, f32, f64) when passed as arguments, or returned from a host function.

TODO:

  • Add some examples and make sure the macro translates the types correctly
  • Consider doing something similar for shared_fn

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants