@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_4.js
CHANGED
|
@@ -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 =
|
|
11
|
+
export const dependenciesTotalSize = 29677246;
|
|
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 = 12029248;
|
|
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 = 12029248;
|
|
1857
1859
|
|
|
1858
|
-
var ___stack_low =
|
|
1860
|
+
var ___stack_low = 11963712;
|
|
1859
1861
|
|
|
1860
1862
|
var ___stack_pointer = new WebAssembly.Global(
|
|
1861
1863
|
{ value: 'i32', mutable: true },
|
|
1862
|
-
|
|
1864
|
+
12029248
|
|
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) {
|
|
@@ -19470,8 +19470,11 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
19470
19470
|
var trace = getCallstack();
|
|
19471
19471
|
var parts = trace.split('\n');
|
|
19472
19472
|
for (var i = 0; i < parts.length; i++) {
|
|
19473
|
-
var ret = ((
|
|
19474
|
-
|
|
19473
|
+
var ret = ((
|
|
19474
|
+
a1,
|
|
19475
|
+
a2
|
|
19476
|
+
) => {}) /* 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. */(
|
|
19477
|
+
0,
|
|
19475
19478
|
arg
|
|
19476
19479
|
);
|
|
19477
19480
|
if (ret !== 0) return;
|
|
@@ -20047,8 +20050,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
20047
20050
|
stringToUTF8(e.locale || '', keyEventData + 128, 32);
|
|
20048
20051
|
|
|
20049
20052
|
if (
|
|
20050
|
-
((
|
|
20051
|
-
|
|
20053
|
+
((
|
|
20054
|
+
a1,
|
|
20055
|
+
a2,
|
|
20056
|
+
a3
|
|
20057
|
+
) => {}) /* 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. */(
|
|
20058
|
+
eventTypeId,
|
|
20052
20059
|
keyEventData,
|
|
20053
20060
|
userData
|
|
20054
20061
|
)
|
|
@@ -20166,8 +20173,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
20166
20173
|
fillMouseEventData(JSEvents.mouseEvent, e, target);
|
|
20167
20174
|
|
|
20168
20175
|
if (
|
|
20169
|
-
((
|
|
20170
|
-
|
|
20176
|
+
((
|
|
20177
|
+
a1,
|
|
20178
|
+
a2,
|
|
20179
|
+
a3
|
|
20180
|
+
) => {}) /* 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. */(
|
|
20181
|
+
eventTypeId,
|
|
20171
20182
|
JSEvents.mouseEvent,
|
|
20172
20183
|
userData
|
|
20173
20184
|
)
|
|
@@ -20381,8 +20392,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
20381
20392
|
HEAPF64[(wheelEvent + 80) >> 3] = e['deltaZ'];
|
|
20382
20393
|
HEAP32[(wheelEvent + 88) >> 2] = e['deltaMode'];
|
|
20383
20394
|
if (
|
|
20384
|
-
((
|
|
20385
|
-
|
|
20395
|
+
((
|
|
20396
|
+
a1,
|
|
20397
|
+
a2,
|
|
20398
|
+
a3
|
|
20399
|
+
) => {}) /* 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. */(
|
|
20400
|
+
eventTypeId,
|
|
20386
20401
|
wheelEvent,
|
|
20387
20402
|
userData
|
|
20388
20403
|
)
|
|
@@ -20463,8 +20478,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
20463
20478
|
HEAP32[(uiEvent + 28) >> 2] = pageXOffset | 0; // scroll offsets are float
|
|
20464
20479
|
HEAP32[(uiEvent + 32) >> 2] = pageYOffset | 0;
|
|
20465
20480
|
if (
|
|
20466
|
-
((
|
|
20467
|
-
|
|
20481
|
+
((
|
|
20482
|
+
a1,
|
|
20483
|
+
a2,
|
|
20484
|
+
a3
|
|
20485
|
+
) => {}) /* 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. */(
|
|
20486
|
+
eventTypeId,
|
|
20468
20487
|
uiEvent,
|
|
20469
20488
|
userData
|
|
20470
20489
|
)
|
|
@@ -20538,8 +20557,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
20538
20557
|
stringToUTF8(id, focusEvent + 128, 128);
|
|
20539
20558
|
|
|
20540
20559
|
if (
|
|
20541
|
-
((
|
|
20542
|
-
|
|
20560
|
+
((
|
|
20561
|
+
a1,
|
|
20562
|
+
a2,
|
|
20563
|
+
a3
|
|
20564
|
+
) => {}) /* 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. */(
|
|
20565
|
+
eventTypeId,
|
|
20543
20566
|
focusEvent,
|
|
20544
20567
|
userData
|
|
20545
20568
|
)
|
|
@@ -20655,8 +20678,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
20655
20678
|
); // TODO: Thread-safety with respect to emscripten_get_deviceorientation_status()
|
|
20656
20679
|
|
|
20657
20680
|
if (
|
|
20658
|
-
((
|
|
20659
|
-
|
|
20681
|
+
((
|
|
20682
|
+
a1,
|
|
20683
|
+
a2,
|
|
20684
|
+
a3
|
|
20685
|
+
) => {}) /* 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. */(
|
|
20686
|
+
eventTypeId,
|
|
20660
20687
|
JSEvents.deviceOrientationEvent,
|
|
20661
20688
|
userData
|
|
20662
20689
|
)
|
|
@@ -20739,8 +20766,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
20739
20766
|
fillDeviceMotionEventData(JSEvents.deviceMotionEvent, e, target); // TODO: Thread-safety with respect to emscripten_get_devicemotion_status()
|
|
20740
20767
|
|
|
20741
20768
|
if (
|
|
20742
|
-
((
|
|
20743
|
-
|
|
20769
|
+
((
|
|
20770
|
+
a1,
|
|
20771
|
+
a2,
|
|
20772
|
+
a3
|
|
20773
|
+
) => {}) /* 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. */(
|
|
20774
|
+
eventTypeId,
|
|
20744
20775
|
JSEvents.deviceMotionEvent,
|
|
20745
20776
|
userData
|
|
20746
20777
|
)
|
|
@@ -20850,8 +20881,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
20850
20881
|
fillOrientationChangeEventData(orientationChangeEvent);
|
|
20851
20882
|
|
|
20852
20883
|
if (
|
|
20853
|
-
((
|
|
20854
|
-
|
|
20884
|
+
((
|
|
20885
|
+
a1,
|
|
20886
|
+
a2,
|
|
20887
|
+
a3
|
|
20888
|
+
) => {}) /* 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. */(
|
|
20889
|
+
eventTypeId,
|
|
20855
20890
|
orientationChangeEvent,
|
|
20856
20891
|
userData
|
|
20857
20892
|
)
|
|
@@ -20984,8 +21019,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
20984
21019
|
fillFullscreenChangeEventData(fullscreenChangeEvent);
|
|
20985
21020
|
|
|
20986
21021
|
if (
|
|
20987
|
-
((
|
|
20988
|
-
|
|
21022
|
+
((
|
|
21023
|
+
a1,
|
|
21024
|
+
a2,
|
|
21025
|
+
a3
|
|
21026
|
+
) => {}) /* 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. */(
|
|
21027
|
+
eventTypeId,
|
|
20989
21028
|
fullscreenChangeEvent,
|
|
20990
21029
|
userData
|
|
20991
21030
|
)
|
|
@@ -21149,8 +21188,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
21149
21188
|
);
|
|
21150
21189
|
|
|
21151
21190
|
if (currentFullscreenStrategy.canvasResizedCallback) {
|
|
21152
|
-
((
|
|
21153
|
-
|
|
21191
|
+
((
|
|
21192
|
+
a1,
|
|
21193
|
+
a2,
|
|
21194
|
+
a3
|
|
21195
|
+
) => {}) /* 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. */(
|
|
21196
|
+
37,
|
|
21154
21197
|
0,
|
|
21155
21198
|
currentFullscreenStrategy.canvasResizedCallbackUserData
|
|
21156
21199
|
);
|
|
@@ -21256,8 +21299,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
21256
21299
|
currentFullscreenStrategy = strategy;
|
|
21257
21300
|
|
|
21258
21301
|
if (strategy.canvasResizedCallback) {
|
|
21259
|
-
((
|
|
21260
|
-
|
|
21302
|
+
((
|
|
21303
|
+
a1,
|
|
21304
|
+
a2,
|
|
21305
|
+
a3
|
|
21306
|
+
) => {}) /* 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. */(
|
|
21307
|
+
37,
|
|
21261
21308
|
0,
|
|
21262
21309
|
strategy.canvasResizedCallbackUserData
|
|
21263
21310
|
);
|
|
@@ -21359,8 +21406,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
21359
21406
|
!inCenteredWithoutScalingFullscreenMode &&
|
|
21360
21407
|
currentFullscreenStrategy.canvasResizedCallback
|
|
21361
21408
|
) {
|
|
21362
|
-
((
|
|
21363
|
-
|
|
21409
|
+
((
|
|
21410
|
+
a1,
|
|
21411
|
+
a2,
|
|
21412
|
+
a3
|
|
21413
|
+
) => {}) /* 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. */(
|
|
21414
|
+
37,
|
|
21364
21415
|
0,
|
|
21365
21416
|
currentFullscreenStrategy.canvasResizedCallbackUserData
|
|
21366
21417
|
);
|
|
@@ -21459,8 +21510,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
21459
21510
|
softFullscreenResizeWebGLRenderTarget
|
|
21460
21511
|
);
|
|
21461
21512
|
if (strategy.canvasResizedCallback) {
|
|
21462
|
-
((
|
|
21463
|
-
|
|
21513
|
+
((
|
|
21514
|
+
a1,
|
|
21515
|
+
a2,
|
|
21516
|
+
a3
|
|
21517
|
+
) => {}) /* 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. */(
|
|
21518
|
+
37,
|
|
21464
21519
|
0,
|
|
21465
21520
|
strategy.canvasResizedCallbackUserData
|
|
21466
21521
|
);
|
|
@@ -21473,8 +21528,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
21473
21528
|
|
|
21474
21529
|
// Inform the caller that the canvas size has changed.
|
|
21475
21530
|
if (strategy.canvasResizedCallback) {
|
|
21476
|
-
((
|
|
21477
|
-
|
|
21531
|
+
((
|
|
21532
|
+
a1,
|
|
21533
|
+
a2,
|
|
21534
|
+
a3
|
|
21535
|
+
) => {}) /* 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. */(
|
|
21536
|
+
37,
|
|
21478
21537
|
0,
|
|
21479
21538
|
strategy.canvasResizedCallbackUserData
|
|
21480
21539
|
);
|
|
@@ -21542,8 +21601,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
21542
21601
|
fillPointerlockChangeEventData(pointerlockChangeEvent);
|
|
21543
21602
|
|
|
21544
21603
|
if (
|
|
21545
|
-
((
|
|
21546
|
-
|
|
21604
|
+
((
|
|
21605
|
+
a1,
|
|
21606
|
+
a2,
|
|
21607
|
+
a3
|
|
21608
|
+
) => {}) /* 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. */(
|
|
21609
|
+
eventTypeId,
|
|
21547
21610
|
pointerlockChangeEvent,
|
|
21548
21611
|
userData
|
|
21549
21612
|
)
|
|
@@ -21633,8 +21696,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
21633
21696
|
) => {
|
|
21634
21697
|
var pointerlockErrorEventHandlerFunc = (e = event) => {
|
|
21635
21698
|
if (
|
|
21636
|
-
((
|
|
21637
|
-
|
|
21699
|
+
((
|
|
21700
|
+
a1,
|
|
21701
|
+
a2,
|
|
21702
|
+
a3
|
|
21703
|
+
) => {}) /* 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. */(
|
|
21704
|
+
eventTypeId,
|
|
21638
21705
|
0,
|
|
21639
21706
|
userData
|
|
21640
21707
|
)
|
|
@@ -21834,8 +21901,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
21834
21901
|
fillVisibilityChangeEventData(visibilityChangeEvent);
|
|
21835
21902
|
|
|
21836
21903
|
if (
|
|
21837
|
-
((
|
|
21838
|
-
|
|
21904
|
+
((
|
|
21905
|
+
a1,
|
|
21906
|
+
a2,
|
|
21907
|
+
a3
|
|
21908
|
+
) => {}) /* 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. */(
|
|
21909
|
+
eventTypeId,
|
|
21839
21910
|
visibilityChangeEvent,
|
|
21840
21911
|
userData
|
|
21841
21912
|
)
|
|
@@ -21955,8 +22026,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
21955
22026
|
HEAP32[(touchEvent + 8) >> 2] = numTouches;
|
|
21956
22027
|
|
|
21957
22028
|
if (
|
|
21958
|
-
((
|
|
21959
|
-
|
|
22029
|
+
((
|
|
22030
|
+
a1,
|
|
22031
|
+
a2,
|
|
22032
|
+
a3
|
|
22033
|
+
) => {}) /* 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. */(
|
|
22034
|
+
eventTypeId,
|
|
21960
22035
|
touchEvent,
|
|
21961
22036
|
userData
|
|
21962
22037
|
)
|
|
@@ -22094,8 +22169,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
22094
22169
|
fillGamepadEventData(gamepadEvent, e['gamepad']);
|
|
22095
22170
|
|
|
22096
22171
|
if (
|
|
22097
|
-
((
|
|
22098
|
-
|
|
22172
|
+
((
|
|
22173
|
+
a1,
|
|
22174
|
+
a2,
|
|
22175
|
+
a3
|
|
22176
|
+
) => {}) /* 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. */(
|
|
22177
|
+
eventTypeId,
|
|
22099
22178
|
gamepadEvent,
|
|
22100
22179
|
userData
|
|
22101
22180
|
)
|
|
@@ -22197,8 +22276,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
22197
22276
|
) => {
|
|
22198
22277
|
var beforeUnloadEventHandlerFunc = (e = event) => {
|
|
22199
22278
|
// Note: This is always called on the main browser thread, since it needs synchronously return a value!
|
|
22200
|
-
var confirmationMessage = ((
|
|
22201
|
-
|
|
22279
|
+
var confirmationMessage = ((
|
|
22280
|
+
a1,
|
|
22281
|
+
a2,
|
|
22282
|
+
a3
|
|
22283
|
+
) => {}) /* 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. */(
|
|
22284
|
+
eventTypeId,
|
|
22202
22285
|
0,
|
|
22203
22286
|
userData
|
|
22204
22287
|
);
|
|
@@ -22269,8 +22352,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
22269
22352
|
fillBatteryEventData(batteryEvent, battery());
|
|
22270
22353
|
|
|
22271
22354
|
if (
|
|
22272
|
-
((
|
|
22273
|
-
|
|
22355
|
+
((
|
|
22356
|
+
a1,
|
|
22357
|
+
a2,
|
|
22358
|
+
a3
|
|
22359
|
+
) => {}) /* 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. */(
|
|
22360
|
+
eventTypeId,
|
|
22274
22361
|
batteryEvent,
|
|
22275
22362
|
userData
|
|
22276
22363
|
)
|
|
@@ -22360,8 +22447,11 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
22360
22447
|
|
|
22361
22448
|
var _emscripten_request_animation_frame = (cb, userData) =>
|
|
22362
22449
|
requestAnimationFrame((timeStamp) =>
|
|
22363
|
-
((
|
|
22364
|
-
|
|
22450
|
+
((
|
|
22451
|
+
a1,
|
|
22452
|
+
a2
|
|
22453
|
+
) => {}) /* 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. */(
|
|
22454
|
+
timeStamp,
|
|
22365
22455
|
userData
|
|
22366
22456
|
)
|
|
22367
22457
|
);
|
|
@@ -22373,8 +22463,11 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
22373
22463
|
var _emscripten_request_animation_frame_loop = (cb, userData) => {
|
|
22374
22464
|
function tick(timeStamp) {
|
|
22375
22465
|
if (
|
|
22376
|
-
((
|
|
22377
|
-
|
|
22466
|
+
((
|
|
22467
|
+
a1,
|
|
22468
|
+
a2
|
|
22469
|
+
) => {}) /* 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. */(
|
|
22470
|
+
timeStamp,
|
|
22378
22471
|
userData
|
|
22379
22472
|
)
|
|
22380
22473
|
) {
|
|
@@ -22599,8 +22692,10 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
22599
22692
|
return emSetImmediate(() => {
|
|
22600
22693
|
runtimeKeepalivePop();
|
|
22601
22694
|
callUserCallback(() =>
|
|
22602
|
-
((
|
|
22603
|
-
|
|
22695
|
+
((
|
|
22696
|
+
a1
|
|
22697
|
+
) => {}) /* 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. */(
|
|
22698
|
+
userData
|
|
22604
22699
|
)
|
|
22605
22700
|
);
|
|
22606
22701
|
});
|
|
@@ -22617,8 +22712,10 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
22617
22712
|
function tick() {
|
|
22618
22713
|
callUserCallback(() => {
|
|
22619
22714
|
if (
|
|
22620
|
-
((
|
|
22621
|
-
|
|
22715
|
+
((
|
|
22716
|
+
a1
|
|
22717
|
+
) => {}) /* 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. */(
|
|
22718
|
+
userData
|
|
22622
22719
|
)
|
|
22623
22720
|
) {
|
|
22624
22721
|
emSetImmediate(tick);
|
|
@@ -22635,8 +22732,10 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
22635
22732
|
var _emscripten_set_timeout = (cb, msecs, userData) =>
|
|
22636
22733
|
safeSetTimeout(
|
|
22637
22734
|
() =>
|
|
22638
|
-
((
|
|
22639
|
-
|
|
22735
|
+
((
|
|
22736
|
+
a1
|
|
22737
|
+
) => {}) /* 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. */(
|
|
22738
|
+
userData
|
|
22640
22739
|
),
|
|
22641
22740
|
msecs
|
|
22642
22741
|
);
|
|
@@ -22652,8 +22751,11 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
22652
22751
|
runtimeKeepalivePop();
|
|
22653
22752
|
callUserCallback(() => {
|
|
22654
22753
|
if (
|
|
22655
|
-
((
|
|
22656
|
-
|
|
22754
|
+
((
|
|
22755
|
+
a1,
|
|
22756
|
+
a2
|
|
22757
|
+
) => {}) /* 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. */(
|
|
22758
|
+
t,
|
|
22657
22759
|
userData
|
|
22658
22760
|
)
|
|
22659
22761
|
) {
|
|
@@ -22677,8 +22779,10 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
22677
22779
|
runtimeKeepalivePush();
|
|
22678
22780
|
return setInterval(() => {
|
|
22679
22781
|
callUserCallback(() =>
|
|
22680
|
-
((
|
|
22681
|
-
|
|
22782
|
+
((
|
|
22783
|
+
a1
|
|
22784
|
+
) => {}) /* 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. */(
|
|
22785
|
+
userData
|
|
22682
22786
|
)
|
|
22683
22787
|
);
|
|
22684
22788
|
}, msecs);
|
|
@@ -22693,8 +22797,10 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
22693
22797
|
|
|
22694
22798
|
var _emscripten_async_call = (func, arg, millis) => {
|
|
22695
22799
|
var wrapper = () =>
|
|
22696
|
-
((
|
|
22697
|
-
|
|
22800
|
+
((
|
|
22801
|
+
a1
|
|
22802
|
+
) => {}) /* 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. */(
|
|
22803
|
+
arg
|
|
22698
22804
|
);
|
|
22699
22805
|
|
|
22700
22806
|
if (
|
|
@@ -22727,7 +22833,7 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
22727
22833
|
|
|
22728
22834
|
var _emscripten_set_main_loop = (func, fps, simulateInfiniteLoop) => {
|
|
22729
22835
|
var iterFunc =
|
|
22730
|
-
() => {}
|
|
22836
|
+
() => {} /* 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. */;
|
|
22731
22837
|
setMainLoop(iterFunc, fps, simulateInfiniteLoop);
|
|
22732
22838
|
};
|
|
22733
22839
|
_emscripten_set_main_loop.sig = 'vpii';
|
|
@@ -22739,8 +22845,10 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
22739
22845
|
simulateInfiniteLoop
|
|
22740
22846
|
) => {
|
|
22741
22847
|
var iterFunc = () =>
|
|
22742
|
-
((
|
|
22743
|
-
|
|
22848
|
+
((
|
|
22849
|
+
a1
|
|
22850
|
+
) => {}) /* 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. */(
|
|
22851
|
+
arg
|
|
22744
22852
|
);
|
|
22745
22853
|
setMainLoop(iterFunc, fps, simulateInfiniteLoop, arg);
|
|
22746
22854
|
};
|
|
@@ -22761,8 +22869,10 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
22761
22869
|
var __emscripten_push_main_loop_blocker = (func, arg, name) => {
|
|
22762
22870
|
MainLoop.queue.push({
|
|
22763
22871
|
func: () => {
|
|
22764
|
-
((
|
|
22765
|
-
|
|
22872
|
+
((
|
|
22873
|
+
a1
|
|
22874
|
+
) => {}) /* 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. */(
|
|
22875
|
+
arg
|
|
22766
22876
|
);
|
|
22767
22877
|
},
|
|
22768
22878
|
name: UTF8ToString(name),
|
|
@@ -22775,8 +22885,10 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
22775
22885
|
var __emscripten_push_uncounted_main_loop_blocker = (func, arg, name) => {
|
|
22776
22886
|
MainLoop.queue.push({
|
|
22777
22887
|
func: () => {
|
|
22778
|
-
((
|
|
22779
|
-
|
|
22888
|
+
((
|
|
22889
|
+
a1
|
|
22890
|
+
) => {}) /* 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. */(
|
|
22891
|
+
arg
|
|
22780
22892
|
);
|
|
22781
22893
|
},
|
|
22782
22894
|
name: UTF8ToString(name),
|
|
@@ -22810,8 +22922,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
22810
22922
|
var resultPtr = stackAlloc(POINTER_SIZE);
|
|
22811
22923
|
HEAPU32[resultPtr >> 2] = 0;
|
|
22812
22924
|
try {
|
|
22813
|
-
var result = ((
|
|
22814
|
-
|
|
22925
|
+
var result = ((
|
|
22926
|
+
a1,
|
|
22927
|
+
a2,
|
|
22928
|
+
a3
|
|
22929
|
+
) => {}) /* 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. */(
|
|
22930
|
+
resultPtr,
|
|
22815
22931
|
userData,
|
|
22816
22932
|
value
|
|
22817
22933
|
);
|
|
@@ -23747,15 +23863,19 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
23747
23863
|
() => {
|
|
23748
23864
|
runtimeKeepalivePop();
|
|
23749
23865
|
if (onload)
|
|
23750
|
-
((
|
|
23751
|
-
|
|
23866
|
+
((
|
|
23867
|
+
a1
|
|
23868
|
+
) => {}) /* 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. */(
|
|
23869
|
+
file
|
|
23752
23870
|
);
|
|
23753
23871
|
},
|
|
23754
23872
|
() => {
|
|
23755
23873
|
runtimeKeepalivePop();
|
|
23756
23874
|
if (onerror)
|
|
23757
|
-
((
|
|
23758
|
-
|
|
23875
|
+
((
|
|
23876
|
+
a1
|
|
23877
|
+
) => {}) /* 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. */(
|
|
23878
|
+
file
|
|
23759
23879
|
);
|
|
23760
23880
|
},
|
|
23761
23881
|
true // don'tCreateFile - it's already there
|
|
@@ -23789,16 +23909,21 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
23789
23909
|
() => {
|
|
23790
23910
|
runtimeKeepalivePop();
|
|
23791
23911
|
if (onload)
|
|
23792
|
-
((
|
|
23793
|
-
|
|
23912
|
+
((
|
|
23913
|
+
a1,
|
|
23914
|
+
a2
|
|
23915
|
+
) => {}) /* 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. */(
|
|
23916
|
+
arg,
|
|
23794
23917
|
cname
|
|
23795
23918
|
);
|
|
23796
23919
|
},
|
|
23797
23920
|
() => {
|
|
23798
23921
|
runtimeKeepalivePop();
|
|
23799
23922
|
if (onerror)
|
|
23800
|
-
((
|
|
23801
|
-
|
|
23923
|
+
((
|
|
23924
|
+
a1
|
|
23925
|
+
) => {}) /* 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. */(
|
|
23926
|
+
arg
|
|
23802
23927
|
);
|
|
23803
23928
|
},
|
|
23804
23929
|
true // don'tCreateFile - it's already there
|
|
@@ -24071,10 +24196,10 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
24071
24196
|
runtimeKeepalivePop();
|
|
24072
24197
|
callUserCallback(() => {
|
|
24073
24198
|
var sp = stackSave();
|
|
24074
|
-
((
|
|
24075
|
-
|
|
24076
|
-
|
|
24077
|
-
)
|
|
24199
|
+
((
|
|
24200
|
+
a1
|
|
24201
|
+
) => {}) /* 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. */(
|
|
24202
|
+
stringToUTF8OnStack(_file)
|
|
24078
24203
|
);
|
|
24079
24204
|
stackRestore(sp);
|
|
24080
24205
|
});
|
|
@@ -24118,8 +24243,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
24118
24243
|
callUserCallback(() => {
|
|
24119
24244
|
var buffer = _malloc(byteArray.length);
|
|
24120
24245
|
HEAPU8.set(byteArray, buffer);
|
|
24121
|
-
((
|
|
24122
|
-
|
|
24246
|
+
((
|
|
24247
|
+
a1,
|
|
24248
|
+
a2,
|
|
24249
|
+
a3
|
|
24250
|
+
) => {}) /* 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. */(
|
|
24251
|
+
userdata,
|
|
24123
24252
|
buffer,
|
|
24124
24253
|
byteArray.length
|
|
24125
24254
|
);
|
|
@@ -24129,8 +24258,10 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
24129
24258
|
if (onerror) {
|
|
24130
24259
|
runtimeKeepalivePop();
|
|
24131
24260
|
callUserCallback(() => {
|
|
24132
|
-
((
|
|
24133
|
-
|
|
24261
|
+
((
|
|
24262
|
+
a1
|
|
24263
|
+
) => {}) /* 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. */(
|
|
24264
|
+
userdata
|
|
24134
24265
|
);
|
|
24135
24266
|
});
|
|
24136
24267
|
}
|
|
@@ -24187,8 +24318,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
24187
24318
|
);
|
|
24188
24319
|
if (onload) {
|
|
24189
24320
|
var sp = stackSave();
|
|
24190
|
-
((
|
|
24191
|
-
|
|
24321
|
+
((
|
|
24322
|
+
a1,
|
|
24323
|
+
a2,
|
|
24324
|
+
a3
|
|
24325
|
+
) => {}) /* 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. */(
|
|
24326
|
+
handle,
|
|
24192
24327
|
userdata,
|
|
24193
24328
|
stringToUTF8OnStack(_file)
|
|
24194
24329
|
);
|
|
@@ -24196,8 +24331,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
24196
24331
|
}
|
|
24197
24332
|
} else {
|
|
24198
24333
|
if (onerror)
|
|
24199
|
-
((
|
|
24200
|
-
|
|
24334
|
+
((
|
|
24335
|
+
a1,
|
|
24336
|
+
a2,
|
|
24337
|
+
a3
|
|
24338
|
+
) => {}) /* 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. */(
|
|
24339
|
+
handle,
|
|
24201
24340
|
userdata,
|
|
24202
24341
|
http.status
|
|
24203
24342
|
);
|
|
@@ -24210,8 +24349,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
24210
24349
|
http.onerror = (e) => {
|
|
24211
24350
|
runtimeKeepalivePop();
|
|
24212
24351
|
if (onerror)
|
|
24213
|
-
((
|
|
24214
|
-
|
|
24352
|
+
((
|
|
24353
|
+
a1,
|
|
24354
|
+
a2,
|
|
24355
|
+
a3
|
|
24356
|
+
) => {}) /* 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. */(
|
|
24357
|
+
handle,
|
|
24215
24358
|
userdata,
|
|
24216
24359
|
http.status
|
|
24217
24360
|
);
|
|
@@ -24226,8 +24369,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
24226
24369
|
) {
|
|
24227
24370
|
var percentComplete = (e.loaded / e.total) * 100;
|
|
24228
24371
|
if (onprogress)
|
|
24229
|
-
((
|
|
24230
|
-
|
|
24372
|
+
((
|
|
24373
|
+
a1,
|
|
24374
|
+
a2,
|
|
24375
|
+
a3
|
|
24376
|
+
) => {}) /* 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. */(
|
|
24377
|
+
handle,
|
|
24231
24378
|
userdata,
|
|
24232
24379
|
percentComplete
|
|
24233
24380
|
);
|
|
@@ -24284,8 +24431,13 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
24284
24431
|
if (http.statusText) {
|
|
24285
24432
|
statusText = stringToUTF8OnStack(http.statusText);
|
|
24286
24433
|
}
|
|
24287
|
-
((
|
|
24288
|
-
|
|
24434
|
+
((
|
|
24435
|
+
a1,
|
|
24436
|
+
a2,
|
|
24437
|
+
a3,
|
|
24438
|
+
a4
|
|
24439
|
+
) => {}) /* 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. */(
|
|
24440
|
+
handle,
|
|
24289
24441
|
userdata,
|
|
24290
24442
|
http.status,
|
|
24291
24443
|
statusText
|
|
@@ -24306,8 +24458,13 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
24306
24458
|
var buffer = _malloc(byteArray.length);
|
|
24307
24459
|
HEAPU8.set(byteArray, buffer);
|
|
24308
24460
|
if (onload)
|
|
24309
|
-
((
|
|
24310
|
-
|
|
24461
|
+
((
|
|
24462
|
+
a1,
|
|
24463
|
+
a2,
|
|
24464
|
+
a3,
|
|
24465
|
+
a4
|
|
24466
|
+
) => {}) /* 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. */(
|
|
24467
|
+
handle,
|
|
24311
24468
|
userdata,
|
|
24312
24469
|
buffer,
|
|
24313
24470
|
byteArray.length
|
|
@@ -24328,8 +24485,13 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
24328
24485
|
// PROGRESS
|
|
24329
24486
|
http.onprogress = (e) => {
|
|
24330
24487
|
if (onprogress)
|
|
24331
|
-
((
|
|
24332
|
-
|
|
24488
|
+
((
|
|
24489
|
+
a1,
|
|
24490
|
+
a2,
|
|
24491
|
+
a3,
|
|
24492
|
+
a4
|
|
24493
|
+
) => {}) /* 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. */(
|
|
24494
|
+
handle,
|
|
24333
24495
|
userdata,
|
|
24334
24496
|
e.loaded,
|
|
24335
24497
|
e.lengthComputable || e.lengthComputable === undefined
|
|
@@ -24449,16 +24611,24 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
24449
24611
|
if (event === 'error') {
|
|
24450
24612
|
withStackSave(() => {
|
|
24451
24613
|
var msg = stringToUTF8OnStack(data[2]);
|
|
24452
|
-
((
|
|
24453
|
-
|
|
24614
|
+
((
|
|
24615
|
+
a1,
|
|
24616
|
+
a2,
|
|
24617
|
+
a3,
|
|
24618
|
+
a4
|
|
24619
|
+
) => {}) /* 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. */(
|
|
24620
|
+
data[0],
|
|
24454
24621
|
data[1],
|
|
24455
24622
|
msg,
|
|
24456
24623
|
userData
|
|
24457
24624
|
);
|
|
24458
24625
|
});
|
|
24459
24626
|
} else {
|
|
24460
|
-
((
|
|
24461
|
-
|
|
24627
|
+
((
|
|
24628
|
+
a1,
|
|
24629
|
+
a2
|
|
24630
|
+
) => {}) /* 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. */(
|
|
24631
|
+
data,
|
|
24462
24632
|
userData
|
|
24463
24633
|
);
|
|
24464
24634
|
}
|
|
@@ -24924,8 +25094,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
24924
25094
|
) => {
|
|
24925
25095
|
var webGlEventHandlerFunc = (e = event) => {
|
|
24926
25096
|
if (
|
|
24927
|
-
((
|
|
24928
|
-
|
|
25097
|
+
((
|
|
25098
|
+
a1,
|
|
25099
|
+
a2,
|
|
25100
|
+
a3
|
|
25101
|
+
) => {}) /* 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. */(
|
|
25102
|
+
eventTypeId,
|
|
24929
25103
|
0,
|
|
24930
25104
|
userData
|
|
24931
25105
|
)
|
|
@@ -25144,15 +25318,21 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
25144
25318
|
) {
|
|
25145
25319
|
event.preventDefault();
|
|
25146
25320
|
GLUT.saveModifiers(event);
|
|
25147
|
-
((
|
|
25148
|
-
|
|
25321
|
+
((
|
|
25322
|
+
a1,
|
|
25323
|
+
a2
|
|
25324
|
+
) => {}) /* 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. */(
|
|
25325
|
+
lastX,
|
|
25149
25326
|
lastY
|
|
25150
25327
|
);
|
|
25151
25328
|
} else if (GLUT.buttons != 0 && GLUT.motionFunc) {
|
|
25152
25329
|
event.preventDefault();
|
|
25153
25330
|
GLUT.saveModifiers(event);
|
|
25154
|
-
((
|
|
25155
|
-
|
|
25331
|
+
((
|
|
25332
|
+
a1,
|
|
25333
|
+
a2
|
|
25334
|
+
) => {}) /* 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. */(
|
|
25335
|
+
lastX,
|
|
25156
25336
|
lastY
|
|
25157
25337
|
);
|
|
25158
25338
|
}
|
|
@@ -25313,8 +25493,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
25313
25493
|
if (GLUT.specialFunc) {
|
|
25314
25494
|
event.preventDefault();
|
|
25315
25495
|
GLUT.saveModifiers(event);
|
|
25316
|
-
((
|
|
25317
|
-
|
|
25496
|
+
((
|
|
25497
|
+
a1,
|
|
25498
|
+
a2,
|
|
25499
|
+
a3
|
|
25500
|
+
) => {}) /* 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. */(
|
|
25501
|
+
key,
|
|
25318
25502
|
Browser.mouseX,
|
|
25319
25503
|
Browser.mouseY
|
|
25320
25504
|
);
|
|
@@ -25324,8 +25508,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
25324
25508
|
if (key !== null && GLUT.keyboardFunc) {
|
|
25325
25509
|
event.preventDefault();
|
|
25326
25510
|
GLUT.saveModifiers(event);
|
|
25327
|
-
((
|
|
25328
|
-
|
|
25511
|
+
((
|
|
25512
|
+
a1,
|
|
25513
|
+
a2,
|
|
25514
|
+
a3
|
|
25515
|
+
) => {}) /* 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. */(
|
|
25516
|
+
key,
|
|
25329
25517
|
Browser.mouseX,
|
|
25330
25518
|
Browser.mouseY
|
|
25331
25519
|
);
|
|
@@ -25340,8 +25528,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
25340
25528
|
if (GLUT.specialUpFunc) {
|
|
25341
25529
|
event.preventDefault();
|
|
25342
25530
|
GLUT.saveModifiers(event);
|
|
25343
|
-
((
|
|
25344
|
-
|
|
25531
|
+
((
|
|
25532
|
+
a1,
|
|
25533
|
+
a2,
|
|
25534
|
+
a3
|
|
25535
|
+
) => {}) /* 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. */(
|
|
25536
|
+
key,
|
|
25345
25537
|
Browser.mouseX,
|
|
25346
25538
|
Browser.mouseY
|
|
25347
25539
|
);
|
|
@@ -25351,8 +25543,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
25351
25543
|
if (key !== null && GLUT.keyboardUpFunc) {
|
|
25352
25544
|
event.preventDefault();
|
|
25353
25545
|
GLUT.saveModifiers(event);
|
|
25354
|
-
((
|
|
25355
|
-
|
|
25546
|
+
((
|
|
25547
|
+
a1,
|
|
25548
|
+
a2,
|
|
25549
|
+
a3
|
|
25550
|
+
) => {}) /* 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. */(
|
|
25551
|
+
key,
|
|
25356
25552
|
Browser.mouseX,
|
|
25357
25553
|
Browser.mouseY
|
|
25358
25554
|
);
|
|
@@ -25416,10 +25612,13 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
25416
25612
|
} catch (e) {}
|
|
25417
25613
|
event.preventDefault();
|
|
25418
25614
|
GLUT.saveModifiers(event);
|
|
25419
|
-
((
|
|
25420
|
-
|
|
25421
|
-
|
|
25422
|
-
|
|
25615
|
+
((
|
|
25616
|
+
a1,
|
|
25617
|
+
a2,
|
|
25618
|
+
a3,
|
|
25619
|
+
a4
|
|
25620
|
+
) => {}) /* 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. */(
|
|
25621
|
+
event['button'],
|
|
25423
25622
|
0 /*GLUT_DOWN*/,
|
|
25424
25623
|
Browser.mouseX,
|
|
25425
25624
|
Browser.mouseY
|
|
@@ -25434,10 +25633,13 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
25434
25633
|
if (GLUT.mouseFunc) {
|
|
25435
25634
|
event.preventDefault();
|
|
25436
25635
|
GLUT.saveModifiers(event);
|
|
25437
|
-
((
|
|
25438
|
-
|
|
25439
|
-
|
|
25440
|
-
|
|
25636
|
+
((
|
|
25637
|
+
a1,
|
|
25638
|
+
a2,
|
|
25639
|
+
a3,
|
|
25640
|
+
a4
|
|
25641
|
+
) => {}) /* 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. */(
|
|
25642
|
+
event['button'],
|
|
25441
25643
|
1 /*GLUT_UP*/,
|
|
25442
25644
|
Browser.mouseX,
|
|
25443
25645
|
Browser.mouseY
|
|
@@ -25466,8 +25668,13 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
25466
25668
|
if (GLUT.mouseFunc) {
|
|
25467
25669
|
event.preventDefault();
|
|
25468
25670
|
GLUT.saveModifiers(event);
|
|
25469
|
-
((
|
|
25470
|
-
|
|
25671
|
+
((
|
|
25672
|
+
a1,
|
|
25673
|
+
a2,
|
|
25674
|
+
a3,
|
|
25675
|
+
a4
|
|
25676
|
+
) => {}) /* 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. */(
|
|
25677
|
+
button,
|
|
25471
25678
|
0 /*GLUT_DOWN*/,
|
|
25472
25679
|
Browser.mouseX,
|
|
25473
25680
|
Browser.mouseY
|
|
@@ -25510,8 +25717,11 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
25510
25717
|
/* Can't call _glutReshapeWindow as that requests cancelling fullscreen. */
|
|
25511
25718
|
if (GLUT.reshapeFunc) {
|
|
25512
25719
|
// out("GLUT.reshapeFunc (from FS): " + width + ", " + height);
|
|
25513
|
-
((
|
|
25514
|
-
|
|
25720
|
+
((
|
|
25721
|
+
a1,
|
|
25722
|
+
a2
|
|
25723
|
+
) => {}) /* 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. */(
|
|
25724
|
+
width,
|
|
25515
25725
|
height
|
|
25516
25726
|
);
|
|
25517
25727
|
}
|
|
@@ -25554,8 +25764,11 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
25554
25764
|
|
|
25555
25765
|
Browser.resizeListeners.push((width, height) => {
|
|
25556
25766
|
if (GLUT.reshapeFunc) {
|
|
25557
|
-
((
|
|
25558
|
-
|
|
25767
|
+
((
|
|
25768
|
+
a1,
|
|
25769
|
+
a2
|
|
25770
|
+
) => {}) /* 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. */(
|
|
25771
|
+
width,
|
|
25559
25772
|
height
|
|
25560
25773
|
);
|
|
25561
25774
|
}
|
|
@@ -25668,8 +25881,10 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
25668
25881
|
var _glutTimerFunc = (msec, func, value) =>
|
|
25669
25882
|
safeSetTimeout(
|
|
25670
25883
|
() =>
|
|
25671
|
-
((
|
|
25672
|
-
|
|
25884
|
+
((
|
|
25885
|
+
a1
|
|
25886
|
+
) => {}) /* 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. */(
|
|
25887
|
+
value
|
|
25673
25888
|
),
|
|
25674
25889
|
msec
|
|
25675
25890
|
);
|
|
@@ -25829,8 +26044,11 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
25829
26044
|
Browser.setCanvasSize(width, height, true); // N.B. GLUT.reshapeFunc is also registered as a canvas resize callback.
|
|
25830
26045
|
// Just call it once here.
|
|
25831
26046
|
if (GLUT.reshapeFunc) {
|
|
25832
|
-
((
|
|
25833
|
-
|
|
26047
|
+
((
|
|
26048
|
+
a1,
|
|
26049
|
+
a2
|
|
26050
|
+
) => {}) /* 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. */(
|
|
26051
|
+
width,
|
|
25834
26052
|
height
|
|
25835
26053
|
);
|
|
25836
26054
|
}
|
|
@@ -26892,15 +27110,21 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
26892
27110
|
callUserCallback(() => {
|
|
26893
27111
|
if (error) {
|
|
26894
27112
|
if (onerror)
|
|
26895
|
-
((
|
|
26896
|
-
|
|
27113
|
+
((
|
|
27114
|
+
a1
|
|
27115
|
+
) => {}) /* 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. */(
|
|
27116
|
+
arg
|
|
26897
27117
|
);
|
|
26898
27118
|
return;
|
|
26899
27119
|
}
|
|
26900
27120
|
var buffer = _malloc(byteArray.length);
|
|
26901
27121
|
HEAPU8.set(byteArray, buffer);
|
|
26902
|
-
((
|
|
26903
|
-
|
|
27122
|
+
((
|
|
27123
|
+
a1,
|
|
27124
|
+
a2,
|
|
27125
|
+
a3
|
|
27126
|
+
) => {}) /* 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. */(
|
|
27127
|
+
arg,
|
|
26904
27128
|
buffer,
|
|
26905
27129
|
byteArray.length
|
|
26906
27130
|
);
|
|
@@ -26932,14 +27156,18 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
26932
27156
|
callUserCallback(() => {
|
|
26933
27157
|
if (error) {
|
|
26934
27158
|
if (onerror)
|
|
26935
|
-
((
|
|
26936
|
-
|
|
27159
|
+
((
|
|
27160
|
+
a1
|
|
27161
|
+
) => {}) /* 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. */(
|
|
27162
|
+
arg
|
|
26937
27163
|
);
|
|
26938
27164
|
return;
|
|
26939
27165
|
}
|
|
26940
27166
|
if (onstore)
|
|
26941
|
-
((
|
|
26942
|
-
|
|
27167
|
+
((
|
|
27168
|
+
a1
|
|
27169
|
+
) => {}) /* 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. */(
|
|
27170
|
+
arg
|
|
26943
27171
|
);
|
|
26944
27172
|
});
|
|
26945
27173
|
}
|
|
@@ -26954,14 +27182,18 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
26954
27182
|
callUserCallback(() => {
|
|
26955
27183
|
if (error) {
|
|
26956
27184
|
if (onerror)
|
|
26957
|
-
((
|
|
26958
|
-
|
|
27185
|
+
((
|
|
27186
|
+
a1
|
|
27187
|
+
) => {}) /* 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. */(
|
|
27188
|
+
arg
|
|
26959
27189
|
);
|
|
26960
27190
|
return;
|
|
26961
27191
|
}
|
|
26962
27192
|
if (ondelete)
|
|
26963
|
-
((
|
|
26964
|
-
|
|
27193
|
+
((
|
|
27194
|
+
a1
|
|
27195
|
+
) => {}) /* 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. */(
|
|
27196
|
+
arg
|
|
26965
27197
|
);
|
|
26966
27198
|
});
|
|
26967
27199
|
});
|
|
@@ -26978,14 +27210,19 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
26978
27210
|
callUserCallback(() => {
|
|
26979
27211
|
if (error) {
|
|
26980
27212
|
if (onerror)
|
|
26981
|
-
((
|
|
26982
|
-
|
|
27213
|
+
((
|
|
27214
|
+
a1
|
|
27215
|
+
) => {}) /* 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. */(
|
|
27216
|
+
arg
|
|
26983
27217
|
);
|
|
26984
27218
|
return;
|
|
26985
27219
|
}
|
|
26986
27220
|
if (oncheck)
|
|
26987
|
-
((
|
|
26988
|
-
|
|
27221
|
+
((
|
|
27222
|
+
a1,
|
|
27223
|
+
a2
|
|
27224
|
+
) => {}) /* 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. */(
|
|
27225
|
+
arg,
|
|
26989
27226
|
exists
|
|
26990
27227
|
);
|
|
26991
27228
|
});
|
|
@@ -27001,14 +27238,18 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
27001
27238
|
callUserCallback(() => {
|
|
27002
27239
|
if (error) {
|
|
27003
27240
|
if (onerror)
|
|
27004
|
-
((
|
|
27005
|
-
|
|
27241
|
+
((
|
|
27242
|
+
a1
|
|
27243
|
+
) => {}) /* 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. */(
|
|
27244
|
+
arg
|
|
27006
27245
|
);
|
|
27007
27246
|
return;
|
|
27008
27247
|
}
|
|
27009
27248
|
if (onclear)
|
|
27010
|
-
((
|
|
27011
|
-
|
|
27249
|
+
((
|
|
27250
|
+
a1
|
|
27251
|
+
) => {}) /* 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. */(
|
|
27252
|
+
arg
|
|
27012
27253
|
);
|
|
27013
27254
|
});
|
|
27014
27255
|
});
|
|
@@ -27165,8 +27406,11 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
27165
27406
|
safeSetTimeout(() => {
|
|
27166
27407
|
var stackBegin = Asyncify.currData + 12;
|
|
27167
27408
|
var stackEnd = HEAPU32[Asyncify.currData >> 2];
|
|
27168
|
-
((
|
|
27169
|
-
|
|
27409
|
+
((
|
|
27410
|
+
a1,
|
|
27411
|
+
a2
|
|
27412
|
+
) => {}) /* 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. */(
|
|
27413
|
+
stackBegin,
|
|
27170
27414
|
stackEnd
|
|
27171
27415
|
);
|
|
27172
27416
|
wakeUp();
|
|
@@ -27227,8 +27471,10 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
27227
27471
|
HEAPU32[(newFiber + 12) >> 2] = 0;
|
|
27228
27472
|
|
|
27229
27473
|
var userData = HEAPU32[(newFiber + 16) >> 2];
|
|
27230
|
-
((
|
|
27231
|
-
|
|
27474
|
+
((
|
|
27475
|
+
a1
|
|
27476
|
+
) => {}) /* 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. */(
|
|
27477
|
+
userData
|
|
27232
27478
|
);
|
|
27233
27479
|
} else {
|
|
27234
27480
|
var asyncifyData = newFiber + 20;
|
|
@@ -28240,8 +28486,11 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
28240
28486
|
if (!SDL.eventHandler) return;
|
|
28241
28487
|
|
|
28242
28488
|
while (SDL.pollEvent(SDL.eventHandlerTemp)) {
|
|
28243
|
-
((
|
|
28244
|
-
|
|
28489
|
+
((
|
|
28490
|
+
a1,
|
|
28491
|
+
a2
|
|
28492
|
+
) => {}) /* 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. */(
|
|
28493
|
+
SDL.eventHandlerContext,
|
|
28245
28494
|
SDL.eventHandlerTemp
|
|
28246
28495
|
);
|
|
28247
28496
|
}
|
|
@@ -29874,9 +30123,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
29874
30123
|
return;
|
|
29875
30124
|
|
|
29876
30125
|
// Ask SDL audio data from the user code.
|
|
29877
|
-
((
|
|
29878
|
-
|
|
29879
|
-
|
|
30126
|
+
((
|
|
30127
|
+
a1,
|
|
30128
|
+
a2,
|
|
30129
|
+
a3
|
|
30130
|
+
) => {}) /* 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. */(
|
|
30131
|
+
SDL.audio.userdata,
|
|
29880
30132
|
SDL.audio.buffer,
|
|
29881
30133
|
SDL.audio.bufferSize
|
|
29882
30134
|
);
|
|
@@ -30334,8 +30586,10 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
30334
30586
|
info.audio = null;
|
|
30335
30587
|
}
|
|
30336
30588
|
if (SDL.channelFinished) {
|
|
30337
|
-
((
|
|
30338
|
-
|
|
30589
|
+
((
|
|
30590
|
+
a1
|
|
30591
|
+
) => {}) /* 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. */(
|
|
30592
|
+
channel
|
|
30339
30593
|
);
|
|
30340
30594
|
}
|
|
30341
30595
|
}
|
|
@@ -30404,8 +30658,10 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
30404
30658
|
channelInfo.audio = null;
|
|
30405
30659
|
}
|
|
30406
30660
|
if (SDL.channelFinished)
|
|
30407
|
-
((
|
|
30408
|
-
|
|
30661
|
+
((
|
|
30662
|
+
a1
|
|
30663
|
+
) => {}) /* 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. */(
|
|
30664
|
+
channel
|
|
30409
30665
|
);
|
|
30410
30666
|
};
|
|
30411
30667
|
if (channelInfo.audio) {
|
|
@@ -31153,8 +31409,11 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
31153
31409
|
var _SDL_AddTimer = (interval, callback, param) =>
|
|
31154
31410
|
safeSetTimeout(
|
|
31155
31411
|
() =>
|
|
31156
|
-
((
|
|
31157
|
-
|
|
31412
|
+
((
|
|
31413
|
+
a1,
|
|
31414
|
+
a2
|
|
31415
|
+
) => {}) /* 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. */(
|
|
31416
|
+
interval,
|
|
31158
31417
|
param
|
|
31159
31418
|
),
|
|
31160
31419
|
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
|
+
11104621: ($0) => {
|
|
31819
32094
|
if (!$0) {
|
|
31820
32095
|
AL.alcErr = 0xa004;
|
|
31821
32096
|
return 1;
|
|
31822
32097
|
}
|
|
31823
32098
|
},
|
|
31824
|
-
|
|
32099
|
+
11104669: ($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
|
}
|