TOPLLab / WARDuino

📟 A dynamic WebAssembly VM for embedded systems
https://topllab.github.io/WARDuino/
Mozilla Public License 2.0
80 stars 7 forks source link

Fix callbacks for AS #201

Open tolauwae opened 1 year ago

tolauwae commented 1 year ago

AS no longer passes the tidx of callbacks directly. Instead, it saves the tidx in the linear memory and passes the index/address in memory as the reference for the callbacks.

This behaviour differs from Rust.