@monogrid/gainmap-js 2.0.1 → 2.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -27,7 +27,7 @@ Module['ready'] = new Promise((resolve, reject) => {
27
27
  readyPromiseResolve = resolve;
28
28
  readyPromiseReject = reject;
29
29
  });
30
- ["_main","_memory","___indirect_function_table","_fflush","onRuntimeInitialized"].forEach((prop) => {
30
+ ["_main","_memory","___indirect_function_table","__embind_initialize_bindings","_fflush","onRuntimeInitialized"].forEach((prop) => {
31
31
  if (!Object.getOwnPropertyDescriptor(Module['ready'], prop)) {
32
32
  Object.defineProperty(Module['ready'], prop, {
33
33
  get: () => abort('You are getting ' + prop + ' on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js'),
@@ -359,7 +359,7 @@ assert(!ENVIRONMENT_IS_SHELL, "shell environment detected but not enabled at bui
359
359
  // An online HTML version (which may be of a different version of Emscripten)
360
360
  // is up at http://kripken.github.io/emscripten-site/docs/api_reference/preamble.js.html
361
361
 
362
- var wasmBinary;
362
+ var wasmBinary;
363
363
  if (Module['wasmBinary']) wasmBinary = Module['wasmBinary'];legacyModuleProp('wasmBinary', 'wasmBinary');
364
364
 
365
365
  if (typeof WebAssembly != 'object') {
@@ -383,10 +383,6 @@ var ABORT = false;
383
383
  // but only when noExitRuntime is false.
384
384
  var EXITSTATUS;
385
385
 
386
- // In STRICT mode, we only define assert() when ASSERTIONS is set. i.e. we
387
- // don't define it at all in release modes. This matches the behaviour of
388
- // MINIMAL_RUNTIME.
389
- // TODO(sbc): Make this the default even without STRICT enabled.
390
386
  /** @type {function(*, string=)} */
391
387
  function assert(condition, text) {
392
388
  if (!condition) {
@@ -1246,7 +1242,10 @@ function dbg(text) {
1246
1242
  var setter = field.setter;
1247
1243
  var setterContext = field.setterContext;
1248
1244
  fields[fieldName] = {
1249
- read: (ptr) => getterReturnType['fromWireType'](getter(getterContext, ptr)),
1245
+ read: (ptr) => {
1246
+ return getterReturnType['fromWireType'](
1247
+ getter(getterContext, ptr));
1248
+ },
1250
1249
  write: (ptr, o) => {
1251
1250
  var destructors = [];
1252
1251
  setter(setterContext, ptr, setterArgumentType['toWireType'](destructors, o));
@@ -1513,12 +1512,33 @@ function dbg(text) {
1513
1512
  });
1514
1513
  };
1515
1514
 
1516
- var createNamedFunction = (name, body) => Object.defineProperty(body, 'name', {
1517
- value: name
1518
- });
1515
+ var char_0 = 48;
1519
1516
 
1517
+ var char_9 = 57;
1518
+ var makeLegalFunctionName = (name) => {
1519
+ if (undefined === name) {
1520
+ return '_unknown';
1521
+ }
1522
+ name = name.replace(/[^a-zA-Z0-9_]/g, '$');
1523
+ var f = name.charCodeAt(0);
1524
+ if (f >= char_0 && f <= char_9) {
1525
+ return `_${name}`;
1526
+ }
1527
+ return name;
1528
+ };
1520
1529
 
1521
1530
 
1531
+
1532
+ function createNamedFunction(name, body) {
1533
+ name = makeLegalFunctionName(name);
1534
+ // Use an abject with a computed property name to create a new function with
1535
+ // a name specified at runtime, but without using `new Function` or `eval`.
1536
+ return {
1537
+ [name]: function() {
1538
+ return body.apply(this, arguments);
1539
+ }
1540
+ }[name];
1541
+ }
1522
1542
  function newFunc(constructor, argumentList) {
1523
1543
  if (!(constructor instanceof Function)) {
1524
1544
  throw new TypeError(`new_ called with constructor type ${typeof(constructor)} which is not a function`);
@@ -1587,7 +1607,7 @@ function dbg(text) {
1587
1607
  }
1588
1608
 
1589
1609
  var invokerFnBody = `
1590
- return function (${argsList}) {
1610
+ return function ${makeLegalFunctionName(humanName)}(${argsList}) {
1591
1611
  if (arguments.length !== ${argCount - 2}) {
1592
1612
  throwBindingError('function ${humanName} called with ' + arguments.length + ' arguments, expected ${argCount - 2}');
1593
1613
  }`;
@@ -1640,8 +1660,7 @@ function dbg(text) {
1640
1660
 
1641
1661
  args1.push(invokerFnBody);
1642
1662
 
1643
- var invokerFn = newFunc(Function, args1).apply(null, args2);
1644
- return createNamedFunction(humanName, invokerFn);
1663
+ return newFunc(Function, args1).apply(null, args2);
1645
1664
  }
1646
1665
 
1647
1666
  var ensureOverloadTable = (proto, methodName, humanName) => {
@@ -1973,7 +1992,7 @@ function dbg(text) {
1973
1992
 
1974
1993
 
1975
1994
  var stringToUTF8Array = (str, heap, outIdx, maxBytesToWrite) => {
1976
- assert(typeof str === 'string', `stringToUTF8Array expects a string (got ${typeof str})`);
1995
+ assert(typeof str === 'string');
1977
1996
  // Parameter maxBytesToWrite is not optional. Negative values, 0, null,
1978
1997
  // undefined and false each don't write out any bytes.
1979
1998
  if (!(maxBytesToWrite > 0))
@@ -2117,7 +2136,7 @@ function dbg(text) {
2117
2136
  * @return {string}
2118
2137
  */
2119
2138
  var UTF8ToString = (ptr, maxBytesToRead) => {
2120
- assert(typeof ptr == 'number', `UTF8ToString expects a number (got ${typeof ptr})`);
2139
+ assert(typeof ptr == 'number');
2121
2140
  return ptr ? UTF8ArrayToString(HEAPU8, ptr, maxBytesToRead) : '';
2122
2141
  };
2123
2142
  var __embind_register_std_string = (rawType, name) => {
@@ -2491,7 +2510,9 @@ function dbg(text) {
2491
2510
  return symbol;
2492
2511
  };
2493
2512
 
2494
- var __emval_new_cstring = (v) => Emval.toHandle(getStringOrSymbol(v));
2513
+ var __emval_new_cstring = (v) => {
2514
+ return Emval.toHandle(getStringOrSymbol(v));
2515
+ };
2495
2516
 
2496
2517
 
2497
2518
 
@@ -2706,7 +2727,9 @@ function dbg(text) {
2706
2727
  var paths = Array.prototype.slice.call(arguments);
2707
2728
  return PATH.normalize(paths.join('/'));
2708
2729
  },
2709
- join2:(l, r) => PATH.normalize(l + '/' + r),
2730
+ join2:(l, r) => {
2731
+ return PATH.normalize(l + '/' + r);
2732
+ },
2710
2733
  };
2711
2734
 
2712
2735
  var initRandomFill = () => {
@@ -3374,7 +3397,7 @@ function dbg(text) {
3374
3397
 
3375
3398
 
3376
3399
  var FS_createDataFile = (parent, name, fileData, canRead, canWrite, canOwn) => {
3377
- FS.createDataFile(parent, name, fileData, canRead, canWrite, canOwn);
3400
+ return FS.createDataFile(parent, name, fileData, canRead, canWrite, canOwn);
3378
3401
  };
3379
3402
 
3380
3403
  var preloadPlugins = Module['preloadPlugins'] || [];
@@ -3571,128 +3594,7 @@ function dbg(text) {
3571
3594
  };
3572
3595
 
3573
3596
  var ERRNO_CODES = {
3574
- 'EPERM': 63,
3575
- 'ENOENT': 44,
3576
- 'ESRCH': 71,
3577
- 'EINTR': 27,
3578
- 'EIO': 29,
3579
- 'ENXIO': 60,
3580
- 'E2BIG': 1,
3581
- 'ENOEXEC': 45,
3582
- 'EBADF': 8,
3583
- 'ECHILD': 12,
3584
- 'EAGAIN': 6,
3585
- 'EWOULDBLOCK': 6,
3586
- 'ENOMEM': 48,
3587
- 'EACCES': 2,
3588
- 'EFAULT': 21,
3589
- 'ENOTBLK': 105,
3590
- 'EBUSY': 10,
3591
- 'EEXIST': 20,
3592
- 'EXDEV': 75,
3593
- 'ENODEV': 43,
3594
- 'ENOTDIR': 54,
3595
- 'EISDIR': 31,
3596
- 'EINVAL': 28,
3597
- 'ENFILE': 41,
3598
- 'EMFILE': 33,
3599
- 'ENOTTY': 59,
3600
- 'ETXTBSY': 74,
3601
- 'EFBIG': 22,
3602
- 'ENOSPC': 51,
3603
- 'ESPIPE': 70,
3604
- 'EROFS': 69,
3605
- 'EMLINK': 34,
3606
- 'EPIPE': 64,
3607
- 'EDOM': 18,
3608
- 'ERANGE': 68,
3609
- 'ENOMSG': 49,
3610
- 'EIDRM': 24,
3611
- 'ECHRNG': 106,
3612
- 'EL2NSYNC': 156,
3613
- 'EL3HLT': 107,
3614
- 'EL3RST': 108,
3615
- 'ELNRNG': 109,
3616
- 'EUNATCH': 110,
3617
- 'ENOCSI': 111,
3618
- 'EL2HLT': 112,
3619
- 'EDEADLK': 16,
3620
- 'ENOLCK': 46,
3621
- 'EBADE': 113,
3622
- 'EBADR': 114,
3623
- 'EXFULL': 115,
3624
- 'ENOANO': 104,
3625
- 'EBADRQC': 103,
3626
- 'EBADSLT': 102,
3627
- 'EDEADLOCK': 16,
3628
- 'EBFONT': 101,
3629
- 'ENOSTR': 100,
3630
- 'ENODATA': 116,
3631
- 'ETIME': 117,
3632
- 'ENOSR': 118,
3633
- 'ENONET': 119,
3634
- 'ENOPKG': 120,
3635
- 'EREMOTE': 121,
3636
- 'ENOLINK': 47,
3637
- 'EADV': 122,
3638
- 'ESRMNT': 123,
3639
- 'ECOMM': 124,
3640
- 'EPROTO': 65,
3641
- 'EMULTIHOP': 36,
3642
- 'EDOTDOT': 125,
3643
- 'EBADMSG': 9,
3644
- 'ENOTUNIQ': 126,
3645
- 'EBADFD': 127,
3646
- 'EREMCHG': 128,
3647
- 'ELIBACC': 129,
3648
- 'ELIBBAD': 130,
3649
- 'ELIBSCN': 131,
3650
- 'ELIBMAX': 132,
3651
- 'ELIBEXEC': 133,
3652
- 'ENOSYS': 52,
3653
- 'ENOTEMPTY': 55,
3654
- 'ENAMETOOLONG': 37,
3655
- 'ELOOP': 32,
3656
- 'EOPNOTSUPP': 138,
3657
- 'EPFNOSUPPORT': 139,
3658
- 'ECONNRESET': 15,
3659
- 'ENOBUFS': 42,
3660
- 'EAFNOSUPPORT': 5,
3661
- 'EPROTOTYPE': 67,
3662
- 'ENOTSOCK': 57,
3663
- 'ENOPROTOOPT': 50,
3664
- 'ESHUTDOWN': 140,
3665
- 'ECONNREFUSED': 14,
3666
- 'EADDRINUSE': 3,
3667
- 'ECONNABORTED': 13,
3668
- 'ENETUNREACH': 40,
3669
- 'ENETDOWN': 38,
3670
- 'ETIMEDOUT': 73,
3671
- 'EHOSTDOWN': 142,
3672
- 'EHOSTUNREACH': 23,
3673
- 'EINPROGRESS': 26,
3674
- 'EALREADY': 7,
3675
- 'EDESTADDRREQ': 17,
3676
- 'EMSGSIZE': 35,
3677
- 'EPROTONOSUPPORT': 66,
3678
- 'ESOCKTNOSUPPORT': 137,
3679
- 'EADDRNOTAVAIL': 4,
3680
- 'ENETRESET': 39,
3681
- 'EISCONN': 30,
3682
- 'ENOTCONN': 53,
3683
- 'ETOOMANYREFS': 141,
3684
- 'EUSERS': 136,
3685
- 'EDQUOT': 19,
3686
- 'ESTALE': 72,
3687
- 'ENOTSUP': 138,
3688
- 'ENOMEDIUM': 148,
3689
- 'EILSEQ': 25,
3690
- 'EOVERFLOW': 61,
3691
- 'ECANCELED': 11,
3692
- 'ENOTRECOVERABLE': 56,
3693
- 'EOWNERDEAD': 62,
3694
- 'ESTRPIPE': 135,
3695
- };
3597
+ };
3696
3598
 
3697
3599
  var demangle = (func) => {
3698
3600
  warnOnce('warning: build with -sDEMANGLE_SUPPORT to link in libcxxabi demangling');
@@ -5033,6 +4935,7 @@ function dbg(text) {
5033
4935
  FS.close(stream);
5034
4936
  FS.chmod(node, mode);
5035
4937
  }
4938
+ return node;
5036
4939
  },
5037
4940
  createDevice(parent, name, input, output) {
5038
4941
  var path = PATH.join2(typeof parent == 'string' ? parent : FS.getPath(parent), name);
@@ -5332,19 +5235,19 @@ function dbg(text) {
5332
5235
  HEAP32[(((buf)+(12))>>2)] = stat.uid;
5333
5236
  HEAP32[(((buf)+(16))>>2)] = stat.gid;
5334
5237
  HEAP32[(((buf)+(20))>>2)] = stat.rdev;
5335
- (tempI64 = [stat.size>>>0,(tempDouble = stat.size,(+(Math.abs(tempDouble))) >= 1.0 ? (tempDouble > 0.0 ? (+(Math.floor((tempDouble)/4294967296.0)))>>>0 : (~~((+(Math.ceil((tempDouble - +(((~~(tempDouble)))>>>0))/4294967296.0)))))>>>0) : 0)], HEAP32[(((buf)+(24))>>2)] = tempI64[0],HEAP32[(((buf)+(28))>>2)] = tempI64[1]);
5238
+ (tempI64 = [stat.size>>>0,(tempDouble=stat.size,(+(Math.abs(tempDouble))) >= 1.0 ? (tempDouble > 0.0 ? (+(Math.floor((tempDouble)/4294967296.0)))>>>0 : (~~((+(Math.ceil((tempDouble - +(((~~(tempDouble)))>>>0))/4294967296.0)))))>>>0) : 0)], HEAP32[(((buf)+(24))>>2)] = tempI64[0],HEAP32[(((buf)+(28))>>2)] = tempI64[1]);
5336
5239
  HEAP32[(((buf)+(32))>>2)] = 4096;
5337
5240
  HEAP32[(((buf)+(36))>>2)] = stat.blocks;
5338
5241
  var atime = stat.atime.getTime();
5339
5242
  var mtime = stat.mtime.getTime();
5340
5243
  var ctime = stat.ctime.getTime();
5341
- (tempI64 = [Math.floor(atime / 1000)>>>0,(tempDouble = Math.floor(atime / 1000),(+(Math.abs(tempDouble))) >= 1.0 ? (tempDouble > 0.0 ? (+(Math.floor((tempDouble)/4294967296.0)))>>>0 : (~~((+(Math.ceil((tempDouble - +(((~~(tempDouble)))>>>0))/4294967296.0)))))>>>0) : 0)], HEAP32[(((buf)+(40))>>2)] = tempI64[0],HEAP32[(((buf)+(44))>>2)] = tempI64[1]);
5244
+ (tempI64 = [Math.floor(atime / 1000)>>>0,(tempDouble=Math.floor(atime / 1000),(+(Math.abs(tempDouble))) >= 1.0 ? (tempDouble > 0.0 ? (+(Math.floor((tempDouble)/4294967296.0)))>>>0 : (~~((+(Math.ceil((tempDouble - +(((~~(tempDouble)))>>>0))/4294967296.0)))))>>>0) : 0)], HEAP32[(((buf)+(40))>>2)] = tempI64[0],HEAP32[(((buf)+(44))>>2)] = tempI64[1]);
5342
5245
  HEAPU32[(((buf)+(48))>>2)] = (atime % 1000) * 1000;
5343
- (tempI64 = [Math.floor(mtime / 1000)>>>0,(tempDouble = Math.floor(mtime / 1000),(+(Math.abs(tempDouble))) >= 1.0 ? (tempDouble > 0.0 ? (+(Math.floor((tempDouble)/4294967296.0)))>>>0 : (~~((+(Math.ceil((tempDouble - +(((~~(tempDouble)))>>>0))/4294967296.0)))))>>>0) : 0)], HEAP32[(((buf)+(56))>>2)] = tempI64[0],HEAP32[(((buf)+(60))>>2)] = tempI64[1]);
5246
+ (tempI64 = [Math.floor(mtime / 1000)>>>0,(tempDouble=Math.floor(mtime / 1000),(+(Math.abs(tempDouble))) >= 1.0 ? (tempDouble > 0.0 ? (+(Math.floor((tempDouble)/4294967296.0)))>>>0 : (~~((+(Math.ceil((tempDouble - +(((~~(tempDouble)))>>>0))/4294967296.0)))))>>>0) : 0)], HEAP32[(((buf)+(56))>>2)] = tempI64[0],HEAP32[(((buf)+(60))>>2)] = tempI64[1]);
5344
5247
  HEAPU32[(((buf)+(64))>>2)] = (mtime % 1000) * 1000;
5345
- (tempI64 = [Math.floor(ctime / 1000)>>>0,(tempDouble = Math.floor(ctime / 1000),(+(Math.abs(tempDouble))) >= 1.0 ? (tempDouble > 0.0 ? (+(Math.floor((tempDouble)/4294967296.0)))>>>0 : (~~((+(Math.ceil((tempDouble - +(((~~(tempDouble)))>>>0))/4294967296.0)))))>>>0) : 0)], HEAP32[(((buf)+(72))>>2)] = tempI64[0],HEAP32[(((buf)+(76))>>2)] = tempI64[1]);
5248
+ (tempI64 = [Math.floor(ctime / 1000)>>>0,(tempDouble=Math.floor(ctime / 1000),(+(Math.abs(tempDouble))) >= 1.0 ? (tempDouble > 0.0 ? (+(Math.floor((tempDouble)/4294967296.0)))>>>0 : (~~((+(Math.ceil((tempDouble - +(((~~(tempDouble)))>>>0))/4294967296.0)))))>>>0) : 0)], HEAP32[(((buf)+(72))>>2)] = tempI64[0],HEAP32[(((buf)+(76))>>2)] = tempI64[1]);
5346
5249
  HEAPU32[(((buf)+(80))>>2)] = (ctime % 1000) * 1000;
5347
- (tempI64 = [stat.ino>>>0,(tempDouble = stat.ino,(+(Math.abs(tempDouble))) >= 1.0 ? (tempDouble > 0.0 ? (+(Math.floor((tempDouble)/4294967296.0)))>>>0 : (~~((+(Math.ceil((tempDouble - +(((~~(tempDouble)))>>>0))/4294967296.0)))))>>>0) : 0)], HEAP32[(((buf)+(88))>>2)] = tempI64[0],HEAP32[(((buf)+(92))>>2)] = tempI64[1]);
5250
+ (tempI64 = [stat.ino>>>0,(tempDouble=stat.ino,(+(Math.abs(tempDouble))) >= 1.0 ? (tempDouble > 0.0 ? (+(Math.floor((tempDouble)/4294967296.0)))>>>0 : (~~((+(Math.ceil((tempDouble - +(((~~(tempDouble)))>>>0))/4294967296.0)))))>>>0) : 0)], HEAP32[(((buf)+(88))>>2)] = tempI64[0],HEAP32[(((buf)+(92))>>2)] = tempI64[1]);
5348
5251
  return 0;
5349
5252
  },
5350
5253
  doMsync(addr, stream, len, flags, offset) {
@@ -5486,7 +5389,7 @@ function dbg(text) {
5486
5389
  if (isNaN(offset)) return 61;
5487
5390
  var stream = SYSCALLS.getStreamFromFD(fd);
5488
5391
  FS.llseek(stream, offset, whence);
5489
- (tempI64 = [stream.position>>>0,(tempDouble = stream.position,(+(Math.abs(tempDouble))) >= 1.0 ? (tempDouble > 0.0 ? (+(Math.floor((tempDouble)/4294967296.0)))>>>0 : (~~((+(Math.ceil((tempDouble - +(((~~(tempDouble)))>>>0))/4294967296.0)))))>>>0) : 0)], HEAP32[((newOffset)>>2)] = tempI64[0],HEAP32[(((newOffset)+(4))>>2)] = tempI64[1]);
5392
+ (tempI64 = [stream.position>>>0,(tempDouble=stream.position,(+(Math.abs(tempDouble))) >= 1.0 ? (tempDouble > 0.0 ? (+(Math.floor((tempDouble)/4294967296.0)))>>>0 : (~~((+(Math.ceil((tempDouble - +(((~~(tempDouble)))>>>0))/4294967296.0)))))>>>0) : 0)], HEAP32[((newOffset)>>2)] = tempI64[0],HEAP32[(((newOffset)+(4))>>2)] = tempI64[1]);
5490
5393
  if (stream.getdents && offset === 0 && whence === 0) stream.getdents = null; // reset readdir state
5491
5394
  return 0;
5492
5395
  } catch (e) {
@@ -5526,7 +5429,9 @@ function dbg(text) {
5526
5429
  }
5527
5430
  }
5528
5431
 
5529
- var isLeapYear = (year) => year%4 === 0 && (year%100 !== 0 || year%400 === 0);
5432
+ var isLeapYear = (year) => {
5433
+ return year%4 === 0 && (year%100 !== 0 || year%400 === 0);
5434
+ };
5530
5435
 
5531
5436
  var arraySum = (array, index) => {
5532
5437
  var sum = 0;
@@ -5901,6 +5806,129 @@ UnboundTypeError = Module['UnboundTypeError'] = extendError(Error, 'UnboundTypeE
5901
5806
  FS.FSNode = FSNode;
5902
5807
  FS.createPreloadedFile = FS_createPreloadedFile;
5903
5808
  FS.staticInit();;
5809
+ ERRNO_CODES = {
5810
+ 'EPERM': 63,
5811
+ 'ENOENT': 44,
5812
+ 'ESRCH': 71,
5813
+ 'EINTR': 27,
5814
+ 'EIO': 29,
5815
+ 'ENXIO': 60,
5816
+ 'E2BIG': 1,
5817
+ 'ENOEXEC': 45,
5818
+ 'EBADF': 8,
5819
+ 'ECHILD': 12,
5820
+ 'EAGAIN': 6,
5821
+ 'EWOULDBLOCK': 6,
5822
+ 'ENOMEM': 48,
5823
+ 'EACCES': 2,
5824
+ 'EFAULT': 21,
5825
+ 'ENOTBLK': 105,
5826
+ 'EBUSY': 10,
5827
+ 'EEXIST': 20,
5828
+ 'EXDEV': 75,
5829
+ 'ENODEV': 43,
5830
+ 'ENOTDIR': 54,
5831
+ 'EISDIR': 31,
5832
+ 'EINVAL': 28,
5833
+ 'ENFILE': 41,
5834
+ 'EMFILE': 33,
5835
+ 'ENOTTY': 59,
5836
+ 'ETXTBSY': 74,
5837
+ 'EFBIG': 22,
5838
+ 'ENOSPC': 51,
5839
+ 'ESPIPE': 70,
5840
+ 'EROFS': 69,
5841
+ 'EMLINK': 34,
5842
+ 'EPIPE': 64,
5843
+ 'EDOM': 18,
5844
+ 'ERANGE': 68,
5845
+ 'ENOMSG': 49,
5846
+ 'EIDRM': 24,
5847
+ 'ECHRNG': 106,
5848
+ 'EL2NSYNC': 156,
5849
+ 'EL3HLT': 107,
5850
+ 'EL3RST': 108,
5851
+ 'ELNRNG': 109,
5852
+ 'EUNATCH': 110,
5853
+ 'ENOCSI': 111,
5854
+ 'EL2HLT': 112,
5855
+ 'EDEADLK': 16,
5856
+ 'ENOLCK': 46,
5857
+ 'EBADE': 113,
5858
+ 'EBADR': 114,
5859
+ 'EXFULL': 115,
5860
+ 'ENOANO': 104,
5861
+ 'EBADRQC': 103,
5862
+ 'EBADSLT': 102,
5863
+ 'EDEADLOCK': 16,
5864
+ 'EBFONT': 101,
5865
+ 'ENOSTR': 100,
5866
+ 'ENODATA': 116,
5867
+ 'ETIME': 117,
5868
+ 'ENOSR': 118,
5869
+ 'ENONET': 119,
5870
+ 'ENOPKG': 120,
5871
+ 'EREMOTE': 121,
5872
+ 'ENOLINK': 47,
5873
+ 'EADV': 122,
5874
+ 'ESRMNT': 123,
5875
+ 'ECOMM': 124,
5876
+ 'EPROTO': 65,
5877
+ 'EMULTIHOP': 36,
5878
+ 'EDOTDOT': 125,
5879
+ 'EBADMSG': 9,
5880
+ 'ENOTUNIQ': 126,
5881
+ 'EBADFD': 127,
5882
+ 'EREMCHG': 128,
5883
+ 'ELIBACC': 129,
5884
+ 'ELIBBAD': 130,
5885
+ 'ELIBSCN': 131,
5886
+ 'ELIBMAX': 132,
5887
+ 'ELIBEXEC': 133,
5888
+ 'ENOSYS': 52,
5889
+ 'ENOTEMPTY': 55,
5890
+ 'ENAMETOOLONG': 37,
5891
+ 'ELOOP': 32,
5892
+ 'EOPNOTSUPP': 138,
5893
+ 'EPFNOSUPPORT': 139,
5894
+ 'ECONNRESET': 15,
5895
+ 'ENOBUFS': 42,
5896
+ 'EAFNOSUPPORT': 5,
5897
+ 'EPROTOTYPE': 67,
5898
+ 'ENOTSOCK': 57,
5899
+ 'ENOPROTOOPT': 50,
5900
+ 'ESHUTDOWN': 140,
5901
+ 'ECONNREFUSED': 14,
5902
+ 'EADDRINUSE': 3,
5903
+ 'ECONNABORTED': 13,
5904
+ 'ENETUNREACH': 40,
5905
+ 'ENETDOWN': 38,
5906
+ 'ETIMEDOUT': 73,
5907
+ 'EHOSTDOWN': 142,
5908
+ 'EHOSTUNREACH': 23,
5909
+ 'EINPROGRESS': 26,
5910
+ 'EALREADY': 7,
5911
+ 'EDESTADDRREQ': 17,
5912
+ 'EMSGSIZE': 35,
5913
+ 'EPROTONOSUPPORT': 66,
5914
+ 'ESOCKTNOSUPPORT': 137,
5915
+ 'EADDRNOTAVAIL': 4,
5916
+ 'ENETRESET': 39,
5917
+ 'EISCONN': 30,
5918
+ 'ENOTCONN': 53,
5919
+ 'ETOOMANYREFS': 141,
5920
+ 'EUSERS': 136,
5921
+ 'EDQUOT': 19,
5922
+ 'ESTALE': 72,
5923
+ 'ENOTSUP': 138,
5924
+ 'ENOMEDIUM': 148,
5925
+ 'EILSEQ': 25,
5926
+ 'EOVERFLOW': 61,
5927
+ 'ECANCELED': 11,
5928
+ 'ENOTRECOVERABLE': 56,
5929
+ 'EOWNERDEAD': 62,
5930
+ 'ESTRPIPE': 135,
5931
+ };;
5904
5932
  function checkIncomingModuleAPI() {
5905
5933
  ignoredModuleProp('fetchSettings');
5906
5934
  }
@@ -5985,6 +6013,7 @@ var _main = Module['_main'] = createExportWrapper('main');
5985
6013
  var _free = createExportWrapper('free');
5986
6014
  var ___errno_location = createExportWrapper('__errno_location');
5987
6015
  var ___getTypeName = createExportWrapper('__getTypeName');
6016
+ var __embind_initialize_bindings = Module['__embind_initialize_bindings'] = createExportWrapper('_embind_initialize_bindings');
5988
6017
  var _fflush = Module['_fflush'] = createExportWrapper('fflush');
5989
6018
  var _setThrew = createExportWrapper('setThrew');
5990
6019
  var _emscripten_stack_init = () => (_emscripten_stack_init = wasmExports['emscripten_stack_init'])();
@@ -6251,11 +6280,8 @@ var missingLibrarySymbols = [
6251
6280
  'downcastPointer',
6252
6281
  'upcastPointer',
6253
6282
  'validateThis',
6254
- 'char_0',
6255
- 'char_9',
6256
- 'makeLegalFunctionName',
6283
+ 'craftEmvalAllocator',
6257
6284
  'emval_get_global',
6258
- 'emval_returnValue',
6259
6285
  'emval_lookupTypes',
6260
6286
  'emval_addMethodCaller',
6261
6287
  ];
@@ -6436,14 +6462,17 @@ var unexportedSymbols = [
6436
6462
  'detachFinalizer_deps',
6437
6463
  'deletionQueue',
6438
6464
  'delayFunction',
6465
+ 'char_0',
6466
+ 'char_9',
6467
+ 'makeLegalFunctionName',
6439
6468
  'emval_handles',
6440
6469
  'emval_symbols',
6441
6470
  'init_emval',
6442
6471
  'count_emval_handles',
6443
6472
  'getStringOrSymbol',
6444
6473
  'Emval',
6474
+ 'emval_newers',
6445
6475
  'emval_methodCallers',
6446
- 'reflectConstruct',
6447
6476
  ];
6448
6477
  unexportedSymbols.forEach(unexportedRuntimeSymbol);
6449
6478
 
@@ -6598,7 +6627,7 @@ run();
6598
6627
 
6599
6628
  return moduleArg.ready
6600
6629
  }
6630
+
6601
6631
  );
6602
6632
  })();
6603
- ;
6604
6633
  export default Module;