LibWasm+LibWeb: Implement (a very basic version of) the JS link/import

This allows Wasm code to call javascript functions.
This commit is contained in:
Ali Mohammad Pur 2021-05-17 12:29:44 +04:30 committed by Ali Mohammad Pur
commit 3926eab3b7
Notes: sideshowbarker 2024-07-18 17:23:28 +09:00
6 changed files with 113 additions and 39 deletions

View file

@ -10,8 +10,6 @@
namespace Wasm {
typedef u64 (*HostFunctionType)(Store&, Vector<Value>&);
class Configuration {
public:
explicit Configuration(Store& store)