mirror of
https://github.com/fluencelabs/wasmer
synced 2025-05-03 14:22:14 +00:00
This patch adds 2 functions for the runtime C API, respectively `wasmer_instance_context_data_set` and `wasmer_instance_context_data_get`. The goal is to modify the `vm::Ctx.data` field in the `runtime-core` library. This is required to pass dynamic data to imported functions for instance.