石博文 3c337dc3ab fix: Wrong compiler parameter on MSVC (#4778) 4 дней назад
..
src 74cdf0b8c1 Add import functions callback (#4606) 3 месяцев назад
wasm-apps 74cdf0b8c1 Add import functions callback (#4606) 3 месяцев назад
CMakeLists.txt 3c337dc3ab fix: Wrong compiler parameter on MSVC (#4778) 4 дней назад
README.md 74cdf0b8c1 Add import functions callback (#4606) 3 месяцев назад

README.md

"import function callback" sample introduction

This sample demonstrates how to use import function callbacks to handle WebAssembly modules that import external functions. The sample shows how to register callback functions for imported functions and execute them when the WASM module loads these imported functions.

The sample includes a WASM module that imports external functions and a host application that provides callback import_func_type_callback for these imported functions.

Build and run the sample

mkdir build && cd build
cmake ..
cmake --build . --config Release
./import-func-callback