@php-wasm/node 2.0.3 → 2.0.5

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.
@@ -8,7 +8,7 @@ import path from 'path';
8
8
 
9
9
  const dependencyFilename = path.join(__dirname, '7_4_33', 'php_7_4.wasm');
10
10
  export { dependencyFilename };
11
- export const dependenciesTotalSize = 30107729;
11
+ export const dependenciesTotalSize = 30107713;
12
12
  const phpVersionString = '7.4.33';
13
13
  export function init(RuntimeName, PHPLoader) {
14
14
  // The rest of the code comes from the built php.js file and esm-suffix.js
@@ -831,7 +831,7 @@ export function init(RuntimeName, PHPLoader) {
831
831
  },
832
832
  };
833
833
 
834
- var ___heap_base = 13083904;
834
+ var ___heap_base = 13083840;
835
835
 
836
836
  var alignMemory = (size, alignment) => {
837
837
  return Math.ceil(size / alignment) * alignment;
@@ -1774,8 +1774,10 @@ export function init(RuntimeName, PHPLoader) {
1774
1774
  );
1775
1775
 
1776
1776
  var ___call_sighandler = (fp, sig) =>
1777
- ((a1) => {})(
1778
- /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ sig
1777
+ ((
1778
+ a1
1779
+ ) => {}) /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
1780
+ sig
1779
1781
  );
1780
1782
  ___call_sighandler.sig = 'vpi';
1781
1783
 
@@ -1854,13 +1856,13 @@ export function init(RuntimeName, PHPLoader) {
1854
1856
  1024
1855
1857
  );
1856
1858
 
1857
- var ___stack_high = 13083904;
1859
+ var ___stack_high = 13083840;
1858
1860
 
1859
- var ___stack_low = 12035328;
1861
+ var ___stack_low = 12035264;
1860
1862
 
1861
1863
  var ___stack_pointer = new WebAssembly.Global(
1862
1864
  { value: 'i32', mutable: true },
1863
- 13083904
1865
+ 13083840
1864
1866
  );
1865
1867
 
1866
1868
  var PATH = {
@@ -7348,6 +7350,8 @@ export function init(RuntimeName, PHPLoader) {
7348
7350
  return -ERRNO_CODES.EBADF;
7349
7351
  }
7350
7352
 
7353
+ const flockStructAddr = syscallGetVarargP();
7354
+
7351
7355
  if (!locking.is_path_to_shared_fs(vfsPath)) {
7352
7356
  _js_wasm_trace(
7353
7357
  "fcntl(%d, F_GETLK) locking is not implemented for non-NodeFS path '%s'",
@@ -7363,7 +7367,6 @@ export function init(RuntimeName, PHPLoader) {
7363
7367
  return 0;
7364
7368
  }
7365
7369
 
7366
- const flockStructAddr = syscallGetVarargP();
7367
7370
  const flockStruct = read_flock_struct(flockStructAddr);
7368
7371
 
7369
7372
  if (!(flockStruct.l_type in locking.fcntlToLockState)) {
@@ -8791,8 +8794,11 @@ export function init(RuntimeName, PHPLoader) {
8791
8794
  dlSetError(`'Could not load dynamic lib: ${filename}\n${e}`);
8792
8795
  runtimeKeepalivePop();
8793
8796
  callUserCallback(() =>
8794
- ((a1, a2) => {})(
8795
- /* a dynamic function call to signature vii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ handle,
8797
+ ((
8798
+ a1,
8799
+ a2
8800
+ ) => {}) /* a dynamic function call to signature vii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
8801
+ handle,
8796
8802
  user_data
8797
8803
  )
8798
8804
  );
@@ -8800,8 +8806,11 @@ export function init(RuntimeName, PHPLoader) {
8800
8806
  function successCallback() {
8801
8807
  runtimeKeepalivePop();
8802
8808
  callUserCallback(() =>
8803
- ((a1, a2) => {})(
8804
- /* a dynamic function call to signature vii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ handle,
8809
+ ((
8810
+ a1,
8811
+ a2
8812
+ ) => {}) /* a dynamic function call to signature vii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
8813
+ handle,
8805
8814
  user_data
8806
8815
  )
8807
8816
  );
@@ -19463,8 +19472,11 @@ export function init(RuntimeName, PHPLoader) {
19463
19472
  var trace = getCallstack();
19464
19473
  var parts = trace.split('\n');
19465
19474
  for (var i = 0; i < parts.length; i++) {
19466
- var ret = ((a1, a2) => {})(
19467
- /* a dynamic function call to signature iii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ 0,
19475
+ var ret = ((
19476
+ a1,
19477
+ a2
19478
+ ) => {}) /* a dynamic function call to signature iii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
19479
+ 0,
19468
19480
  arg
19469
19481
  );
19470
19482
  if (ret !== 0) return;
@@ -20040,8 +20052,12 @@ export function init(RuntimeName, PHPLoader) {
20040
20052
  stringToUTF8(e.locale || '', keyEventData + 128, 32);
20041
20053
 
20042
20054
  if (
20043
- ((a1, a2, a3) => {})(
20044
- /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ eventTypeId,
20055
+ ((
20056
+ a1,
20057
+ a2,
20058
+ a3
20059
+ ) => {}) /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
20060
+ eventTypeId,
20045
20061
  keyEventData,
20046
20062
  userData
20047
20063
  )
@@ -20159,8 +20175,12 @@ export function init(RuntimeName, PHPLoader) {
20159
20175
  fillMouseEventData(JSEvents.mouseEvent, e, target);
20160
20176
 
20161
20177
  if (
20162
- ((a1, a2, a3) => {})(
20163
- /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ eventTypeId,
20178
+ ((
20179
+ a1,
20180
+ a2,
20181
+ a3
20182
+ ) => {}) /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
20183
+ eventTypeId,
20164
20184
  JSEvents.mouseEvent,
20165
20185
  userData
20166
20186
  )
@@ -20374,8 +20394,12 @@ export function init(RuntimeName, PHPLoader) {
20374
20394
  HEAPF64[(wheelEvent + 80) >> 3] = e['deltaZ'];
20375
20395
  HEAP32[(wheelEvent + 88) >> 2] = e['deltaMode'];
20376
20396
  if (
20377
- ((a1, a2, a3) => {})(
20378
- /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ eventTypeId,
20397
+ ((
20398
+ a1,
20399
+ a2,
20400
+ a3
20401
+ ) => {}) /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
20402
+ eventTypeId,
20379
20403
  wheelEvent,
20380
20404
  userData
20381
20405
  )
@@ -20456,8 +20480,12 @@ export function init(RuntimeName, PHPLoader) {
20456
20480
  HEAP32[(uiEvent + 28) >> 2] = pageXOffset | 0; // scroll offsets are float
20457
20481
  HEAP32[(uiEvent + 32) >> 2] = pageYOffset | 0;
20458
20482
  if (
20459
- ((a1, a2, a3) => {})(
20460
- /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ eventTypeId,
20483
+ ((
20484
+ a1,
20485
+ a2,
20486
+ a3
20487
+ ) => {}) /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
20488
+ eventTypeId,
20461
20489
  uiEvent,
20462
20490
  userData
20463
20491
  )
@@ -20531,8 +20559,12 @@ export function init(RuntimeName, PHPLoader) {
20531
20559
  stringToUTF8(id, focusEvent + 128, 128);
20532
20560
 
20533
20561
  if (
20534
- ((a1, a2, a3) => {})(
20535
- /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ eventTypeId,
20562
+ ((
20563
+ a1,
20564
+ a2,
20565
+ a3
20566
+ ) => {}) /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
20567
+ eventTypeId,
20536
20568
  focusEvent,
20537
20569
  userData
20538
20570
  )
@@ -20648,8 +20680,12 @@ export function init(RuntimeName, PHPLoader) {
20648
20680
  ); // TODO: Thread-safety with respect to emscripten_get_deviceorientation_status()
20649
20681
 
20650
20682
  if (
20651
- ((a1, a2, a3) => {})(
20652
- /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ eventTypeId,
20683
+ ((
20684
+ a1,
20685
+ a2,
20686
+ a3
20687
+ ) => {}) /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
20688
+ eventTypeId,
20653
20689
  JSEvents.deviceOrientationEvent,
20654
20690
  userData
20655
20691
  )
@@ -20732,8 +20768,12 @@ export function init(RuntimeName, PHPLoader) {
20732
20768
  fillDeviceMotionEventData(JSEvents.deviceMotionEvent, e, target); // TODO: Thread-safety with respect to emscripten_get_devicemotion_status()
20733
20769
 
20734
20770
  if (
20735
- ((a1, a2, a3) => {})(
20736
- /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ eventTypeId,
20771
+ ((
20772
+ a1,
20773
+ a2,
20774
+ a3
20775
+ ) => {}) /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
20776
+ eventTypeId,
20737
20777
  JSEvents.deviceMotionEvent,
20738
20778
  userData
20739
20779
  )
@@ -20843,8 +20883,12 @@ export function init(RuntimeName, PHPLoader) {
20843
20883
  fillOrientationChangeEventData(orientationChangeEvent);
20844
20884
 
20845
20885
  if (
20846
- ((a1, a2, a3) => {})(
20847
- /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ eventTypeId,
20886
+ ((
20887
+ a1,
20888
+ a2,
20889
+ a3
20890
+ ) => {}) /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
20891
+ eventTypeId,
20848
20892
  orientationChangeEvent,
20849
20893
  userData
20850
20894
  )
@@ -20977,8 +21021,12 @@ export function init(RuntimeName, PHPLoader) {
20977
21021
  fillFullscreenChangeEventData(fullscreenChangeEvent);
20978
21022
 
20979
21023
  if (
20980
- ((a1, a2, a3) => {})(
20981
- /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ eventTypeId,
21024
+ ((
21025
+ a1,
21026
+ a2,
21027
+ a3
21028
+ ) => {}) /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
21029
+ eventTypeId,
20982
21030
  fullscreenChangeEvent,
20983
21031
  userData
20984
21032
  )
@@ -21142,8 +21190,12 @@ export function init(RuntimeName, PHPLoader) {
21142
21190
  );
21143
21191
 
21144
21192
  if (currentFullscreenStrategy.canvasResizedCallback) {
21145
- ((a1, a2, a3) => {})(
21146
- /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ 37,
21193
+ ((
21194
+ a1,
21195
+ a2,
21196
+ a3
21197
+ ) => {}) /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
21198
+ 37,
21147
21199
  0,
21148
21200
  currentFullscreenStrategy.canvasResizedCallbackUserData
21149
21201
  );
@@ -21249,8 +21301,12 @@ export function init(RuntimeName, PHPLoader) {
21249
21301
  currentFullscreenStrategy = strategy;
21250
21302
 
21251
21303
  if (strategy.canvasResizedCallback) {
21252
- ((a1, a2, a3) => {})(
21253
- /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ 37,
21304
+ ((
21305
+ a1,
21306
+ a2,
21307
+ a3
21308
+ ) => {}) /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
21309
+ 37,
21254
21310
  0,
21255
21311
  strategy.canvasResizedCallbackUserData
21256
21312
  );
@@ -21352,8 +21408,12 @@ export function init(RuntimeName, PHPLoader) {
21352
21408
  !inCenteredWithoutScalingFullscreenMode &&
21353
21409
  currentFullscreenStrategy.canvasResizedCallback
21354
21410
  ) {
21355
- ((a1, a2, a3) => {})(
21356
- /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ 37,
21411
+ ((
21412
+ a1,
21413
+ a2,
21414
+ a3
21415
+ ) => {}) /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
21416
+ 37,
21357
21417
  0,
21358
21418
  currentFullscreenStrategy.canvasResizedCallbackUserData
21359
21419
  );
@@ -21452,8 +21512,12 @@ export function init(RuntimeName, PHPLoader) {
21452
21512
  softFullscreenResizeWebGLRenderTarget
21453
21513
  );
21454
21514
  if (strategy.canvasResizedCallback) {
21455
- ((a1, a2, a3) => {})(
21456
- /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ 37,
21515
+ ((
21516
+ a1,
21517
+ a2,
21518
+ a3
21519
+ ) => {}) /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
21520
+ 37,
21457
21521
  0,
21458
21522
  strategy.canvasResizedCallbackUserData
21459
21523
  );
@@ -21466,8 +21530,12 @@ export function init(RuntimeName, PHPLoader) {
21466
21530
 
21467
21531
  // Inform the caller that the canvas size has changed.
21468
21532
  if (strategy.canvasResizedCallback) {
21469
- ((a1, a2, a3) => {})(
21470
- /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ 37,
21533
+ ((
21534
+ a1,
21535
+ a2,
21536
+ a3
21537
+ ) => {}) /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
21538
+ 37,
21471
21539
  0,
21472
21540
  strategy.canvasResizedCallbackUserData
21473
21541
  );
@@ -21535,8 +21603,12 @@ export function init(RuntimeName, PHPLoader) {
21535
21603
  fillPointerlockChangeEventData(pointerlockChangeEvent);
21536
21604
 
21537
21605
  if (
21538
- ((a1, a2, a3) => {})(
21539
- /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ eventTypeId,
21606
+ ((
21607
+ a1,
21608
+ a2,
21609
+ a3
21610
+ ) => {}) /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
21611
+ eventTypeId,
21540
21612
  pointerlockChangeEvent,
21541
21613
  userData
21542
21614
  )
@@ -21626,8 +21698,12 @@ export function init(RuntimeName, PHPLoader) {
21626
21698
  ) => {
21627
21699
  var pointerlockErrorEventHandlerFunc = (e = event) => {
21628
21700
  if (
21629
- ((a1, a2, a3) => {})(
21630
- /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ eventTypeId,
21701
+ ((
21702
+ a1,
21703
+ a2,
21704
+ a3
21705
+ ) => {}) /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
21706
+ eventTypeId,
21631
21707
  0,
21632
21708
  userData
21633
21709
  )
@@ -21827,8 +21903,12 @@ export function init(RuntimeName, PHPLoader) {
21827
21903
  fillVisibilityChangeEventData(visibilityChangeEvent);
21828
21904
 
21829
21905
  if (
21830
- ((a1, a2, a3) => {})(
21831
- /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ eventTypeId,
21906
+ ((
21907
+ a1,
21908
+ a2,
21909
+ a3
21910
+ ) => {}) /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
21911
+ eventTypeId,
21832
21912
  visibilityChangeEvent,
21833
21913
  userData
21834
21914
  )
@@ -21948,8 +22028,12 @@ export function init(RuntimeName, PHPLoader) {
21948
22028
  HEAP32[(touchEvent + 8) >> 2] = numTouches;
21949
22029
 
21950
22030
  if (
21951
- ((a1, a2, a3) => {})(
21952
- /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ eventTypeId,
22031
+ ((
22032
+ a1,
22033
+ a2,
22034
+ a3
22035
+ ) => {}) /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
22036
+ eventTypeId,
21953
22037
  touchEvent,
21954
22038
  userData
21955
22039
  )
@@ -22087,8 +22171,12 @@ export function init(RuntimeName, PHPLoader) {
22087
22171
  fillGamepadEventData(gamepadEvent, e['gamepad']);
22088
22172
 
22089
22173
  if (
22090
- ((a1, a2, a3) => {})(
22091
- /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ eventTypeId,
22174
+ ((
22175
+ a1,
22176
+ a2,
22177
+ a3
22178
+ ) => {}) /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
22179
+ eventTypeId,
22092
22180
  gamepadEvent,
22093
22181
  userData
22094
22182
  )
@@ -22190,8 +22278,12 @@ export function init(RuntimeName, PHPLoader) {
22190
22278
  ) => {
22191
22279
  var beforeUnloadEventHandlerFunc = (e = event) => {
22192
22280
  // Note: This is always called on the main browser thread, since it needs synchronously return a value!
22193
- var confirmationMessage = ((a1, a2, a3) => {})(
22194
- /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ eventTypeId,
22281
+ var confirmationMessage = ((
22282
+ a1,
22283
+ a2,
22284
+ a3
22285
+ ) => {}) /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
22286
+ eventTypeId,
22195
22287
  0,
22196
22288
  userData
22197
22289
  );
@@ -22262,8 +22354,12 @@ export function init(RuntimeName, PHPLoader) {
22262
22354
  fillBatteryEventData(batteryEvent, battery());
22263
22355
 
22264
22356
  if (
22265
- ((a1, a2, a3) => {})(
22266
- /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ eventTypeId,
22357
+ ((
22358
+ a1,
22359
+ a2,
22360
+ a3
22361
+ ) => {}) /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
22362
+ eventTypeId,
22267
22363
  batteryEvent,
22268
22364
  userData
22269
22365
  )
@@ -22353,8 +22449,11 @@ export function init(RuntimeName, PHPLoader) {
22353
22449
 
22354
22450
  var _emscripten_request_animation_frame = (cb, userData) =>
22355
22451
  requestAnimationFrame((timeStamp) =>
22356
- ((a1, a2) => {})(
22357
- /* a dynamic function call to signature idi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ timeStamp,
22452
+ ((
22453
+ a1,
22454
+ a2
22455
+ ) => {}) /* a dynamic function call to signature idi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
22456
+ timeStamp,
22358
22457
  userData
22359
22458
  )
22360
22459
  );
@@ -22366,8 +22465,11 @@ export function init(RuntimeName, PHPLoader) {
22366
22465
  var _emscripten_request_animation_frame_loop = (cb, userData) => {
22367
22466
  function tick(timeStamp) {
22368
22467
  if (
22369
- ((a1, a2) => {})(
22370
- /* a dynamic function call to signature idi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ timeStamp,
22468
+ ((
22469
+ a1,
22470
+ a2
22471
+ ) => {}) /* a dynamic function call to signature idi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
22472
+ timeStamp,
22371
22473
  userData
22372
22474
  )
22373
22475
  ) {
@@ -22592,8 +22694,10 @@ export function init(RuntimeName, PHPLoader) {
22592
22694
  return emSetImmediate(() => {
22593
22695
  runtimeKeepalivePop();
22594
22696
  callUserCallback(() =>
22595
- ((a1) => {})(
22596
- /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ userData
22697
+ ((
22698
+ a1
22699
+ ) => {}) /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
22700
+ userData
22597
22701
  )
22598
22702
  );
22599
22703
  });
@@ -22610,8 +22714,10 @@ export function init(RuntimeName, PHPLoader) {
22610
22714
  function tick() {
22611
22715
  callUserCallback(() => {
22612
22716
  if (
22613
- ((a1) => {})(
22614
- /* a dynamic function call to signature ii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ userData
22717
+ ((
22718
+ a1
22719
+ ) => {}) /* a dynamic function call to signature ii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
22720
+ userData
22615
22721
  )
22616
22722
  ) {
22617
22723
  emSetImmediate(tick);
@@ -22628,8 +22734,10 @@ export function init(RuntimeName, PHPLoader) {
22628
22734
  var _emscripten_set_timeout = (cb, msecs, userData) =>
22629
22735
  safeSetTimeout(
22630
22736
  () =>
22631
- ((a1) => {})(
22632
- /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ userData
22737
+ ((
22738
+ a1
22739
+ ) => {}) /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
22740
+ userData
22633
22741
  ),
22634
22742
  msecs
22635
22743
  );
@@ -22645,8 +22753,11 @@ export function init(RuntimeName, PHPLoader) {
22645
22753
  runtimeKeepalivePop();
22646
22754
  callUserCallback(() => {
22647
22755
  if (
22648
- ((a1, a2) => {})(
22649
- /* a dynamic function call to signature idi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ t,
22756
+ ((
22757
+ a1,
22758
+ a2
22759
+ ) => {}) /* a dynamic function call to signature idi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
22760
+ t,
22650
22761
  userData
22651
22762
  )
22652
22763
  ) {
@@ -22670,8 +22781,10 @@ export function init(RuntimeName, PHPLoader) {
22670
22781
  runtimeKeepalivePush();
22671
22782
  return setInterval(() => {
22672
22783
  callUserCallback(() =>
22673
- ((a1) => {})(
22674
- /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ userData
22784
+ ((
22785
+ a1
22786
+ ) => {}) /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
22787
+ userData
22675
22788
  )
22676
22789
  );
22677
22790
  }, msecs);
@@ -22686,8 +22799,10 @@ export function init(RuntimeName, PHPLoader) {
22686
22799
 
22687
22800
  var _emscripten_async_call = (func, arg, millis) => {
22688
22801
  var wrapper = () =>
22689
- ((a1) => {})(
22690
- /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ arg
22802
+ ((
22803
+ a1
22804
+ ) => {}) /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
22805
+ arg
22691
22806
  );
22692
22807
 
22693
22808
  if (
@@ -22720,7 +22835,7 @@ export function init(RuntimeName, PHPLoader) {
22720
22835
 
22721
22836
  var _emscripten_set_main_loop = (func, fps, simulateInfiniteLoop) => {
22722
22837
  var iterFunc =
22723
- () => {}; /* a dynamic function call to signature v, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */
22838
+ () => {} /* a dynamic function call to signature v, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */;
22724
22839
  setMainLoop(iterFunc, fps, simulateInfiniteLoop);
22725
22840
  };
22726
22841
  _emscripten_set_main_loop.sig = 'vpii';
@@ -22732,8 +22847,10 @@ export function init(RuntimeName, PHPLoader) {
22732
22847
  simulateInfiniteLoop
22733
22848
  ) => {
22734
22849
  var iterFunc = () =>
22735
- ((a1) => {})(
22736
- /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ arg
22850
+ ((
22851
+ a1
22852
+ ) => {}) /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
22853
+ arg
22737
22854
  );
22738
22855
  setMainLoop(iterFunc, fps, simulateInfiniteLoop, arg);
22739
22856
  };
@@ -22754,8 +22871,10 @@ export function init(RuntimeName, PHPLoader) {
22754
22871
  var __emscripten_push_main_loop_blocker = (func, arg, name) => {
22755
22872
  MainLoop.queue.push({
22756
22873
  func: () => {
22757
- ((a1) => {})(
22758
- /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ arg
22874
+ ((
22875
+ a1
22876
+ ) => {}) /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
22877
+ arg
22759
22878
  );
22760
22879
  },
22761
22880
  name: UTF8ToString(name),
@@ -22768,8 +22887,10 @@ export function init(RuntimeName, PHPLoader) {
22768
22887
  var __emscripten_push_uncounted_main_loop_blocker = (func, arg, name) => {
22769
22888
  MainLoop.queue.push({
22770
22889
  func: () => {
22771
- ((a1) => {})(
22772
- /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ arg
22890
+ ((
22891
+ a1
22892
+ ) => {}) /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
22893
+ arg
22773
22894
  );
22774
22895
  },
22775
22896
  name: UTF8ToString(name),
@@ -22803,8 +22924,12 @@ export function init(RuntimeName, PHPLoader) {
22803
22924
  var resultPtr = stackAlloc(POINTER_SIZE);
22804
22925
  HEAPU32[resultPtr >> 2] = 0;
22805
22926
  try {
22806
- var result = ((a1, a2, a3) => {})(
22807
- /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ resultPtr,
22927
+ var result = ((
22928
+ a1,
22929
+ a2,
22930
+ a3
22931
+ ) => {}) /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
22932
+ resultPtr,
22808
22933
  userData,
22809
22934
  value
22810
22935
  );
@@ -23740,15 +23865,19 @@ export function init(RuntimeName, PHPLoader) {
23740
23865
  () => {
23741
23866
  runtimeKeepalivePop();
23742
23867
  if (onload)
23743
- ((a1) => {})(
23744
- /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ file
23868
+ ((
23869
+ a1
23870
+ ) => {}) /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
23871
+ file
23745
23872
  );
23746
23873
  },
23747
23874
  () => {
23748
23875
  runtimeKeepalivePop();
23749
23876
  if (onerror)
23750
- ((a1) => {})(
23751
- /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ file
23877
+ ((
23878
+ a1
23879
+ ) => {}) /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
23880
+ file
23752
23881
  );
23753
23882
  },
23754
23883
  true // don'tCreateFile - it's already there
@@ -23782,16 +23911,21 @@ export function init(RuntimeName, PHPLoader) {
23782
23911
  () => {
23783
23912
  runtimeKeepalivePop();
23784
23913
  if (onload)
23785
- ((a1, a2) => {})(
23786
- /* a dynamic function call to signature vii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ arg,
23914
+ ((
23915
+ a1,
23916
+ a2
23917
+ ) => {}) /* a dynamic function call to signature vii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
23918
+ arg,
23787
23919
  cname
23788
23920
  );
23789
23921
  },
23790
23922
  () => {
23791
23923
  runtimeKeepalivePop();
23792
23924
  if (onerror)
23793
- ((a1) => {})(
23794
- /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ arg
23925
+ ((
23926
+ a1
23927
+ ) => {}) /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
23928
+ arg
23795
23929
  );
23796
23930
  },
23797
23931
  true // don'tCreateFile - it's already there
@@ -24064,10 +24198,10 @@ export function init(RuntimeName, PHPLoader) {
24064
24198
  runtimeKeepalivePop();
24065
24199
  callUserCallback(() => {
24066
24200
  var sp = stackSave();
24067
- ((a1) => {})(
24068
- /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ stringToUTF8OnStack(
24069
- _file
24070
- )
24201
+ ((
24202
+ a1
24203
+ ) => {}) /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
24204
+ stringToUTF8OnStack(_file)
24071
24205
  );
24072
24206
  stackRestore(sp);
24073
24207
  });
@@ -24111,8 +24245,12 @@ export function init(RuntimeName, PHPLoader) {
24111
24245
  callUserCallback(() => {
24112
24246
  var buffer = _malloc(byteArray.length);
24113
24247
  HEAPU8.set(byteArray, buffer);
24114
- ((a1, a2, a3) => {})(
24115
- /* a dynamic function call to signature viii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ userdata,
24248
+ ((
24249
+ a1,
24250
+ a2,
24251
+ a3
24252
+ ) => {}) /* a dynamic function call to signature viii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
24253
+ userdata,
24116
24254
  buffer,
24117
24255
  byteArray.length
24118
24256
  );
@@ -24122,8 +24260,10 @@ export function init(RuntimeName, PHPLoader) {
24122
24260
  if (onerror) {
24123
24261
  runtimeKeepalivePop();
24124
24262
  callUserCallback(() => {
24125
- ((a1) => {})(
24126
- /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ userdata
24263
+ ((
24264
+ a1
24265
+ ) => {}) /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
24266
+ userdata
24127
24267
  );
24128
24268
  });
24129
24269
  }
@@ -24180,8 +24320,12 @@ export function init(RuntimeName, PHPLoader) {
24180
24320
  );
24181
24321
  if (onload) {
24182
24322
  var sp = stackSave();
24183
- ((a1, a2, a3) => {})(
24184
- /* a dynamic function call to signature viii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ handle,
24323
+ ((
24324
+ a1,
24325
+ a2,
24326
+ a3
24327
+ ) => {}) /* a dynamic function call to signature viii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
24328
+ handle,
24185
24329
  userdata,
24186
24330
  stringToUTF8OnStack(_file)
24187
24331
  );
@@ -24189,8 +24333,12 @@ export function init(RuntimeName, PHPLoader) {
24189
24333
  }
24190
24334
  } else {
24191
24335
  if (onerror)
24192
- ((a1, a2, a3) => {})(
24193
- /* a dynamic function call to signature viii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ handle,
24336
+ ((
24337
+ a1,
24338
+ a2,
24339
+ a3
24340
+ ) => {}) /* a dynamic function call to signature viii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
24341
+ handle,
24194
24342
  userdata,
24195
24343
  http.status
24196
24344
  );
@@ -24203,8 +24351,12 @@ export function init(RuntimeName, PHPLoader) {
24203
24351
  http.onerror = (e) => {
24204
24352
  runtimeKeepalivePop();
24205
24353
  if (onerror)
24206
- ((a1, a2, a3) => {})(
24207
- /* a dynamic function call to signature viii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ handle,
24354
+ ((
24355
+ a1,
24356
+ a2,
24357
+ a3
24358
+ ) => {}) /* a dynamic function call to signature viii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
24359
+ handle,
24208
24360
  userdata,
24209
24361
  http.status
24210
24362
  );
@@ -24219,8 +24371,12 @@ export function init(RuntimeName, PHPLoader) {
24219
24371
  ) {
24220
24372
  var percentComplete = (e.loaded / e.total) * 100;
24221
24373
  if (onprogress)
24222
- ((a1, a2, a3) => {})(
24223
- /* a dynamic function call to signature viii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ handle,
24374
+ ((
24375
+ a1,
24376
+ a2,
24377
+ a3
24378
+ ) => {}) /* a dynamic function call to signature viii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
24379
+ handle,
24224
24380
  userdata,
24225
24381
  percentComplete
24226
24382
  );
@@ -24277,8 +24433,13 @@ export function init(RuntimeName, PHPLoader) {
24277
24433
  if (http.statusText) {
24278
24434
  statusText = stringToUTF8OnStack(http.statusText);
24279
24435
  }
24280
- ((a1, a2, a3, a4) => {})(
24281
- /* a dynamic function call to signature viiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ handle,
24436
+ ((
24437
+ a1,
24438
+ a2,
24439
+ a3,
24440
+ a4
24441
+ ) => {}) /* a dynamic function call to signature viiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
24442
+ handle,
24282
24443
  userdata,
24283
24444
  http.status,
24284
24445
  statusText
@@ -24299,8 +24460,13 @@ export function init(RuntimeName, PHPLoader) {
24299
24460
  var buffer = _malloc(byteArray.length);
24300
24461
  HEAPU8.set(byteArray, buffer);
24301
24462
  if (onload)
24302
- ((a1, a2, a3, a4) => {})(
24303
- /* a dynamic function call to signature viiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ handle,
24463
+ ((
24464
+ a1,
24465
+ a2,
24466
+ a3,
24467
+ a4
24468
+ ) => {}) /* a dynamic function call to signature viiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
24469
+ handle,
24304
24470
  userdata,
24305
24471
  buffer,
24306
24472
  byteArray.length
@@ -24321,8 +24487,13 @@ export function init(RuntimeName, PHPLoader) {
24321
24487
  // PROGRESS
24322
24488
  http.onprogress = (e) => {
24323
24489
  if (onprogress)
24324
- ((a1, a2, a3, a4) => {})(
24325
- /* a dynamic function call to signature viiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ handle,
24490
+ ((
24491
+ a1,
24492
+ a2,
24493
+ a3,
24494
+ a4
24495
+ ) => {}) /* a dynamic function call to signature viiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
24496
+ handle,
24326
24497
  userdata,
24327
24498
  e.loaded,
24328
24499
  e.lengthComputable || e.lengthComputable === undefined
@@ -24442,16 +24613,24 @@ export function init(RuntimeName, PHPLoader) {
24442
24613
  if (event === 'error') {
24443
24614
  withStackSave(() => {
24444
24615
  var msg = stringToUTF8OnStack(data[2]);
24445
- ((a1, a2, a3, a4) => {})(
24446
- /* a dynamic function call to signature viiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ data[0],
24616
+ ((
24617
+ a1,
24618
+ a2,
24619
+ a3,
24620
+ a4
24621
+ ) => {}) /* a dynamic function call to signature viiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
24622
+ data[0],
24447
24623
  data[1],
24448
24624
  msg,
24449
24625
  userData
24450
24626
  );
24451
24627
  });
24452
24628
  } else {
24453
- ((a1, a2) => {})(
24454
- /* a dynamic function call to signature vii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ data,
24629
+ ((
24630
+ a1,
24631
+ a2
24632
+ ) => {}) /* a dynamic function call to signature vii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
24633
+ data,
24455
24634
  userData
24456
24635
  );
24457
24636
  }
@@ -24917,8 +25096,12 @@ export function init(RuntimeName, PHPLoader) {
24917
25096
  ) => {
24918
25097
  var webGlEventHandlerFunc = (e = event) => {
24919
25098
  if (
24920
- ((a1, a2, a3) => {})(
24921
- /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ eventTypeId,
25099
+ ((
25100
+ a1,
25101
+ a2,
25102
+ a3
25103
+ ) => {}) /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
25104
+ eventTypeId,
24922
25105
  0,
24923
25106
  userData
24924
25107
  )
@@ -25137,15 +25320,21 @@ export function init(RuntimeName, PHPLoader) {
25137
25320
  ) {
25138
25321
  event.preventDefault();
25139
25322
  GLUT.saveModifiers(event);
25140
- ((a1, a2) => {})(
25141
- /* a dynamic function call to signature vii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ lastX,
25323
+ ((
25324
+ a1,
25325
+ a2
25326
+ ) => {}) /* a dynamic function call to signature vii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
25327
+ lastX,
25142
25328
  lastY
25143
25329
  );
25144
25330
  } else if (GLUT.buttons != 0 && GLUT.motionFunc) {
25145
25331
  event.preventDefault();
25146
25332
  GLUT.saveModifiers(event);
25147
- ((a1, a2) => {})(
25148
- /* a dynamic function call to signature vii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ lastX,
25333
+ ((
25334
+ a1,
25335
+ a2
25336
+ ) => {}) /* a dynamic function call to signature vii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
25337
+ lastX,
25149
25338
  lastY
25150
25339
  );
25151
25340
  }
@@ -25306,8 +25495,12 @@ export function init(RuntimeName, PHPLoader) {
25306
25495
  if (GLUT.specialFunc) {
25307
25496
  event.preventDefault();
25308
25497
  GLUT.saveModifiers(event);
25309
- ((a1, a2, a3) => {})(
25310
- /* a dynamic function call to signature viii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ key,
25498
+ ((
25499
+ a1,
25500
+ a2,
25501
+ a3
25502
+ ) => {}) /* a dynamic function call to signature viii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
25503
+ key,
25311
25504
  Browser.mouseX,
25312
25505
  Browser.mouseY
25313
25506
  );
@@ -25317,8 +25510,12 @@ export function init(RuntimeName, PHPLoader) {
25317
25510
  if (key !== null && GLUT.keyboardFunc) {
25318
25511
  event.preventDefault();
25319
25512
  GLUT.saveModifiers(event);
25320
- ((a1, a2, a3) => {})(
25321
- /* a dynamic function call to signature viii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ key,
25513
+ ((
25514
+ a1,
25515
+ a2,
25516
+ a3
25517
+ ) => {}) /* a dynamic function call to signature viii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
25518
+ key,
25322
25519
  Browser.mouseX,
25323
25520
  Browser.mouseY
25324
25521
  );
@@ -25333,8 +25530,12 @@ export function init(RuntimeName, PHPLoader) {
25333
25530
  if (GLUT.specialUpFunc) {
25334
25531
  event.preventDefault();
25335
25532
  GLUT.saveModifiers(event);
25336
- ((a1, a2, a3) => {})(
25337
- /* a dynamic function call to signature viii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ key,
25533
+ ((
25534
+ a1,
25535
+ a2,
25536
+ a3
25537
+ ) => {}) /* a dynamic function call to signature viii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
25538
+ key,
25338
25539
  Browser.mouseX,
25339
25540
  Browser.mouseY
25340
25541
  );
@@ -25344,8 +25545,12 @@ export function init(RuntimeName, PHPLoader) {
25344
25545
  if (key !== null && GLUT.keyboardUpFunc) {
25345
25546
  event.preventDefault();
25346
25547
  GLUT.saveModifiers(event);
25347
- ((a1, a2, a3) => {})(
25348
- /* a dynamic function call to signature viii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ key,
25548
+ ((
25549
+ a1,
25550
+ a2,
25551
+ a3
25552
+ ) => {}) /* a dynamic function call to signature viii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
25553
+ key,
25349
25554
  Browser.mouseX,
25350
25555
  Browser.mouseY
25351
25556
  );
@@ -25409,10 +25614,13 @@ export function init(RuntimeName, PHPLoader) {
25409
25614
  } catch (e) {}
25410
25615
  event.preventDefault();
25411
25616
  GLUT.saveModifiers(event);
25412
- ((a1, a2, a3, a4) => {})(
25413
- /* a dynamic function call to signature viiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ event[
25414
- 'button'
25415
- ],
25617
+ ((
25618
+ a1,
25619
+ a2,
25620
+ a3,
25621
+ a4
25622
+ ) => {}) /* a dynamic function call to signature viiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
25623
+ event['button'],
25416
25624
  0 /*GLUT_DOWN*/,
25417
25625
  Browser.mouseX,
25418
25626
  Browser.mouseY
@@ -25427,10 +25635,13 @@ export function init(RuntimeName, PHPLoader) {
25427
25635
  if (GLUT.mouseFunc) {
25428
25636
  event.preventDefault();
25429
25637
  GLUT.saveModifiers(event);
25430
- ((a1, a2, a3, a4) => {})(
25431
- /* a dynamic function call to signature viiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ event[
25432
- 'button'
25433
- ],
25638
+ ((
25639
+ a1,
25640
+ a2,
25641
+ a3,
25642
+ a4
25643
+ ) => {}) /* a dynamic function call to signature viiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
25644
+ event['button'],
25434
25645
  1 /*GLUT_UP*/,
25435
25646
  Browser.mouseX,
25436
25647
  Browser.mouseY
@@ -25459,8 +25670,13 @@ export function init(RuntimeName, PHPLoader) {
25459
25670
  if (GLUT.mouseFunc) {
25460
25671
  event.preventDefault();
25461
25672
  GLUT.saveModifiers(event);
25462
- ((a1, a2, a3, a4) => {})(
25463
- /* a dynamic function call to signature viiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ button,
25673
+ ((
25674
+ a1,
25675
+ a2,
25676
+ a3,
25677
+ a4
25678
+ ) => {}) /* a dynamic function call to signature viiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
25679
+ button,
25464
25680
  0 /*GLUT_DOWN*/,
25465
25681
  Browser.mouseX,
25466
25682
  Browser.mouseY
@@ -25503,8 +25719,11 @@ export function init(RuntimeName, PHPLoader) {
25503
25719
  /* Can't call _glutReshapeWindow as that requests cancelling fullscreen. */
25504
25720
  if (GLUT.reshapeFunc) {
25505
25721
  // out("GLUT.reshapeFunc (from FS): " + width + ", " + height);
25506
- ((a1, a2) => {})(
25507
- /* a dynamic function call to signature vii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ width,
25722
+ ((
25723
+ a1,
25724
+ a2
25725
+ ) => {}) /* a dynamic function call to signature vii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
25726
+ width,
25508
25727
  height
25509
25728
  );
25510
25729
  }
@@ -25547,8 +25766,11 @@ export function init(RuntimeName, PHPLoader) {
25547
25766
 
25548
25767
  Browser.resizeListeners.push((width, height) => {
25549
25768
  if (GLUT.reshapeFunc) {
25550
- ((a1, a2) => {})(
25551
- /* a dynamic function call to signature vii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ width,
25769
+ ((
25770
+ a1,
25771
+ a2
25772
+ ) => {}) /* a dynamic function call to signature vii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
25773
+ width,
25552
25774
  height
25553
25775
  );
25554
25776
  }
@@ -25661,8 +25883,10 @@ export function init(RuntimeName, PHPLoader) {
25661
25883
  var _glutTimerFunc = (msec, func, value) =>
25662
25884
  safeSetTimeout(
25663
25885
  () =>
25664
- ((a1) => {})(
25665
- /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ value
25886
+ ((
25887
+ a1
25888
+ ) => {}) /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
25889
+ value
25666
25890
  ),
25667
25891
  msec
25668
25892
  );
@@ -25822,8 +26046,11 @@ export function init(RuntimeName, PHPLoader) {
25822
26046
  Browser.setCanvasSize(width, height, true); // N.B. GLUT.reshapeFunc is also registered as a canvas resize callback.
25823
26047
  // Just call it once here.
25824
26048
  if (GLUT.reshapeFunc) {
25825
- ((a1, a2) => {})(
25826
- /* a dynamic function call to signature vii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ width,
26049
+ ((
26050
+ a1,
26051
+ a2
26052
+ ) => {}) /* a dynamic function call to signature vii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
26053
+ width,
25827
26054
  height
25828
26055
  );
25829
26056
  }
@@ -26885,15 +27112,21 @@ export function init(RuntimeName, PHPLoader) {
26885
27112
  callUserCallback(() => {
26886
27113
  if (error) {
26887
27114
  if (onerror)
26888
- ((a1) => {})(
26889
- /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ arg
27115
+ ((
27116
+ a1
27117
+ ) => {}) /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
27118
+ arg
26890
27119
  );
26891
27120
  return;
26892
27121
  }
26893
27122
  var buffer = _malloc(byteArray.length);
26894
27123
  HEAPU8.set(byteArray, buffer);
26895
- ((a1, a2, a3) => {})(
26896
- /* a dynamic function call to signature viii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ arg,
27124
+ ((
27125
+ a1,
27126
+ a2,
27127
+ a3
27128
+ ) => {}) /* a dynamic function call to signature viii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
27129
+ arg,
26897
27130
  buffer,
26898
27131
  byteArray.length
26899
27132
  );
@@ -26925,14 +27158,18 @@ export function init(RuntimeName, PHPLoader) {
26925
27158
  callUserCallback(() => {
26926
27159
  if (error) {
26927
27160
  if (onerror)
26928
- ((a1) => {})(
26929
- /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ arg
27161
+ ((
27162
+ a1
27163
+ ) => {}) /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
27164
+ arg
26930
27165
  );
26931
27166
  return;
26932
27167
  }
26933
27168
  if (onstore)
26934
- ((a1) => {})(
26935
- /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ arg
27169
+ ((
27170
+ a1
27171
+ ) => {}) /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
27172
+ arg
26936
27173
  );
26937
27174
  });
26938
27175
  }
@@ -26947,14 +27184,18 @@ export function init(RuntimeName, PHPLoader) {
26947
27184
  callUserCallback(() => {
26948
27185
  if (error) {
26949
27186
  if (onerror)
26950
- ((a1) => {})(
26951
- /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ arg
27187
+ ((
27188
+ a1
27189
+ ) => {}) /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
27190
+ arg
26952
27191
  );
26953
27192
  return;
26954
27193
  }
26955
27194
  if (ondelete)
26956
- ((a1) => {})(
26957
- /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ arg
27195
+ ((
27196
+ a1
27197
+ ) => {}) /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
27198
+ arg
26958
27199
  );
26959
27200
  });
26960
27201
  });
@@ -26971,14 +27212,19 @@ export function init(RuntimeName, PHPLoader) {
26971
27212
  callUserCallback(() => {
26972
27213
  if (error) {
26973
27214
  if (onerror)
26974
- ((a1) => {})(
26975
- /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ arg
27215
+ ((
27216
+ a1
27217
+ ) => {}) /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
27218
+ arg
26976
27219
  );
26977
27220
  return;
26978
27221
  }
26979
27222
  if (oncheck)
26980
- ((a1, a2) => {})(
26981
- /* a dynamic function call to signature vii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ arg,
27223
+ ((
27224
+ a1,
27225
+ a2
27226
+ ) => {}) /* a dynamic function call to signature vii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
27227
+ arg,
26982
27228
  exists
26983
27229
  );
26984
27230
  });
@@ -26994,14 +27240,18 @@ export function init(RuntimeName, PHPLoader) {
26994
27240
  callUserCallback(() => {
26995
27241
  if (error) {
26996
27242
  if (onerror)
26997
- ((a1) => {})(
26998
- /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ arg
27243
+ ((
27244
+ a1
27245
+ ) => {}) /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
27246
+ arg
26999
27247
  );
27000
27248
  return;
27001
27249
  }
27002
27250
  if (onclear)
27003
- ((a1) => {})(
27004
- /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ arg
27251
+ ((
27252
+ a1
27253
+ ) => {}) /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
27254
+ arg
27005
27255
  );
27006
27256
  });
27007
27257
  });
@@ -27158,8 +27408,11 @@ export function init(RuntimeName, PHPLoader) {
27158
27408
  safeSetTimeout(() => {
27159
27409
  var stackBegin = Asyncify.currData + 12;
27160
27410
  var stackEnd = HEAPU32[Asyncify.currData >> 2];
27161
- ((a1, a2) => {})(
27162
- /* a dynamic function call to signature vii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ stackBegin,
27411
+ ((
27412
+ a1,
27413
+ a2
27414
+ ) => {}) /* a dynamic function call to signature vii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
27415
+ stackBegin,
27163
27416
  stackEnd
27164
27417
  );
27165
27418
  wakeUp();
@@ -27220,8 +27473,10 @@ export function init(RuntimeName, PHPLoader) {
27220
27473
  HEAPU32[(newFiber + 12) >> 2] = 0;
27221
27474
 
27222
27475
  var userData = HEAPU32[(newFiber + 16) >> 2];
27223
- ((a1) => {})(
27224
- /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ userData
27476
+ ((
27477
+ a1
27478
+ ) => {}) /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
27479
+ userData
27225
27480
  );
27226
27481
  } else {
27227
27482
  var asyncifyData = newFiber + 20;
@@ -28233,8 +28488,11 @@ export function init(RuntimeName, PHPLoader) {
28233
28488
  if (!SDL.eventHandler) return;
28234
28489
 
28235
28490
  while (SDL.pollEvent(SDL.eventHandlerTemp)) {
28236
- ((a1, a2) => {})(
28237
- /* a dynamic function call to signature iii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ SDL.eventHandlerContext,
28491
+ ((
28492
+ a1,
28493
+ a2
28494
+ ) => {}) /* a dynamic function call to signature iii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
28495
+ SDL.eventHandlerContext,
28238
28496
  SDL.eventHandlerTemp
28239
28497
  );
28240
28498
  }
@@ -29867,9 +30125,12 @@ export function init(RuntimeName, PHPLoader) {
29867
30125
  return;
29868
30126
 
29869
30127
  // Ask SDL audio data from the user code.
29870
- ((a1, a2, a3) => {})(
29871
- /* a dynamic function call to signature viii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ SDL
29872
- .audio.userdata,
30128
+ ((
30129
+ a1,
30130
+ a2,
30131
+ a3
30132
+ ) => {}) /* a dynamic function call to signature viii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
30133
+ SDL.audio.userdata,
29873
30134
  SDL.audio.buffer,
29874
30135
  SDL.audio.bufferSize
29875
30136
  );
@@ -30327,8 +30588,10 @@ export function init(RuntimeName, PHPLoader) {
30327
30588
  info.audio = null;
30328
30589
  }
30329
30590
  if (SDL.channelFinished) {
30330
- ((a1) => {})(
30331
- /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ channel
30591
+ ((
30592
+ a1
30593
+ ) => {}) /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
30594
+ channel
30332
30595
  );
30333
30596
  }
30334
30597
  }
@@ -30397,8 +30660,10 @@ export function init(RuntimeName, PHPLoader) {
30397
30660
  channelInfo.audio = null;
30398
30661
  }
30399
30662
  if (SDL.channelFinished)
30400
- ((a1) => {})(
30401
- /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ channel
30663
+ ((
30664
+ a1
30665
+ ) => {}) /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
30666
+ channel
30402
30667
  );
30403
30668
  };
30404
30669
  if (channelInfo.audio) {
@@ -31146,8 +31411,11 @@ export function init(RuntimeName, PHPLoader) {
31146
31411
  var _SDL_AddTimer = (interval, callback, param) =>
31147
31412
  safeSetTimeout(
31148
31413
  () =>
31149
- ((a1, a2) => {})(
31150
- /* a dynamic function call to signature iii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ interval,
31414
+ ((
31415
+ a1,
31416
+ a2
31417
+ ) => {}) /* a dynamic function call to signature iii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
31418
+ interval,
31151
31419
  param
31152
31420
  ),
31153
31421
  interval
@@ -31526,8 +31794,12 @@ export function init(RuntimeName, PHPLoader) {
31526
31794
 
31527
31795
  socket.onopen = function (e) {
31528
31796
  var eventPtr = WS.getSocketEvent(socketId);
31529
- ((a1, a2, a3) => {})(
31530
- /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ 0 /*TODO*/,
31797
+ ((
31798
+ a1,
31799
+ a2,
31800
+ a3
31801
+ ) => {}) /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
31802
+ 0 /*TODO*/,
31531
31803
  eventPtr,
31532
31804
  userData
31533
31805
  );
@@ -31549,8 +31821,12 @@ export function init(RuntimeName, PHPLoader) {
31549
31821
 
31550
31822
  socket.onerror = function (e) {
31551
31823
  var eventPtr = WS.getSocketEvent(socketId);
31552
- ((a1, a2, a3) => {})(
31553
- /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ 0 /*TODO*/,
31824
+ ((
31825
+ a1,
31826
+ a2,
31827
+ a3
31828
+ ) => {}) /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
31829
+ 0 /*TODO*/,
31554
31830
  eventPtr,
31555
31831
  userData
31556
31832
  );
@@ -31575,8 +31851,12 @@ export function init(RuntimeName, PHPLoader) {
31575
31851
  (HEAP8[eventPtr + 4] = e.wasClean),
31576
31852
  (HEAP16[(eventPtr + 6) >> 1] = e.code),
31577
31853
  stringToUTF8(e.reason, eventPtr + 8, 512);
31578
- ((a1, a2, a3) => {})(
31579
- /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ 0 /*TODO*/,
31854
+ ((
31855
+ a1,
31856
+ a2,
31857
+ a3
31858
+ ) => {}) /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
31859
+ 0 /*TODO*/,
31580
31860
  eventPtr,
31581
31861
  userData
31582
31862
  );
@@ -31610,8 +31890,12 @@ export function init(RuntimeName, PHPLoader) {
31610
31890
  (HEAPU32[(eventPtr + 4) >> 2] = buf),
31611
31891
  (HEAP32[(eventPtr + 8) >> 2] = len),
31612
31892
  (HEAP8[eventPtr + 12] = isText),
31613
- ((a1, a2, a3) => {})(
31614
- /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ 0 /*TODO*/,
31893
+ ((
31894
+ a1,
31895
+ a2,
31896
+ a3
31897
+ ) => {}) /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
31898
+ 0 /*TODO*/,
31615
31899
  eventPtr,
31616
31900
  userData
31617
31901
  );
@@ -31808,13 +32092,13 @@ export function init(RuntimeName, PHPLoader) {
31808
32092
  // End JS library code
31809
32093
 
31810
32094
  var ASM_CONSTS = {
31811
- 11138685: ($0) => {
32095
+ 11138669: ($0) => {
31812
32096
  if (!$0) {
31813
32097
  AL.alcErr = 0xa004;
31814
32098
  return 1;
31815
32099
  }
31816
32100
  },
31817
- 11138733: ($0) => {
32101
+ 11138717: ($0) => {
31818
32102
  if (!AL.currentCtx) {
31819
32103
  err('alGetProcAddress() called without a valid context');
31820
32104
  return 1;