@php-wasm/node-8-1 3.0.36 → 3.0.37
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_33 → 8_1_34}/php_8_1.wasm +0 -0
- package/asyncify/extensions/intl/8_1/intl.so +0 -0
- package/asyncify/extensions/xdebug/8_1/xdebug.so +0 -0
- package/asyncify/php_8_1.js +477 -192
- package/jspi/{8_1_33 → 8_1_34}/php_8_1.wasm +0 -0
- package/jspi/extensions/intl/8_1/intl.so +0 -0
- package/jspi/extensions/xdebug/8_1/xdebug.so +0 -0
- package/jspi/php_8_1.js +10 -8
- package/package.json +3 -3
package/asyncify/php_8_1.js
CHANGED
|
@@ -3,16 +3,18 @@
|
|
|
3
3
|
// this code in Node.js as an ES module.
|
|
4
4
|
import { createRequire } from 'module';
|
|
5
5
|
const require = createRequire(import.meta.url);
|
|
6
|
-
// Note: The path
|
|
7
|
-
import { fileURLToPath } from 'url';
|
|
6
|
+
// Note: The path and url modules are currently needed by code injected by the php-wasm Dockerfile.
|
|
8
7
|
import path from 'path';
|
|
9
|
-
|
|
10
|
-
const __dirname = path.dirname(__filename);
|
|
8
|
+
import { fileURLToPath } from 'url';
|
|
11
9
|
|
|
12
|
-
const
|
|
10
|
+
const currentDirPath =
|
|
11
|
+
typeof __dirname !== 'undefined'
|
|
12
|
+
? __dirname
|
|
13
|
+
: path.dirname(fileURLToPath(import.meta.url));
|
|
14
|
+
const dependencyFilename = path.join(currentDirPath, '8_1_34', 'php_8_1.wasm');
|
|
13
15
|
export { dependencyFilename };
|
|
14
|
-
export const dependenciesTotalSize =
|
|
15
|
-
const phpVersionString = '8.1.
|
|
16
|
+
export const dependenciesTotalSize = 27231603;
|
|
17
|
+
const phpVersionString = '8.1.34';
|
|
16
18
|
export function init(RuntimeName, PHPLoader) {
|
|
17
19
|
// The rest of the code comes from the built php.js file and esm-suffix.js
|
|
18
20
|
// include: shell.js
|
|
@@ -75,7 +77,7 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
75
77
|
// the complexity of lazy-loading.
|
|
76
78
|
var fs = require('fs');
|
|
77
79
|
|
|
78
|
-
scriptDirectory =
|
|
80
|
+
scriptDirectory = currentDirPath + '/';
|
|
79
81
|
|
|
80
82
|
// include: node_shell_read.js
|
|
81
83
|
readBinary = (filename) => {
|
|
@@ -5121,8 +5123,10 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
5121
5123
|
);
|
|
5122
5124
|
|
|
5123
5125
|
var ___call_sighandler = (fp, sig) =>
|
|
5124
|
-
((
|
|
5125
|
-
|
|
5126
|
+
((
|
|
5127
|
+
a1
|
|
5128
|
+
) => {}) /* 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. */(
|
|
5129
|
+
sig
|
|
5126
5130
|
);
|
|
5127
5131
|
___call_sighandler.sig = 'vpi';
|
|
5128
5132
|
|
|
@@ -8988,8 +8992,11 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
8988
8992
|
dlSetError(`'Could not load dynamic lib: ${filename}\n${e}`);
|
|
8989
8993
|
runtimeKeepalivePop();
|
|
8990
8994
|
callUserCallback(() =>
|
|
8991
|
-
((
|
|
8992
|
-
|
|
8995
|
+
((
|
|
8996
|
+
a1,
|
|
8997
|
+
a2
|
|
8998
|
+
) => {}) /* 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. */(
|
|
8999
|
+
handle,
|
|
8993
9000
|
user_data
|
|
8994
9001
|
)
|
|
8995
9002
|
);
|
|
@@ -8997,8 +9004,11 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
8997
9004
|
function successCallback() {
|
|
8998
9005
|
runtimeKeepalivePop();
|
|
8999
9006
|
callUserCallback(() =>
|
|
9000
|
-
((
|
|
9001
|
-
|
|
9007
|
+
((
|
|
9008
|
+
a1,
|
|
9009
|
+
a2
|
|
9010
|
+
) => {}) /* 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. */(
|
|
9011
|
+
handle,
|
|
9002
9012
|
user_data
|
|
9003
9013
|
)
|
|
9004
9014
|
);
|
|
@@ -18688,8 +18698,11 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
18688
18698
|
var trace = getCallstack();
|
|
18689
18699
|
var parts = trace.split('\n');
|
|
18690
18700
|
for (var i = 0; i < parts.length; i++) {
|
|
18691
|
-
var ret = ((
|
|
18692
|
-
|
|
18701
|
+
var ret = ((
|
|
18702
|
+
a1,
|
|
18703
|
+
a2
|
|
18704
|
+
) => {}) /* 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. */(
|
|
18705
|
+
0,
|
|
18693
18706
|
arg
|
|
18694
18707
|
);
|
|
18695
18708
|
if (ret !== 0) return;
|
|
@@ -19233,8 +19246,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
19233
19246
|
stringToUTF8(e.locale || '', keyEventData + 128, 32);
|
|
19234
19247
|
|
|
19235
19248
|
if (
|
|
19236
|
-
((
|
|
19237
|
-
|
|
19249
|
+
((
|
|
19250
|
+
a1,
|
|
19251
|
+
a2,
|
|
19252
|
+
a3
|
|
19253
|
+
) => {}) /* 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. */(
|
|
19254
|
+
eventTypeId,
|
|
19238
19255
|
keyEventData,
|
|
19239
19256
|
userData
|
|
19240
19257
|
)
|
|
@@ -19352,8 +19369,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
19352
19369
|
fillMouseEventData(JSEvents.mouseEvent, e, target);
|
|
19353
19370
|
|
|
19354
19371
|
if (
|
|
19355
|
-
((
|
|
19356
|
-
|
|
19372
|
+
((
|
|
19373
|
+
a1,
|
|
19374
|
+
a2,
|
|
19375
|
+
a3
|
|
19376
|
+
) => {}) /* 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. */(
|
|
19377
|
+
eventTypeId,
|
|
19357
19378
|
JSEvents.mouseEvent,
|
|
19358
19379
|
userData
|
|
19359
19380
|
)
|
|
@@ -19567,8 +19588,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
19567
19588
|
HEAPF64[(wheelEvent + 80) >> 3] = e['deltaZ'];
|
|
19568
19589
|
HEAP32[(wheelEvent + 88) >> 2] = e['deltaMode'];
|
|
19569
19590
|
if (
|
|
19570
|
-
((
|
|
19571
|
-
|
|
19591
|
+
((
|
|
19592
|
+
a1,
|
|
19593
|
+
a2,
|
|
19594
|
+
a3
|
|
19595
|
+
) => {}) /* 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. */(
|
|
19596
|
+
eventTypeId,
|
|
19572
19597
|
wheelEvent,
|
|
19573
19598
|
userData
|
|
19574
19599
|
)
|
|
@@ -19649,8 +19674,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
19649
19674
|
HEAP32[(uiEvent + 28) >> 2] = pageXOffset | 0; // scroll offsets are float
|
|
19650
19675
|
HEAP32[(uiEvent + 32) >> 2] = pageYOffset | 0;
|
|
19651
19676
|
if (
|
|
19652
|
-
((
|
|
19653
|
-
|
|
19677
|
+
((
|
|
19678
|
+
a1,
|
|
19679
|
+
a2,
|
|
19680
|
+
a3
|
|
19681
|
+
) => {}) /* 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. */(
|
|
19682
|
+
eventTypeId,
|
|
19654
19683
|
uiEvent,
|
|
19655
19684
|
userData
|
|
19656
19685
|
)
|
|
@@ -19724,8 +19753,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
19724
19753
|
stringToUTF8(id, focusEvent + 128, 128);
|
|
19725
19754
|
|
|
19726
19755
|
if (
|
|
19727
|
-
((
|
|
19728
|
-
|
|
19756
|
+
((
|
|
19757
|
+
a1,
|
|
19758
|
+
a2,
|
|
19759
|
+
a3
|
|
19760
|
+
) => {}) /* 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. */(
|
|
19761
|
+
eventTypeId,
|
|
19729
19762
|
focusEvent,
|
|
19730
19763
|
userData
|
|
19731
19764
|
)
|
|
@@ -19841,8 +19874,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
19841
19874
|
); // TODO: Thread-safety with respect to emscripten_get_deviceorientation_status()
|
|
19842
19875
|
|
|
19843
19876
|
if (
|
|
19844
|
-
((
|
|
19845
|
-
|
|
19877
|
+
((
|
|
19878
|
+
a1,
|
|
19879
|
+
a2,
|
|
19880
|
+
a3
|
|
19881
|
+
) => {}) /* 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. */(
|
|
19882
|
+
eventTypeId,
|
|
19846
19883
|
JSEvents.deviceOrientationEvent,
|
|
19847
19884
|
userData
|
|
19848
19885
|
)
|
|
@@ -19926,8 +19963,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
19926
19963
|
fillDeviceMotionEventData(JSEvents.deviceMotionEvent, e, target); // TODO: Thread-safety with respect to emscripten_get_devicemotion_status()
|
|
19927
19964
|
|
|
19928
19965
|
if (
|
|
19929
|
-
((
|
|
19930
|
-
|
|
19966
|
+
((
|
|
19967
|
+
a1,
|
|
19968
|
+
a2,
|
|
19969
|
+
a3
|
|
19970
|
+
) => {}) /* 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. */(
|
|
19971
|
+
eventTypeId,
|
|
19931
19972
|
JSEvents.deviceMotionEvent,
|
|
19932
19973
|
userData
|
|
19933
19974
|
)
|
|
@@ -20034,8 +20075,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
20034
20075
|
fillOrientationChangeEventData(orientationChangeEvent);
|
|
20035
20076
|
|
|
20036
20077
|
if (
|
|
20037
|
-
((
|
|
20038
|
-
|
|
20078
|
+
((
|
|
20079
|
+
a1,
|
|
20080
|
+
a2,
|
|
20081
|
+
a3
|
|
20082
|
+
) => {}) /* 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. */(
|
|
20083
|
+
eventTypeId,
|
|
20039
20084
|
orientationChangeEvent,
|
|
20040
20085
|
userData
|
|
20041
20086
|
)
|
|
@@ -20164,8 +20209,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
20164
20209
|
fillFullscreenChangeEventData(fullscreenChangeEvent);
|
|
20165
20210
|
|
|
20166
20211
|
if (
|
|
20167
|
-
((
|
|
20168
|
-
|
|
20212
|
+
((
|
|
20213
|
+
a1,
|
|
20214
|
+
a2,
|
|
20215
|
+
a3
|
|
20216
|
+
) => {}) /* 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. */(
|
|
20217
|
+
eventTypeId,
|
|
20169
20218
|
fullscreenChangeEvent,
|
|
20170
20219
|
userData
|
|
20171
20220
|
)
|
|
@@ -20310,8 +20359,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
20310
20359
|
);
|
|
20311
20360
|
|
|
20312
20361
|
if (currentFullscreenStrategy.canvasResizedCallback) {
|
|
20313
|
-
((
|
|
20314
|
-
|
|
20362
|
+
((
|
|
20363
|
+
a1,
|
|
20364
|
+
a2,
|
|
20365
|
+
a3
|
|
20366
|
+
) => {}) /* 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. */(
|
|
20367
|
+
37,
|
|
20315
20368
|
0,
|
|
20316
20369
|
currentFullscreenStrategy.canvasResizedCallbackUserData
|
|
20317
20370
|
);
|
|
@@ -20412,8 +20465,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
20412
20465
|
currentFullscreenStrategy = strategy;
|
|
20413
20466
|
|
|
20414
20467
|
if (strategy.canvasResizedCallback) {
|
|
20415
|
-
((
|
|
20416
|
-
|
|
20468
|
+
((
|
|
20469
|
+
a1,
|
|
20470
|
+
a2,
|
|
20471
|
+
a3
|
|
20472
|
+
) => {}) /* 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. */(
|
|
20473
|
+
37,
|
|
20417
20474
|
0,
|
|
20418
20475
|
strategy.canvasResizedCallbackUserData
|
|
20419
20476
|
);
|
|
@@ -20513,8 +20570,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
20513
20570
|
!inCenteredWithoutScalingFullscreenMode &&
|
|
20514
20571
|
currentFullscreenStrategy.canvasResizedCallback
|
|
20515
20572
|
) {
|
|
20516
|
-
((
|
|
20517
|
-
|
|
20573
|
+
((
|
|
20574
|
+
a1,
|
|
20575
|
+
a2,
|
|
20576
|
+
a3
|
|
20577
|
+
) => {}) /* 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. */(
|
|
20578
|
+
37,
|
|
20518
20579
|
0,
|
|
20519
20580
|
currentFullscreenStrategy.canvasResizedCallbackUserData
|
|
20520
20581
|
);
|
|
@@ -20613,8 +20674,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
20613
20674
|
softFullscreenResizeWebGLRenderTarget
|
|
20614
20675
|
);
|
|
20615
20676
|
if (strategy.canvasResizedCallback) {
|
|
20616
|
-
((
|
|
20617
|
-
|
|
20677
|
+
((
|
|
20678
|
+
a1,
|
|
20679
|
+
a2,
|
|
20680
|
+
a3
|
|
20681
|
+
) => {}) /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
|
|
20682
|
+
37,
|
|
20618
20683
|
0,
|
|
20619
20684
|
strategy.canvasResizedCallbackUserData
|
|
20620
20685
|
);
|
|
@@ -20627,8 +20692,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
20627
20692
|
|
|
20628
20693
|
// Inform the caller that the canvas size has changed.
|
|
20629
20694
|
if (strategy.canvasResizedCallback) {
|
|
20630
|
-
((
|
|
20631
|
-
|
|
20695
|
+
((
|
|
20696
|
+
a1,
|
|
20697
|
+
a2,
|
|
20698
|
+
a3
|
|
20699
|
+
) => {}) /* 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. */(
|
|
20700
|
+
37,
|
|
20632
20701
|
0,
|
|
20633
20702
|
strategy.canvasResizedCallbackUserData
|
|
20634
20703
|
);
|
|
@@ -20690,8 +20759,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
20690
20759
|
fillPointerlockChangeEventData(pointerlockChangeEvent);
|
|
20691
20760
|
|
|
20692
20761
|
if (
|
|
20693
|
-
((
|
|
20694
|
-
|
|
20762
|
+
((
|
|
20763
|
+
a1,
|
|
20764
|
+
a2,
|
|
20765
|
+
a3
|
|
20766
|
+
) => {}) /* 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. */(
|
|
20767
|
+
eventTypeId,
|
|
20695
20768
|
pointerlockChangeEvent,
|
|
20696
20769
|
userData
|
|
20697
20770
|
)
|
|
@@ -20745,8 +20818,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
20745
20818
|
) => {
|
|
20746
20819
|
var pointerlockErrorEventHandlerFunc = (e = event) => {
|
|
20747
20820
|
if (
|
|
20748
|
-
((
|
|
20749
|
-
|
|
20821
|
+
((
|
|
20822
|
+
a1,
|
|
20823
|
+
a2,
|
|
20824
|
+
a3
|
|
20825
|
+
) => {}) /* 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. */(
|
|
20826
|
+
eventTypeId,
|
|
20750
20827
|
0,
|
|
20751
20828
|
userData
|
|
20752
20829
|
)
|
|
@@ -20900,8 +20977,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
20900
20977
|
fillVisibilityChangeEventData(visibilityChangeEvent);
|
|
20901
20978
|
|
|
20902
20979
|
if (
|
|
20903
|
-
((
|
|
20904
|
-
|
|
20980
|
+
((
|
|
20981
|
+
a1,
|
|
20982
|
+
a2,
|
|
20983
|
+
a3
|
|
20984
|
+
) => {}) /* 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. */(
|
|
20985
|
+
eventTypeId,
|
|
20905
20986
|
visibilityChangeEvent,
|
|
20906
20987
|
userData
|
|
20907
20988
|
)
|
|
@@ -21021,8 +21102,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
21021
21102
|
HEAP32[(touchEvent + 8) >> 2] = numTouches;
|
|
21022
21103
|
|
|
21023
21104
|
if (
|
|
21024
|
-
((
|
|
21025
|
-
|
|
21105
|
+
((
|
|
21106
|
+
a1,
|
|
21107
|
+
a2,
|
|
21108
|
+
a3
|
|
21109
|
+
) => {}) /* 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. */(
|
|
21110
|
+
eventTypeId,
|
|
21026
21111
|
touchEvent,
|
|
21027
21112
|
userData
|
|
21028
21113
|
)
|
|
@@ -21160,8 +21245,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
21160
21245
|
fillGamepadEventData(gamepadEvent, e['gamepad']);
|
|
21161
21246
|
|
|
21162
21247
|
if (
|
|
21163
|
-
((
|
|
21164
|
-
|
|
21248
|
+
((
|
|
21249
|
+
a1,
|
|
21250
|
+
a2,
|
|
21251
|
+
a3
|
|
21252
|
+
) => {}) /* 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. */(
|
|
21253
|
+
eventTypeId,
|
|
21165
21254
|
gamepadEvent,
|
|
21166
21255
|
userData
|
|
21167
21256
|
)
|
|
@@ -21263,8 +21352,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
21263
21352
|
) => {
|
|
21264
21353
|
var beforeUnloadEventHandlerFunc = (e = event) => {
|
|
21265
21354
|
// Note: This is always called on the main browser thread, since it needs synchronously return a value!
|
|
21266
|
-
var confirmationMessage = ((
|
|
21267
|
-
|
|
21355
|
+
var confirmationMessage = ((
|
|
21356
|
+
a1,
|
|
21357
|
+
a2,
|
|
21358
|
+
a3
|
|
21359
|
+
) => {}) /* 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. */(
|
|
21360
|
+
eventTypeId,
|
|
21268
21361
|
0,
|
|
21269
21362
|
userData
|
|
21270
21363
|
);
|
|
@@ -21335,8 +21428,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
21335
21428
|
fillBatteryEventData(batteryEvent, battery);
|
|
21336
21429
|
|
|
21337
21430
|
if (
|
|
21338
|
-
((
|
|
21339
|
-
|
|
21431
|
+
((
|
|
21432
|
+
a1,
|
|
21433
|
+
a2,
|
|
21434
|
+
a3
|
|
21435
|
+
) => {}) /* 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. */(
|
|
21436
|
+
eventTypeId,
|
|
21340
21437
|
batteryEvent,
|
|
21341
21438
|
userData
|
|
21342
21439
|
)
|
|
@@ -21438,8 +21535,11 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
21438
21535
|
|
|
21439
21536
|
var _emscripten_request_animation_frame = (cb, userData) =>
|
|
21440
21537
|
requestAnimationFrame((timeStamp) =>
|
|
21441
|
-
((
|
|
21442
|
-
|
|
21538
|
+
((
|
|
21539
|
+
a1,
|
|
21540
|
+
a2
|
|
21541
|
+
) => {}) /* 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. */(
|
|
21542
|
+
timeStamp,
|
|
21443
21543
|
userData
|
|
21444
21544
|
)
|
|
21445
21545
|
);
|
|
@@ -21451,8 +21551,11 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
21451
21551
|
var _emscripten_request_animation_frame_loop = (cb, userData) => {
|
|
21452
21552
|
function tick(timeStamp) {
|
|
21453
21553
|
if (
|
|
21454
|
-
((
|
|
21455
|
-
|
|
21554
|
+
((
|
|
21555
|
+
a1,
|
|
21556
|
+
a2
|
|
21557
|
+
) => {}) /* 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. */(
|
|
21558
|
+
timeStamp,
|
|
21456
21559
|
userData
|
|
21457
21560
|
)
|
|
21458
21561
|
) {
|
|
@@ -21709,8 +21812,10 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
21709
21812
|
return emSetImmediate(() => {
|
|
21710
21813
|
runtimeKeepalivePop();
|
|
21711
21814
|
callUserCallback(() =>
|
|
21712
|
-
((
|
|
21713
|
-
|
|
21815
|
+
((
|
|
21816
|
+
a1
|
|
21817
|
+
) => {}) /* 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. */(
|
|
21818
|
+
userData
|
|
21714
21819
|
)
|
|
21715
21820
|
);
|
|
21716
21821
|
});
|
|
@@ -21727,8 +21832,10 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
21727
21832
|
function tick() {
|
|
21728
21833
|
callUserCallback(() => {
|
|
21729
21834
|
if (
|
|
21730
|
-
((
|
|
21731
|
-
|
|
21835
|
+
((
|
|
21836
|
+
a1
|
|
21837
|
+
) => {}) /* 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. */(
|
|
21838
|
+
userData
|
|
21732
21839
|
)
|
|
21733
21840
|
) {
|
|
21734
21841
|
emSetImmediate(tick);
|
|
@@ -21745,8 +21852,10 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
21745
21852
|
var _emscripten_set_timeout = (cb, msecs, userData) =>
|
|
21746
21853
|
safeSetTimeout(
|
|
21747
21854
|
() =>
|
|
21748
|
-
((
|
|
21749
|
-
|
|
21855
|
+
((
|
|
21856
|
+
a1
|
|
21857
|
+
) => {}) /* 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. */(
|
|
21858
|
+
userData
|
|
21750
21859
|
),
|
|
21751
21860
|
msecs
|
|
21752
21861
|
);
|
|
@@ -21762,8 +21871,11 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
21762
21871
|
runtimeKeepalivePop();
|
|
21763
21872
|
callUserCallback(() => {
|
|
21764
21873
|
if (
|
|
21765
|
-
((
|
|
21766
|
-
|
|
21874
|
+
((
|
|
21875
|
+
a1,
|
|
21876
|
+
a2
|
|
21877
|
+
) => {}) /* 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. */(
|
|
21878
|
+
t,
|
|
21767
21879
|
userData
|
|
21768
21880
|
)
|
|
21769
21881
|
) {
|
|
@@ -21787,8 +21899,10 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
21787
21899
|
runtimeKeepalivePush();
|
|
21788
21900
|
return setInterval(() => {
|
|
21789
21901
|
callUserCallback(() =>
|
|
21790
|
-
((
|
|
21791
|
-
|
|
21902
|
+
((
|
|
21903
|
+
a1
|
|
21904
|
+
) => {}) /* 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. */(
|
|
21905
|
+
userData
|
|
21792
21906
|
)
|
|
21793
21907
|
);
|
|
21794
21908
|
}, msecs);
|
|
@@ -21803,8 +21917,10 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
21803
21917
|
|
|
21804
21918
|
var _emscripten_async_call = (func, arg, millis) => {
|
|
21805
21919
|
var wrapper = () =>
|
|
21806
|
-
((
|
|
21807
|
-
|
|
21920
|
+
((
|
|
21921
|
+
a1
|
|
21922
|
+
) => {}) /* 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. */(
|
|
21923
|
+
arg
|
|
21808
21924
|
);
|
|
21809
21925
|
|
|
21810
21926
|
if (
|
|
@@ -21837,7 +21953,7 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
21837
21953
|
|
|
21838
21954
|
var _emscripten_set_main_loop = (func, fps, simulateInfiniteLoop) => {
|
|
21839
21955
|
var iterFunc =
|
|
21840
|
-
() => {}
|
|
21956
|
+
() => {} /* 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. */;
|
|
21841
21957
|
setMainLoop(iterFunc, fps, simulateInfiniteLoop);
|
|
21842
21958
|
};
|
|
21843
21959
|
_emscripten_set_main_loop.sig = 'vpii';
|
|
@@ -21849,8 +21965,10 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
21849
21965
|
simulateInfiniteLoop
|
|
21850
21966
|
) => {
|
|
21851
21967
|
var iterFunc = () =>
|
|
21852
|
-
((
|
|
21853
|
-
|
|
21968
|
+
((
|
|
21969
|
+
a1
|
|
21970
|
+
) => {}) /* 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. */(
|
|
21971
|
+
arg
|
|
21854
21972
|
);
|
|
21855
21973
|
setMainLoop(iterFunc, fps, simulateInfiniteLoop, arg);
|
|
21856
21974
|
};
|
|
@@ -21871,8 +21989,10 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
21871
21989
|
var __emscripten_push_main_loop_blocker = (func, arg, name) => {
|
|
21872
21990
|
MainLoop.queue.push({
|
|
21873
21991
|
func: () => {
|
|
21874
|
-
((
|
|
21875
|
-
|
|
21992
|
+
((
|
|
21993
|
+
a1
|
|
21994
|
+
) => {}) /* 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. */(
|
|
21995
|
+
arg
|
|
21876
21996
|
);
|
|
21877
21997
|
},
|
|
21878
21998
|
name: UTF8ToString(name),
|
|
@@ -21885,8 +22005,10 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
21885
22005
|
var __emscripten_push_uncounted_main_loop_blocker = (func, arg, name) => {
|
|
21886
22006
|
MainLoop.queue.push({
|
|
21887
22007
|
func: () => {
|
|
21888
|
-
((
|
|
21889
|
-
|
|
22008
|
+
((
|
|
22009
|
+
a1
|
|
22010
|
+
) => {}) /* 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. */(
|
|
22011
|
+
arg
|
|
21890
22012
|
);
|
|
21891
22013
|
},
|
|
21892
22014
|
name: UTF8ToString(name),
|
|
@@ -21920,8 +22042,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
21920
22042
|
var resultPtr = stackAlloc(POINTER_SIZE);
|
|
21921
22043
|
HEAPU32[resultPtr >> 2] = 0;
|
|
21922
22044
|
try {
|
|
21923
|
-
var result = ((
|
|
21924
|
-
|
|
22045
|
+
var result = ((
|
|
22046
|
+
a1,
|
|
22047
|
+
a2,
|
|
22048
|
+
a3
|
|
22049
|
+
) => {}) /* 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. */(
|
|
22050
|
+
resultPtr,
|
|
21925
22051
|
userData,
|
|
21926
22052
|
value
|
|
21927
22053
|
);
|
|
@@ -22758,15 +22884,19 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
22758
22884
|
() => {
|
|
22759
22885
|
runtimeKeepalivePop();
|
|
22760
22886
|
if (onload)
|
|
22761
|
-
((
|
|
22762
|
-
|
|
22887
|
+
((
|
|
22888
|
+
a1
|
|
22889
|
+
) => {}) /* 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. */(
|
|
22890
|
+
file
|
|
22763
22891
|
);
|
|
22764
22892
|
},
|
|
22765
22893
|
() => {
|
|
22766
22894
|
runtimeKeepalivePop();
|
|
22767
22895
|
if (onerror)
|
|
22768
|
-
((
|
|
22769
|
-
|
|
22896
|
+
((
|
|
22897
|
+
a1
|
|
22898
|
+
) => {}) /* 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. */(
|
|
22899
|
+
file
|
|
22770
22900
|
);
|
|
22771
22901
|
},
|
|
22772
22902
|
true // don'tCreateFile - it's already there
|
|
@@ -22800,16 +22930,21 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
22800
22930
|
() => {
|
|
22801
22931
|
runtimeKeepalivePop();
|
|
22802
22932
|
if (onload)
|
|
22803
|
-
((
|
|
22804
|
-
|
|
22933
|
+
((
|
|
22934
|
+
a1,
|
|
22935
|
+
a2
|
|
22936
|
+
) => {}) /* 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. */(
|
|
22937
|
+
arg,
|
|
22805
22938
|
cname
|
|
22806
22939
|
);
|
|
22807
22940
|
},
|
|
22808
22941
|
() => {
|
|
22809
22942
|
runtimeKeepalivePop();
|
|
22810
22943
|
if (onerror)
|
|
22811
|
-
((
|
|
22812
|
-
|
|
22944
|
+
((
|
|
22945
|
+
a1
|
|
22946
|
+
) => {}) /* 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. */(
|
|
22947
|
+
arg
|
|
22813
22948
|
);
|
|
22814
22949
|
},
|
|
22815
22950
|
true // don'tCreateFile - it's already there
|
|
@@ -23077,10 +23212,10 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
23077
23212
|
runtimeKeepalivePop();
|
|
23078
23213
|
callUserCallback(() =>
|
|
23079
23214
|
withStackSave(() =>
|
|
23080
|
-
((
|
|
23081
|
-
|
|
23082
|
-
|
|
23083
|
-
)
|
|
23215
|
+
((
|
|
23216
|
+
a1
|
|
23217
|
+
) => {}) /* 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. */(
|
|
23218
|
+
stringToUTF8OnStack(_file)
|
|
23084
23219
|
)
|
|
23085
23220
|
)
|
|
23086
23221
|
);
|
|
@@ -23124,8 +23259,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
23124
23259
|
callUserCallback(() => {
|
|
23125
23260
|
var buffer = _malloc(byteArray.length);
|
|
23126
23261
|
HEAPU8.set(byteArray, buffer);
|
|
23127
|
-
((
|
|
23128
|
-
|
|
23262
|
+
((
|
|
23263
|
+
a1,
|
|
23264
|
+
a2,
|
|
23265
|
+
a3
|
|
23266
|
+
) => {}) /* 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. */(
|
|
23267
|
+
userdata,
|
|
23129
23268
|
buffer,
|
|
23130
23269
|
byteArray.length
|
|
23131
23270
|
);
|
|
@@ -23135,8 +23274,10 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
23135
23274
|
if (onerror) {
|
|
23136
23275
|
runtimeKeepalivePop();
|
|
23137
23276
|
callUserCallback(() => {
|
|
23138
|
-
((
|
|
23139
|
-
|
|
23277
|
+
((
|
|
23278
|
+
a1
|
|
23279
|
+
) => {}) /* 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. */(
|
|
23280
|
+
userdata
|
|
23140
23281
|
);
|
|
23141
23282
|
});
|
|
23142
23283
|
}
|
|
@@ -23192,8 +23333,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
23192
23333
|
);
|
|
23193
23334
|
if (onload) {
|
|
23194
23335
|
var sp = stackSave();
|
|
23195
|
-
((
|
|
23196
|
-
|
|
23336
|
+
((
|
|
23337
|
+
a1,
|
|
23338
|
+
a2,
|
|
23339
|
+
a3
|
|
23340
|
+
) => {}) /* 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. */(
|
|
23341
|
+
handle,
|
|
23197
23342
|
userdata,
|
|
23198
23343
|
stringToUTF8OnStack(_file)
|
|
23199
23344
|
);
|
|
@@ -23201,8 +23346,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
23201
23346
|
}
|
|
23202
23347
|
} else {
|
|
23203
23348
|
if (onerror)
|
|
23204
|
-
((
|
|
23205
|
-
|
|
23349
|
+
((
|
|
23350
|
+
a1,
|
|
23351
|
+
a2,
|
|
23352
|
+
a3
|
|
23353
|
+
) => {}) /* 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. */(
|
|
23354
|
+
handle,
|
|
23206
23355
|
userdata,
|
|
23207
23356
|
http.status
|
|
23208
23357
|
);
|
|
@@ -23215,8 +23364,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
23215
23364
|
http.onerror = (e) => {
|
|
23216
23365
|
runtimeKeepalivePop();
|
|
23217
23366
|
if (onerror)
|
|
23218
|
-
((
|
|
23219
|
-
|
|
23367
|
+
((
|
|
23368
|
+
a1,
|
|
23369
|
+
a2,
|
|
23370
|
+
a3
|
|
23371
|
+
) => {}) /* 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. */(
|
|
23372
|
+
handle,
|
|
23220
23373
|
userdata,
|
|
23221
23374
|
http.status
|
|
23222
23375
|
);
|
|
@@ -23231,8 +23384,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
23231
23384
|
) {
|
|
23232
23385
|
var percentComplete = (e.loaded / e.total) * 100;
|
|
23233
23386
|
if (onprogress)
|
|
23234
|
-
((
|
|
23235
|
-
|
|
23387
|
+
((
|
|
23388
|
+
a1,
|
|
23389
|
+
a2,
|
|
23390
|
+
a3
|
|
23391
|
+
) => {}) /* 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. */(
|
|
23392
|
+
handle,
|
|
23236
23393
|
userdata,
|
|
23237
23394
|
percentComplete
|
|
23238
23395
|
);
|
|
@@ -23289,8 +23446,13 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
23289
23446
|
if (http.statusText) {
|
|
23290
23447
|
statusText = stringToUTF8OnStack(http.statusText);
|
|
23291
23448
|
}
|
|
23292
|
-
((
|
|
23293
|
-
|
|
23449
|
+
((
|
|
23450
|
+
a1,
|
|
23451
|
+
a2,
|
|
23452
|
+
a3,
|
|
23453
|
+
a4
|
|
23454
|
+
) => {}) /* 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. */(
|
|
23455
|
+
handle,
|
|
23294
23456
|
userdata,
|
|
23295
23457
|
http.status,
|
|
23296
23458
|
statusText
|
|
@@ -23311,8 +23473,13 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
23311
23473
|
var buffer = _malloc(byteArray.length);
|
|
23312
23474
|
HEAPU8.set(byteArray, buffer);
|
|
23313
23475
|
if (onload)
|
|
23314
|
-
((
|
|
23315
|
-
|
|
23476
|
+
((
|
|
23477
|
+
a1,
|
|
23478
|
+
a2,
|
|
23479
|
+
a3,
|
|
23480
|
+
a4
|
|
23481
|
+
) => {}) /* 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. */(
|
|
23482
|
+
handle,
|
|
23316
23483
|
userdata,
|
|
23317
23484
|
buffer,
|
|
23318
23485
|
byteArray.length
|
|
@@ -23333,8 +23500,13 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
23333
23500
|
// PROGRESS
|
|
23334
23501
|
http.onprogress = (e) => {
|
|
23335
23502
|
if (onprogress)
|
|
23336
|
-
((
|
|
23337
|
-
|
|
23503
|
+
((
|
|
23504
|
+
a1,
|
|
23505
|
+
a2,
|
|
23506
|
+
a3,
|
|
23507
|
+
a4
|
|
23508
|
+
) => {}) /* 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. */(
|
|
23509
|
+
handle,
|
|
23338
23510
|
userdata,
|
|
23339
23511
|
e.loaded,
|
|
23340
23512
|
e.lengthComputable || e.lengthComputable === undefined
|
|
@@ -23665,16 +23837,24 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
23665
23837
|
if (event === 'error') {
|
|
23666
23838
|
withStackSave(() => {
|
|
23667
23839
|
var msg = stringToUTF8OnStack(data[2]);
|
|
23668
|
-
((
|
|
23669
|
-
|
|
23840
|
+
((
|
|
23841
|
+
a1,
|
|
23842
|
+
a2,
|
|
23843
|
+
a3,
|
|
23844
|
+
a4
|
|
23845
|
+
) => {}) /* 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. */(
|
|
23846
|
+
data[0],
|
|
23670
23847
|
data[1],
|
|
23671
23848
|
msg,
|
|
23672
23849
|
userData
|
|
23673
23850
|
);
|
|
23674
23851
|
});
|
|
23675
23852
|
} else {
|
|
23676
|
-
((
|
|
23677
|
-
|
|
23853
|
+
((
|
|
23854
|
+
a1,
|
|
23855
|
+
a2
|
|
23856
|
+
) => {}) /* 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. */(
|
|
23857
|
+
data,
|
|
23678
23858
|
userData
|
|
23679
23859
|
);
|
|
23680
23860
|
}
|
|
@@ -24627,8 +24807,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
24627
24807
|
) => {
|
|
24628
24808
|
var webGlEventHandlerFunc = (e = event) => {
|
|
24629
24809
|
if (
|
|
24630
|
-
((
|
|
24631
|
-
|
|
24810
|
+
((
|
|
24811
|
+
a1,
|
|
24812
|
+
a2,
|
|
24813
|
+
a3
|
|
24814
|
+
) => {}) /* 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. */(
|
|
24815
|
+
eventTypeId,
|
|
24632
24816
|
0,
|
|
24633
24817
|
userData
|
|
24634
24818
|
)
|
|
@@ -24847,15 +25031,21 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
24847
25031
|
) {
|
|
24848
25032
|
event.preventDefault();
|
|
24849
25033
|
GLUT.saveModifiers(event);
|
|
24850
|
-
((
|
|
24851
|
-
|
|
25034
|
+
((
|
|
25035
|
+
a1,
|
|
25036
|
+
a2
|
|
25037
|
+
) => {}) /* 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. */(
|
|
25038
|
+
lastX,
|
|
24852
25039
|
lastY
|
|
24853
25040
|
);
|
|
24854
25041
|
} else if (GLUT.buttons != 0 && GLUT.motionFunc) {
|
|
24855
25042
|
event.preventDefault();
|
|
24856
25043
|
GLUT.saveModifiers(event);
|
|
24857
|
-
((
|
|
24858
|
-
|
|
25044
|
+
((
|
|
25045
|
+
a1,
|
|
25046
|
+
a2
|
|
25047
|
+
) => {}) /* 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. */(
|
|
25048
|
+
lastX,
|
|
24859
25049
|
lastY
|
|
24860
25050
|
);
|
|
24861
25051
|
}
|
|
@@ -25016,8 +25206,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
25016
25206
|
if (GLUT.specialFunc) {
|
|
25017
25207
|
event.preventDefault();
|
|
25018
25208
|
GLUT.saveModifiers(event);
|
|
25019
|
-
((
|
|
25020
|
-
|
|
25209
|
+
((
|
|
25210
|
+
a1,
|
|
25211
|
+
a2,
|
|
25212
|
+
a3
|
|
25213
|
+
) => {}) /* 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. */(
|
|
25214
|
+
key,
|
|
25021
25215
|
Browser.mouseX,
|
|
25022
25216
|
Browser.mouseY
|
|
25023
25217
|
);
|
|
@@ -25027,8 +25221,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
25027
25221
|
if (key !== null && GLUT.keyboardFunc) {
|
|
25028
25222
|
event.preventDefault();
|
|
25029
25223
|
GLUT.saveModifiers(event);
|
|
25030
|
-
((
|
|
25031
|
-
|
|
25224
|
+
((
|
|
25225
|
+
a1,
|
|
25226
|
+
a2,
|
|
25227
|
+
a3
|
|
25228
|
+
) => {}) /* 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. */(
|
|
25229
|
+
key,
|
|
25032
25230
|
Browser.mouseX,
|
|
25033
25231
|
Browser.mouseY
|
|
25034
25232
|
);
|
|
@@ -25043,8 +25241,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
25043
25241
|
if (GLUT.specialUpFunc) {
|
|
25044
25242
|
event.preventDefault();
|
|
25045
25243
|
GLUT.saveModifiers(event);
|
|
25046
|
-
((
|
|
25047
|
-
|
|
25244
|
+
((
|
|
25245
|
+
a1,
|
|
25246
|
+
a2,
|
|
25247
|
+
a3
|
|
25248
|
+
) => {}) /* 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. */(
|
|
25249
|
+
key,
|
|
25048
25250
|
Browser.mouseX,
|
|
25049
25251
|
Browser.mouseY
|
|
25050
25252
|
);
|
|
@@ -25054,8 +25256,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
25054
25256
|
if (key !== null && GLUT.keyboardUpFunc) {
|
|
25055
25257
|
event.preventDefault();
|
|
25056
25258
|
GLUT.saveModifiers(event);
|
|
25057
|
-
((
|
|
25058
|
-
|
|
25259
|
+
((
|
|
25260
|
+
a1,
|
|
25261
|
+
a2,
|
|
25262
|
+
a3
|
|
25263
|
+
) => {}) /* 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. */(
|
|
25264
|
+
key,
|
|
25059
25265
|
Browser.mouseX,
|
|
25060
25266
|
Browser.mouseY
|
|
25061
25267
|
);
|
|
@@ -25119,10 +25325,13 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
25119
25325
|
} catch (e) {}
|
|
25120
25326
|
event.preventDefault();
|
|
25121
25327
|
GLUT.saveModifiers(event);
|
|
25122
|
-
((
|
|
25123
|
-
|
|
25124
|
-
|
|
25125
|
-
|
|
25328
|
+
((
|
|
25329
|
+
a1,
|
|
25330
|
+
a2,
|
|
25331
|
+
a3,
|
|
25332
|
+
a4
|
|
25333
|
+
) => {}) /* 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. */(
|
|
25334
|
+
event['button'],
|
|
25126
25335
|
0 /*GLUT_DOWN*/,
|
|
25127
25336
|
Browser.mouseX,
|
|
25128
25337
|
Browser.mouseY
|
|
@@ -25137,10 +25346,13 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
25137
25346
|
if (GLUT.mouseFunc) {
|
|
25138
25347
|
event.preventDefault();
|
|
25139
25348
|
GLUT.saveModifiers(event);
|
|
25140
|
-
((
|
|
25141
|
-
|
|
25142
|
-
|
|
25143
|
-
|
|
25349
|
+
((
|
|
25350
|
+
a1,
|
|
25351
|
+
a2,
|
|
25352
|
+
a3,
|
|
25353
|
+
a4
|
|
25354
|
+
) => {}) /* 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. */(
|
|
25355
|
+
event['button'],
|
|
25144
25356
|
1 /*GLUT_UP*/,
|
|
25145
25357
|
Browser.mouseX,
|
|
25146
25358
|
Browser.mouseY
|
|
@@ -25169,8 +25381,13 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
25169
25381
|
if (GLUT.mouseFunc) {
|
|
25170
25382
|
event.preventDefault();
|
|
25171
25383
|
GLUT.saveModifiers(event);
|
|
25172
|
-
((
|
|
25173
|
-
|
|
25384
|
+
((
|
|
25385
|
+
a1,
|
|
25386
|
+
a2,
|
|
25387
|
+
a3,
|
|
25388
|
+
a4
|
|
25389
|
+
) => {}) /* 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. */(
|
|
25390
|
+
button,
|
|
25174
25391
|
0 /*GLUT_DOWN*/,
|
|
25175
25392
|
Browser.mouseX,
|
|
25176
25393
|
Browser.mouseY
|
|
@@ -25208,8 +25425,11 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
25208
25425
|
/* Can't call _glutReshapeWindow as that requests cancelling fullscreen. */
|
|
25209
25426
|
if (GLUT.reshapeFunc) {
|
|
25210
25427
|
// out("GLUT.reshapeFunc (from FS): " + width + ", " + height);
|
|
25211
|
-
((
|
|
25212
|
-
|
|
25428
|
+
((
|
|
25429
|
+
a1,
|
|
25430
|
+
a2
|
|
25431
|
+
) => {}) /* 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. */(
|
|
25432
|
+
width,
|
|
25213
25433
|
height
|
|
25214
25434
|
);
|
|
25215
25435
|
}
|
|
@@ -25265,8 +25485,11 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
25265
25485
|
// Resize callback stage 2: updateResizeListeners notifies reshapeFunc
|
|
25266
25486
|
Browser.resizeListeners.push((width, height) => {
|
|
25267
25487
|
if (GLUT.reshapeFunc) {
|
|
25268
|
-
((
|
|
25269
|
-
|
|
25488
|
+
((
|
|
25489
|
+
a1,
|
|
25490
|
+
a2
|
|
25491
|
+
) => {}) /* 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. */(
|
|
25492
|
+
width,
|
|
25270
25493
|
height
|
|
25271
25494
|
);
|
|
25272
25495
|
}
|
|
@@ -25381,8 +25604,10 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
25381
25604
|
var _glutTimerFunc = (msec, func, value) =>
|
|
25382
25605
|
safeSetTimeout(
|
|
25383
25606
|
() =>
|
|
25384
|
-
((
|
|
25385
|
-
|
|
25607
|
+
((
|
|
25608
|
+
a1
|
|
25609
|
+
) => {}) /* 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. */(
|
|
25610
|
+
value
|
|
25386
25611
|
),
|
|
25387
25612
|
msec
|
|
25388
25613
|
);
|
|
@@ -25542,8 +25767,11 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
25542
25767
|
Browser.setCanvasSize(width, height, true); // N.B. GLUT.reshapeFunc is also registered as a canvas resize callback.
|
|
25543
25768
|
// Just call it once here.
|
|
25544
25769
|
if (GLUT.reshapeFunc) {
|
|
25545
|
-
((
|
|
25546
|
-
|
|
25770
|
+
((
|
|
25771
|
+
a1,
|
|
25772
|
+
a2
|
|
25773
|
+
) => {}) /* 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. */(
|
|
25774
|
+
width,
|
|
25547
25775
|
height
|
|
25548
25776
|
);
|
|
25549
25777
|
}
|
|
@@ -26597,15 +26825,21 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
26597
26825
|
callUserCallback(() => {
|
|
26598
26826
|
if (error) {
|
|
26599
26827
|
if (onerror)
|
|
26600
|
-
((
|
|
26601
|
-
|
|
26828
|
+
((
|
|
26829
|
+
a1
|
|
26830
|
+
) => {}) /* 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. */(
|
|
26831
|
+
arg
|
|
26602
26832
|
);
|
|
26603
26833
|
return;
|
|
26604
26834
|
}
|
|
26605
26835
|
var buffer = _malloc(byteArray.length);
|
|
26606
26836
|
HEAPU8.set(byteArray, buffer);
|
|
26607
|
-
((
|
|
26608
|
-
|
|
26837
|
+
((
|
|
26838
|
+
a1,
|
|
26839
|
+
a2,
|
|
26840
|
+
a3
|
|
26841
|
+
) => {}) /* 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. */(
|
|
26842
|
+
arg,
|
|
26609
26843
|
buffer,
|
|
26610
26844
|
byteArray.length
|
|
26611
26845
|
);
|
|
@@ -26637,14 +26871,18 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
26637
26871
|
callUserCallback(() => {
|
|
26638
26872
|
if (error) {
|
|
26639
26873
|
if (onerror)
|
|
26640
|
-
((
|
|
26641
|
-
|
|
26874
|
+
((
|
|
26875
|
+
a1
|
|
26876
|
+
) => {}) /* 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. */(
|
|
26877
|
+
arg
|
|
26642
26878
|
);
|
|
26643
26879
|
return;
|
|
26644
26880
|
}
|
|
26645
26881
|
if (onstore)
|
|
26646
|
-
((
|
|
26647
|
-
|
|
26882
|
+
((
|
|
26883
|
+
a1
|
|
26884
|
+
) => {}) /* 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. */(
|
|
26885
|
+
arg
|
|
26648
26886
|
);
|
|
26649
26887
|
});
|
|
26650
26888
|
}
|
|
@@ -26659,14 +26897,18 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
26659
26897
|
callUserCallback(() => {
|
|
26660
26898
|
if (error) {
|
|
26661
26899
|
if (onerror)
|
|
26662
|
-
((
|
|
26663
|
-
|
|
26900
|
+
((
|
|
26901
|
+
a1
|
|
26902
|
+
) => {}) /* 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. */(
|
|
26903
|
+
arg
|
|
26664
26904
|
);
|
|
26665
26905
|
return;
|
|
26666
26906
|
}
|
|
26667
26907
|
if (ondelete)
|
|
26668
|
-
((
|
|
26669
|
-
|
|
26908
|
+
((
|
|
26909
|
+
a1
|
|
26910
|
+
) => {}) /* 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. */(
|
|
26911
|
+
arg
|
|
26670
26912
|
);
|
|
26671
26913
|
});
|
|
26672
26914
|
});
|
|
@@ -26683,14 +26925,19 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
26683
26925
|
callUserCallback(() => {
|
|
26684
26926
|
if (error) {
|
|
26685
26927
|
if (onerror)
|
|
26686
|
-
((
|
|
26687
|
-
|
|
26928
|
+
((
|
|
26929
|
+
a1
|
|
26930
|
+
) => {}) /* 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. */(
|
|
26931
|
+
arg
|
|
26688
26932
|
);
|
|
26689
26933
|
return;
|
|
26690
26934
|
}
|
|
26691
26935
|
if (oncheck)
|
|
26692
|
-
((
|
|
26693
|
-
|
|
26936
|
+
((
|
|
26937
|
+
a1,
|
|
26938
|
+
a2
|
|
26939
|
+
) => {}) /* 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. */(
|
|
26940
|
+
arg,
|
|
26694
26941
|
exists
|
|
26695
26942
|
);
|
|
26696
26943
|
});
|
|
@@ -26706,14 +26953,18 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
26706
26953
|
callUserCallback(() => {
|
|
26707
26954
|
if (error) {
|
|
26708
26955
|
if (onerror)
|
|
26709
|
-
((
|
|
26710
|
-
|
|
26956
|
+
((
|
|
26957
|
+
a1
|
|
26958
|
+
) => {}) /* 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. */(
|
|
26959
|
+
arg
|
|
26711
26960
|
);
|
|
26712
26961
|
return;
|
|
26713
26962
|
}
|
|
26714
26963
|
if (onclear)
|
|
26715
|
-
((
|
|
26716
|
-
|
|
26964
|
+
((
|
|
26965
|
+
a1
|
|
26966
|
+
) => {}) /* 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. */(
|
|
26967
|
+
arg
|
|
26717
26968
|
);
|
|
26718
26969
|
});
|
|
26719
26970
|
});
|
|
@@ -26870,8 +27121,11 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
26870
27121
|
safeSetTimeout(() => {
|
|
26871
27122
|
var stackBegin = Asyncify.currData + 12;
|
|
26872
27123
|
var stackEnd = HEAPU32[Asyncify.currData >> 2];
|
|
26873
|
-
((
|
|
26874
|
-
|
|
27124
|
+
((
|
|
27125
|
+
a1,
|
|
27126
|
+
a2
|
|
27127
|
+
) => {}) /* 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. */(
|
|
27128
|
+
stackBegin,
|
|
26875
27129
|
stackEnd
|
|
26876
27130
|
);
|
|
26877
27131
|
wakeUp();
|
|
@@ -26920,8 +27174,10 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
26920
27174
|
HEAPU32[(newFiber + 12) >> 2] = 0;
|
|
26921
27175
|
|
|
26922
27176
|
var userData = HEAPU32[(newFiber + 16) >> 2];
|
|
26923
|
-
((
|
|
26924
|
-
|
|
27177
|
+
((
|
|
27178
|
+
a1
|
|
27179
|
+
) => {}) /* 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. */(
|
|
27180
|
+
userData
|
|
26925
27181
|
);
|
|
26926
27182
|
} else {
|
|
26927
27183
|
var asyncifyData = newFiber + 20;
|
|
@@ -27932,8 +28188,11 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
27932
28188
|
if (!SDL.eventHandler) return;
|
|
27933
28189
|
|
|
27934
28190
|
while (SDL.pollEvent(SDL.eventHandlerTemp)) {
|
|
27935
|
-
((
|
|
27936
|
-
|
|
28191
|
+
((
|
|
28192
|
+
a1,
|
|
28193
|
+
a2
|
|
28194
|
+
) => {}) /* 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. */(
|
|
28195
|
+
SDL.eventHandlerContext,
|
|
27937
28196
|
SDL.eventHandlerTemp
|
|
27938
28197
|
);
|
|
27939
28198
|
}
|
|
@@ -29557,9 +29816,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
29557
29816
|
return;
|
|
29558
29817
|
|
|
29559
29818
|
// Ask SDL audio data from the user code.
|
|
29560
|
-
((
|
|
29561
|
-
|
|
29562
|
-
|
|
29819
|
+
((
|
|
29820
|
+
a1,
|
|
29821
|
+
a2,
|
|
29822
|
+
a3
|
|
29823
|
+
) => {}) /* 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. */(
|
|
29824
|
+
SDL.audio.userdata,
|
|
29563
29825
|
SDL.audio.buffer,
|
|
29564
29826
|
SDL.audio.bufferSize
|
|
29565
29827
|
);
|
|
@@ -30017,8 +30279,10 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
30017
30279
|
info.audio = null;
|
|
30018
30280
|
}
|
|
30019
30281
|
if (SDL.channelFinished) {
|
|
30020
|
-
((
|
|
30021
|
-
|
|
30282
|
+
((
|
|
30283
|
+
a1
|
|
30284
|
+
) => {}) /* 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. */(
|
|
30285
|
+
channel
|
|
30022
30286
|
);
|
|
30023
30287
|
}
|
|
30024
30288
|
}
|
|
@@ -30086,8 +30350,10 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
30086
30350
|
channelInfo.audio = null;
|
|
30087
30351
|
}
|
|
30088
30352
|
if (SDL.channelFinished)
|
|
30089
|
-
((
|
|
30090
|
-
|
|
30353
|
+
((
|
|
30354
|
+
a1
|
|
30355
|
+
) => {}) /* 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. */(
|
|
30356
|
+
channel
|
|
30091
30357
|
);
|
|
30092
30358
|
};
|
|
30093
30359
|
if (channelInfo.audio) {
|
|
@@ -30822,8 +31088,11 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
30822
31088
|
var _SDL_AddTimer = (interval, callback, param) =>
|
|
30823
31089
|
safeSetTimeout(
|
|
30824
31090
|
() =>
|
|
30825
|
-
((
|
|
30826
|
-
|
|
31091
|
+
((
|
|
31092
|
+
a1,
|
|
31093
|
+
a2
|
|
31094
|
+
) => {}) /* 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. */(
|
|
31095
|
+
interval,
|
|
30827
31096
|
param
|
|
30828
31097
|
),
|
|
30829
31098
|
interval
|
|
@@ -31198,8 +31467,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
31198
31467
|
|
|
31199
31468
|
socket.onopen = function (e) {
|
|
31200
31469
|
var eventPtr = WS.getSocketEvent(socketId);
|
|
31201
|
-
((
|
|
31202
|
-
|
|
31470
|
+
((
|
|
31471
|
+
a1,
|
|
31472
|
+
a2,
|
|
31473
|
+
a3
|
|
31474
|
+
) => {}) /* 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. */(
|
|
31475
|
+
0 /*TODO*/,
|
|
31203
31476
|
eventPtr,
|
|
31204
31477
|
userData
|
|
31205
31478
|
);
|
|
@@ -31221,8 +31494,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
31221
31494
|
|
|
31222
31495
|
socket.onerror = function (e) {
|
|
31223
31496
|
var eventPtr = WS.getSocketEvent(socketId);
|
|
31224
|
-
((
|
|
31225
|
-
|
|
31497
|
+
((
|
|
31498
|
+
a1,
|
|
31499
|
+
a2,
|
|
31500
|
+
a3
|
|
31501
|
+
) => {}) /* 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. */(
|
|
31502
|
+
0 /*TODO*/,
|
|
31226
31503
|
eventPtr,
|
|
31227
31504
|
userData
|
|
31228
31505
|
);
|
|
@@ -31247,8 +31524,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
31247
31524
|
((HEAP8[eventPtr + 4] = e.wasClean),
|
|
31248
31525
|
(HEAP16[(eventPtr + 6) >> 1] = e.code),
|
|
31249
31526
|
stringToUTF8(e.reason, eventPtr + 8, 512));
|
|
31250
|
-
((
|
|
31251
|
-
|
|
31527
|
+
((
|
|
31528
|
+
a1,
|
|
31529
|
+
a2,
|
|
31530
|
+
a3
|
|
31531
|
+
) => {}) /* 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. */(
|
|
31532
|
+
0 /*TODO*/,
|
|
31252
31533
|
eventPtr,
|
|
31253
31534
|
userData
|
|
31254
31535
|
);
|
|
@@ -31282,8 +31563,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
31282
31563
|
((HEAPU32[(eventPtr + 4) >> 2] = buf),
|
|
31283
31564
|
(HEAP32[(eventPtr + 8) >> 2] = len),
|
|
31284
31565
|
(HEAP8[eventPtr + 12] = isText),
|
|
31285
|
-
((
|
|
31286
|
-
|
|
31566
|
+
((
|
|
31567
|
+
a1,
|
|
31568
|
+
a2,
|
|
31569
|
+
a3
|
|
31570
|
+
) => {}) /* 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. */(
|
|
31571
|
+
0 /*TODO*/,
|
|
31287
31572
|
eventPtr,
|
|
31288
31573
|
userData
|
|
31289
31574
|
));
|