@php-wasm/node 1.2.2 → 1.2.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.
- package/asyncify/7_2_34/php_7_2.wasm +0 -0
- package/asyncify/7_3_33/php_7_3.wasm +0 -0
- package/asyncify/7_4_33/php_7_4.wasm +0 -0
- package/asyncify/8_0_30/php_8_0.wasm +0 -0
- package/asyncify/{8_1_23 → 8_1_33}/php_8_1.wasm +0 -0
- package/asyncify/{8_2_10 → 8_2_29}/php_8_2.wasm +0 -0
- package/asyncify/{8_3_0 → 8_3_23}/php_8_3.wasm +0 -0
- package/asyncify/{8_4_0 → 8_4_10}/php_8_4.wasm +0 -0
- package/asyncify/extensions/xdebug/7_2/xdebug.so +0 -0
- package/asyncify/extensions/xdebug/7_3/xdebug.so +0 -0
- package/asyncify/extensions/xdebug/7_4/xdebug.so +0 -0
- package/asyncify/extensions/xdebug/8_0/xdebug.so +0 -0
- package/asyncify/extensions/xdebug/8_1/xdebug.so +0 -0
- package/asyncify/extensions/xdebug/8_2/xdebug.so +0 -0
- package/asyncify/extensions/xdebug/8_3/xdebug.so +0 -0
- package/asyncify/extensions/xdebug/8_4/xdebug.so +0 -0
- package/asyncify/php_7_2.js +477 -199
- package/asyncify/php_7_3.js +477 -199
- package/asyncify/php_7_4.js +477 -199
- package/asyncify/php_8_0.js +477 -199
- package/asyncify/php_8_1.js +479 -201
- package/asyncify/php_8_2.js +479 -201
- package/asyncify/php_8_3.js +479 -201
- package/asyncify/php_8_4.js +479 -201
- package/index.cjs +246 -942
- package/index.js +247 -941
- package/jspi/7_2_34/php_7_2.wasm +0 -0
- package/jspi/7_3_33/php_7_3.wasm +0 -0
- package/jspi/7_4_33/php_7_4.wasm +0 -0
- package/jspi/8_0_30/php_8_0.wasm +0 -0
- package/jspi/8_1_23/php_8_1.wasm +0 -0
- package/jspi/8_2_10/php_8_2.wasm +0 -0
- package/jspi/8_3_0/php_8_3.wasm +0 -0
- package/jspi/8_4_0/php_8_4.wasm +0 -0
- package/jspi/php_7_2.js +12 -13
- package/jspi/php_7_3.js +12 -13
- package/jspi/php_7_4.js +12 -13
- package/jspi/php_8_0.js +12 -13
- package/jspi/php_8_1.js +12 -13
- package/jspi/php_8_2.js +12 -13
- package/jspi/php_8_3.js +12 -13
- package/jspi/php_8_4.js +12 -13
- package/lib/node-fs-mount.d.ts +1 -1
- package/package.json +7 -7
package/asyncify/php_7_2.js
CHANGED
|
@@ -8,7 +8,7 @@ import path from 'path';
|
|
|
8
8
|
|
|
9
9
|
const dependencyFilename = path.join(__dirname, '7_2_34', 'php_7_2.wasm');
|
|
10
10
|
export { dependencyFilename };
|
|
11
|
-
export const dependenciesTotalSize =
|
|
11
|
+
export const dependenciesTotalSize = 29017601;
|
|
12
12
|
export function init(RuntimeName, PHPLoader) {
|
|
13
13
|
// The rest of the code comes from the built php.js file and esm-suffix.js
|
|
14
14
|
// include: shell.js
|
|
@@ -830,7 +830,7 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
830
830
|
},
|
|
831
831
|
};
|
|
832
832
|
|
|
833
|
-
var ___heap_base =
|
|
833
|
+
var ___heap_base = 11378816;
|
|
834
834
|
|
|
835
835
|
var alignMemory = (size, alignment) => {
|
|
836
836
|
return Math.ceil(size / alignment) * alignment;
|
|
@@ -1773,8 +1773,10 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
1773
1773
|
);
|
|
1774
1774
|
|
|
1775
1775
|
var ___call_sighandler = (fp, sig) =>
|
|
1776
|
-
((
|
|
1777
|
-
|
|
1776
|
+
((
|
|
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. */(
|
|
1779
|
+
sig
|
|
1778
1780
|
);
|
|
1779
1781
|
___call_sighandler.sig = 'vpi';
|
|
1780
1782
|
|
|
@@ -1853,13 +1855,13 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
1853
1855
|
1024
|
|
1854
1856
|
);
|
|
1855
1857
|
|
|
1856
|
-
var ___stack_high =
|
|
1858
|
+
var ___stack_high = 11378816;
|
|
1857
1859
|
|
|
1858
|
-
var ___stack_low =
|
|
1860
|
+
var ___stack_low = 11313280;
|
|
1859
1861
|
|
|
1860
1862
|
var ___stack_pointer = new WebAssembly.Global(
|
|
1861
1863
|
{ value: 'i32', mutable: true },
|
|
1862
|
-
|
|
1864
|
+
11378816
|
|
1863
1865
|
);
|
|
1864
1866
|
|
|
1865
1867
|
var PATH = {
|
|
@@ -3913,10 +3915,6 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
3913
3915
|
if (FS.isMountpoint(node)) {
|
|
3914
3916
|
throw new FS.ErrnoError(10);
|
|
3915
3917
|
}
|
|
3916
|
-
|
|
3917
|
-
if (!FS.isDir(node.mode)) {
|
|
3918
|
-
throw new FS.ErrnoError(54);
|
|
3919
|
-
}
|
|
3920
3918
|
}
|
|
3921
3919
|
|
|
3922
3920
|
var mount = {
|
|
@@ -8794,8 +8792,11 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
8794
8792
|
dlSetError(`'Could not load dynamic lib: ${filename}\n${e}`);
|
|
8795
8793
|
runtimeKeepalivePop();
|
|
8796
8794
|
callUserCallback(() =>
|
|
8797
|
-
((
|
|
8798
|
-
|
|
8795
|
+
((
|
|
8796
|
+
a1,
|
|
8797
|
+
a2
|
|
8798
|
+
) => {}) /* 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. */(
|
|
8799
|
+
handle,
|
|
8799
8800
|
user_data
|
|
8800
8801
|
)
|
|
8801
8802
|
);
|
|
@@ -8803,8 +8804,11 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
8803
8804
|
function successCallback() {
|
|
8804
8805
|
runtimeKeepalivePop();
|
|
8805
8806
|
callUserCallback(() =>
|
|
8806
|
-
((
|
|
8807
|
-
|
|
8807
|
+
((
|
|
8808
|
+
a1,
|
|
8809
|
+
a2
|
|
8810
|
+
) => {}) /* 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. */(
|
|
8811
|
+
handle,
|
|
8808
8812
|
user_data
|
|
8809
8813
|
)
|
|
8810
8814
|
);
|
|
@@ -17742,10 +17746,6 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
17742
17746
|
HEAPU32[iov >> 2] = buffer; // iov_base
|
|
17743
17747
|
HEAPU32[(iov + 4) >> 2] = CHUNK_SIZE; // iov_len
|
|
17744
17748
|
|
|
17745
|
-
if (typeof js_fd_read === 'undefined') {
|
|
17746
|
-
globalThis.js_fd_read = __asyncjs__js_fd_read;
|
|
17747
|
-
}
|
|
17748
|
-
|
|
17749
17749
|
function pump() {
|
|
17750
17750
|
try {
|
|
17751
17751
|
while (true) {
|
|
@@ -19466,8 +19466,11 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
19466
19466
|
var trace = getCallstack();
|
|
19467
19467
|
var parts = trace.split('\n');
|
|
19468
19468
|
for (var i = 0; i < parts.length; i++) {
|
|
19469
|
-
var ret = ((
|
|
19470
|
-
|
|
19469
|
+
var ret = ((
|
|
19470
|
+
a1,
|
|
19471
|
+
a2
|
|
19472
|
+
) => {}) /* 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. */(
|
|
19473
|
+
0,
|
|
19471
19474
|
arg
|
|
19472
19475
|
);
|
|
19473
19476
|
if (ret !== 0) return;
|
|
@@ -20043,8 +20046,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
20043
20046
|
stringToUTF8(e.locale || '', keyEventData + 128, 32);
|
|
20044
20047
|
|
|
20045
20048
|
if (
|
|
20046
|
-
((
|
|
20047
|
-
|
|
20049
|
+
((
|
|
20050
|
+
a1,
|
|
20051
|
+
a2,
|
|
20052
|
+
a3
|
|
20053
|
+
) => {}) /* 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. */(
|
|
20054
|
+
eventTypeId,
|
|
20048
20055
|
keyEventData,
|
|
20049
20056
|
userData
|
|
20050
20057
|
)
|
|
@@ -20162,8 +20169,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
20162
20169
|
fillMouseEventData(JSEvents.mouseEvent, e, target);
|
|
20163
20170
|
|
|
20164
20171
|
if (
|
|
20165
|
-
((
|
|
20166
|
-
|
|
20172
|
+
((
|
|
20173
|
+
a1,
|
|
20174
|
+
a2,
|
|
20175
|
+
a3
|
|
20176
|
+
) => {}) /* 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. */(
|
|
20177
|
+
eventTypeId,
|
|
20167
20178
|
JSEvents.mouseEvent,
|
|
20168
20179
|
userData
|
|
20169
20180
|
)
|
|
@@ -20377,8 +20388,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
20377
20388
|
HEAPF64[(wheelEvent + 80) >> 3] = e['deltaZ'];
|
|
20378
20389
|
HEAP32[(wheelEvent + 88) >> 2] = e['deltaMode'];
|
|
20379
20390
|
if (
|
|
20380
|
-
((
|
|
20381
|
-
|
|
20391
|
+
((
|
|
20392
|
+
a1,
|
|
20393
|
+
a2,
|
|
20394
|
+
a3
|
|
20395
|
+
) => {}) /* 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. */(
|
|
20396
|
+
eventTypeId,
|
|
20382
20397
|
wheelEvent,
|
|
20383
20398
|
userData
|
|
20384
20399
|
)
|
|
@@ -20459,8 +20474,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
20459
20474
|
HEAP32[(uiEvent + 28) >> 2] = pageXOffset | 0; // scroll offsets are float
|
|
20460
20475
|
HEAP32[(uiEvent + 32) >> 2] = pageYOffset | 0;
|
|
20461
20476
|
if (
|
|
20462
|
-
((
|
|
20463
|
-
|
|
20477
|
+
((
|
|
20478
|
+
a1,
|
|
20479
|
+
a2,
|
|
20480
|
+
a3
|
|
20481
|
+
) => {}) /* 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. */(
|
|
20482
|
+
eventTypeId,
|
|
20464
20483
|
uiEvent,
|
|
20465
20484
|
userData
|
|
20466
20485
|
)
|
|
@@ -20534,8 +20553,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
20534
20553
|
stringToUTF8(id, focusEvent + 128, 128);
|
|
20535
20554
|
|
|
20536
20555
|
if (
|
|
20537
|
-
((
|
|
20538
|
-
|
|
20556
|
+
((
|
|
20557
|
+
a1,
|
|
20558
|
+
a2,
|
|
20559
|
+
a3
|
|
20560
|
+
) => {}) /* 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. */(
|
|
20561
|
+
eventTypeId,
|
|
20539
20562
|
focusEvent,
|
|
20540
20563
|
userData
|
|
20541
20564
|
)
|
|
@@ -20651,8 +20674,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
20651
20674
|
); // TODO: Thread-safety with respect to emscripten_get_deviceorientation_status()
|
|
20652
20675
|
|
|
20653
20676
|
if (
|
|
20654
|
-
((
|
|
20655
|
-
|
|
20677
|
+
((
|
|
20678
|
+
a1,
|
|
20679
|
+
a2,
|
|
20680
|
+
a3
|
|
20681
|
+
) => {}) /* 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. */(
|
|
20682
|
+
eventTypeId,
|
|
20656
20683
|
JSEvents.deviceOrientationEvent,
|
|
20657
20684
|
userData
|
|
20658
20685
|
)
|
|
@@ -20735,8 +20762,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
20735
20762
|
fillDeviceMotionEventData(JSEvents.deviceMotionEvent, e, target); // TODO: Thread-safety with respect to emscripten_get_devicemotion_status()
|
|
20736
20763
|
|
|
20737
20764
|
if (
|
|
20738
|
-
((
|
|
20739
|
-
|
|
20765
|
+
((
|
|
20766
|
+
a1,
|
|
20767
|
+
a2,
|
|
20768
|
+
a3
|
|
20769
|
+
) => {}) /* 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. */(
|
|
20770
|
+
eventTypeId,
|
|
20740
20771
|
JSEvents.deviceMotionEvent,
|
|
20741
20772
|
userData
|
|
20742
20773
|
)
|
|
@@ -20846,8 +20877,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
20846
20877
|
fillOrientationChangeEventData(orientationChangeEvent);
|
|
20847
20878
|
|
|
20848
20879
|
if (
|
|
20849
|
-
((
|
|
20850
|
-
|
|
20880
|
+
((
|
|
20881
|
+
a1,
|
|
20882
|
+
a2,
|
|
20883
|
+
a3
|
|
20884
|
+
) => {}) /* 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. */(
|
|
20885
|
+
eventTypeId,
|
|
20851
20886
|
orientationChangeEvent,
|
|
20852
20887
|
userData
|
|
20853
20888
|
)
|
|
@@ -20980,8 +21015,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
20980
21015
|
fillFullscreenChangeEventData(fullscreenChangeEvent);
|
|
20981
21016
|
|
|
20982
21017
|
if (
|
|
20983
|
-
((
|
|
20984
|
-
|
|
21018
|
+
((
|
|
21019
|
+
a1,
|
|
21020
|
+
a2,
|
|
21021
|
+
a3
|
|
21022
|
+
) => {}) /* 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. */(
|
|
21023
|
+
eventTypeId,
|
|
20985
21024
|
fullscreenChangeEvent,
|
|
20986
21025
|
userData
|
|
20987
21026
|
)
|
|
@@ -21145,8 +21184,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
21145
21184
|
);
|
|
21146
21185
|
|
|
21147
21186
|
if (currentFullscreenStrategy.canvasResizedCallback) {
|
|
21148
|
-
((
|
|
21149
|
-
|
|
21187
|
+
((
|
|
21188
|
+
a1,
|
|
21189
|
+
a2,
|
|
21190
|
+
a3
|
|
21191
|
+
) => {}) /* 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. */(
|
|
21192
|
+
37,
|
|
21150
21193
|
0,
|
|
21151
21194
|
currentFullscreenStrategy.canvasResizedCallbackUserData
|
|
21152
21195
|
);
|
|
@@ -21252,8 +21295,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
21252
21295
|
currentFullscreenStrategy = strategy;
|
|
21253
21296
|
|
|
21254
21297
|
if (strategy.canvasResizedCallback) {
|
|
21255
|
-
((
|
|
21256
|
-
|
|
21298
|
+
((
|
|
21299
|
+
a1,
|
|
21300
|
+
a2,
|
|
21301
|
+
a3
|
|
21302
|
+
) => {}) /* 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. */(
|
|
21303
|
+
37,
|
|
21257
21304
|
0,
|
|
21258
21305
|
strategy.canvasResizedCallbackUserData
|
|
21259
21306
|
);
|
|
@@ -21355,8 +21402,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
21355
21402
|
!inCenteredWithoutScalingFullscreenMode &&
|
|
21356
21403
|
currentFullscreenStrategy.canvasResizedCallback
|
|
21357
21404
|
) {
|
|
21358
|
-
((
|
|
21359
|
-
|
|
21405
|
+
((
|
|
21406
|
+
a1,
|
|
21407
|
+
a2,
|
|
21408
|
+
a3
|
|
21409
|
+
) => {}) /* 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. */(
|
|
21410
|
+
37,
|
|
21360
21411
|
0,
|
|
21361
21412
|
currentFullscreenStrategy.canvasResizedCallbackUserData
|
|
21362
21413
|
);
|
|
@@ -21455,8 +21506,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
21455
21506
|
softFullscreenResizeWebGLRenderTarget
|
|
21456
21507
|
);
|
|
21457
21508
|
if (strategy.canvasResizedCallback) {
|
|
21458
|
-
((
|
|
21459
|
-
|
|
21509
|
+
((
|
|
21510
|
+
a1,
|
|
21511
|
+
a2,
|
|
21512
|
+
a3
|
|
21513
|
+
) => {}) /* 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. */(
|
|
21514
|
+
37,
|
|
21460
21515
|
0,
|
|
21461
21516
|
strategy.canvasResizedCallbackUserData
|
|
21462
21517
|
);
|
|
@@ -21469,8 +21524,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
21469
21524
|
|
|
21470
21525
|
// Inform the caller that the canvas size has changed.
|
|
21471
21526
|
if (strategy.canvasResizedCallback) {
|
|
21472
|
-
((
|
|
21473
|
-
|
|
21527
|
+
((
|
|
21528
|
+
a1,
|
|
21529
|
+
a2,
|
|
21530
|
+
a3
|
|
21531
|
+
) => {}) /* 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. */(
|
|
21532
|
+
37,
|
|
21474
21533
|
0,
|
|
21475
21534
|
strategy.canvasResizedCallbackUserData
|
|
21476
21535
|
);
|
|
@@ -21538,8 +21597,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
21538
21597
|
fillPointerlockChangeEventData(pointerlockChangeEvent);
|
|
21539
21598
|
|
|
21540
21599
|
if (
|
|
21541
|
-
((
|
|
21542
|
-
|
|
21600
|
+
((
|
|
21601
|
+
a1,
|
|
21602
|
+
a2,
|
|
21603
|
+
a3
|
|
21604
|
+
) => {}) /* 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. */(
|
|
21605
|
+
eventTypeId,
|
|
21543
21606
|
pointerlockChangeEvent,
|
|
21544
21607
|
userData
|
|
21545
21608
|
)
|
|
@@ -21629,8 +21692,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
21629
21692
|
) => {
|
|
21630
21693
|
var pointerlockErrorEventHandlerFunc = (e = event) => {
|
|
21631
21694
|
if (
|
|
21632
|
-
((
|
|
21633
|
-
|
|
21695
|
+
((
|
|
21696
|
+
a1,
|
|
21697
|
+
a2,
|
|
21698
|
+
a3
|
|
21699
|
+
) => {}) /* 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. */(
|
|
21700
|
+
eventTypeId,
|
|
21634
21701
|
0,
|
|
21635
21702
|
userData
|
|
21636
21703
|
)
|
|
@@ -21830,8 +21897,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
21830
21897
|
fillVisibilityChangeEventData(visibilityChangeEvent);
|
|
21831
21898
|
|
|
21832
21899
|
if (
|
|
21833
|
-
((
|
|
21834
|
-
|
|
21900
|
+
((
|
|
21901
|
+
a1,
|
|
21902
|
+
a2,
|
|
21903
|
+
a3
|
|
21904
|
+
) => {}) /* 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. */(
|
|
21905
|
+
eventTypeId,
|
|
21835
21906
|
visibilityChangeEvent,
|
|
21836
21907
|
userData
|
|
21837
21908
|
)
|
|
@@ -21951,8 +22022,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
21951
22022
|
HEAP32[(touchEvent + 8) >> 2] = numTouches;
|
|
21952
22023
|
|
|
21953
22024
|
if (
|
|
21954
|
-
((
|
|
21955
|
-
|
|
22025
|
+
((
|
|
22026
|
+
a1,
|
|
22027
|
+
a2,
|
|
22028
|
+
a3
|
|
22029
|
+
) => {}) /* 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. */(
|
|
22030
|
+
eventTypeId,
|
|
21956
22031
|
touchEvent,
|
|
21957
22032
|
userData
|
|
21958
22033
|
)
|
|
@@ -22090,8 +22165,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
22090
22165
|
fillGamepadEventData(gamepadEvent, e['gamepad']);
|
|
22091
22166
|
|
|
22092
22167
|
if (
|
|
22093
|
-
((
|
|
22094
|
-
|
|
22168
|
+
((
|
|
22169
|
+
a1,
|
|
22170
|
+
a2,
|
|
22171
|
+
a3
|
|
22172
|
+
) => {}) /* 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. */(
|
|
22173
|
+
eventTypeId,
|
|
22095
22174
|
gamepadEvent,
|
|
22096
22175
|
userData
|
|
22097
22176
|
)
|
|
@@ -22193,8 +22272,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
22193
22272
|
) => {
|
|
22194
22273
|
var beforeUnloadEventHandlerFunc = (e = event) => {
|
|
22195
22274
|
// Note: This is always called on the main browser thread, since it needs synchronously return a value!
|
|
22196
|
-
var confirmationMessage = ((
|
|
22197
|
-
|
|
22275
|
+
var confirmationMessage = ((
|
|
22276
|
+
a1,
|
|
22277
|
+
a2,
|
|
22278
|
+
a3
|
|
22279
|
+
) => {}) /* 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. */(
|
|
22280
|
+
eventTypeId,
|
|
22198
22281
|
0,
|
|
22199
22282
|
userData
|
|
22200
22283
|
);
|
|
@@ -22265,8 +22348,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
22265
22348
|
fillBatteryEventData(batteryEvent, battery());
|
|
22266
22349
|
|
|
22267
22350
|
if (
|
|
22268
|
-
((
|
|
22269
|
-
|
|
22351
|
+
((
|
|
22352
|
+
a1,
|
|
22353
|
+
a2,
|
|
22354
|
+
a3
|
|
22355
|
+
) => {}) /* 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. */(
|
|
22356
|
+
eventTypeId,
|
|
22270
22357
|
batteryEvent,
|
|
22271
22358
|
userData
|
|
22272
22359
|
)
|
|
@@ -22356,8 +22443,11 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
22356
22443
|
|
|
22357
22444
|
var _emscripten_request_animation_frame = (cb, userData) =>
|
|
22358
22445
|
requestAnimationFrame((timeStamp) =>
|
|
22359
|
-
((
|
|
22360
|
-
|
|
22446
|
+
((
|
|
22447
|
+
a1,
|
|
22448
|
+
a2
|
|
22449
|
+
) => {}) /* 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. */(
|
|
22450
|
+
timeStamp,
|
|
22361
22451
|
userData
|
|
22362
22452
|
)
|
|
22363
22453
|
);
|
|
@@ -22369,8 +22459,11 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
22369
22459
|
var _emscripten_request_animation_frame_loop = (cb, userData) => {
|
|
22370
22460
|
function tick(timeStamp) {
|
|
22371
22461
|
if (
|
|
22372
|
-
((
|
|
22373
|
-
|
|
22462
|
+
((
|
|
22463
|
+
a1,
|
|
22464
|
+
a2
|
|
22465
|
+
) => {}) /* 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. */(
|
|
22466
|
+
timeStamp,
|
|
22374
22467
|
userData
|
|
22375
22468
|
)
|
|
22376
22469
|
) {
|
|
@@ -22595,8 +22688,10 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
22595
22688
|
return emSetImmediate(() => {
|
|
22596
22689
|
runtimeKeepalivePop();
|
|
22597
22690
|
callUserCallback(() =>
|
|
22598
|
-
((
|
|
22599
|
-
|
|
22691
|
+
((
|
|
22692
|
+
a1
|
|
22693
|
+
) => {}) /* 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. */(
|
|
22694
|
+
userData
|
|
22600
22695
|
)
|
|
22601
22696
|
);
|
|
22602
22697
|
});
|
|
@@ -22613,8 +22708,10 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
22613
22708
|
function tick() {
|
|
22614
22709
|
callUserCallback(() => {
|
|
22615
22710
|
if (
|
|
22616
|
-
((
|
|
22617
|
-
|
|
22711
|
+
((
|
|
22712
|
+
a1
|
|
22713
|
+
) => {}) /* 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. */(
|
|
22714
|
+
userData
|
|
22618
22715
|
)
|
|
22619
22716
|
) {
|
|
22620
22717
|
emSetImmediate(tick);
|
|
@@ -22631,8 +22728,10 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
22631
22728
|
var _emscripten_set_timeout = (cb, msecs, userData) =>
|
|
22632
22729
|
safeSetTimeout(
|
|
22633
22730
|
() =>
|
|
22634
|
-
((
|
|
22635
|
-
|
|
22731
|
+
((
|
|
22732
|
+
a1
|
|
22733
|
+
) => {}) /* 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. */(
|
|
22734
|
+
userData
|
|
22636
22735
|
),
|
|
22637
22736
|
msecs
|
|
22638
22737
|
);
|
|
@@ -22648,8 +22747,11 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
22648
22747
|
runtimeKeepalivePop();
|
|
22649
22748
|
callUserCallback(() => {
|
|
22650
22749
|
if (
|
|
22651
|
-
((
|
|
22652
|
-
|
|
22750
|
+
((
|
|
22751
|
+
a1,
|
|
22752
|
+
a2
|
|
22753
|
+
) => {}) /* 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. */(
|
|
22754
|
+
t,
|
|
22653
22755
|
userData
|
|
22654
22756
|
)
|
|
22655
22757
|
) {
|
|
@@ -22673,8 +22775,10 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
22673
22775
|
runtimeKeepalivePush();
|
|
22674
22776
|
return setInterval(() => {
|
|
22675
22777
|
callUserCallback(() =>
|
|
22676
|
-
((
|
|
22677
|
-
|
|
22778
|
+
((
|
|
22779
|
+
a1
|
|
22780
|
+
) => {}) /* 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. */(
|
|
22781
|
+
userData
|
|
22678
22782
|
)
|
|
22679
22783
|
);
|
|
22680
22784
|
}, msecs);
|
|
@@ -22689,8 +22793,10 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
22689
22793
|
|
|
22690
22794
|
var _emscripten_async_call = (func, arg, millis) => {
|
|
22691
22795
|
var wrapper = () =>
|
|
22692
|
-
((
|
|
22693
|
-
|
|
22796
|
+
((
|
|
22797
|
+
a1
|
|
22798
|
+
) => {}) /* 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. */(
|
|
22799
|
+
arg
|
|
22694
22800
|
);
|
|
22695
22801
|
|
|
22696
22802
|
if (
|
|
@@ -22723,7 +22829,7 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
22723
22829
|
|
|
22724
22830
|
var _emscripten_set_main_loop = (func, fps, simulateInfiniteLoop) => {
|
|
22725
22831
|
var iterFunc =
|
|
22726
|
-
() => {}
|
|
22832
|
+
() => {} /* 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. */;
|
|
22727
22833
|
setMainLoop(iterFunc, fps, simulateInfiniteLoop);
|
|
22728
22834
|
};
|
|
22729
22835
|
_emscripten_set_main_loop.sig = 'vpii';
|
|
@@ -22735,8 +22841,10 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
22735
22841
|
simulateInfiniteLoop
|
|
22736
22842
|
) => {
|
|
22737
22843
|
var iterFunc = () =>
|
|
22738
|
-
((
|
|
22739
|
-
|
|
22844
|
+
((
|
|
22845
|
+
a1
|
|
22846
|
+
) => {}) /* 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. */(
|
|
22847
|
+
arg
|
|
22740
22848
|
);
|
|
22741
22849
|
setMainLoop(iterFunc, fps, simulateInfiniteLoop, arg);
|
|
22742
22850
|
};
|
|
@@ -22757,8 +22865,10 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
22757
22865
|
var __emscripten_push_main_loop_blocker = (func, arg, name) => {
|
|
22758
22866
|
MainLoop.queue.push({
|
|
22759
22867
|
func: () => {
|
|
22760
|
-
((
|
|
22761
|
-
|
|
22868
|
+
((
|
|
22869
|
+
a1
|
|
22870
|
+
) => {}) /* 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. */(
|
|
22871
|
+
arg
|
|
22762
22872
|
);
|
|
22763
22873
|
},
|
|
22764
22874
|
name: UTF8ToString(name),
|
|
@@ -22771,8 +22881,10 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
22771
22881
|
var __emscripten_push_uncounted_main_loop_blocker = (func, arg, name) => {
|
|
22772
22882
|
MainLoop.queue.push({
|
|
22773
22883
|
func: () => {
|
|
22774
|
-
((
|
|
22775
|
-
|
|
22884
|
+
((
|
|
22885
|
+
a1
|
|
22886
|
+
) => {}) /* 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. */(
|
|
22887
|
+
arg
|
|
22776
22888
|
);
|
|
22777
22889
|
},
|
|
22778
22890
|
name: UTF8ToString(name),
|
|
@@ -22806,8 +22918,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
22806
22918
|
var resultPtr = stackAlloc(POINTER_SIZE);
|
|
22807
22919
|
HEAPU32[resultPtr >> 2] = 0;
|
|
22808
22920
|
try {
|
|
22809
|
-
var result = ((
|
|
22810
|
-
|
|
22921
|
+
var result = ((
|
|
22922
|
+
a1,
|
|
22923
|
+
a2,
|
|
22924
|
+
a3
|
|
22925
|
+
) => {}) /* 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. */(
|
|
22926
|
+
resultPtr,
|
|
22811
22927
|
userData,
|
|
22812
22928
|
value
|
|
22813
22929
|
);
|
|
@@ -23743,15 +23859,19 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
23743
23859
|
() => {
|
|
23744
23860
|
runtimeKeepalivePop();
|
|
23745
23861
|
if (onload)
|
|
23746
|
-
((
|
|
23747
|
-
|
|
23862
|
+
((
|
|
23863
|
+
a1
|
|
23864
|
+
) => {}) /* 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. */(
|
|
23865
|
+
file
|
|
23748
23866
|
);
|
|
23749
23867
|
},
|
|
23750
23868
|
() => {
|
|
23751
23869
|
runtimeKeepalivePop();
|
|
23752
23870
|
if (onerror)
|
|
23753
|
-
((
|
|
23754
|
-
|
|
23871
|
+
((
|
|
23872
|
+
a1
|
|
23873
|
+
) => {}) /* 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. */(
|
|
23874
|
+
file
|
|
23755
23875
|
);
|
|
23756
23876
|
},
|
|
23757
23877
|
true // don'tCreateFile - it's already there
|
|
@@ -23785,16 +23905,21 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
23785
23905
|
() => {
|
|
23786
23906
|
runtimeKeepalivePop();
|
|
23787
23907
|
if (onload)
|
|
23788
|
-
((
|
|
23789
|
-
|
|
23908
|
+
((
|
|
23909
|
+
a1,
|
|
23910
|
+
a2
|
|
23911
|
+
) => {}) /* 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. */(
|
|
23912
|
+
arg,
|
|
23790
23913
|
cname
|
|
23791
23914
|
);
|
|
23792
23915
|
},
|
|
23793
23916
|
() => {
|
|
23794
23917
|
runtimeKeepalivePop();
|
|
23795
23918
|
if (onerror)
|
|
23796
|
-
((
|
|
23797
|
-
|
|
23919
|
+
((
|
|
23920
|
+
a1
|
|
23921
|
+
) => {}) /* 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. */(
|
|
23922
|
+
arg
|
|
23798
23923
|
);
|
|
23799
23924
|
},
|
|
23800
23925
|
true // don'tCreateFile - it's already there
|
|
@@ -24067,10 +24192,10 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
24067
24192
|
runtimeKeepalivePop();
|
|
24068
24193
|
callUserCallback(() => {
|
|
24069
24194
|
var sp = stackSave();
|
|
24070
|
-
((
|
|
24071
|
-
|
|
24072
|
-
|
|
24073
|
-
)
|
|
24195
|
+
((
|
|
24196
|
+
a1
|
|
24197
|
+
) => {}) /* 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. */(
|
|
24198
|
+
stringToUTF8OnStack(_file)
|
|
24074
24199
|
);
|
|
24075
24200
|
stackRestore(sp);
|
|
24076
24201
|
});
|
|
@@ -24114,8 +24239,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
24114
24239
|
callUserCallback(() => {
|
|
24115
24240
|
var buffer = _malloc(byteArray.length);
|
|
24116
24241
|
HEAPU8.set(byteArray, buffer);
|
|
24117
|
-
((
|
|
24118
|
-
|
|
24242
|
+
((
|
|
24243
|
+
a1,
|
|
24244
|
+
a2,
|
|
24245
|
+
a3
|
|
24246
|
+
) => {}) /* 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. */(
|
|
24247
|
+
userdata,
|
|
24119
24248
|
buffer,
|
|
24120
24249
|
byteArray.length
|
|
24121
24250
|
);
|
|
@@ -24125,8 +24254,10 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
24125
24254
|
if (onerror) {
|
|
24126
24255
|
runtimeKeepalivePop();
|
|
24127
24256
|
callUserCallback(() => {
|
|
24128
|
-
((
|
|
24129
|
-
|
|
24257
|
+
((
|
|
24258
|
+
a1
|
|
24259
|
+
) => {}) /* 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. */(
|
|
24260
|
+
userdata
|
|
24130
24261
|
);
|
|
24131
24262
|
});
|
|
24132
24263
|
}
|
|
@@ -24183,8 +24314,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
24183
24314
|
);
|
|
24184
24315
|
if (onload) {
|
|
24185
24316
|
var sp = stackSave();
|
|
24186
|
-
((
|
|
24187
|
-
|
|
24317
|
+
((
|
|
24318
|
+
a1,
|
|
24319
|
+
a2,
|
|
24320
|
+
a3
|
|
24321
|
+
) => {}) /* 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. */(
|
|
24322
|
+
handle,
|
|
24188
24323
|
userdata,
|
|
24189
24324
|
stringToUTF8OnStack(_file)
|
|
24190
24325
|
);
|
|
@@ -24192,8 +24327,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
24192
24327
|
}
|
|
24193
24328
|
} else {
|
|
24194
24329
|
if (onerror)
|
|
24195
|
-
((
|
|
24196
|
-
|
|
24330
|
+
((
|
|
24331
|
+
a1,
|
|
24332
|
+
a2,
|
|
24333
|
+
a3
|
|
24334
|
+
) => {}) /* 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. */(
|
|
24335
|
+
handle,
|
|
24197
24336
|
userdata,
|
|
24198
24337
|
http.status
|
|
24199
24338
|
);
|
|
@@ -24206,8 +24345,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
24206
24345
|
http.onerror = (e) => {
|
|
24207
24346
|
runtimeKeepalivePop();
|
|
24208
24347
|
if (onerror)
|
|
24209
|
-
((
|
|
24210
|
-
|
|
24348
|
+
((
|
|
24349
|
+
a1,
|
|
24350
|
+
a2,
|
|
24351
|
+
a3
|
|
24352
|
+
) => {}) /* 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. */(
|
|
24353
|
+
handle,
|
|
24211
24354
|
userdata,
|
|
24212
24355
|
http.status
|
|
24213
24356
|
);
|
|
@@ -24222,8 +24365,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
24222
24365
|
) {
|
|
24223
24366
|
var percentComplete = (e.loaded / e.total) * 100;
|
|
24224
24367
|
if (onprogress)
|
|
24225
|
-
((
|
|
24226
|
-
|
|
24368
|
+
((
|
|
24369
|
+
a1,
|
|
24370
|
+
a2,
|
|
24371
|
+
a3
|
|
24372
|
+
) => {}) /* 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. */(
|
|
24373
|
+
handle,
|
|
24227
24374
|
userdata,
|
|
24228
24375
|
percentComplete
|
|
24229
24376
|
);
|
|
@@ -24280,8 +24427,13 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
24280
24427
|
if (http.statusText) {
|
|
24281
24428
|
statusText = stringToUTF8OnStack(http.statusText);
|
|
24282
24429
|
}
|
|
24283
|
-
((
|
|
24284
|
-
|
|
24430
|
+
((
|
|
24431
|
+
a1,
|
|
24432
|
+
a2,
|
|
24433
|
+
a3,
|
|
24434
|
+
a4
|
|
24435
|
+
) => {}) /* 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. */(
|
|
24436
|
+
handle,
|
|
24285
24437
|
userdata,
|
|
24286
24438
|
http.status,
|
|
24287
24439
|
statusText
|
|
@@ -24302,8 +24454,13 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
24302
24454
|
var buffer = _malloc(byteArray.length);
|
|
24303
24455
|
HEAPU8.set(byteArray, buffer);
|
|
24304
24456
|
if (onload)
|
|
24305
|
-
((
|
|
24306
|
-
|
|
24457
|
+
((
|
|
24458
|
+
a1,
|
|
24459
|
+
a2,
|
|
24460
|
+
a3,
|
|
24461
|
+
a4
|
|
24462
|
+
) => {}) /* 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. */(
|
|
24463
|
+
handle,
|
|
24307
24464
|
userdata,
|
|
24308
24465
|
buffer,
|
|
24309
24466
|
byteArray.length
|
|
@@ -24324,8 +24481,13 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
24324
24481
|
// PROGRESS
|
|
24325
24482
|
http.onprogress = (e) => {
|
|
24326
24483
|
if (onprogress)
|
|
24327
|
-
((
|
|
24328
|
-
|
|
24484
|
+
((
|
|
24485
|
+
a1,
|
|
24486
|
+
a2,
|
|
24487
|
+
a3,
|
|
24488
|
+
a4
|
|
24489
|
+
) => {}) /* 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. */(
|
|
24490
|
+
handle,
|
|
24329
24491
|
userdata,
|
|
24330
24492
|
e.loaded,
|
|
24331
24493
|
e.lengthComputable || e.lengthComputable === undefined
|
|
@@ -24445,16 +24607,24 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
24445
24607
|
if (event === 'error') {
|
|
24446
24608
|
withStackSave(() => {
|
|
24447
24609
|
var msg = stringToUTF8OnStack(data[2]);
|
|
24448
|
-
((
|
|
24449
|
-
|
|
24610
|
+
((
|
|
24611
|
+
a1,
|
|
24612
|
+
a2,
|
|
24613
|
+
a3,
|
|
24614
|
+
a4
|
|
24615
|
+
) => {}) /* 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. */(
|
|
24616
|
+
data[0],
|
|
24450
24617
|
data[1],
|
|
24451
24618
|
msg,
|
|
24452
24619
|
userData
|
|
24453
24620
|
);
|
|
24454
24621
|
});
|
|
24455
24622
|
} else {
|
|
24456
|
-
((
|
|
24457
|
-
|
|
24623
|
+
((
|
|
24624
|
+
a1,
|
|
24625
|
+
a2
|
|
24626
|
+
) => {}) /* 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. */(
|
|
24627
|
+
data,
|
|
24458
24628
|
userData
|
|
24459
24629
|
);
|
|
24460
24630
|
}
|
|
@@ -24920,8 +25090,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
24920
25090
|
) => {
|
|
24921
25091
|
var webGlEventHandlerFunc = (e = event) => {
|
|
24922
25092
|
if (
|
|
24923
|
-
((
|
|
24924
|
-
|
|
25093
|
+
((
|
|
25094
|
+
a1,
|
|
25095
|
+
a2,
|
|
25096
|
+
a3
|
|
25097
|
+
) => {}) /* 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. */(
|
|
25098
|
+
eventTypeId,
|
|
24925
25099
|
0,
|
|
24926
25100
|
userData
|
|
24927
25101
|
)
|
|
@@ -25140,15 +25314,21 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
25140
25314
|
) {
|
|
25141
25315
|
event.preventDefault();
|
|
25142
25316
|
GLUT.saveModifiers(event);
|
|
25143
|
-
((
|
|
25144
|
-
|
|
25317
|
+
((
|
|
25318
|
+
a1,
|
|
25319
|
+
a2
|
|
25320
|
+
) => {}) /* 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. */(
|
|
25321
|
+
lastX,
|
|
25145
25322
|
lastY
|
|
25146
25323
|
);
|
|
25147
25324
|
} else if (GLUT.buttons != 0 && GLUT.motionFunc) {
|
|
25148
25325
|
event.preventDefault();
|
|
25149
25326
|
GLUT.saveModifiers(event);
|
|
25150
|
-
((
|
|
25151
|
-
|
|
25327
|
+
((
|
|
25328
|
+
a1,
|
|
25329
|
+
a2
|
|
25330
|
+
) => {}) /* 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. */(
|
|
25331
|
+
lastX,
|
|
25152
25332
|
lastY
|
|
25153
25333
|
);
|
|
25154
25334
|
}
|
|
@@ -25309,8 +25489,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
25309
25489
|
if (GLUT.specialFunc) {
|
|
25310
25490
|
event.preventDefault();
|
|
25311
25491
|
GLUT.saveModifiers(event);
|
|
25312
|
-
((
|
|
25313
|
-
|
|
25492
|
+
((
|
|
25493
|
+
a1,
|
|
25494
|
+
a2,
|
|
25495
|
+
a3
|
|
25496
|
+
) => {}) /* 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. */(
|
|
25497
|
+
key,
|
|
25314
25498
|
Browser.mouseX,
|
|
25315
25499
|
Browser.mouseY
|
|
25316
25500
|
);
|
|
@@ -25320,8 +25504,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
25320
25504
|
if (key !== null && GLUT.keyboardFunc) {
|
|
25321
25505
|
event.preventDefault();
|
|
25322
25506
|
GLUT.saveModifiers(event);
|
|
25323
|
-
((
|
|
25324
|
-
|
|
25507
|
+
((
|
|
25508
|
+
a1,
|
|
25509
|
+
a2,
|
|
25510
|
+
a3
|
|
25511
|
+
) => {}) /* 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. */(
|
|
25512
|
+
key,
|
|
25325
25513
|
Browser.mouseX,
|
|
25326
25514
|
Browser.mouseY
|
|
25327
25515
|
);
|
|
@@ -25336,8 +25524,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
25336
25524
|
if (GLUT.specialUpFunc) {
|
|
25337
25525
|
event.preventDefault();
|
|
25338
25526
|
GLUT.saveModifiers(event);
|
|
25339
|
-
((
|
|
25340
|
-
|
|
25527
|
+
((
|
|
25528
|
+
a1,
|
|
25529
|
+
a2,
|
|
25530
|
+
a3
|
|
25531
|
+
) => {}) /* 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. */(
|
|
25532
|
+
key,
|
|
25341
25533
|
Browser.mouseX,
|
|
25342
25534
|
Browser.mouseY
|
|
25343
25535
|
);
|
|
@@ -25347,8 +25539,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
25347
25539
|
if (key !== null && GLUT.keyboardUpFunc) {
|
|
25348
25540
|
event.preventDefault();
|
|
25349
25541
|
GLUT.saveModifiers(event);
|
|
25350
|
-
((
|
|
25351
|
-
|
|
25542
|
+
((
|
|
25543
|
+
a1,
|
|
25544
|
+
a2,
|
|
25545
|
+
a3
|
|
25546
|
+
) => {}) /* 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. */(
|
|
25547
|
+
key,
|
|
25352
25548
|
Browser.mouseX,
|
|
25353
25549
|
Browser.mouseY
|
|
25354
25550
|
);
|
|
@@ -25412,10 +25608,13 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
25412
25608
|
} catch (e) {}
|
|
25413
25609
|
event.preventDefault();
|
|
25414
25610
|
GLUT.saveModifiers(event);
|
|
25415
|
-
((
|
|
25416
|
-
|
|
25417
|
-
|
|
25418
|
-
|
|
25611
|
+
((
|
|
25612
|
+
a1,
|
|
25613
|
+
a2,
|
|
25614
|
+
a3,
|
|
25615
|
+
a4
|
|
25616
|
+
) => {}) /* 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. */(
|
|
25617
|
+
event['button'],
|
|
25419
25618
|
0 /*GLUT_DOWN*/,
|
|
25420
25619
|
Browser.mouseX,
|
|
25421
25620
|
Browser.mouseY
|
|
@@ -25430,10 +25629,13 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
25430
25629
|
if (GLUT.mouseFunc) {
|
|
25431
25630
|
event.preventDefault();
|
|
25432
25631
|
GLUT.saveModifiers(event);
|
|
25433
|
-
((
|
|
25434
|
-
|
|
25435
|
-
|
|
25436
|
-
|
|
25632
|
+
((
|
|
25633
|
+
a1,
|
|
25634
|
+
a2,
|
|
25635
|
+
a3,
|
|
25636
|
+
a4
|
|
25637
|
+
) => {}) /* 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. */(
|
|
25638
|
+
event['button'],
|
|
25437
25639
|
1 /*GLUT_UP*/,
|
|
25438
25640
|
Browser.mouseX,
|
|
25439
25641
|
Browser.mouseY
|
|
@@ -25462,8 +25664,13 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
25462
25664
|
if (GLUT.mouseFunc) {
|
|
25463
25665
|
event.preventDefault();
|
|
25464
25666
|
GLUT.saveModifiers(event);
|
|
25465
|
-
((
|
|
25466
|
-
|
|
25667
|
+
((
|
|
25668
|
+
a1,
|
|
25669
|
+
a2,
|
|
25670
|
+
a3,
|
|
25671
|
+
a4
|
|
25672
|
+
) => {}) /* 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. */(
|
|
25673
|
+
button,
|
|
25467
25674
|
0 /*GLUT_DOWN*/,
|
|
25468
25675
|
Browser.mouseX,
|
|
25469
25676
|
Browser.mouseY
|
|
@@ -25506,8 +25713,11 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
25506
25713
|
/* Can't call _glutReshapeWindow as that requests cancelling fullscreen. */
|
|
25507
25714
|
if (GLUT.reshapeFunc) {
|
|
25508
25715
|
// out("GLUT.reshapeFunc (from FS): " + width + ", " + height);
|
|
25509
|
-
((
|
|
25510
|
-
|
|
25716
|
+
((
|
|
25717
|
+
a1,
|
|
25718
|
+
a2
|
|
25719
|
+
) => {}) /* 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. */(
|
|
25720
|
+
width,
|
|
25511
25721
|
height
|
|
25512
25722
|
);
|
|
25513
25723
|
}
|
|
@@ -25550,8 +25760,11 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
25550
25760
|
|
|
25551
25761
|
Browser.resizeListeners.push((width, height) => {
|
|
25552
25762
|
if (GLUT.reshapeFunc) {
|
|
25553
|
-
((
|
|
25554
|
-
|
|
25763
|
+
((
|
|
25764
|
+
a1,
|
|
25765
|
+
a2
|
|
25766
|
+
) => {}) /* 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. */(
|
|
25767
|
+
width,
|
|
25555
25768
|
height
|
|
25556
25769
|
);
|
|
25557
25770
|
}
|
|
@@ -25664,8 +25877,10 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
25664
25877
|
var _glutTimerFunc = (msec, func, value) =>
|
|
25665
25878
|
safeSetTimeout(
|
|
25666
25879
|
() =>
|
|
25667
|
-
((
|
|
25668
|
-
|
|
25880
|
+
((
|
|
25881
|
+
a1
|
|
25882
|
+
) => {}) /* 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. */(
|
|
25883
|
+
value
|
|
25669
25884
|
),
|
|
25670
25885
|
msec
|
|
25671
25886
|
);
|
|
@@ -25825,8 +26040,11 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
25825
26040
|
Browser.setCanvasSize(width, height, true); // N.B. GLUT.reshapeFunc is also registered as a canvas resize callback.
|
|
25826
26041
|
// Just call it once here.
|
|
25827
26042
|
if (GLUT.reshapeFunc) {
|
|
25828
|
-
((
|
|
25829
|
-
|
|
26043
|
+
((
|
|
26044
|
+
a1,
|
|
26045
|
+
a2
|
|
26046
|
+
) => {}) /* 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. */(
|
|
26047
|
+
width,
|
|
25830
26048
|
height
|
|
25831
26049
|
);
|
|
25832
26050
|
}
|
|
@@ -26888,15 +27106,21 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
26888
27106
|
callUserCallback(() => {
|
|
26889
27107
|
if (error) {
|
|
26890
27108
|
if (onerror)
|
|
26891
|
-
((
|
|
26892
|
-
|
|
27109
|
+
((
|
|
27110
|
+
a1
|
|
27111
|
+
) => {}) /* 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. */(
|
|
27112
|
+
arg
|
|
26893
27113
|
);
|
|
26894
27114
|
return;
|
|
26895
27115
|
}
|
|
26896
27116
|
var buffer = _malloc(byteArray.length);
|
|
26897
27117
|
HEAPU8.set(byteArray, buffer);
|
|
26898
|
-
((
|
|
26899
|
-
|
|
27118
|
+
((
|
|
27119
|
+
a1,
|
|
27120
|
+
a2,
|
|
27121
|
+
a3
|
|
27122
|
+
) => {}) /* 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. */(
|
|
27123
|
+
arg,
|
|
26900
27124
|
buffer,
|
|
26901
27125
|
byteArray.length
|
|
26902
27126
|
);
|
|
@@ -26928,14 +27152,18 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
26928
27152
|
callUserCallback(() => {
|
|
26929
27153
|
if (error) {
|
|
26930
27154
|
if (onerror)
|
|
26931
|
-
((
|
|
26932
|
-
|
|
27155
|
+
((
|
|
27156
|
+
a1
|
|
27157
|
+
) => {}) /* 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. */(
|
|
27158
|
+
arg
|
|
26933
27159
|
);
|
|
26934
27160
|
return;
|
|
26935
27161
|
}
|
|
26936
27162
|
if (onstore)
|
|
26937
|
-
((
|
|
26938
|
-
|
|
27163
|
+
((
|
|
27164
|
+
a1
|
|
27165
|
+
) => {}) /* 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. */(
|
|
27166
|
+
arg
|
|
26939
27167
|
);
|
|
26940
27168
|
});
|
|
26941
27169
|
}
|
|
@@ -26950,14 +27178,18 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
26950
27178
|
callUserCallback(() => {
|
|
26951
27179
|
if (error) {
|
|
26952
27180
|
if (onerror)
|
|
26953
|
-
((
|
|
26954
|
-
|
|
27181
|
+
((
|
|
27182
|
+
a1
|
|
27183
|
+
) => {}) /* 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. */(
|
|
27184
|
+
arg
|
|
26955
27185
|
);
|
|
26956
27186
|
return;
|
|
26957
27187
|
}
|
|
26958
27188
|
if (ondelete)
|
|
26959
|
-
((
|
|
26960
|
-
|
|
27189
|
+
((
|
|
27190
|
+
a1
|
|
27191
|
+
) => {}) /* 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. */(
|
|
27192
|
+
arg
|
|
26961
27193
|
);
|
|
26962
27194
|
});
|
|
26963
27195
|
});
|
|
@@ -26974,14 +27206,19 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
26974
27206
|
callUserCallback(() => {
|
|
26975
27207
|
if (error) {
|
|
26976
27208
|
if (onerror)
|
|
26977
|
-
((
|
|
26978
|
-
|
|
27209
|
+
((
|
|
27210
|
+
a1
|
|
27211
|
+
) => {}) /* 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. */(
|
|
27212
|
+
arg
|
|
26979
27213
|
);
|
|
26980
27214
|
return;
|
|
26981
27215
|
}
|
|
26982
27216
|
if (oncheck)
|
|
26983
|
-
((
|
|
26984
|
-
|
|
27217
|
+
((
|
|
27218
|
+
a1,
|
|
27219
|
+
a2
|
|
27220
|
+
) => {}) /* 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. */(
|
|
27221
|
+
arg,
|
|
26985
27222
|
exists
|
|
26986
27223
|
);
|
|
26987
27224
|
});
|
|
@@ -26997,14 +27234,18 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
26997
27234
|
callUserCallback(() => {
|
|
26998
27235
|
if (error) {
|
|
26999
27236
|
if (onerror)
|
|
27000
|
-
((
|
|
27001
|
-
|
|
27237
|
+
((
|
|
27238
|
+
a1
|
|
27239
|
+
) => {}) /* 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. */(
|
|
27240
|
+
arg
|
|
27002
27241
|
);
|
|
27003
27242
|
return;
|
|
27004
27243
|
}
|
|
27005
27244
|
if (onclear)
|
|
27006
|
-
((
|
|
27007
|
-
|
|
27245
|
+
((
|
|
27246
|
+
a1
|
|
27247
|
+
) => {}) /* 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. */(
|
|
27248
|
+
arg
|
|
27008
27249
|
);
|
|
27009
27250
|
});
|
|
27010
27251
|
});
|
|
@@ -27161,8 +27402,11 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
27161
27402
|
safeSetTimeout(() => {
|
|
27162
27403
|
var stackBegin = Asyncify.currData + 12;
|
|
27163
27404
|
var stackEnd = HEAPU32[Asyncify.currData >> 2];
|
|
27164
|
-
((
|
|
27165
|
-
|
|
27405
|
+
((
|
|
27406
|
+
a1,
|
|
27407
|
+
a2
|
|
27408
|
+
) => {}) /* 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. */(
|
|
27409
|
+
stackBegin,
|
|
27166
27410
|
stackEnd
|
|
27167
27411
|
);
|
|
27168
27412
|
wakeUp();
|
|
@@ -27223,8 +27467,10 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
27223
27467
|
HEAPU32[(newFiber + 12) >> 2] = 0;
|
|
27224
27468
|
|
|
27225
27469
|
var userData = HEAPU32[(newFiber + 16) >> 2];
|
|
27226
|
-
((
|
|
27227
|
-
|
|
27470
|
+
((
|
|
27471
|
+
a1
|
|
27472
|
+
) => {}) /* 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. */(
|
|
27473
|
+
userData
|
|
27228
27474
|
);
|
|
27229
27475
|
} else {
|
|
27230
27476
|
var asyncifyData = newFiber + 20;
|
|
@@ -28236,8 +28482,11 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
28236
28482
|
if (!SDL.eventHandler) return;
|
|
28237
28483
|
|
|
28238
28484
|
while (SDL.pollEvent(SDL.eventHandlerTemp)) {
|
|
28239
|
-
((
|
|
28240
|
-
|
|
28485
|
+
((
|
|
28486
|
+
a1,
|
|
28487
|
+
a2
|
|
28488
|
+
) => {}) /* 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. */(
|
|
28489
|
+
SDL.eventHandlerContext,
|
|
28241
28490
|
SDL.eventHandlerTemp
|
|
28242
28491
|
);
|
|
28243
28492
|
}
|
|
@@ -29870,9 +30119,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
29870
30119
|
return;
|
|
29871
30120
|
|
|
29872
30121
|
// Ask SDL audio data from the user code.
|
|
29873
|
-
((
|
|
29874
|
-
|
|
29875
|
-
|
|
30122
|
+
((
|
|
30123
|
+
a1,
|
|
30124
|
+
a2,
|
|
30125
|
+
a3
|
|
30126
|
+
) => {}) /* 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. */(
|
|
30127
|
+
SDL.audio.userdata,
|
|
29876
30128
|
SDL.audio.buffer,
|
|
29877
30129
|
SDL.audio.bufferSize
|
|
29878
30130
|
);
|
|
@@ -30330,8 +30582,10 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
30330
30582
|
info.audio = null;
|
|
30331
30583
|
}
|
|
30332
30584
|
if (SDL.channelFinished) {
|
|
30333
|
-
((
|
|
30334
|
-
|
|
30585
|
+
((
|
|
30586
|
+
a1
|
|
30587
|
+
) => {}) /* 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. */(
|
|
30588
|
+
channel
|
|
30335
30589
|
);
|
|
30336
30590
|
}
|
|
30337
30591
|
}
|
|
@@ -30400,8 +30654,10 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
30400
30654
|
channelInfo.audio = null;
|
|
30401
30655
|
}
|
|
30402
30656
|
if (SDL.channelFinished)
|
|
30403
|
-
((
|
|
30404
|
-
|
|
30657
|
+
((
|
|
30658
|
+
a1
|
|
30659
|
+
) => {}) /* 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. */(
|
|
30660
|
+
channel
|
|
30405
30661
|
);
|
|
30406
30662
|
};
|
|
30407
30663
|
if (channelInfo.audio) {
|
|
@@ -31149,8 +31405,11 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
31149
31405
|
var _SDL_AddTimer = (interval, callback, param) =>
|
|
31150
31406
|
safeSetTimeout(
|
|
31151
31407
|
() =>
|
|
31152
|
-
((
|
|
31153
|
-
|
|
31408
|
+
((
|
|
31409
|
+
a1,
|
|
31410
|
+
a2
|
|
31411
|
+
) => {}) /* 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. */(
|
|
31412
|
+
interval,
|
|
31154
31413
|
param
|
|
31155
31414
|
),
|
|
31156
31415
|
interval
|
|
@@ -31533,8 +31792,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
31533
31792
|
|
|
31534
31793
|
socket.onopen = function (e) {
|
|
31535
31794
|
var eventPtr = WS.getSocketEvent(socketId);
|
|
31536
|
-
((
|
|
31537
|
-
|
|
31795
|
+
((
|
|
31796
|
+
a1,
|
|
31797
|
+
a2,
|
|
31798
|
+
a3
|
|
31799
|
+
) => {}) /* 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. */(
|
|
31800
|
+
0 /*TODO*/,
|
|
31538
31801
|
eventPtr,
|
|
31539
31802
|
userData
|
|
31540
31803
|
);
|
|
@@ -31556,8 +31819,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
31556
31819
|
|
|
31557
31820
|
socket.onerror = function (e) {
|
|
31558
31821
|
var eventPtr = WS.getSocketEvent(socketId);
|
|
31559
|
-
((
|
|
31560
|
-
|
|
31822
|
+
((
|
|
31823
|
+
a1,
|
|
31824
|
+
a2,
|
|
31825
|
+
a3
|
|
31826
|
+
) => {}) /* 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. */(
|
|
31827
|
+
0 /*TODO*/,
|
|
31561
31828
|
eventPtr,
|
|
31562
31829
|
userData
|
|
31563
31830
|
);
|
|
@@ -31582,8 +31849,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
31582
31849
|
(HEAP8[eventPtr + 4] = e.wasClean),
|
|
31583
31850
|
(HEAP16[(eventPtr + 6) >> 1] = e.code),
|
|
31584
31851
|
stringToUTF8(e.reason, eventPtr + 8, 512);
|
|
31585
|
-
((
|
|
31586
|
-
|
|
31852
|
+
((
|
|
31853
|
+
a1,
|
|
31854
|
+
a2,
|
|
31855
|
+
a3
|
|
31856
|
+
) => {}) /* 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. */(
|
|
31857
|
+
0 /*TODO*/,
|
|
31587
31858
|
eventPtr,
|
|
31588
31859
|
userData
|
|
31589
31860
|
);
|
|
@@ -31617,8 +31888,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
31617
31888
|
(HEAPU32[(eventPtr + 4) >> 2] = buf),
|
|
31618
31889
|
(HEAP32[(eventPtr + 8) >> 2] = len),
|
|
31619
31890
|
(HEAP8[eventPtr + 12] = isText),
|
|
31620
|
-
((
|
|
31621
|
-
|
|
31891
|
+
((
|
|
31892
|
+
a1,
|
|
31893
|
+
a2,
|
|
31894
|
+
a3
|
|
31895
|
+
) => {}) /* 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. */(
|
|
31896
|
+
0 /*TODO*/,
|
|
31622
31897
|
eventPtr,
|
|
31623
31898
|
userData
|
|
31624
31899
|
);
|
|
@@ -31815,13 +32090,13 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
31815
32090
|
// End JS library code
|
|
31816
32091
|
|
|
31817
32092
|
var ASM_CONSTS = {
|
|
31818
|
-
|
|
32093
|
+
10385021: ($0) => {
|
|
31819
32094
|
if (!$0) {
|
|
31820
32095
|
AL.alcErr = 0xa004;
|
|
31821
32096
|
return 1;
|
|
31822
32097
|
}
|
|
31823
32098
|
},
|
|
31824
|
-
|
|
32099
|
+
10385069: ($0) => {
|
|
31825
32100
|
if (!AL.currentCtx) {
|
|
31826
32101
|
err('alGetProcAddress() called without a valid context');
|
|
31827
32102
|
return 1;
|
|
@@ -31943,6 +32218,9 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
31943
32218
|
while (true) {
|
|
31944
32219
|
var mask = POLLNVAL;
|
|
31945
32220
|
mask = SYSCALLS.DEFAULT_POLLMASK;
|
|
32221
|
+
if (FS.isClosed(stream)) {
|
|
32222
|
+
return ERRNO_CODES.EBADF;
|
|
32223
|
+
}
|
|
31946
32224
|
if (stream.stream_ops?.poll) {
|
|
31947
32225
|
mask = stream.stream_ops.poll(stream, -1);
|
|
31948
32226
|
}
|