removed the containing subdir

This commit is contained in:
2023-10-02 21:04:28 +09:00
parent 5b2953c9c7
commit ea73f9f8d2
163 changed files with 0 additions and 0 deletions

23
wasm/moo.cb.js Normal file
View File

@ -0,0 +1,23 @@
//function _jsGetTime(pointer) <--- doesn't work as emcc produces this
var _jsGetTime = function(pointer)
{
var pos = pointer / 4;
var now = (new Date()).getTime();
HEAP32[pos] = Math.floor(now / 1000);
HEAP32[pos + 1] = (now % 1000) * 1000000;
}
var _jsSleep = function(pointer)
{
/*
var pos = pointer / 4;
var msec = (HEAP32[POS] * 1000) + (HEAP32[pos + 1] / 1000000);
var prom = new Promise(function (resolve, reject) {
setTimeout (function() { resolve("xxxx"); }, msec);
});
await prom;
*/
}