@php-wasm/node-8-0 3.1.2 → 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_0_30/php_8_0.wasm +0 -0
- package/asyncify/php_8_0.js +474 -188
- package/package.json +3 -3
|
Binary file
|
package/asyncify/php_8_0.js
CHANGED
|
@@ -15,7 +15,7 @@ const currentDirPath =
|
|
|
15
15
|
: path.dirname(fileURLToPath(import.meta.url));
|
|
16
16
|
const dependencyFilename = path.join(currentDirPath, '8_0_30', 'php_8_0.wasm');
|
|
17
17
|
export { dependencyFilename };
|
|
18
|
-
export const dependenciesTotalSize =
|
|
18
|
+
export const dependenciesTotalSize = 23248816;
|
|
19
19
|
const phpVersionString = '8.0.30';
|
|
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
|
);
|
|
@@ -18099,8 +18110,11 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
18099
18110
|
var trace = getCallstack();
|
|
18100
18111
|
var parts = trace.split('\n');
|
|
18101
18112
|
for (var i = 0; i < parts.length; i++) {
|
|
18102
|
-
var ret = ((
|
|
18103
|
-
|
|
18113
|
+
var ret = ((
|
|
18114
|
+
a1,
|
|
18115
|
+
a2
|
|
18116
|
+
) => {}) /* 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. */(
|
|
18117
|
+
0,
|
|
18104
18118
|
arg
|
|
18105
18119
|
);
|
|
18106
18120
|
if (ret !== 0) return;
|
|
@@ -18644,8 +18658,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
18644
18658
|
stringToUTF8(e.locale || '', keyEventData + 128, 32);
|
|
18645
18659
|
|
|
18646
18660
|
if (
|
|
18647
|
-
((
|
|
18648
|
-
|
|
18661
|
+
((
|
|
18662
|
+
a1,
|
|
18663
|
+
a2,
|
|
18664
|
+
a3
|
|
18665
|
+
) => {}) /* 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. */(
|
|
18666
|
+
eventTypeId,
|
|
18649
18667
|
keyEventData,
|
|
18650
18668
|
userData
|
|
18651
18669
|
)
|
|
@@ -18763,8 +18781,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
18763
18781
|
fillMouseEventData(JSEvents.mouseEvent, e, target);
|
|
18764
18782
|
|
|
18765
18783
|
if (
|
|
18766
|
-
((
|
|
18767
|
-
|
|
18784
|
+
((
|
|
18785
|
+
a1,
|
|
18786
|
+
a2,
|
|
18787
|
+
a3
|
|
18788
|
+
) => {}) /* 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. */(
|
|
18789
|
+
eventTypeId,
|
|
18768
18790
|
JSEvents.mouseEvent,
|
|
18769
18791
|
userData
|
|
18770
18792
|
)
|
|
@@ -18978,8 +19000,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
18978
19000
|
HEAPF64[(wheelEvent + 80) >> 3] = e['deltaZ'];
|
|
18979
19001
|
HEAP32[(wheelEvent + 88) >> 2] = e['deltaMode'];
|
|
18980
19002
|
if (
|
|
18981
|
-
((
|
|
18982
|
-
|
|
19003
|
+
((
|
|
19004
|
+
a1,
|
|
19005
|
+
a2,
|
|
19006
|
+
a3
|
|
19007
|
+
) => {}) /* 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. */(
|
|
19008
|
+
eventTypeId,
|
|
18983
19009
|
wheelEvent,
|
|
18984
19010
|
userData
|
|
18985
19011
|
)
|
|
@@ -19060,8 +19086,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
19060
19086
|
HEAP32[(uiEvent + 28) >> 2] = pageXOffset | 0; // scroll offsets are float
|
|
19061
19087
|
HEAP32[(uiEvent + 32) >> 2] = pageYOffset | 0;
|
|
19062
19088
|
if (
|
|
19063
|
-
((
|
|
19064
|
-
|
|
19089
|
+
((
|
|
19090
|
+
a1,
|
|
19091
|
+
a2,
|
|
19092
|
+
a3
|
|
19093
|
+
) => {}) /* 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. */(
|
|
19094
|
+
eventTypeId,
|
|
19065
19095
|
uiEvent,
|
|
19066
19096
|
userData
|
|
19067
19097
|
)
|
|
@@ -19135,8 +19165,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
19135
19165
|
stringToUTF8(id, focusEvent + 128, 128);
|
|
19136
19166
|
|
|
19137
19167
|
if (
|
|
19138
|
-
((
|
|
19139
|
-
|
|
19168
|
+
((
|
|
19169
|
+
a1,
|
|
19170
|
+
a2,
|
|
19171
|
+
a3
|
|
19172
|
+
) => {}) /* 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. */(
|
|
19173
|
+
eventTypeId,
|
|
19140
19174
|
focusEvent,
|
|
19141
19175
|
userData
|
|
19142
19176
|
)
|
|
@@ -19252,8 +19286,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
19252
19286
|
); // TODO: Thread-safety with respect to emscripten_get_deviceorientation_status()
|
|
19253
19287
|
|
|
19254
19288
|
if (
|
|
19255
|
-
((
|
|
19256
|
-
|
|
19289
|
+
((
|
|
19290
|
+
a1,
|
|
19291
|
+
a2,
|
|
19292
|
+
a3
|
|
19293
|
+
) => {}) /* 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. */(
|
|
19294
|
+
eventTypeId,
|
|
19257
19295
|
JSEvents.deviceOrientationEvent,
|
|
19258
19296
|
userData
|
|
19259
19297
|
)
|
|
@@ -19337,8 +19375,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
19337
19375
|
fillDeviceMotionEventData(JSEvents.deviceMotionEvent, e, target); // TODO: Thread-safety with respect to emscripten_get_devicemotion_status()
|
|
19338
19376
|
|
|
19339
19377
|
if (
|
|
19340
|
-
((
|
|
19341
|
-
|
|
19378
|
+
((
|
|
19379
|
+
a1,
|
|
19380
|
+
a2,
|
|
19381
|
+
a3
|
|
19382
|
+
) => {}) /* 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. */(
|
|
19383
|
+
eventTypeId,
|
|
19342
19384
|
JSEvents.deviceMotionEvent,
|
|
19343
19385
|
userData
|
|
19344
19386
|
)
|
|
@@ -19445,8 +19487,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
19445
19487
|
fillOrientationChangeEventData(orientationChangeEvent);
|
|
19446
19488
|
|
|
19447
19489
|
if (
|
|
19448
|
-
((
|
|
19449
|
-
|
|
19490
|
+
((
|
|
19491
|
+
a1,
|
|
19492
|
+
a2,
|
|
19493
|
+
a3
|
|
19494
|
+
) => {}) /* 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. */(
|
|
19495
|
+
eventTypeId,
|
|
19450
19496
|
orientationChangeEvent,
|
|
19451
19497
|
userData
|
|
19452
19498
|
)
|
|
@@ -19575,8 +19621,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
19575
19621
|
fillFullscreenChangeEventData(fullscreenChangeEvent);
|
|
19576
19622
|
|
|
19577
19623
|
if (
|
|
19578
|
-
((
|
|
19579
|
-
|
|
19624
|
+
((
|
|
19625
|
+
a1,
|
|
19626
|
+
a2,
|
|
19627
|
+
a3
|
|
19628
|
+
) => {}) /* 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. */(
|
|
19629
|
+
eventTypeId,
|
|
19580
19630
|
fullscreenChangeEvent,
|
|
19581
19631
|
userData
|
|
19582
19632
|
)
|
|
@@ -19721,8 +19771,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
19721
19771
|
);
|
|
19722
19772
|
|
|
19723
19773
|
if (currentFullscreenStrategy.canvasResizedCallback) {
|
|
19724
|
-
((
|
|
19725
|
-
|
|
19774
|
+
((
|
|
19775
|
+
a1,
|
|
19776
|
+
a2,
|
|
19777
|
+
a3
|
|
19778
|
+
) => {}) /* 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. */(
|
|
19779
|
+
37,
|
|
19726
19780
|
0,
|
|
19727
19781
|
currentFullscreenStrategy.canvasResizedCallbackUserData
|
|
19728
19782
|
);
|
|
@@ -19823,8 +19877,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
19823
19877
|
currentFullscreenStrategy = strategy;
|
|
19824
19878
|
|
|
19825
19879
|
if (strategy.canvasResizedCallback) {
|
|
19826
|
-
((
|
|
19827
|
-
|
|
19880
|
+
((
|
|
19881
|
+
a1,
|
|
19882
|
+
a2,
|
|
19883
|
+
a3
|
|
19884
|
+
) => {}) /* 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. */(
|
|
19885
|
+
37,
|
|
19828
19886
|
0,
|
|
19829
19887
|
strategy.canvasResizedCallbackUserData
|
|
19830
19888
|
);
|
|
@@ -19924,8 +19982,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
19924
19982
|
!inCenteredWithoutScalingFullscreenMode &&
|
|
19925
19983
|
currentFullscreenStrategy.canvasResizedCallback
|
|
19926
19984
|
) {
|
|
19927
|
-
((
|
|
19928
|
-
|
|
19985
|
+
((
|
|
19986
|
+
a1,
|
|
19987
|
+
a2,
|
|
19988
|
+
a3
|
|
19989
|
+
) => {}) /* 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. */(
|
|
19990
|
+
37,
|
|
19929
19991
|
0,
|
|
19930
19992
|
currentFullscreenStrategy.canvasResizedCallbackUserData
|
|
19931
19993
|
);
|
|
@@ -20024,8 +20086,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
20024
20086
|
softFullscreenResizeWebGLRenderTarget
|
|
20025
20087
|
);
|
|
20026
20088
|
if (strategy.canvasResizedCallback) {
|
|
20027
|
-
((
|
|
20028
|
-
|
|
20089
|
+
((
|
|
20090
|
+
a1,
|
|
20091
|
+
a2,
|
|
20092
|
+
a3
|
|
20093
|
+
) => {}) /* 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. */(
|
|
20094
|
+
37,
|
|
20029
20095
|
0,
|
|
20030
20096
|
strategy.canvasResizedCallbackUserData
|
|
20031
20097
|
);
|
|
@@ -20038,8 +20104,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
20038
20104
|
|
|
20039
20105
|
// Inform the caller that the canvas size has changed.
|
|
20040
20106
|
if (strategy.canvasResizedCallback) {
|
|
20041
|
-
((
|
|
20042
|
-
|
|
20107
|
+
((
|
|
20108
|
+
a1,
|
|
20109
|
+
a2,
|
|
20110
|
+
a3
|
|
20111
|
+
) => {}) /* 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. */(
|
|
20112
|
+
37,
|
|
20043
20113
|
0,
|
|
20044
20114
|
strategy.canvasResizedCallbackUserData
|
|
20045
20115
|
);
|
|
@@ -20101,8 +20171,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
20101
20171
|
fillPointerlockChangeEventData(pointerlockChangeEvent);
|
|
20102
20172
|
|
|
20103
20173
|
if (
|
|
20104
|
-
((
|
|
20105
|
-
|
|
20174
|
+
((
|
|
20175
|
+
a1,
|
|
20176
|
+
a2,
|
|
20177
|
+
a3
|
|
20178
|
+
) => {}) /* 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. */(
|
|
20179
|
+
eventTypeId,
|
|
20106
20180
|
pointerlockChangeEvent,
|
|
20107
20181
|
userData
|
|
20108
20182
|
)
|
|
@@ -20156,8 +20230,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
20156
20230
|
) => {
|
|
20157
20231
|
var pointerlockErrorEventHandlerFunc = (e = event) => {
|
|
20158
20232
|
if (
|
|
20159
|
-
((
|
|
20160
|
-
|
|
20233
|
+
((
|
|
20234
|
+
a1,
|
|
20235
|
+
a2,
|
|
20236
|
+
a3
|
|
20237
|
+
) => {}) /* 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. */(
|
|
20238
|
+
eventTypeId,
|
|
20161
20239
|
0,
|
|
20162
20240
|
userData
|
|
20163
20241
|
)
|
|
@@ -20311,8 +20389,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
20311
20389
|
fillVisibilityChangeEventData(visibilityChangeEvent);
|
|
20312
20390
|
|
|
20313
20391
|
if (
|
|
20314
|
-
((
|
|
20315
|
-
|
|
20392
|
+
((
|
|
20393
|
+
a1,
|
|
20394
|
+
a2,
|
|
20395
|
+
a3
|
|
20396
|
+
) => {}) /* 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. */(
|
|
20397
|
+
eventTypeId,
|
|
20316
20398
|
visibilityChangeEvent,
|
|
20317
20399
|
userData
|
|
20318
20400
|
)
|
|
@@ -20432,8 +20514,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
20432
20514
|
HEAP32[(touchEvent + 8) >> 2] = numTouches;
|
|
20433
20515
|
|
|
20434
20516
|
if (
|
|
20435
|
-
((
|
|
20436
|
-
|
|
20517
|
+
((
|
|
20518
|
+
a1,
|
|
20519
|
+
a2,
|
|
20520
|
+
a3
|
|
20521
|
+
) => {}) /* 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. */(
|
|
20522
|
+
eventTypeId,
|
|
20437
20523
|
touchEvent,
|
|
20438
20524
|
userData
|
|
20439
20525
|
)
|
|
@@ -20571,8 +20657,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
20571
20657
|
fillGamepadEventData(gamepadEvent, e['gamepad']);
|
|
20572
20658
|
|
|
20573
20659
|
if (
|
|
20574
|
-
((
|
|
20575
|
-
|
|
20660
|
+
((
|
|
20661
|
+
a1,
|
|
20662
|
+
a2,
|
|
20663
|
+
a3
|
|
20664
|
+
) => {}) /* 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. */(
|
|
20665
|
+
eventTypeId,
|
|
20576
20666
|
gamepadEvent,
|
|
20577
20667
|
userData
|
|
20578
20668
|
)
|
|
@@ -20674,8 +20764,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
20674
20764
|
) => {
|
|
20675
20765
|
var beforeUnloadEventHandlerFunc = (e = event) => {
|
|
20676
20766
|
// Note: This is always called on the main browser thread, since it needs synchronously return a value!
|
|
20677
|
-
var confirmationMessage = ((
|
|
20678
|
-
|
|
20767
|
+
var confirmationMessage = ((
|
|
20768
|
+
a1,
|
|
20769
|
+
a2,
|
|
20770
|
+
a3
|
|
20771
|
+
) => {}) /* 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. */(
|
|
20772
|
+
eventTypeId,
|
|
20679
20773
|
0,
|
|
20680
20774
|
userData
|
|
20681
20775
|
);
|
|
@@ -20746,8 +20840,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
20746
20840
|
fillBatteryEventData(batteryEvent, battery);
|
|
20747
20841
|
|
|
20748
20842
|
if (
|
|
20749
|
-
((
|
|
20750
|
-
|
|
20843
|
+
((
|
|
20844
|
+
a1,
|
|
20845
|
+
a2,
|
|
20846
|
+
a3
|
|
20847
|
+
) => {}) /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
|
|
20848
|
+
eventTypeId,
|
|
20751
20849
|
batteryEvent,
|
|
20752
20850
|
userData
|
|
20753
20851
|
)
|
|
@@ -20849,8 +20947,11 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
20849
20947
|
|
|
20850
20948
|
var _emscripten_request_animation_frame = (cb, userData) =>
|
|
20851
20949
|
requestAnimationFrame((timeStamp) =>
|
|
20852
|
-
((
|
|
20853
|
-
|
|
20950
|
+
((
|
|
20951
|
+
a1,
|
|
20952
|
+
a2
|
|
20953
|
+
) => {}) /* 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. */(
|
|
20954
|
+
timeStamp,
|
|
20854
20955
|
userData
|
|
20855
20956
|
)
|
|
20856
20957
|
);
|
|
@@ -20862,8 +20963,11 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
20862
20963
|
var _emscripten_request_animation_frame_loop = (cb, userData) => {
|
|
20863
20964
|
function tick(timeStamp) {
|
|
20864
20965
|
if (
|
|
20865
|
-
((
|
|
20866
|
-
|
|
20966
|
+
((
|
|
20967
|
+
a1,
|
|
20968
|
+
a2
|
|
20969
|
+
) => {}) /* 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. */(
|
|
20970
|
+
timeStamp,
|
|
20867
20971
|
userData
|
|
20868
20972
|
)
|
|
20869
20973
|
) {
|
|
@@ -21120,8 +21224,10 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
21120
21224
|
return emSetImmediate(() => {
|
|
21121
21225
|
runtimeKeepalivePop();
|
|
21122
21226
|
callUserCallback(() =>
|
|
21123
|
-
((
|
|
21124
|
-
|
|
21227
|
+
((
|
|
21228
|
+
a1
|
|
21229
|
+
) => {}) /* 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. */(
|
|
21230
|
+
userData
|
|
21125
21231
|
)
|
|
21126
21232
|
);
|
|
21127
21233
|
});
|
|
@@ -21138,8 +21244,10 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
21138
21244
|
function tick() {
|
|
21139
21245
|
callUserCallback(() => {
|
|
21140
21246
|
if (
|
|
21141
|
-
((
|
|
21142
|
-
|
|
21247
|
+
((
|
|
21248
|
+
a1
|
|
21249
|
+
) => {}) /* 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. */(
|
|
21250
|
+
userData
|
|
21143
21251
|
)
|
|
21144
21252
|
) {
|
|
21145
21253
|
emSetImmediate(tick);
|
|
@@ -21156,8 +21264,10 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
21156
21264
|
var _emscripten_set_timeout = (cb, msecs, userData) =>
|
|
21157
21265
|
safeSetTimeout(
|
|
21158
21266
|
() =>
|
|
21159
|
-
((
|
|
21160
|
-
|
|
21267
|
+
((
|
|
21268
|
+
a1
|
|
21269
|
+
) => {}) /* 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. */(
|
|
21270
|
+
userData
|
|
21161
21271
|
),
|
|
21162
21272
|
msecs
|
|
21163
21273
|
);
|
|
@@ -21173,8 +21283,11 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
21173
21283
|
runtimeKeepalivePop();
|
|
21174
21284
|
callUserCallback(() => {
|
|
21175
21285
|
if (
|
|
21176
|
-
((
|
|
21177
|
-
|
|
21286
|
+
((
|
|
21287
|
+
a1,
|
|
21288
|
+
a2
|
|
21289
|
+
) => {}) /* 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. */(
|
|
21290
|
+
t,
|
|
21178
21291
|
userData
|
|
21179
21292
|
)
|
|
21180
21293
|
) {
|
|
@@ -21198,8 +21311,10 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
21198
21311
|
runtimeKeepalivePush();
|
|
21199
21312
|
return setInterval(() => {
|
|
21200
21313
|
callUserCallback(() =>
|
|
21201
|
-
((
|
|
21202
|
-
|
|
21314
|
+
((
|
|
21315
|
+
a1
|
|
21316
|
+
) => {}) /* 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. */(
|
|
21317
|
+
userData
|
|
21203
21318
|
)
|
|
21204
21319
|
);
|
|
21205
21320
|
}, msecs);
|
|
@@ -21214,8 +21329,10 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
21214
21329
|
|
|
21215
21330
|
var _emscripten_async_call = (func, arg, millis) => {
|
|
21216
21331
|
var wrapper = () =>
|
|
21217
|
-
((
|
|
21218
|
-
|
|
21332
|
+
((
|
|
21333
|
+
a1
|
|
21334
|
+
) => {}) /* 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. */(
|
|
21335
|
+
arg
|
|
21219
21336
|
);
|
|
21220
21337
|
|
|
21221
21338
|
if (
|
|
@@ -21248,7 +21365,7 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
21248
21365
|
|
|
21249
21366
|
var _emscripten_set_main_loop = (func, fps, simulateInfiniteLoop) => {
|
|
21250
21367
|
var iterFunc =
|
|
21251
|
-
() => {}
|
|
21368
|
+
() => {} /* 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. */;
|
|
21252
21369
|
setMainLoop(iterFunc, fps, simulateInfiniteLoop);
|
|
21253
21370
|
};
|
|
21254
21371
|
_emscripten_set_main_loop.sig = 'vpii';
|
|
@@ -21260,8 +21377,10 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
21260
21377
|
simulateInfiniteLoop
|
|
21261
21378
|
) => {
|
|
21262
21379
|
var iterFunc = () =>
|
|
21263
|
-
((
|
|
21264
|
-
|
|
21380
|
+
((
|
|
21381
|
+
a1
|
|
21382
|
+
) => {}) /* 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. */(
|
|
21383
|
+
arg
|
|
21265
21384
|
);
|
|
21266
21385
|
setMainLoop(iterFunc, fps, simulateInfiniteLoop, arg);
|
|
21267
21386
|
};
|
|
@@ -21282,8 +21401,10 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
21282
21401
|
var __emscripten_push_main_loop_blocker = (func, arg, name) => {
|
|
21283
21402
|
MainLoop.queue.push({
|
|
21284
21403
|
func: () => {
|
|
21285
|
-
((
|
|
21286
|
-
|
|
21404
|
+
((
|
|
21405
|
+
a1
|
|
21406
|
+
) => {}) /* 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. */(
|
|
21407
|
+
arg
|
|
21287
21408
|
);
|
|
21288
21409
|
},
|
|
21289
21410
|
name: UTF8ToString(name),
|
|
@@ -21296,8 +21417,10 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
21296
21417
|
var __emscripten_push_uncounted_main_loop_blocker = (func, arg, name) => {
|
|
21297
21418
|
MainLoop.queue.push({
|
|
21298
21419
|
func: () => {
|
|
21299
|
-
((
|
|
21300
|
-
|
|
21420
|
+
((
|
|
21421
|
+
a1
|
|
21422
|
+
) => {}) /* 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. */(
|
|
21423
|
+
arg
|
|
21301
21424
|
);
|
|
21302
21425
|
},
|
|
21303
21426
|
name: UTF8ToString(name),
|
|
@@ -21331,8 +21454,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
21331
21454
|
var resultPtr = stackAlloc(POINTER_SIZE);
|
|
21332
21455
|
HEAPU32[resultPtr >> 2] = 0;
|
|
21333
21456
|
try {
|
|
21334
|
-
var result = ((
|
|
21335
|
-
|
|
21457
|
+
var result = ((
|
|
21458
|
+
a1,
|
|
21459
|
+
a2,
|
|
21460
|
+
a3
|
|
21461
|
+
) => {}) /* 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. */(
|
|
21462
|
+
resultPtr,
|
|
21336
21463
|
userData,
|
|
21337
21464
|
value
|
|
21338
21465
|
);
|
|
@@ -22169,15 +22296,19 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
22169
22296
|
() => {
|
|
22170
22297
|
runtimeKeepalivePop();
|
|
22171
22298
|
if (onload)
|
|
22172
|
-
((
|
|
22173
|
-
|
|
22299
|
+
((
|
|
22300
|
+
a1
|
|
22301
|
+
) => {}) /* 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. */(
|
|
22302
|
+
file
|
|
22174
22303
|
);
|
|
22175
22304
|
},
|
|
22176
22305
|
() => {
|
|
22177
22306
|
runtimeKeepalivePop();
|
|
22178
22307
|
if (onerror)
|
|
22179
|
-
((
|
|
22180
|
-
|
|
22308
|
+
((
|
|
22309
|
+
a1
|
|
22310
|
+
) => {}) /* 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. */(
|
|
22311
|
+
file
|
|
22181
22312
|
);
|
|
22182
22313
|
},
|
|
22183
22314
|
true // don'tCreateFile - it's already there
|
|
@@ -22211,16 +22342,21 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
22211
22342
|
() => {
|
|
22212
22343
|
runtimeKeepalivePop();
|
|
22213
22344
|
if (onload)
|
|
22214
|
-
((
|
|
22215
|
-
|
|
22345
|
+
((
|
|
22346
|
+
a1,
|
|
22347
|
+
a2
|
|
22348
|
+
) => {}) /* 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. */(
|
|
22349
|
+
arg,
|
|
22216
22350
|
cname
|
|
22217
22351
|
);
|
|
22218
22352
|
},
|
|
22219
22353
|
() => {
|
|
22220
22354
|
runtimeKeepalivePop();
|
|
22221
22355
|
if (onerror)
|
|
22222
|
-
((
|
|
22223
|
-
|
|
22356
|
+
((
|
|
22357
|
+
a1
|
|
22358
|
+
) => {}) /* 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. */(
|
|
22359
|
+
arg
|
|
22224
22360
|
);
|
|
22225
22361
|
},
|
|
22226
22362
|
true // don'tCreateFile - it's already there
|
|
@@ -22488,10 +22624,10 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
22488
22624
|
runtimeKeepalivePop();
|
|
22489
22625
|
callUserCallback(() =>
|
|
22490
22626
|
withStackSave(() =>
|
|
22491
|
-
((
|
|
22492
|
-
|
|
22493
|
-
|
|
22494
|
-
)
|
|
22627
|
+
((
|
|
22628
|
+
a1
|
|
22629
|
+
) => {}) /* 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. */(
|
|
22630
|
+
stringToUTF8OnStack(_file)
|
|
22495
22631
|
)
|
|
22496
22632
|
)
|
|
22497
22633
|
);
|
|
@@ -22535,8 +22671,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
22535
22671
|
callUserCallback(() => {
|
|
22536
22672
|
var buffer = _malloc(byteArray.length);
|
|
22537
22673
|
HEAPU8.set(byteArray, buffer);
|
|
22538
|
-
((
|
|
22539
|
-
|
|
22674
|
+
((
|
|
22675
|
+
a1,
|
|
22676
|
+
a2,
|
|
22677
|
+
a3
|
|
22678
|
+
) => {}) /* 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. */(
|
|
22679
|
+
userdata,
|
|
22540
22680
|
buffer,
|
|
22541
22681
|
byteArray.length
|
|
22542
22682
|
);
|
|
@@ -22546,8 +22686,10 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
22546
22686
|
if (onerror) {
|
|
22547
22687
|
runtimeKeepalivePop();
|
|
22548
22688
|
callUserCallback(() => {
|
|
22549
|
-
((
|
|
22550
|
-
|
|
22689
|
+
((
|
|
22690
|
+
a1
|
|
22691
|
+
) => {}) /* 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. */(
|
|
22692
|
+
userdata
|
|
22551
22693
|
);
|
|
22552
22694
|
});
|
|
22553
22695
|
}
|
|
@@ -22603,8 +22745,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
22603
22745
|
);
|
|
22604
22746
|
if (onload) {
|
|
22605
22747
|
var sp = stackSave();
|
|
22606
|
-
((
|
|
22607
|
-
|
|
22748
|
+
((
|
|
22749
|
+
a1,
|
|
22750
|
+
a2,
|
|
22751
|
+
a3
|
|
22752
|
+
) => {}) /* 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. */(
|
|
22753
|
+
handle,
|
|
22608
22754
|
userdata,
|
|
22609
22755
|
stringToUTF8OnStack(_file)
|
|
22610
22756
|
);
|
|
@@ -22612,8 +22758,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
22612
22758
|
}
|
|
22613
22759
|
} else {
|
|
22614
22760
|
if (onerror)
|
|
22615
|
-
((
|
|
22616
|
-
|
|
22761
|
+
((
|
|
22762
|
+
a1,
|
|
22763
|
+
a2,
|
|
22764
|
+
a3
|
|
22765
|
+
) => {}) /* 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. */(
|
|
22766
|
+
handle,
|
|
22617
22767
|
userdata,
|
|
22618
22768
|
http.status
|
|
22619
22769
|
);
|
|
@@ -22626,8 +22776,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
22626
22776
|
http.onerror = (e) => {
|
|
22627
22777
|
runtimeKeepalivePop();
|
|
22628
22778
|
if (onerror)
|
|
22629
|
-
((
|
|
22630
|
-
|
|
22779
|
+
((
|
|
22780
|
+
a1,
|
|
22781
|
+
a2,
|
|
22782
|
+
a3
|
|
22783
|
+
) => {}) /* 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. */(
|
|
22784
|
+
handle,
|
|
22631
22785
|
userdata,
|
|
22632
22786
|
http.status
|
|
22633
22787
|
);
|
|
@@ -22642,8 +22796,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
22642
22796
|
) {
|
|
22643
22797
|
var percentComplete = (e.loaded / e.total) * 100;
|
|
22644
22798
|
if (onprogress)
|
|
22645
|
-
((
|
|
22646
|
-
|
|
22799
|
+
((
|
|
22800
|
+
a1,
|
|
22801
|
+
a2,
|
|
22802
|
+
a3
|
|
22803
|
+
) => {}) /* 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. */(
|
|
22804
|
+
handle,
|
|
22647
22805
|
userdata,
|
|
22648
22806
|
percentComplete
|
|
22649
22807
|
);
|
|
@@ -22700,8 +22858,13 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
22700
22858
|
if (http.statusText) {
|
|
22701
22859
|
statusText = stringToUTF8OnStack(http.statusText);
|
|
22702
22860
|
}
|
|
22703
|
-
((
|
|
22704
|
-
|
|
22861
|
+
((
|
|
22862
|
+
a1,
|
|
22863
|
+
a2,
|
|
22864
|
+
a3,
|
|
22865
|
+
a4
|
|
22866
|
+
) => {}) /* 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. */(
|
|
22867
|
+
handle,
|
|
22705
22868
|
userdata,
|
|
22706
22869
|
http.status,
|
|
22707
22870
|
statusText
|
|
@@ -22722,8 +22885,13 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
22722
22885
|
var buffer = _malloc(byteArray.length);
|
|
22723
22886
|
HEAPU8.set(byteArray, buffer);
|
|
22724
22887
|
if (onload)
|
|
22725
|
-
((
|
|
22726
|
-
|
|
22888
|
+
((
|
|
22889
|
+
a1,
|
|
22890
|
+
a2,
|
|
22891
|
+
a3,
|
|
22892
|
+
a4
|
|
22893
|
+
) => {}) /* 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. */(
|
|
22894
|
+
handle,
|
|
22727
22895
|
userdata,
|
|
22728
22896
|
buffer,
|
|
22729
22897
|
byteArray.length
|
|
@@ -22744,8 +22912,13 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
22744
22912
|
// PROGRESS
|
|
22745
22913
|
http.onprogress = (e) => {
|
|
22746
22914
|
if (onprogress)
|
|
22747
|
-
((
|
|
22748
|
-
|
|
22915
|
+
((
|
|
22916
|
+
a1,
|
|
22917
|
+
a2,
|
|
22918
|
+
a3,
|
|
22919
|
+
a4
|
|
22920
|
+
) => {}) /* 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. */(
|
|
22921
|
+
handle,
|
|
22749
22922
|
userdata,
|
|
22750
22923
|
e.loaded,
|
|
22751
22924
|
e.lengthComputable || e.lengthComputable === undefined
|
|
@@ -23076,16 +23249,24 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
23076
23249
|
if (event === 'error') {
|
|
23077
23250
|
withStackSave(() => {
|
|
23078
23251
|
var msg = stringToUTF8OnStack(data[2]);
|
|
23079
|
-
((
|
|
23080
|
-
|
|
23252
|
+
((
|
|
23253
|
+
a1,
|
|
23254
|
+
a2,
|
|
23255
|
+
a3,
|
|
23256
|
+
a4
|
|
23257
|
+
) => {}) /* 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. */(
|
|
23258
|
+
data[0],
|
|
23081
23259
|
data[1],
|
|
23082
23260
|
msg,
|
|
23083
23261
|
userData
|
|
23084
23262
|
);
|
|
23085
23263
|
});
|
|
23086
23264
|
} else {
|
|
23087
|
-
((
|
|
23088
|
-
|
|
23265
|
+
((
|
|
23266
|
+
a1,
|
|
23267
|
+
a2
|
|
23268
|
+
) => {}) /* 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. */(
|
|
23269
|
+
data,
|
|
23089
23270
|
userData
|
|
23090
23271
|
);
|
|
23091
23272
|
}
|
|
@@ -24038,8 +24219,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
24038
24219
|
) => {
|
|
24039
24220
|
var webGlEventHandlerFunc = (e = event) => {
|
|
24040
24221
|
if (
|
|
24041
|
-
((
|
|
24042
|
-
|
|
24222
|
+
((
|
|
24223
|
+
a1,
|
|
24224
|
+
a2,
|
|
24225
|
+
a3
|
|
24226
|
+
) => {}) /* 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. */(
|
|
24227
|
+
eventTypeId,
|
|
24043
24228
|
0,
|
|
24044
24229
|
userData
|
|
24045
24230
|
)
|
|
@@ -24258,15 +24443,21 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
24258
24443
|
) {
|
|
24259
24444
|
event.preventDefault();
|
|
24260
24445
|
GLUT.saveModifiers(event);
|
|
24261
|
-
((
|
|
24262
|
-
|
|
24446
|
+
((
|
|
24447
|
+
a1,
|
|
24448
|
+
a2
|
|
24449
|
+
) => {}) /* 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. */(
|
|
24450
|
+
lastX,
|
|
24263
24451
|
lastY
|
|
24264
24452
|
);
|
|
24265
24453
|
} else if (GLUT.buttons != 0 && GLUT.motionFunc) {
|
|
24266
24454
|
event.preventDefault();
|
|
24267
24455
|
GLUT.saveModifiers(event);
|
|
24268
|
-
((
|
|
24269
|
-
|
|
24456
|
+
((
|
|
24457
|
+
a1,
|
|
24458
|
+
a2
|
|
24459
|
+
) => {}) /* 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. */(
|
|
24460
|
+
lastX,
|
|
24270
24461
|
lastY
|
|
24271
24462
|
);
|
|
24272
24463
|
}
|
|
@@ -24427,8 +24618,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
24427
24618
|
if (GLUT.specialFunc) {
|
|
24428
24619
|
event.preventDefault();
|
|
24429
24620
|
GLUT.saveModifiers(event);
|
|
24430
|
-
((
|
|
24431
|
-
|
|
24621
|
+
((
|
|
24622
|
+
a1,
|
|
24623
|
+
a2,
|
|
24624
|
+
a3
|
|
24625
|
+
) => {}) /* 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. */(
|
|
24626
|
+
key,
|
|
24432
24627
|
Browser.mouseX,
|
|
24433
24628
|
Browser.mouseY
|
|
24434
24629
|
);
|
|
@@ -24438,8 +24633,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
24438
24633
|
if (key !== null && GLUT.keyboardFunc) {
|
|
24439
24634
|
event.preventDefault();
|
|
24440
24635
|
GLUT.saveModifiers(event);
|
|
24441
|
-
((
|
|
24442
|
-
|
|
24636
|
+
((
|
|
24637
|
+
a1,
|
|
24638
|
+
a2,
|
|
24639
|
+
a3
|
|
24640
|
+
) => {}) /* 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. */(
|
|
24641
|
+
key,
|
|
24443
24642
|
Browser.mouseX,
|
|
24444
24643
|
Browser.mouseY
|
|
24445
24644
|
);
|
|
@@ -24454,8 +24653,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
24454
24653
|
if (GLUT.specialUpFunc) {
|
|
24455
24654
|
event.preventDefault();
|
|
24456
24655
|
GLUT.saveModifiers(event);
|
|
24457
|
-
((
|
|
24458
|
-
|
|
24656
|
+
((
|
|
24657
|
+
a1,
|
|
24658
|
+
a2,
|
|
24659
|
+
a3
|
|
24660
|
+
) => {}) /* 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. */(
|
|
24661
|
+
key,
|
|
24459
24662
|
Browser.mouseX,
|
|
24460
24663
|
Browser.mouseY
|
|
24461
24664
|
);
|
|
@@ -24465,8 +24668,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
24465
24668
|
if (key !== null && GLUT.keyboardUpFunc) {
|
|
24466
24669
|
event.preventDefault();
|
|
24467
24670
|
GLUT.saveModifiers(event);
|
|
24468
|
-
((
|
|
24469
|
-
|
|
24671
|
+
((
|
|
24672
|
+
a1,
|
|
24673
|
+
a2,
|
|
24674
|
+
a3
|
|
24675
|
+
) => {}) /* 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. */(
|
|
24676
|
+
key,
|
|
24470
24677
|
Browser.mouseX,
|
|
24471
24678
|
Browser.mouseY
|
|
24472
24679
|
);
|
|
@@ -24530,10 +24737,13 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
24530
24737
|
} catch (e) {}
|
|
24531
24738
|
event.preventDefault();
|
|
24532
24739
|
GLUT.saveModifiers(event);
|
|
24533
|
-
((
|
|
24534
|
-
|
|
24535
|
-
|
|
24536
|
-
|
|
24740
|
+
((
|
|
24741
|
+
a1,
|
|
24742
|
+
a2,
|
|
24743
|
+
a3,
|
|
24744
|
+
a4
|
|
24745
|
+
) => {}) /* 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. */(
|
|
24746
|
+
event['button'],
|
|
24537
24747
|
0 /*GLUT_DOWN*/,
|
|
24538
24748
|
Browser.mouseX,
|
|
24539
24749
|
Browser.mouseY
|
|
@@ -24548,10 +24758,13 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
24548
24758
|
if (GLUT.mouseFunc) {
|
|
24549
24759
|
event.preventDefault();
|
|
24550
24760
|
GLUT.saveModifiers(event);
|
|
24551
|
-
((
|
|
24552
|
-
|
|
24553
|
-
|
|
24554
|
-
|
|
24761
|
+
((
|
|
24762
|
+
a1,
|
|
24763
|
+
a2,
|
|
24764
|
+
a3,
|
|
24765
|
+
a4
|
|
24766
|
+
) => {}) /* 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. */(
|
|
24767
|
+
event['button'],
|
|
24555
24768
|
1 /*GLUT_UP*/,
|
|
24556
24769
|
Browser.mouseX,
|
|
24557
24770
|
Browser.mouseY
|
|
@@ -24580,8 +24793,13 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
24580
24793
|
if (GLUT.mouseFunc) {
|
|
24581
24794
|
event.preventDefault();
|
|
24582
24795
|
GLUT.saveModifiers(event);
|
|
24583
|
-
((
|
|
24584
|
-
|
|
24796
|
+
((
|
|
24797
|
+
a1,
|
|
24798
|
+
a2,
|
|
24799
|
+
a3,
|
|
24800
|
+
a4
|
|
24801
|
+
) => {}) /* 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. */(
|
|
24802
|
+
button,
|
|
24585
24803
|
0 /*GLUT_DOWN*/,
|
|
24586
24804
|
Browser.mouseX,
|
|
24587
24805
|
Browser.mouseY
|
|
@@ -24619,8 +24837,11 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
24619
24837
|
/* Can't call _glutReshapeWindow as that requests cancelling fullscreen. */
|
|
24620
24838
|
if (GLUT.reshapeFunc) {
|
|
24621
24839
|
// out("GLUT.reshapeFunc (from FS): " + width + ", " + height);
|
|
24622
|
-
((
|
|
24623
|
-
|
|
24840
|
+
((
|
|
24841
|
+
a1,
|
|
24842
|
+
a2
|
|
24843
|
+
) => {}) /* 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. */(
|
|
24844
|
+
width,
|
|
24624
24845
|
height
|
|
24625
24846
|
);
|
|
24626
24847
|
}
|
|
@@ -24676,8 +24897,11 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
24676
24897
|
// Resize callback stage 2: updateResizeListeners notifies reshapeFunc
|
|
24677
24898
|
Browser.resizeListeners.push((width, height) => {
|
|
24678
24899
|
if (GLUT.reshapeFunc) {
|
|
24679
|
-
((
|
|
24680
|
-
|
|
24900
|
+
((
|
|
24901
|
+
a1,
|
|
24902
|
+
a2
|
|
24903
|
+
) => {}) /* 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. */(
|
|
24904
|
+
width,
|
|
24681
24905
|
height
|
|
24682
24906
|
);
|
|
24683
24907
|
}
|
|
@@ -24792,8 +25016,10 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
24792
25016
|
var _glutTimerFunc = (msec, func, value) =>
|
|
24793
25017
|
safeSetTimeout(
|
|
24794
25018
|
() =>
|
|
24795
|
-
((
|
|
24796
|
-
|
|
25019
|
+
((
|
|
25020
|
+
a1
|
|
25021
|
+
) => {}) /* 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. */(
|
|
25022
|
+
value
|
|
24797
25023
|
),
|
|
24798
25024
|
msec
|
|
24799
25025
|
);
|
|
@@ -24953,8 +25179,11 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
24953
25179
|
Browser.setCanvasSize(width, height, true); // N.B. GLUT.reshapeFunc is also registered as a canvas resize callback.
|
|
24954
25180
|
// Just call it once here.
|
|
24955
25181
|
if (GLUT.reshapeFunc) {
|
|
24956
|
-
((
|
|
24957
|
-
|
|
25182
|
+
((
|
|
25183
|
+
a1,
|
|
25184
|
+
a2
|
|
25185
|
+
) => {}) /* 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. */(
|
|
25186
|
+
width,
|
|
24958
25187
|
height
|
|
24959
25188
|
);
|
|
24960
25189
|
}
|
|
@@ -26008,15 +26237,21 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
26008
26237
|
callUserCallback(() => {
|
|
26009
26238
|
if (error) {
|
|
26010
26239
|
if (onerror)
|
|
26011
|
-
((
|
|
26012
|
-
|
|
26240
|
+
((
|
|
26241
|
+
a1
|
|
26242
|
+
) => {}) /* 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. */(
|
|
26243
|
+
arg
|
|
26013
26244
|
);
|
|
26014
26245
|
return;
|
|
26015
26246
|
}
|
|
26016
26247
|
var buffer = _malloc(byteArray.length);
|
|
26017
26248
|
HEAPU8.set(byteArray, buffer);
|
|
26018
|
-
((
|
|
26019
|
-
|
|
26249
|
+
((
|
|
26250
|
+
a1,
|
|
26251
|
+
a2,
|
|
26252
|
+
a3
|
|
26253
|
+
) => {}) /* 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. */(
|
|
26254
|
+
arg,
|
|
26020
26255
|
buffer,
|
|
26021
26256
|
byteArray.length
|
|
26022
26257
|
);
|
|
@@ -26048,14 +26283,18 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
26048
26283
|
callUserCallback(() => {
|
|
26049
26284
|
if (error) {
|
|
26050
26285
|
if (onerror)
|
|
26051
|
-
((
|
|
26052
|
-
|
|
26286
|
+
((
|
|
26287
|
+
a1
|
|
26288
|
+
) => {}) /* 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. */(
|
|
26289
|
+
arg
|
|
26053
26290
|
);
|
|
26054
26291
|
return;
|
|
26055
26292
|
}
|
|
26056
26293
|
if (onstore)
|
|
26057
|
-
((
|
|
26058
|
-
|
|
26294
|
+
((
|
|
26295
|
+
a1
|
|
26296
|
+
) => {}) /* 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. */(
|
|
26297
|
+
arg
|
|
26059
26298
|
);
|
|
26060
26299
|
});
|
|
26061
26300
|
}
|
|
@@ -26070,14 +26309,18 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
26070
26309
|
callUserCallback(() => {
|
|
26071
26310
|
if (error) {
|
|
26072
26311
|
if (onerror)
|
|
26073
|
-
((
|
|
26074
|
-
|
|
26312
|
+
((
|
|
26313
|
+
a1
|
|
26314
|
+
) => {}) /* 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. */(
|
|
26315
|
+
arg
|
|
26075
26316
|
);
|
|
26076
26317
|
return;
|
|
26077
26318
|
}
|
|
26078
26319
|
if (ondelete)
|
|
26079
|
-
((
|
|
26080
|
-
|
|
26320
|
+
((
|
|
26321
|
+
a1
|
|
26322
|
+
) => {}) /* 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. */(
|
|
26323
|
+
arg
|
|
26081
26324
|
);
|
|
26082
26325
|
});
|
|
26083
26326
|
});
|
|
@@ -26094,14 +26337,19 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
26094
26337
|
callUserCallback(() => {
|
|
26095
26338
|
if (error) {
|
|
26096
26339
|
if (onerror)
|
|
26097
|
-
((
|
|
26098
|
-
|
|
26340
|
+
((
|
|
26341
|
+
a1
|
|
26342
|
+
) => {}) /* 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. */(
|
|
26343
|
+
arg
|
|
26099
26344
|
);
|
|
26100
26345
|
return;
|
|
26101
26346
|
}
|
|
26102
26347
|
if (oncheck)
|
|
26103
|
-
((
|
|
26104
|
-
|
|
26348
|
+
((
|
|
26349
|
+
a1,
|
|
26350
|
+
a2
|
|
26351
|
+
) => {}) /* 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. */(
|
|
26352
|
+
arg,
|
|
26105
26353
|
exists
|
|
26106
26354
|
);
|
|
26107
26355
|
});
|
|
@@ -26117,14 +26365,18 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
26117
26365
|
callUserCallback(() => {
|
|
26118
26366
|
if (error) {
|
|
26119
26367
|
if (onerror)
|
|
26120
|
-
((
|
|
26121
|
-
|
|
26368
|
+
((
|
|
26369
|
+
a1
|
|
26370
|
+
) => {}) /* 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. */(
|
|
26371
|
+
arg
|
|
26122
26372
|
);
|
|
26123
26373
|
return;
|
|
26124
26374
|
}
|
|
26125
26375
|
if (onclear)
|
|
26126
|
-
((
|
|
26127
|
-
|
|
26376
|
+
((
|
|
26377
|
+
a1
|
|
26378
|
+
) => {}) /* 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. */(
|
|
26379
|
+
arg
|
|
26128
26380
|
);
|
|
26129
26381
|
});
|
|
26130
26382
|
});
|
|
@@ -26281,8 +26533,11 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
26281
26533
|
safeSetTimeout(() => {
|
|
26282
26534
|
var stackBegin = Asyncify.currData + 12;
|
|
26283
26535
|
var stackEnd = HEAPU32[Asyncify.currData >> 2];
|
|
26284
|
-
((
|
|
26285
|
-
|
|
26536
|
+
((
|
|
26537
|
+
a1,
|
|
26538
|
+
a2
|
|
26539
|
+
) => {}) /* 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. */(
|
|
26540
|
+
stackBegin,
|
|
26286
26541
|
stackEnd
|
|
26287
26542
|
);
|
|
26288
26543
|
wakeUp();
|
|
@@ -26331,8 +26586,10 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
26331
26586
|
HEAPU32[(newFiber + 12) >> 2] = 0;
|
|
26332
26587
|
|
|
26333
26588
|
var userData = HEAPU32[(newFiber + 16) >> 2];
|
|
26334
|
-
((
|
|
26335
|
-
|
|
26589
|
+
((
|
|
26590
|
+
a1
|
|
26591
|
+
) => {}) /* 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. */(
|
|
26592
|
+
userData
|
|
26336
26593
|
);
|
|
26337
26594
|
} else {
|
|
26338
26595
|
var asyncifyData = newFiber + 20;
|
|
@@ -27343,8 +27600,11 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
27343
27600
|
if (!SDL.eventHandler) return;
|
|
27344
27601
|
|
|
27345
27602
|
while (SDL.pollEvent(SDL.eventHandlerTemp)) {
|
|
27346
|
-
((
|
|
27347
|
-
|
|
27603
|
+
((
|
|
27604
|
+
a1,
|
|
27605
|
+
a2
|
|
27606
|
+
) => {}) /* 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. */(
|
|
27607
|
+
SDL.eventHandlerContext,
|
|
27348
27608
|
SDL.eventHandlerTemp
|
|
27349
27609
|
);
|
|
27350
27610
|
}
|
|
@@ -28968,9 +29228,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
28968
29228
|
return;
|
|
28969
29229
|
|
|
28970
29230
|
// Ask SDL audio data from the user code.
|
|
28971
|
-
((
|
|
28972
|
-
|
|
28973
|
-
|
|
29231
|
+
((
|
|
29232
|
+
a1,
|
|
29233
|
+
a2,
|
|
29234
|
+
a3
|
|
29235
|
+
) => {}) /* 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. */(
|
|
29236
|
+
SDL.audio.userdata,
|
|
28974
29237
|
SDL.audio.buffer,
|
|
28975
29238
|
SDL.audio.bufferSize
|
|
28976
29239
|
);
|
|
@@ -29428,8 +29691,10 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
29428
29691
|
info.audio = null;
|
|
29429
29692
|
}
|
|
29430
29693
|
if (SDL.channelFinished) {
|
|
29431
|
-
((
|
|
29432
|
-
|
|
29694
|
+
((
|
|
29695
|
+
a1
|
|
29696
|
+
) => {}) /* 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. */(
|
|
29697
|
+
channel
|
|
29433
29698
|
);
|
|
29434
29699
|
}
|
|
29435
29700
|
}
|
|
@@ -29497,8 +29762,10 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
29497
29762
|
channelInfo.audio = null;
|
|
29498
29763
|
}
|
|
29499
29764
|
if (SDL.channelFinished)
|
|
29500
|
-
((
|
|
29501
|
-
|
|
29765
|
+
((
|
|
29766
|
+
a1
|
|
29767
|
+
) => {}) /* 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. */(
|
|
29768
|
+
channel
|
|
29502
29769
|
);
|
|
29503
29770
|
};
|
|
29504
29771
|
if (channelInfo.audio) {
|
|
@@ -30233,8 +30500,11 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
30233
30500
|
var _SDL_AddTimer = (interval, callback, param) =>
|
|
30234
30501
|
safeSetTimeout(
|
|
30235
30502
|
() =>
|
|
30236
|
-
((
|
|
30237
|
-
|
|
30503
|
+
((
|
|
30504
|
+
a1,
|
|
30505
|
+
a2
|
|
30506
|
+
) => {}) /* 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. */(
|
|
30507
|
+
interval,
|
|
30238
30508
|
param
|
|
30239
30509
|
),
|
|
30240
30510
|
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-0",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.3",
|
|
4
4
|
"description": "PHP 8.0 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": {
|