welsonjs/lib/wasm.js

26 lines
579 B
JavaScript
Raw Normal View History

2021-12-28 06:25:49 +00:00
// WebAssembly Module for WelsonJS (Based on Microsoft JScript)
var WebAssemblyObject = function() {
this.instantiate = function(bufferSource, importObject) {
// ... todo ...
};
this.instantiateStreaming = function(source, importObject) {
// ... todo ...
};
this.compile = function(bufferSource) {
// ... todo ...
};
this.compileStreaming = function(source) {
// ... todo ...
};
this.validate = function(bufferSource) {
// ... todo ...
};
};
exports.WebAssembly = new WebAssemblyObject();