@php-wasm/node-8-1 3.1.1 → 3.1.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/8_1_34/php_8_1.wasm +0 -0
- package/asyncify/php_8_1.js +474 -188
- package/package.json +3 -3
|
Binary file
|
package/asyncify/php_8_1.js
CHANGED
|
@@ -15,7 +15,7 @@ const currentDirPath =
|
|
|
15
15
|
: path.dirname(fileURLToPath(import.meta.url));
|
|
16
16
|
const dependencyFilename = path.join(currentDirPath, '8_1_34', 'php_8_1.wasm');
|
|
17
17
|
export { dependencyFilename };
|
|
18
|
-
export const dependenciesTotalSize =
|
|
18
|
+
export const dependenciesTotalSize = 27245697;
|
|
19
19
|
const phpVersionString = '8.1.34';
|
|
20
20
|
export function init(RuntimeName, PHPLoader) {
|
|
21
21
|
// The rest of the code comes from the built php.js file and esm-suffix.js
|
|
@@ -5125,8 +5125,10 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
5125
5125
|
);
|
|
5126
5126
|
|
|
5127
5127
|
var ___call_sighandler = (fp, sig) =>
|
|
5128
|
-
((
|
|
5129
|
-
|
|
5128
|
+
((
|
|
5129
|
+
a1
|
|
5130
|
+
) => {}) /* 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. */(
|
|
5131
|
+
sig
|
|
5130
5132
|
);
|
|
5131
5133
|
___call_sighandler.sig = 'vpi';
|
|
5132
5134
|
|
|
@@ -6562,10 +6564,13 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
6562
6564
|
* are not yet assigned.
|
|
6563
6565
|
*/
|
|
6564
6566
|
addOnInit(() => {
|
|
6567
|
+
if (typeof PHPLoader.processId !== 'number') {
|
|
6568
|
+
throw new Error(
|
|
6569
|
+
'PHPLoader.processId must be set before init'
|
|
6570
|
+
);
|
|
6571
|
+
}
|
|
6565
6572
|
Module['userSpace'] = PHPLoader.bindUserSpace({
|
|
6566
|
-
|
|
6567
|
-
pid: PHPLoader.processId ?? 42,
|
|
6568
|
-
// TODO: When receiving this context, validate that all these fields exist.
|
|
6573
|
+
pid: PHPLoader.processId,
|
|
6569
6574
|
constants: {
|
|
6570
6575
|
F_GETFL: Number('3'),
|
|
6571
6576
|
O_ACCMODE: Number('2097155'),
|
|
@@ -8503,8 +8508,11 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
8503
8508
|
dlSetError(`'Could not load dynamic lib: ${filename}\n${e}`);
|
|
8504
8509
|
runtimeKeepalivePop();
|
|
8505
8510
|
callUserCallback(() =>
|
|
8506
|
-
((
|
|
8507
|
-
|
|
8511
|
+
((
|
|
8512
|
+
a1,
|
|
8513
|
+
a2
|
|
8514
|
+
) => {}) /* 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. */(
|
|
8515
|
+
handle,
|
|
8508
8516
|
user_data
|
|
8509
8517
|
)
|
|
8510
8518
|
);
|
|
@@ -8512,8 +8520,11 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
8512
8520
|
function successCallback() {
|
|
8513
8521
|
runtimeKeepalivePop();
|
|
8514
8522
|
callUserCallback(() =>
|
|
8515
|
-
((
|
|
8516
|
-
|
|
8523
|
+
((
|
|
8524
|
+
a1,
|
|
8525
|
+
a2
|
|
8526
|
+
) => {}) /* 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. */(
|
|
8527
|
+
handle,
|
|
8517
8528
|
user_data
|
|
8518
8529
|
)
|
|
8519
8530
|
);
|
|
@@ -18105,8 +18116,11 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
18105
18116
|
var trace = getCallstack();
|
|
18106
18117
|
var parts = trace.split('\n');
|
|
18107
18118
|
for (var i = 0; i < parts.length; i++) {
|
|
18108
|
-
var ret = ((
|
|
18109
|
-
|
|
18119
|
+
var ret = ((
|
|
18120
|
+
a1,
|
|
18121
|
+
a2
|
|
18122
|
+
) => {}) /* 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. */(
|
|
18123
|
+
0,
|
|
18110
18124
|
arg
|
|
18111
18125
|
);
|
|
18112
18126
|
if (ret !== 0) return;
|
|
@@ -18650,8 +18664,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
18650
18664
|
stringToUTF8(e.locale || '', keyEventData + 128, 32);
|
|
18651
18665
|
|
|
18652
18666
|
if (
|
|
18653
|
-
((
|
|
18654
|
-
|
|
18667
|
+
((
|
|
18668
|
+
a1,
|
|
18669
|
+
a2,
|
|
18670
|
+
a3
|
|
18671
|
+
) => {}) /* 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. */(
|
|
18672
|
+
eventTypeId,
|
|
18655
18673
|
keyEventData,
|
|
18656
18674
|
userData
|
|
18657
18675
|
)
|
|
@@ -18769,8 +18787,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
18769
18787
|
fillMouseEventData(JSEvents.mouseEvent, e, target);
|
|
18770
18788
|
|
|
18771
18789
|
if (
|
|
18772
|
-
((
|
|
18773
|
-
|
|
18790
|
+
((
|
|
18791
|
+
a1,
|
|
18792
|
+
a2,
|
|
18793
|
+
a3
|
|
18794
|
+
) => {}) /* 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. */(
|
|
18795
|
+
eventTypeId,
|
|
18774
18796
|
JSEvents.mouseEvent,
|
|
18775
18797
|
userData
|
|
18776
18798
|
)
|
|
@@ -18984,8 +19006,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
18984
19006
|
HEAPF64[(wheelEvent + 80) >> 3] = e['deltaZ'];
|
|
18985
19007
|
HEAP32[(wheelEvent + 88) >> 2] = e['deltaMode'];
|
|
18986
19008
|
if (
|
|
18987
|
-
((
|
|
18988
|
-
|
|
19009
|
+
((
|
|
19010
|
+
a1,
|
|
19011
|
+
a2,
|
|
19012
|
+
a3
|
|
19013
|
+
) => {}) /* 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. */(
|
|
19014
|
+
eventTypeId,
|
|
18989
19015
|
wheelEvent,
|
|
18990
19016
|
userData
|
|
18991
19017
|
)
|
|
@@ -19066,8 +19092,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
19066
19092
|
HEAP32[(uiEvent + 28) >> 2] = pageXOffset | 0; // scroll offsets are float
|
|
19067
19093
|
HEAP32[(uiEvent + 32) >> 2] = pageYOffset | 0;
|
|
19068
19094
|
if (
|
|
19069
|
-
((
|
|
19070
|
-
|
|
19095
|
+
((
|
|
19096
|
+
a1,
|
|
19097
|
+
a2,
|
|
19098
|
+
a3
|
|
19099
|
+
) => {}) /* 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. */(
|
|
19100
|
+
eventTypeId,
|
|
19071
19101
|
uiEvent,
|
|
19072
19102
|
userData
|
|
19073
19103
|
)
|
|
@@ -19141,8 +19171,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
19141
19171
|
stringToUTF8(id, focusEvent + 128, 128);
|
|
19142
19172
|
|
|
19143
19173
|
if (
|
|
19144
|
-
((
|
|
19145
|
-
|
|
19174
|
+
((
|
|
19175
|
+
a1,
|
|
19176
|
+
a2,
|
|
19177
|
+
a3
|
|
19178
|
+
) => {}) /* 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. */(
|
|
19179
|
+
eventTypeId,
|
|
19146
19180
|
focusEvent,
|
|
19147
19181
|
userData
|
|
19148
19182
|
)
|
|
@@ -19258,8 +19292,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
19258
19292
|
); // TODO: Thread-safety with respect to emscripten_get_deviceorientation_status()
|
|
19259
19293
|
|
|
19260
19294
|
if (
|
|
19261
|
-
((
|
|
19262
|
-
|
|
19295
|
+
((
|
|
19296
|
+
a1,
|
|
19297
|
+
a2,
|
|
19298
|
+
a3
|
|
19299
|
+
) => {}) /* 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. */(
|
|
19300
|
+
eventTypeId,
|
|
19263
19301
|
JSEvents.deviceOrientationEvent,
|
|
19264
19302
|
userData
|
|
19265
19303
|
)
|
|
@@ -19343,8 +19381,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
19343
19381
|
fillDeviceMotionEventData(JSEvents.deviceMotionEvent, e, target); // TODO: Thread-safety with respect to emscripten_get_devicemotion_status()
|
|
19344
19382
|
|
|
19345
19383
|
if (
|
|
19346
|
-
((
|
|
19347
|
-
|
|
19384
|
+
((
|
|
19385
|
+
a1,
|
|
19386
|
+
a2,
|
|
19387
|
+
a3
|
|
19388
|
+
) => {}) /* 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. */(
|
|
19389
|
+
eventTypeId,
|
|
19348
19390
|
JSEvents.deviceMotionEvent,
|
|
19349
19391
|
userData
|
|
19350
19392
|
)
|
|
@@ -19451,8 +19493,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
19451
19493
|
fillOrientationChangeEventData(orientationChangeEvent);
|
|
19452
19494
|
|
|
19453
19495
|
if (
|
|
19454
|
-
((
|
|
19455
|
-
|
|
19496
|
+
((
|
|
19497
|
+
a1,
|
|
19498
|
+
a2,
|
|
19499
|
+
a3
|
|
19500
|
+
) => {}) /* 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. */(
|
|
19501
|
+
eventTypeId,
|
|
19456
19502
|
orientationChangeEvent,
|
|
19457
19503
|
userData
|
|
19458
19504
|
)
|
|
@@ -19581,8 +19627,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
19581
19627
|
fillFullscreenChangeEventData(fullscreenChangeEvent);
|
|
19582
19628
|
|
|
19583
19629
|
if (
|
|
19584
|
-
((
|
|
19585
|
-
|
|
19630
|
+
((
|
|
19631
|
+
a1,
|
|
19632
|
+
a2,
|
|
19633
|
+
a3
|
|
19634
|
+
) => {}) /* 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. */(
|
|
19635
|
+
eventTypeId,
|
|
19586
19636
|
fullscreenChangeEvent,
|
|
19587
19637
|
userData
|
|
19588
19638
|
)
|
|
@@ -19727,8 +19777,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
19727
19777
|
);
|
|
19728
19778
|
|
|
19729
19779
|
if (currentFullscreenStrategy.canvasResizedCallback) {
|
|
19730
|
-
((
|
|
19731
|
-
|
|
19780
|
+
((
|
|
19781
|
+
a1,
|
|
19782
|
+
a2,
|
|
19783
|
+
a3
|
|
19784
|
+
) => {}) /* 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. */(
|
|
19785
|
+
37,
|
|
19732
19786
|
0,
|
|
19733
19787
|
currentFullscreenStrategy.canvasResizedCallbackUserData
|
|
19734
19788
|
);
|
|
@@ -19829,8 +19883,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
19829
19883
|
currentFullscreenStrategy = strategy;
|
|
19830
19884
|
|
|
19831
19885
|
if (strategy.canvasResizedCallback) {
|
|
19832
|
-
((
|
|
19833
|
-
|
|
19886
|
+
((
|
|
19887
|
+
a1,
|
|
19888
|
+
a2,
|
|
19889
|
+
a3
|
|
19890
|
+
) => {}) /* 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. */(
|
|
19891
|
+
37,
|
|
19834
19892
|
0,
|
|
19835
19893
|
strategy.canvasResizedCallbackUserData
|
|
19836
19894
|
);
|
|
@@ -19930,8 +19988,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
19930
19988
|
!inCenteredWithoutScalingFullscreenMode &&
|
|
19931
19989
|
currentFullscreenStrategy.canvasResizedCallback
|
|
19932
19990
|
) {
|
|
19933
|
-
((
|
|
19934
|
-
|
|
19991
|
+
((
|
|
19992
|
+
a1,
|
|
19993
|
+
a2,
|
|
19994
|
+
a3
|
|
19995
|
+
) => {}) /* 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. */(
|
|
19996
|
+
37,
|
|
19935
19997
|
0,
|
|
19936
19998
|
currentFullscreenStrategy.canvasResizedCallbackUserData
|
|
19937
19999
|
);
|
|
@@ -20030,8 +20092,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
20030
20092
|
softFullscreenResizeWebGLRenderTarget
|
|
20031
20093
|
);
|
|
20032
20094
|
if (strategy.canvasResizedCallback) {
|
|
20033
|
-
((
|
|
20034
|
-
|
|
20095
|
+
((
|
|
20096
|
+
a1,
|
|
20097
|
+
a2,
|
|
20098
|
+
a3
|
|
20099
|
+
) => {}) /* 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. */(
|
|
20100
|
+
37,
|
|
20035
20101
|
0,
|
|
20036
20102
|
strategy.canvasResizedCallbackUserData
|
|
20037
20103
|
);
|
|
@@ -20044,8 +20110,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
20044
20110
|
|
|
20045
20111
|
// Inform the caller that the canvas size has changed.
|
|
20046
20112
|
if (strategy.canvasResizedCallback) {
|
|
20047
|
-
((
|
|
20048
|
-
|
|
20113
|
+
((
|
|
20114
|
+
a1,
|
|
20115
|
+
a2,
|
|
20116
|
+
a3
|
|
20117
|
+
) => {}) /* 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. */(
|
|
20118
|
+
37,
|
|
20049
20119
|
0,
|
|
20050
20120
|
strategy.canvasResizedCallbackUserData
|
|
20051
20121
|
);
|
|
@@ -20107,8 +20177,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
20107
20177
|
fillPointerlockChangeEventData(pointerlockChangeEvent);
|
|
20108
20178
|
|
|
20109
20179
|
if (
|
|
20110
|
-
((
|
|
20111
|
-
|
|
20180
|
+
((
|
|
20181
|
+
a1,
|
|
20182
|
+
a2,
|
|
20183
|
+
a3
|
|
20184
|
+
) => {}) /* 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. */(
|
|
20185
|
+
eventTypeId,
|
|
20112
20186
|
pointerlockChangeEvent,
|
|
20113
20187
|
userData
|
|
20114
20188
|
)
|
|
@@ -20162,8 +20236,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
20162
20236
|
) => {
|
|
20163
20237
|
var pointerlockErrorEventHandlerFunc = (e = event) => {
|
|
20164
20238
|
if (
|
|
20165
|
-
((
|
|
20166
|
-
|
|
20239
|
+
((
|
|
20240
|
+
a1,
|
|
20241
|
+
a2,
|
|
20242
|
+
a3
|
|
20243
|
+
) => {}) /* 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. */(
|
|
20244
|
+
eventTypeId,
|
|
20167
20245
|
0,
|
|
20168
20246
|
userData
|
|
20169
20247
|
)
|
|
@@ -20317,8 +20395,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
20317
20395
|
fillVisibilityChangeEventData(visibilityChangeEvent);
|
|
20318
20396
|
|
|
20319
20397
|
if (
|
|
20320
|
-
((
|
|
20321
|
-
|
|
20398
|
+
((
|
|
20399
|
+
a1,
|
|
20400
|
+
a2,
|
|
20401
|
+
a3
|
|
20402
|
+
) => {}) /* 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. */(
|
|
20403
|
+
eventTypeId,
|
|
20322
20404
|
visibilityChangeEvent,
|
|
20323
20405
|
userData
|
|
20324
20406
|
)
|
|
@@ -20438,8 +20520,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
20438
20520
|
HEAP32[(touchEvent + 8) >> 2] = numTouches;
|
|
20439
20521
|
|
|
20440
20522
|
if (
|
|
20441
|
-
((
|
|
20442
|
-
|
|
20523
|
+
((
|
|
20524
|
+
a1,
|
|
20525
|
+
a2,
|
|
20526
|
+
a3
|
|
20527
|
+
) => {}) /* 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. */(
|
|
20528
|
+
eventTypeId,
|
|
20443
20529
|
touchEvent,
|
|
20444
20530
|
userData
|
|
20445
20531
|
)
|
|
@@ -20577,8 +20663,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
20577
20663
|
fillGamepadEventData(gamepadEvent, e['gamepad']);
|
|
20578
20664
|
|
|
20579
20665
|
if (
|
|
20580
|
-
((
|
|
20581
|
-
|
|
20666
|
+
((
|
|
20667
|
+
a1,
|
|
20668
|
+
a2,
|
|
20669
|
+
a3
|
|
20670
|
+
) => {}) /* 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. */(
|
|
20671
|
+
eventTypeId,
|
|
20582
20672
|
gamepadEvent,
|
|
20583
20673
|
userData
|
|
20584
20674
|
)
|
|
@@ -20680,8 +20770,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
20680
20770
|
) => {
|
|
20681
20771
|
var beforeUnloadEventHandlerFunc = (e = event) => {
|
|
20682
20772
|
// Note: This is always called on the main browser thread, since it needs synchronously return a value!
|
|
20683
|
-
var confirmationMessage = ((
|
|
20684
|
-
|
|
20773
|
+
var confirmationMessage = ((
|
|
20774
|
+
a1,
|
|
20775
|
+
a2,
|
|
20776
|
+
a3
|
|
20777
|
+
) => {}) /* 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. */(
|
|
20778
|
+
eventTypeId,
|
|
20685
20779
|
0,
|
|
20686
20780
|
userData
|
|
20687
20781
|
);
|
|
@@ -20752,8 +20846,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
20752
20846
|
fillBatteryEventData(batteryEvent, battery);
|
|
20753
20847
|
|
|
20754
20848
|
if (
|
|
20755
|
-
((
|
|
20756
|
-
|
|
20849
|
+
((
|
|
20850
|
+
a1,
|
|
20851
|
+
a2,
|
|
20852
|
+
a3
|
|
20853
|
+
) => {}) /* 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. */(
|
|
20854
|
+
eventTypeId,
|
|
20757
20855
|
batteryEvent,
|
|
20758
20856
|
userData
|
|
20759
20857
|
)
|
|
@@ -20855,8 +20953,11 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
20855
20953
|
|
|
20856
20954
|
var _emscripten_request_animation_frame = (cb, userData) =>
|
|
20857
20955
|
requestAnimationFrame((timeStamp) =>
|
|
20858
|
-
((
|
|
20859
|
-
|
|
20956
|
+
((
|
|
20957
|
+
a1,
|
|
20958
|
+
a2
|
|
20959
|
+
) => {}) /* 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. */(
|
|
20960
|
+
timeStamp,
|
|
20860
20961
|
userData
|
|
20861
20962
|
)
|
|
20862
20963
|
);
|
|
@@ -20868,8 +20969,11 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
20868
20969
|
var _emscripten_request_animation_frame_loop = (cb, userData) => {
|
|
20869
20970
|
function tick(timeStamp) {
|
|
20870
20971
|
if (
|
|
20871
|
-
((
|
|
20872
|
-
|
|
20972
|
+
((
|
|
20973
|
+
a1,
|
|
20974
|
+
a2
|
|
20975
|
+
) => {}) /* 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. */(
|
|
20976
|
+
timeStamp,
|
|
20873
20977
|
userData
|
|
20874
20978
|
)
|
|
20875
20979
|
) {
|
|
@@ -21126,8 +21230,10 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
21126
21230
|
return emSetImmediate(() => {
|
|
21127
21231
|
runtimeKeepalivePop();
|
|
21128
21232
|
callUserCallback(() =>
|
|
21129
|
-
((
|
|
21130
|
-
|
|
21233
|
+
((
|
|
21234
|
+
a1
|
|
21235
|
+
) => {}) /* 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. */(
|
|
21236
|
+
userData
|
|
21131
21237
|
)
|
|
21132
21238
|
);
|
|
21133
21239
|
});
|
|
@@ -21144,8 +21250,10 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
21144
21250
|
function tick() {
|
|
21145
21251
|
callUserCallback(() => {
|
|
21146
21252
|
if (
|
|
21147
|
-
((
|
|
21148
|
-
|
|
21253
|
+
((
|
|
21254
|
+
a1
|
|
21255
|
+
) => {}) /* 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. */(
|
|
21256
|
+
userData
|
|
21149
21257
|
)
|
|
21150
21258
|
) {
|
|
21151
21259
|
emSetImmediate(tick);
|
|
@@ -21162,8 +21270,10 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
21162
21270
|
var _emscripten_set_timeout = (cb, msecs, userData) =>
|
|
21163
21271
|
safeSetTimeout(
|
|
21164
21272
|
() =>
|
|
21165
|
-
((
|
|
21166
|
-
|
|
21273
|
+
((
|
|
21274
|
+
a1
|
|
21275
|
+
) => {}) /* 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. */(
|
|
21276
|
+
userData
|
|
21167
21277
|
),
|
|
21168
21278
|
msecs
|
|
21169
21279
|
);
|
|
@@ -21179,8 +21289,11 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
21179
21289
|
runtimeKeepalivePop();
|
|
21180
21290
|
callUserCallback(() => {
|
|
21181
21291
|
if (
|
|
21182
|
-
((
|
|
21183
|
-
|
|
21292
|
+
((
|
|
21293
|
+
a1,
|
|
21294
|
+
a2
|
|
21295
|
+
) => {}) /* 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. */(
|
|
21296
|
+
t,
|
|
21184
21297
|
userData
|
|
21185
21298
|
)
|
|
21186
21299
|
) {
|
|
@@ -21204,8 +21317,10 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
21204
21317
|
runtimeKeepalivePush();
|
|
21205
21318
|
return setInterval(() => {
|
|
21206
21319
|
callUserCallback(() =>
|
|
21207
|
-
((
|
|
21208
|
-
|
|
21320
|
+
((
|
|
21321
|
+
a1
|
|
21322
|
+
) => {}) /* 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. */(
|
|
21323
|
+
userData
|
|
21209
21324
|
)
|
|
21210
21325
|
);
|
|
21211
21326
|
}, msecs);
|
|
@@ -21220,8 +21335,10 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
21220
21335
|
|
|
21221
21336
|
var _emscripten_async_call = (func, arg, millis) => {
|
|
21222
21337
|
var wrapper = () =>
|
|
21223
|
-
((
|
|
21224
|
-
|
|
21338
|
+
((
|
|
21339
|
+
a1
|
|
21340
|
+
) => {}) /* 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. */(
|
|
21341
|
+
arg
|
|
21225
21342
|
);
|
|
21226
21343
|
|
|
21227
21344
|
if (
|
|
@@ -21254,7 +21371,7 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
21254
21371
|
|
|
21255
21372
|
var _emscripten_set_main_loop = (func, fps, simulateInfiniteLoop) => {
|
|
21256
21373
|
var iterFunc =
|
|
21257
|
-
() => {}
|
|
21374
|
+
() => {} /* 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. */;
|
|
21258
21375
|
setMainLoop(iterFunc, fps, simulateInfiniteLoop);
|
|
21259
21376
|
};
|
|
21260
21377
|
_emscripten_set_main_loop.sig = 'vpii';
|
|
@@ -21266,8 +21383,10 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
21266
21383
|
simulateInfiniteLoop
|
|
21267
21384
|
) => {
|
|
21268
21385
|
var iterFunc = () =>
|
|
21269
|
-
((
|
|
21270
|
-
|
|
21386
|
+
((
|
|
21387
|
+
a1
|
|
21388
|
+
) => {}) /* 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. */(
|
|
21389
|
+
arg
|
|
21271
21390
|
);
|
|
21272
21391
|
setMainLoop(iterFunc, fps, simulateInfiniteLoop, arg);
|
|
21273
21392
|
};
|
|
@@ -21288,8 +21407,10 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
21288
21407
|
var __emscripten_push_main_loop_blocker = (func, arg, name) => {
|
|
21289
21408
|
MainLoop.queue.push({
|
|
21290
21409
|
func: () => {
|
|
21291
|
-
((
|
|
21292
|
-
|
|
21410
|
+
((
|
|
21411
|
+
a1
|
|
21412
|
+
) => {}) /* 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. */(
|
|
21413
|
+
arg
|
|
21293
21414
|
);
|
|
21294
21415
|
},
|
|
21295
21416
|
name: UTF8ToString(name),
|
|
@@ -21302,8 +21423,10 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
21302
21423
|
var __emscripten_push_uncounted_main_loop_blocker = (func, arg, name) => {
|
|
21303
21424
|
MainLoop.queue.push({
|
|
21304
21425
|
func: () => {
|
|
21305
|
-
((
|
|
21306
|
-
|
|
21426
|
+
((
|
|
21427
|
+
a1
|
|
21428
|
+
) => {}) /* 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. */(
|
|
21429
|
+
arg
|
|
21307
21430
|
);
|
|
21308
21431
|
},
|
|
21309
21432
|
name: UTF8ToString(name),
|
|
@@ -21337,8 +21460,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
21337
21460
|
var resultPtr = stackAlloc(POINTER_SIZE);
|
|
21338
21461
|
HEAPU32[resultPtr >> 2] = 0;
|
|
21339
21462
|
try {
|
|
21340
|
-
var result = ((
|
|
21341
|
-
|
|
21463
|
+
var result = ((
|
|
21464
|
+
a1,
|
|
21465
|
+
a2,
|
|
21466
|
+
a3
|
|
21467
|
+
) => {}) /* 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. */(
|
|
21468
|
+
resultPtr,
|
|
21342
21469
|
userData,
|
|
21343
21470
|
value
|
|
21344
21471
|
);
|
|
@@ -22175,15 +22302,19 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
22175
22302
|
() => {
|
|
22176
22303
|
runtimeKeepalivePop();
|
|
22177
22304
|
if (onload)
|
|
22178
|
-
((
|
|
22179
|
-
|
|
22305
|
+
((
|
|
22306
|
+
a1
|
|
22307
|
+
) => {}) /* 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. */(
|
|
22308
|
+
file
|
|
22180
22309
|
);
|
|
22181
22310
|
},
|
|
22182
22311
|
() => {
|
|
22183
22312
|
runtimeKeepalivePop();
|
|
22184
22313
|
if (onerror)
|
|
22185
|
-
((
|
|
22186
|
-
|
|
22314
|
+
((
|
|
22315
|
+
a1
|
|
22316
|
+
) => {}) /* 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. */(
|
|
22317
|
+
file
|
|
22187
22318
|
);
|
|
22188
22319
|
},
|
|
22189
22320
|
true // don'tCreateFile - it's already there
|
|
@@ -22217,16 +22348,21 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
22217
22348
|
() => {
|
|
22218
22349
|
runtimeKeepalivePop();
|
|
22219
22350
|
if (onload)
|
|
22220
|
-
((
|
|
22221
|
-
|
|
22351
|
+
((
|
|
22352
|
+
a1,
|
|
22353
|
+
a2
|
|
22354
|
+
) => {}) /* 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. */(
|
|
22355
|
+
arg,
|
|
22222
22356
|
cname
|
|
22223
22357
|
);
|
|
22224
22358
|
},
|
|
22225
22359
|
() => {
|
|
22226
22360
|
runtimeKeepalivePop();
|
|
22227
22361
|
if (onerror)
|
|
22228
|
-
((
|
|
22229
|
-
|
|
22362
|
+
((
|
|
22363
|
+
a1
|
|
22364
|
+
) => {}) /* 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. */(
|
|
22365
|
+
arg
|
|
22230
22366
|
);
|
|
22231
22367
|
},
|
|
22232
22368
|
true // don'tCreateFile - it's already there
|
|
@@ -22494,10 +22630,10 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
22494
22630
|
runtimeKeepalivePop();
|
|
22495
22631
|
callUserCallback(() =>
|
|
22496
22632
|
withStackSave(() =>
|
|
22497
|
-
((
|
|
22498
|
-
|
|
22499
|
-
|
|
22500
|
-
)
|
|
22633
|
+
((
|
|
22634
|
+
a1
|
|
22635
|
+
) => {}) /* 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. */(
|
|
22636
|
+
stringToUTF8OnStack(_file)
|
|
22501
22637
|
)
|
|
22502
22638
|
)
|
|
22503
22639
|
);
|
|
@@ -22541,8 +22677,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
22541
22677
|
callUserCallback(() => {
|
|
22542
22678
|
var buffer = _malloc(byteArray.length);
|
|
22543
22679
|
HEAPU8.set(byteArray, buffer);
|
|
22544
|
-
((
|
|
22545
|
-
|
|
22680
|
+
((
|
|
22681
|
+
a1,
|
|
22682
|
+
a2,
|
|
22683
|
+
a3
|
|
22684
|
+
) => {}) /* 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. */(
|
|
22685
|
+
userdata,
|
|
22546
22686
|
buffer,
|
|
22547
22687
|
byteArray.length
|
|
22548
22688
|
);
|
|
@@ -22552,8 +22692,10 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
22552
22692
|
if (onerror) {
|
|
22553
22693
|
runtimeKeepalivePop();
|
|
22554
22694
|
callUserCallback(() => {
|
|
22555
|
-
((
|
|
22556
|
-
|
|
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
|
|
22557
22699
|
);
|
|
22558
22700
|
});
|
|
22559
22701
|
}
|
|
@@ -22609,8 +22751,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
22609
22751
|
);
|
|
22610
22752
|
if (onload) {
|
|
22611
22753
|
var sp = stackSave();
|
|
22612
|
-
((
|
|
22613
|
-
|
|
22754
|
+
((
|
|
22755
|
+
a1,
|
|
22756
|
+
a2,
|
|
22757
|
+
a3
|
|
22758
|
+
) => {}) /* 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. */(
|
|
22759
|
+
handle,
|
|
22614
22760
|
userdata,
|
|
22615
22761
|
stringToUTF8OnStack(_file)
|
|
22616
22762
|
);
|
|
@@ -22618,8 +22764,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
22618
22764
|
}
|
|
22619
22765
|
} else {
|
|
22620
22766
|
if (onerror)
|
|
22621
|
-
((
|
|
22622
|
-
|
|
22767
|
+
((
|
|
22768
|
+
a1,
|
|
22769
|
+
a2,
|
|
22770
|
+
a3
|
|
22771
|
+
) => {}) /* 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. */(
|
|
22772
|
+
handle,
|
|
22623
22773
|
userdata,
|
|
22624
22774
|
http.status
|
|
22625
22775
|
);
|
|
@@ -22632,8 +22782,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
22632
22782
|
http.onerror = (e) => {
|
|
22633
22783
|
runtimeKeepalivePop();
|
|
22634
22784
|
if (onerror)
|
|
22635
|
-
((
|
|
22636
|
-
|
|
22785
|
+
((
|
|
22786
|
+
a1,
|
|
22787
|
+
a2,
|
|
22788
|
+
a3
|
|
22789
|
+
) => {}) /* 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. */(
|
|
22790
|
+
handle,
|
|
22637
22791
|
userdata,
|
|
22638
22792
|
http.status
|
|
22639
22793
|
);
|
|
@@ -22648,8 +22802,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
22648
22802
|
) {
|
|
22649
22803
|
var percentComplete = (e.loaded / e.total) * 100;
|
|
22650
22804
|
if (onprogress)
|
|
22651
|
-
((
|
|
22652
|
-
|
|
22805
|
+
((
|
|
22806
|
+
a1,
|
|
22807
|
+
a2,
|
|
22808
|
+
a3
|
|
22809
|
+
) => {}) /* 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. */(
|
|
22810
|
+
handle,
|
|
22653
22811
|
userdata,
|
|
22654
22812
|
percentComplete
|
|
22655
22813
|
);
|
|
@@ -22706,8 +22864,13 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
22706
22864
|
if (http.statusText) {
|
|
22707
22865
|
statusText = stringToUTF8OnStack(http.statusText);
|
|
22708
22866
|
}
|
|
22709
|
-
((
|
|
22710
|
-
|
|
22867
|
+
((
|
|
22868
|
+
a1,
|
|
22869
|
+
a2,
|
|
22870
|
+
a3,
|
|
22871
|
+
a4
|
|
22872
|
+
) => {}) /* 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. */(
|
|
22873
|
+
handle,
|
|
22711
22874
|
userdata,
|
|
22712
22875
|
http.status,
|
|
22713
22876
|
statusText
|
|
@@ -22728,8 +22891,13 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
22728
22891
|
var buffer = _malloc(byteArray.length);
|
|
22729
22892
|
HEAPU8.set(byteArray, buffer);
|
|
22730
22893
|
if (onload)
|
|
22731
|
-
((
|
|
22732
|
-
|
|
22894
|
+
((
|
|
22895
|
+
a1,
|
|
22896
|
+
a2,
|
|
22897
|
+
a3,
|
|
22898
|
+
a4
|
|
22899
|
+
) => {}) /* 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. */(
|
|
22900
|
+
handle,
|
|
22733
22901
|
userdata,
|
|
22734
22902
|
buffer,
|
|
22735
22903
|
byteArray.length
|
|
@@ -22750,8 +22918,13 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
22750
22918
|
// PROGRESS
|
|
22751
22919
|
http.onprogress = (e) => {
|
|
22752
22920
|
if (onprogress)
|
|
22753
|
-
((
|
|
22754
|
-
|
|
22921
|
+
((
|
|
22922
|
+
a1,
|
|
22923
|
+
a2,
|
|
22924
|
+
a3,
|
|
22925
|
+
a4
|
|
22926
|
+
) => {}) /* 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. */(
|
|
22927
|
+
handle,
|
|
22755
22928
|
userdata,
|
|
22756
22929
|
e.loaded,
|
|
22757
22930
|
e.lengthComputable || e.lengthComputable === undefined
|
|
@@ -23082,16 +23255,24 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
23082
23255
|
if (event === 'error') {
|
|
23083
23256
|
withStackSave(() => {
|
|
23084
23257
|
var msg = stringToUTF8OnStack(data[2]);
|
|
23085
|
-
((
|
|
23086
|
-
|
|
23258
|
+
((
|
|
23259
|
+
a1,
|
|
23260
|
+
a2,
|
|
23261
|
+
a3,
|
|
23262
|
+
a4
|
|
23263
|
+
) => {}) /* 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. */(
|
|
23264
|
+
data[0],
|
|
23087
23265
|
data[1],
|
|
23088
23266
|
msg,
|
|
23089
23267
|
userData
|
|
23090
23268
|
);
|
|
23091
23269
|
});
|
|
23092
23270
|
} else {
|
|
23093
|
-
((
|
|
23094
|
-
|
|
23271
|
+
((
|
|
23272
|
+
a1,
|
|
23273
|
+
a2
|
|
23274
|
+
) => {}) /* 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. */(
|
|
23275
|
+
data,
|
|
23095
23276
|
userData
|
|
23096
23277
|
);
|
|
23097
23278
|
}
|
|
@@ -24044,8 +24225,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
24044
24225
|
) => {
|
|
24045
24226
|
var webGlEventHandlerFunc = (e = event) => {
|
|
24046
24227
|
if (
|
|
24047
|
-
((
|
|
24048
|
-
|
|
24228
|
+
((
|
|
24229
|
+
a1,
|
|
24230
|
+
a2,
|
|
24231
|
+
a3
|
|
24232
|
+
) => {}) /* 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. */(
|
|
24233
|
+
eventTypeId,
|
|
24049
24234
|
0,
|
|
24050
24235
|
userData
|
|
24051
24236
|
)
|
|
@@ -24264,15 +24449,21 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
24264
24449
|
) {
|
|
24265
24450
|
event.preventDefault();
|
|
24266
24451
|
GLUT.saveModifiers(event);
|
|
24267
|
-
((
|
|
24268
|
-
|
|
24452
|
+
((
|
|
24453
|
+
a1,
|
|
24454
|
+
a2
|
|
24455
|
+
) => {}) /* 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. */(
|
|
24456
|
+
lastX,
|
|
24269
24457
|
lastY
|
|
24270
24458
|
);
|
|
24271
24459
|
} else if (GLUT.buttons != 0 && GLUT.motionFunc) {
|
|
24272
24460
|
event.preventDefault();
|
|
24273
24461
|
GLUT.saveModifiers(event);
|
|
24274
|
-
((
|
|
24275
|
-
|
|
24462
|
+
((
|
|
24463
|
+
a1,
|
|
24464
|
+
a2
|
|
24465
|
+
) => {}) /* 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. */(
|
|
24466
|
+
lastX,
|
|
24276
24467
|
lastY
|
|
24277
24468
|
);
|
|
24278
24469
|
}
|
|
@@ -24433,8 +24624,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
24433
24624
|
if (GLUT.specialFunc) {
|
|
24434
24625
|
event.preventDefault();
|
|
24435
24626
|
GLUT.saveModifiers(event);
|
|
24436
|
-
((
|
|
24437
|
-
|
|
24627
|
+
((
|
|
24628
|
+
a1,
|
|
24629
|
+
a2,
|
|
24630
|
+
a3
|
|
24631
|
+
) => {}) /* 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. */(
|
|
24632
|
+
key,
|
|
24438
24633
|
Browser.mouseX,
|
|
24439
24634
|
Browser.mouseY
|
|
24440
24635
|
);
|
|
@@ -24444,8 +24639,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
24444
24639
|
if (key !== null && GLUT.keyboardFunc) {
|
|
24445
24640
|
event.preventDefault();
|
|
24446
24641
|
GLUT.saveModifiers(event);
|
|
24447
|
-
((
|
|
24448
|
-
|
|
24642
|
+
((
|
|
24643
|
+
a1,
|
|
24644
|
+
a2,
|
|
24645
|
+
a3
|
|
24646
|
+
) => {}) /* 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. */(
|
|
24647
|
+
key,
|
|
24449
24648
|
Browser.mouseX,
|
|
24450
24649
|
Browser.mouseY
|
|
24451
24650
|
);
|
|
@@ -24460,8 +24659,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
24460
24659
|
if (GLUT.specialUpFunc) {
|
|
24461
24660
|
event.preventDefault();
|
|
24462
24661
|
GLUT.saveModifiers(event);
|
|
24463
|
-
((
|
|
24464
|
-
|
|
24662
|
+
((
|
|
24663
|
+
a1,
|
|
24664
|
+
a2,
|
|
24665
|
+
a3
|
|
24666
|
+
) => {}) /* 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. */(
|
|
24667
|
+
key,
|
|
24465
24668
|
Browser.mouseX,
|
|
24466
24669
|
Browser.mouseY
|
|
24467
24670
|
);
|
|
@@ -24471,8 +24674,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
24471
24674
|
if (key !== null && GLUT.keyboardUpFunc) {
|
|
24472
24675
|
event.preventDefault();
|
|
24473
24676
|
GLUT.saveModifiers(event);
|
|
24474
|
-
((
|
|
24475
|
-
|
|
24677
|
+
((
|
|
24678
|
+
a1,
|
|
24679
|
+
a2,
|
|
24680
|
+
a3
|
|
24681
|
+
) => {}) /* 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. */(
|
|
24682
|
+
key,
|
|
24476
24683
|
Browser.mouseX,
|
|
24477
24684
|
Browser.mouseY
|
|
24478
24685
|
);
|
|
@@ -24536,10 +24743,13 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
24536
24743
|
} catch (e) {}
|
|
24537
24744
|
event.preventDefault();
|
|
24538
24745
|
GLUT.saveModifiers(event);
|
|
24539
|
-
((
|
|
24540
|
-
|
|
24541
|
-
|
|
24542
|
-
|
|
24746
|
+
((
|
|
24747
|
+
a1,
|
|
24748
|
+
a2,
|
|
24749
|
+
a3,
|
|
24750
|
+
a4
|
|
24751
|
+
) => {}) /* 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. */(
|
|
24752
|
+
event['button'],
|
|
24543
24753
|
0 /*GLUT_DOWN*/,
|
|
24544
24754
|
Browser.mouseX,
|
|
24545
24755
|
Browser.mouseY
|
|
@@ -24554,10 +24764,13 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
24554
24764
|
if (GLUT.mouseFunc) {
|
|
24555
24765
|
event.preventDefault();
|
|
24556
24766
|
GLUT.saveModifiers(event);
|
|
24557
|
-
((
|
|
24558
|
-
|
|
24559
|
-
|
|
24560
|
-
|
|
24767
|
+
((
|
|
24768
|
+
a1,
|
|
24769
|
+
a2,
|
|
24770
|
+
a3,
|
|
24771
|
+
a4
|
|
24772
|
+
) => {}) /* 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. */(
|
|
24773
|
+
event['button'],
|
|
24561
24774
|
1 /*GLUT_UP*/,
|
|
24562
24775
|
Browser.mouseX,
|
|
24563
24776
|
Browser.mouseY
|
|
@@ -24586,8 +24799,13 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
24586
24799
|
if (GLUT.mouseFunc) {
|
|
24587
24800
|
event.preventDefault();
|
|
24588
24801
|
GLUT.saveModifiers(event);
|
|
24589
|
-
((
|
|
24590
|
-
|
|
24802
|
+
((
|
|
24803
|
+
a1,
|
|
24804
|
+
a2,
|
|
24805
|
+
a3,
|
|
24806
|
+
a4
|
|
24807
|
+
) => {}) /* 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. */(
|
|
24808
|
+
button,
|
|
24591
24809
|
0 /*GLUT_DOWN*/,
|
|
24592
24810
|
Browser.mouseX,
|
|
24593
24811
|
Browser.mouseY
|
|
@@ -24625,8 +24843,11 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
24625
24843
|
/* Can't call _glutReshapeWindow as that requests cancelling fullscreen. */
|
|
24626
24844
|
if (GLUT.reshapeFunc) {
|
|
24627
24845
|
// out("GLUT.reshapeFunc (from FS): " + width + ", " + height);
|
|
24628
|
-
((
|
|
24629
|
-
|
|
24846
|
+
((
|
|
24847
|
+
a1,
|
|
24848
|
+
a2
|
|
24849
|
+
) => {}) /* 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. */(
|
|
24850
|
+
width,
|
|
24630
24851
|
height
|
|
24631
24852
|
);
|
|
24632
24853
|
}
|
|
@@ -24682,8 +24903,11 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
24682
24903
|
// Resize callback stage 2: updateResizeListeners notifies reshapeFunc
|
|
24683
24904
|
Browser.resizeListeners.push((width, height) => {
|
|
24684
24905
|
if (GLUT.reshapeFunc) {
|
|
24685
|
-
((
|
|
24686
|
-
|
|
24906
|
+
((
|
|
24907
|
+
a1,
|
|
24908
|
+
a2
|
|
24909
|
+
) => {}) /* 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. */(
|
|
24910
|
+
width,
|
|
24687
24911
|
height
|
|
24688
24912
|
);
|
|
24689
24913
|
}
|
|
@@ -24798,8 +25022,10 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
24798
25022
|
var _glutTimerFunc = (msec, func, value) =>
|
|
24799
25023
|
safeSetTimeout(
|
|
24800
25024
|
() =>
|
|
24801
|
-
((
|
|
24802
|
-
|
|
25025
|
+
((
|
|
25026
|
+
a1
|
|
25027
|
+
) => {}) /* 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. */(
|
|
25028
|
+
value
|
|
24803
25029
|
),
|
|
24804
25030
|
msec
|
|
24805
25031
|
);
|
|
@@ -24959,8 +25185,11 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
24959
25185
|
Browser.setCanvasSize(width, height, true); // N.B. GLUT.reshapeFunc is also registered as a canvas resize callback.
|
|
24960
25186
|
// Just call it once here.
|
|
24961
25187
|
if (GLUT.reshapeFunc) {
|
|
24962
|
-
((
|
|
24963
|
-
|
|
25188
|
+
((
|
|
25189
|
+
a1,
|
|
25190
|
+
a2
|
|
25191
|
+
) => {}) /* 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. */(
|
|
25192
|
+
width,
|
|
24964
25193
|
height
|
|
24965
25194
|
);
|
|
24966
25195
|
}
|
|
@@ -26014,15 +26243,21 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
26014
26243
|
callUserCallback(() => {
|
|
26015
26244
|
if (error) {
|
|
26016
26245
|
if (onerror)
|
|
26017
|
-
((
|
|
26018
|
-
|
|
26246
|
+
((
|
|
26247
|
+
a1
|
|
26248
|
+
) => {}) /* 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. */(
|
|
26249
|
+
arg
|
|
26019
26250
|
);
|
|
26020
26251
|
return;
|
|
26021
26252
|
}
|
|
26022
26253
|
var buffer = _malloc(byteArray.length);
|
|
26023
26254
|
HEAPU8.set(byteArray, buffer);
|
|
26024
|
-
((
|
|
26025
|
-
|
|
26255
|
+
((
|
|
26256
|
+
a1,
|
|
26257
|
+
a2,
|
|
26258
|
+
a3
|
|
26259
|
+
) => {}) /* 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. */(
|
|
26260
|
+
arg,
|
|
26026
26261
|
buffer,
|
|
26027
26262
|
byteArray.length
|
|
26028
26263
|
);
|
|
@@ -26054,14 +26289,18 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
26054
26289
|
callUserCallback(() => {
|
|
26055
26290
|
if (error) {
|
|
26056
26291
|
if (onerror)
|
|
26057
|
-
((
|
|
26058
|
-
|
|
26292
|
+
((
|
|
26293
|
+
a1
|
|
26294
|
+
) => {}) /* 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. */(
|
|
26295
|
+
arg
|
|
26059
26296
|
);
|
|
26060
26297
|
return;
|
|
26061
26298
|
}
|
|
26062
26299
|
if (onstore)
|
|
26063
|
-
((
|
|
26064
|
-
|
|
26300
|
+
((
|
|
26301
|
+
a1
|
|
26302
|
+
) => {}) /* 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. */(
|
|
26303
|
+
arg
|
|
26065
26304
|
);
|
|
26066
26305
|
});
|
|
26067
26306
|
}
|
|
@@ -26076,14 +26315,18 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
26076
26315
|
callUserCallback(() => {
|
|
26077
26316
|
if (error) {
|
|
26078
26317
|
if (onerror)
|
|
26079
|
-
((
|
|
26080
|
-
|
|
26318
|
+
((
|
|
26319
|
+
a1
|
|
26320
|
+
) => {}) /* 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. */(
|
|
26321
|
+
arg
|
|
26081
26322
|
);
|
|
26082
26323
|
return;
|
|
26083
26324
|
}
|
|
26084
26325
|
if (ondelete)
|
|
26085
|
-
((
|
|
26086
|
-
|
|
26326
|
+
((
|
|
26327
|
+
a1
|
|
26328
|
+
) => {}) /* 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. */(
|
|
26329
|
+
arg
|
|
26087
26330
|
);
|
|
26088
26331
|
});
|
|
26089
26332
|
});
|
|
@@ -26100,14 +26343,19 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
26100
26343
|
callUserCallback(() => {
|
|
26101
26344
|
if (error) {
|
|
26102
26345
|
if (onerror)
|
|
26103
|
-
((
|
|
26104
|
-
|
|
26346
|
+
((
|
|
26347
|
+
a1
|
|
26348
|
+
) => {}) /* 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. */(
|
|
26349
|
+
arg
|
|
26105
26350
|
);
|
|
26106
26351
|
return;
|
|
26107
26352
|
}
|
|
26108
26353
|
if (oncheck)
|
|
26109
|
-
((
|
|
26110
|
-
|
|
26354
|
+
((
|
|
26355
|
+
a1,
|
|
26356
|
+
a2
|
|
26357
|
+
) => {}) /* 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. */(
|
|
26358
|
+
arg,
|
|
26111
26359
|
exists
|
|
26112
26360
|
);
|
|
26113
26361
|
});
|
|
@@ -26123,14 +26371,18 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
26123
26371
|
callUserCallback(() => {
|
|
26124
26372
|
if (error) {
|
|
26125
26373
|
if (onerror)
|
|
26126
|
-
((
|
|
26127
|
-
|
|
26374
|
+
((
|
|
26375
|
+
a1
|
|
26376
|
+
) => {}) /* 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. */(
|
|
26377
|
+
arg
|
|
26128
26378
|
);
|
|
26129
26379
|
return;
|
|
26130
26380
|
}
|
|
26131
26381
|
if (onclear)
|
|
26132
|
-
((
|
|
26133
|
-
|
|
26382
|
+
((
|
|
26383
|
+
a1
|
|
26384
|
+
) => {}) /* 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. */(
|
|
26385
|
+
arg
|
|
26134
26386
|
);
|
|
26135
26387
|
});
|
|
26136
26388
|
});
|
|
@@ -26287,8 +26539,11 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
26287
26539
|
safeSetTimeout(() => {
|
|
26288
26540
|
var stackBegin = Asyncify.currData + 12;
|
|
26289
26541
|
var stackEnd = HEAPU32[Asyncify.currData >> 2];
|
|
26290
|
-
((
|
|
26291
|
-
|
|
26542
|
+
((
|
|
26543
|
+
a1,
|
|
26544
|
+
a2
|
|
26545
|
+
) => {}) /* 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. */(
|
|
26546
|
+
stackBegin,
|
|
26292
26547
|
stackEnd
|
|
26293
26548
|
);
|
|
26294
26549
|
wakeUp();
|
|
@@ -26337,8 +26592,10 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
26337
26592
|
HEAPU32[(newFiber + 12) >> 2] = 0;
|
|
26338
26593
|
|
|
26339
26594
|
var userData = HEAPU32[(newFiber + 16) >> 2];
|
|
26340
|
-
((
|
|
26341
|
-
|
|
26595
|
+
((
|
|
26596
|
+
a1
|
|
26597
|
+
) => {}) /* 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. */(
|
|
26598
|
+
userData
|
|
26342
26599
|
);
|
|
26343
26600
|
} else {
|
|
26344
26601
|
var asyncifyData = newFiber + 20;
|
|
@@ -27349,8 +27606,11 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
27349
27606
|
if (!SDL.eventHandler) return;
|
|
27350
27607
|
|
|
27351
27608
|
while (SDL.pollEvent(SDL.eventHandlerTemp)) {
|
|
27352
|
-
((
|
|
27353
|
-
|
|
27609
|
+
((
|
|
27610
|
+
a1,
|
|
27611
|
+
a2
|
|
27612
|
+
) => {}) /* 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. */(
|
|
27613
|
+
SDL.eventHandlerContext,
|
|
27354
27614
|
SDL.eventHandlerTemp
|
|
27355
27615
|
);
|
|
27356
27616
|
}
|
|
@@ -28974,9 +29234,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
28974
29234
|
return;
|
|
28975
29235
|
|
|
28976
29236
|
// Ask SDL audio data from the user code.
|
|
28977
|
-
((
|
|
28978
|
-
|
|
28979
|
-
|
|
29237
|
+
((
|
|
29238
|
+
a1,
|
|
29239
|
+
a2,
|
|
29240
|
+
a3
|
|
29241
|
+
) => {}) /* 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. */(
|
|
29242
|
+
SDL.audio.userdata,
|
|
28980
29243
|
SDL.audio.buffer,
|
|
28981
29244
|
SDL.audio.bufferSize
|
|
28982
29245
|
);
|
|
@@ -29434,8 +29697,10 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
29434
29697
|
info.audio = null;
|
|
29435
29698
|
}
|
|
29436
29699
|
if (SDL.channelFinished) {
|
|
29437
|
-
((
|
|
29438
|
-
|
|
29700
|
+
((
|
|
29701
|
+
a1
|
|
29702
|
+
) => {}) /* 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. */(
|
|
29703
|
+
channel
|
|
29439
29704
|
);
|
|
29440
29705
|
}
|
|
29441
29706
|
}
|
|
@@ -29503,8 +29768,10 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
29503
29768
|
channelInfo.audio = null;
|
|
29504
29769
|
}
|
|
29505
29770
|
if (SDL.channelFinished)
|
|
29506
|
-
((
|
|
29507
|
-
|
|
29771
|
+
((
|
|
29772
|
+
a1
|
|
29773
|
+
) => {}) /* 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. */(
|
|
29774
|
+
channel
|
|
29508
29775
|
);
|
|
29509
29776
|
};
|
|
29510
29777
|
if (channelInfo.audio) {
|
|
@@ -30239,8 +30506,11 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
30239
30506
|
var _SDL_AddTimer = (interval, callback, param) =>
|
|
30240
30507
|
safeSetTimeout(
|
|
30241
30508
|
() =>
|
|
30242
|
-
((
|
|
30243
|
-
|
|
30509
|
+
((
|
|
30510
|
+
a1,
|
|
30511
|
+
a2
|
|
30512
|
+
) => {}) /* 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. */(
|
|
30513
|
+
interval,
|
|
30244
30514
|
param
|
|
30245
30515
|
),
|
|
30246
30516
|
interval
|
|
@@ -30656,8 +30926,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
30656
30926
|
|
|
30657
30927
|
socket.onopen = function (e) {
|
|
30658
30928
|
var eventPtr = WS.getSocketEvent(socketId);
|
|
30659
|
-
((
|
|
30660
|
-
|
|
30929
|
+
((
|
|
30930
|
+
a1,
|
|
30931
|
+
a2,
|
|
30932
|
+
a3
|
|
30933
|
+
) => {}) /* 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. */(
|
|
30934
|
+
0 /*TODO*/,
|
|
30661
30935
|
eventPtr,
|
|
30662
30936
|
userData
|
|
30663
30937
|
);
|
|
@@ -30679,8 +30953,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
30679
30953
|
|
|
30680
30954
|
socket.onerror = function (e) {
|
|
30681
30955
|
var eventPtr = WS.getSocketEvent(socketId);
|
|
30682
|
-
((
|
|
30683
|
-
|
|
30956
|
+
((
|
|
30957
|
+
a1,
|
|
30958
|
+
a2,
|
|
30959
|
+
a3
|
|
30960
|
+
) => {}) /* 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. */(
|
|
30961
|
+
0 /*TODO*/,
|
|
30684
30962
|
eventPtr,
|
|
30685
30963
|
userData
|
|
30686
30964
|
);
|
|
@@ -30705,8 +30983,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
30705
30983
|
((HEAP8[eventPtr + 4] = e.wasClean),
|
|
30706
30984
|
(HEAP16[(eventPtr + 6) >> 1] = e.code),
|
|
30707
30985
|
stringToUTF8(e.reason, eventPtr + 8, 512));
|
|
30708
|
-
((
|
|
30709
|
-
|
|
30986
|
+
((
|
|
30987
|
+
a1,
|
|
30988
|
+
a2,
|
|
30989
|
+
a3
|
|
30990
|
+
) => {}) /* 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. */(
|
|
30991
|
+
0 /*TODO*/,
|
|
30710
30992
|
eventPtr,
|
|
30711
30993
|
userData
|
|
30712
30994
|
);
|
|
@@ -30740,8 +31022,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
30740
31022
|
((HEAPU32[(eventPtr + 4) >> 2] = buf),
|
|
30741
31023
|
(HEAP32[(eventPtr + 8) >> 2] = len),
|
|
30742
31024
|
(HEAP8[eventPtr + 12] = isText),
|
|
30743
|
-
((
|
|
30744
|
-
|
|
31025
|
+
((
|
|
31026
|
+
a1,
|
|
31027
|
+
a2,
|
|
31028
|
+
a3
|
|
31029
|
+
) => {}) /* 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. */(
|
|
31030
|
+
0 /*TODO*/,
|
|
30745
31031
|
eventPtr,
|
|
30746
31032
|
userData
|
|
30747
31033
|
));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@php-wasm/node-8-1",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.3",
|
|
4
4
|
"description": "PHP 8.1 WebAssembly binaries for node",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -35,12 +35,12 @@
|
|
|
35
35
|
"node": ">=20.10.0",
|
|
36
36
|
"npm": ">=10.2.3"
|
|
37
37
|
},
|
|
38
|
-
"gitHead": "
|
|
38
|
+
"gitHead": "54bb87ba4c9624ec02f60194a2f1938b3f42477b",
|
|
39
39
|
"dependencies": {
|
|
40
40
|
"ini": "4.1.2",
|
|
41
41
|
"wasm-feature-detect": "1.8.0",
|
|
42
42
|
"ws": "8.18.3",
|
|
43
|
-
"@php-wasm/universal": "3.1.
|
|
43
|
+
"@php-wasm/universal": "3.1.3"
|
|
44
44
|
},
|
|
45
45
|
"packageManager": "npm@10.9.2",
|
|
46
46
|
"overrides": {
|