mirror of
https://github.com/gnh1201/welsonjs.git
synced 2025-05-08 12:46:05 +00:00
Create wasm.js
This commit is contained in:
parent
08c5cf7fc0
commit
8e27eeeec6
25
lib/wasm.js
Normal file
25
lib/wasm.js
Normal file
|
@ -0,0 +1,25 @@
|
|||
// 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();
|
Loading…
Reference in New Issue
Block a user