@php-wasm/node-8-5 3.0.36 → 3.0.38
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_5_0 → 8_5_1}/php_8_5.wasm +0 -0
- package/asyncify/extensions/intl/8_5/intl.so +0 -0
- package/asyncify/extensions/xdebug/8_5/xdebug.so +0 -0
- package/asyncify/php_8_5.js +478 -193
- package/jspi/{8_5_0 → 8_5_1}/php_8_5.wasm +0 -0
- package/jspi/extensions/intl/8_5/intl.so +0 -0
- package/jspi/extensions/xdebug/8_5/xdebug.so +0 -0
- package/jspi/php_8_5.js +10 -8
- package/package.json +3 -3
package/asyncify/php_8_5.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_5_1', 'php_8_5.wasm');
|
|
13
15
|
export { dependencyFilename };
|
|
14
|
-
export const dependenciesTotalSize =
|
|
15
|
-
const phpVersionString = '8.5.
|
|
16
|
+
export const dependenciesTotalSize = 31304989;
|
|
17
|
+
const phpVersionString = '8.5.1';
|
|
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
|
|
|
@@ -7022,7 +7026,7 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
7022
7026
|
}
|
|
7023
7027
|
|
|
7024
7028
|
const e = new Error(
|
|
7025
|
-
'popen(), proc_open() etc. are unsupported
|
|
7029
|
+
'popen(), proc_open() etc. are unsupported on this PHP instance. Call php.setSpawnHandler() ' +
|
|
7026
7030
|
'and provide a callback to handle spawning processes, or disable a popen(), proc_open() ' +
|
|
7027
7031
|
'and similar functions via php.ini.'
|
|
7028
7032
|
);
|
|
@@ -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
|
);
|
|
@@ -18690,8 +18700,11 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
18690
18700
|
var trace = getCallstack();
|
|
18691
18701
|
var parts = trace.split('\n');
|
|
18692
18702
|
for (var i = 0; i < parts.length; i++) {
|
|
18693
|
-
var ret = ((
|
|
18694
|
-
|
|
18703
|
+
var ret = ((
|
|
18704
|
+
a1,
|
|
18705
|
+
a2
|
|
18706
|
+
) => {}) /* 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. */(
|
|
18707
|
+
0,
|
|
18695
18708
|
arg
|
|
18696
18709
|
);
|
|
18697
18710
|
if (ret !== 0) return;
|
|
@@ -19235,8 +19248,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
19235
19248
|
stringToUTF8(e.locale || '', keyEventData + 128, 32);
|
|
19236
19249
|
|
|
19237
19250
|
if (
|
|
19238
|
-
((
|
|
19239
|
-
|
|
19251
|
+
((
|
|
19252
|
+
a1,
|
|
19253
|
+
a2,
|
|
19254
|
+
a3
|
|
19255
|
+
) => {}) /* 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. */(
|
|
19256
|
+
eventTypeId,
|
|
19240
19257
|
keyEventData,
|
|
19241
19258
|
userData
|
|
19242
19259
|
)
|
|
@@ -19354,8 +19371,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
19354
19371
|
fillMouseEventData(JSEvents.mouseEvent, e, target);
|
|
19355
19372
|
|
|
19356
19373
|
if (
|
|
19357
|
-
((
|
|
19358
|
-
|
|
19374
|
+
((
|
|
19375
|
+
a1,
|
|
19376
|
+
a2,
|
|
19377
|
+
a3
|
|
19378
|
+
) => {}) /* 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. */(
|
|
19379
|
+
eventTypeId,
|
|
19359
19380
|
JSEvents.mouseEvent,
|
|
19360
19381
|
userData
|
|
19361
19382
|
)
|
|
@@ -19569,8 +19590,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
19569
19590
|
HEAPF64[(wheelEvent + 80) >> 3] = e['deltaZ'];
|
|
19570
19591
|
HEAP32[(wheelEvent + 88) >> 2] = e['deltaMode'];
|
|
19571
19592
|
if (
|
|
19572
|
-
((
|
|
19573
|
-
|
|
19593
|
+
((
|
|
19594
|
+
a1,
|
|
19595
|
+
a2,
|
|
19596
|
+
a3
|
|
19597
|
+
) => {}) /* 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. */(
|
|
19598
|
+
eventTypeId,
|
|
19574
19599
|
wheelEvent,
|
|
19575
19600
|
userData
|
|
19576
19601
|
)
|
|
@@ -19651,8 +19676,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
19651
19676
|
HEAP32[(uiEvent + 28) >> 2] = pageXOffset | 0; // scroll offsets are float
|
|
19652
19677
|
HEAP32[(uiEvent + 32) >> 2] = pageYOffset | 0;
|
|
19653
19678
|
if (
|
|
19654
|
-
((
|
|
19655
|
-
|
|
19679
|
+
((
|
|
19680
|
+
a1,
|
|
19681
|
+
a2,
|
|
19682
|
+
a3
|
|
19683
|
+
) => {}) /* 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. */(
|
|
19684
|
+
eventTypeId,
|
|
19656
19685
|
uiEvent,
|
|
19657
19686
|
userData
|
|
19658
19687
|
)
|
|
@@ -19726,8 +19755,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
19726
19755
|
stringToUTF8(id, focusEvent + 128, 128);
|
|
19727
19756
|
|
|
19728
19757
|
if (
|
|
19729
|
-
((
|
|
19730
|
-
|
|
19758
|
+
((
|
|
19759
|
+
a1,
|
|
19760
|
+
a2,
|
|
19761
|
+
a3
|
|
19762
|
+
) => {}) /* 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. */(
|
|
19763
|
+
eventTypeId,
|
|
19731
19764
|
focusEvent,
|
|
19732
19765
|
userData
|
|
19733
19766
|
)
|
|
@@ -19843,8 +19876,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
19843
19876
|
); // TODO: Thread-safety with respect to emscripten_get_deviceorientation_status()
|
|
19844
19877
|
|
|
19845
19878
|
if (
|
|
19846
|
-
((
|
|
19847
|
-
|
|
19879
|
+
((
|
|
19880
|
+
a1,
|
|
19881
|
+
a2,
|
|
19882
|
+
a3
|
|
19883
|
+
) => {}) /* 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. */(
|
|
19884
|
+
eventTypeId,
|
|
19848
19885
|
JSEvents.deviceOrientationEvent,
|
|
19849
19886
|
userData
|
|
19850
19887
|
)
|
|
@@ -19928,8 +19965,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
19928
19965
|
fillDeviceMotionEventData(JSEvents.deviceMotionEvent, e, target); // TODO: Thread-safety with respect to emscripten_get_devicemotion_status()
|
|
19929
19966
|
|
|
19930
19967
|
if (
|
|
19931
|
-
((
|
|
19932
|
-
|
|
19968
|
+
((
|
|
19969
|
+
a1,
|
|
19970
|
+
a2,
|
|
19971
|
+
a3
|
|
19972
|
+
) => {}) /* 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. */(
|
|
19973
|
+
eventTypeId,
|
|
19933
19974
|
JSEvents.deviceMotionEvent,
|
|
19934
19975
|
userData
|
|
19935
19976
|
)
|
|
@@ -20036,8 +20077,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
20036
20077
|
fillOrientationChangeEventData(orientationChangeEvent);
|
|
20037
20078
|
|
|
20038
20079
|
if (
|
|
20039
|
-
((
|
|
20040
|
-
|
|
20080
|
+
((
|
|
20081
|
+
a1,
|
|
20082
|
+
a2,
|
|
20083
|
+
a3
|
|
20084
|
+
) => {}) /* 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. */(
|
|
20085
|
+
eventTypeId,
|
|
20041
20086
|
orientationChangeEvent,
|
|
20042
20087
|
userData
|
|
20043
20088
|
)
|
|
@@ -20166,8 +20211,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
20166
20211
|
fillFullscreenChangeEventData(fullscreenChangeEvent);
|
|
20167
20212
|
|
|
20168
20213
|
if (
|
|
20169
|
-
((
|
|
20170
|
-
|
|
20214
|
+
((
|
|
20215
|
+
a1,
|
|
20216
|
+
a2,
|
|
20217
|
+
a3
|
|
20218
|
+
) => {}) /* 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. */(
|
|
20219
|
+
eventTypeId,
|
|
20171
20220
|
fullscreenChangeEvent,
|
|
20172
20221
|
userData
|
|
20173
20222
|
)
|
|
@@ -20312,8 +20361,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
20312
20361
|
);
|
|
20313
20362
|
|
|
20314
20363
|
if (currentFullscreenStrategy.canvasResizedCallback) {
|
|
20315
|
-
((
|
|
20316
|
-
|
|
20364
|
+
((
|
|
20365
|
+
a1,
|
|
20366
|
+
a2,
|
|
20367
|
+
a3
|
|
20368
|
+
) => {}) /* 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. */(
|
|
20369
|
+
37,
|
|
20317
20370
|
0,
|
|
20318
20371
|
currentFullscreenStrategy.canvasResizedCallbackUserData
|
|
20319
20372
|
);
|
|
@@ -20414,8 +20467,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
20414
20467
|
currentFullscreenStrategy = strategy;
|
|
20415
20468
|
|
|
20416
20469
|
if (strategy.canvasResizedCallback) {
|
|
20417
|
-
((
|
|
20418
|
-
|
|
20470
|
+
((
|
|
20471
|
+
a1,
|
|
20472
|
+
a2,
|
|
20473
|
+
a3
|
|
20474
|
+
) => {}) /* 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. */(
|
|
20475
|
+
37,
|
|
20419
20476
|
0,
|
|
20420
20477
|
strategy.canvasResizedCallbackUserData
|
|
20421
20478
|
);
|
|
@@ -20515,8 +20572,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
20515
20572
|
!inCenteredWithoutScalingFullscreenMode &&
|
|
20516
20573
|
currentFullscreenStrategy.canvasResizedCallback
|
|
20517
20574
|
) {
|
|
20518
|
-
((
|
|
20519
|
-
|
|
20575
|
+
((
|
|
20576
|
+
a1,
|
|
20577
|
+
a2,
|
|
20578
|
+
a3
|
|
20579
|
+
) => {}) /* 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. */(
|
|
20580
|
+
37,
|
|
20520
20581
|
0,
|
|
20521
20582
|
currentFullscreenStrategy.canvasResizedCallbackUserData
|
|
20522
20583
|
);
|
|
@@ -20615,8 +20676,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
20615
20676
|
softFullscreenResizeWebGLRenderTarget
|
|
20616
20677
|
);
|
|
20617
20678
|
if (strategy.canvasResizedCallback) {
|
|
20618
|
-
((
|
|
20619
|
-
|
|
20679
|
+
((
|
|
20680
|
+
a1,
|
|
20681
|
+
a2,
|
|
20682
|
+
a3
|
|
20683
|
+
) => {}) /* 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. */(
|
|
20684
|
+
37,
|
|
20620
20685
|
0,
|
|
20621
20686
|
strategy.canvasResizedCallbackUserData
|
|
20622
20687
|
);
|
|
@@ -20629,8 +20694,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
20629
20694
|
|
|
20630
20695
|
// Inform the caller that the canvas size has changed.
|
|
20631
20696
|
if (strategy.canvasResizedCallback) {
|
|
20632
|
-
((
|
|
20633
|
-
|
|
20697
|
+
((
|
|
20698
|
+
a1,
|
|
20699
|
+
a2,
|
|
20700
|
+
a3
|
|
20701
|
+
) => {}) /* 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. */(
|
|
20702
|
+
37,
|
|
20634
20703
|
0,
|
|
20635
20704
|
strategy.canvasResizedCallbackUserData
|
|
20636
20705
|
);
|
|
@@ -20692,8 +20761,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
20692
20761
|
fillPointerlockChangeEventData(pointerlockChangeEvent);
|
|
20693
20762
|
|
|
20694
20763
|
if (
|
|
20695
|
-
((
|
|
20696
|
-
|
|
20764
|
+
((
|
|
20765
|
+
a1,
|
|
20766
|
+
a2,
|
|
20767
|
+
a3
|
|
20768
|
+
) => {}) /* 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. */(
|
|
20769
|
+
eventTypeId,
|
|
20697
20770
|
pointerlockChangeEvent,
|
|
20698
20771
|
userData
|
|
20699
20772
|
)
|
|
@@ -20747,8 +20820,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
20747
20820
|
) => {
|
|
20748
20821
|
var pointerlockErrorEventHandlerFunc = (e = event) => {
|
|
20749
20822
|
if (
|
|
20750
|
-
((
|
|
20751
|
-
|
|
20823
|
+
((
|
|
20824
|
+
a1,
|
|
20825
|
+
a2,
|
|
20826
|
+
a3
|
|
20827
|
+
) => {}) /* 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. */(
|
|
20828
|
+
eventTypeId,
|
|
20752
20829
|
0,
|
|
20753
20830
|
userData
|
|
20754
20831
|
)
|
|
@@ -20902,8 +20979,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
20902
20979
|
fillVisibilityChangeEventData(visibilityChangeEvent);
|
|
20903
20980
|
|
|
20904
20981
|
if (
|
|
20905
|
-
((
|
|
20906
|
-
|
|
20982
|
+
((
|
|
20983
|
+
a1,
|
|
20984
|
+
a2,
|
|
20985
|
+
a3
|
|
20986
|
+
) => {}) /* 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. */(
|
|
20987
|
+
eventTypeId,
|
|
20907
20988
|
visibilityChangeEvent,
|
|
20908
20989
|
userData
|
|
20909
20990
|
)
|
|
@@ -21023,8 +21104,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
21023
21104
|
HEAP32[(touchEvent + 8) >> 2] = numTouches;
|
|
21024
21105
|
|
|
21025
21106
|
if (
|
|
21026
|
-
((
|
|
21027
|
-
|
|
21107
|
+
((
|
|
21108
|
+
a1,
|
|
21109
|
+
a2,
|
|
21110
|
+
a3
|
|
21111
|
+
) => {}) /* 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. */(
|
|
21112
|
+
eventTypeId,
|
|
21028
21113
|
touchEvent,
|
|
21029
21114
|
userData
|
|
21030
21115
|
)
|
|
@@ -21162,8 +21247,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
21162
21247
|
fillGamepadEventData(gamepadEvent, e['gamepad']);
|
|
21163
21248
|
|
|
21164
21249
|
if (
|
|
21165
|
-
((
|
|
21166
|
-
|
|
21250
|
+
((
|
|
21251
|
+
a1,
|
|
21252
|
+
a2,
|
|
21253
|
+
a3
|
|
21254
|
+
) => {}) /* 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. */(
|
|
21255
|
+
eventTypeId,
|
|
21167
21256
|
gamepadEvent,
|
|
21168
21257
|
userData
|
|
21169
21258
|
)
|
|
@@ -21265,8 +21354,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
21265
21354
|
) => {
|
|
21266
21355
|
var beforeUnloadEventHandlerFunc = (e = event) => {
|
|
21267
21356
|
// Note: This is always called on the main browser thread, since it needs synchronously return a value!
|
|
21268
|
-
var confirmationMessage = ((
|
|
21269
|
-
|
|
21357
|
+
var confirmationMessage = ((
|
|
21358
|
+
a1,
|
|
21359
|
+
a2,
|
|
21360
|
+
a3
|
|
21361
|
+
) => {}) /* 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. */(
|
|
21362
|
+
eventTypeId,
|
|
21270
21363
|
0,
|
|
21271
21364
|
userData
|
|
21272
21365
|
);
|
|
@@ -21337,8 +21430,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
21337
21430
|
fillBatteryEventData(batteryEvent, battery);
|
|
21338
21431
|
|
|
21339
21432
|
if (
|
|
21340
|
-
((
|
|
21341
|
-
|
|
21433
|
+
((
|
|
21434
|
+
a1,
|
|
21435
|
+
a2,
|
|
21436
|
+
a3
|
|
21437
|
+
) => {}) /* 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. */(
|
|
21438
|
+
eventTypeId,
|
|
21342
21439
|
batteryEvent,
|
|
21343
21440
|
userData
|
|
21344
21441
|
)
|
|
@@ -21440,8 +21537,11 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
21440
21537
|
|
|
21441
21538
|
var _emscripten_request_animation_frame = (cb, userData) =>
|
|
21442
21539
|
requestAnimationFrame((timeStamp) =>
|
|
21443
|
-
((
|
|
21444
|
-
|
|
21540
|
+
((
|
|
21541
|
+
a1,
|
|
21542
|
+
a2
|
|
21543
|
+
) => {}) /* 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. */(
|
|
21544
|
+
timeStamp,
|
|
21445
21545
|
userData
|
|
21446
21546
|
)
|
|
21447
21547
|
);
|
|
@@ -21453,8 +21553,11 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
21453
21553
|
var _emscripten_request_animation_frame_loop = (cb, userData) => {
|
|
21454
21554
|
function tick(timeStamp) {
|
|
21455
21555
|
if (
|
|
21456
|
-
((
|
|
21457
|
-
|
|
21556
|
+
((
|
|
21557
|
+
a1,
|
|
21558
|
+
a2
|
|
21559
|
+
) => {}) /* 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. */(
|
|
21560
|
+
timeStamp,
|
|
21458
21561
|
userData
|
|
21459
21562
|
)
|
|
21460
21563
|
) {
|
|
@@ -21711,8 +21814,10 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
21711
21814
|
return emSetImmediate(() => {
|
|
21712
21815
|
runtimeKeepalivePop();
|
|
21713
21816
|
callUserCallback(() =>
|
|
21714
|
-
((
|
|
21715
|
-
|
|
21817
|
+
((
|
|
21818
|
+
a1
|
|
21819
|
+
) => {}) /* 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. */(
|
|
21820
|
+
userData
|
|
21716
21821
|
)
|
|
21717
21822
|
);
|
|
21718
21823
|
});
|
|
@@ -21729,8 +21834,10 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
21729
21834
|
function tick() {
|
|
21730
21835
|
callUserCallback(() => {
|
|
21731
21836
|
if (
|
|
21732
|
-
((
|
|
21733
|
-
|
|
21837
|
+
((
|
|
21838
|
+
a1
|
|
21839
|
+
) => {}) /* 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. */(
|
|
21840
|
+
userData
|
|
21734
21841
|
)
|
|
21735
21842
|
) {
|
|
21736
21843
|
emSetImmediate(tick);
|
|
@@ -21747,8 +21854,10 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
21747
21854
|
var _emscripten_set_timeout = (cb, msecs, userData) =>
|
|
21748
21855
|
safeSetTimeout(
|
|
21749
21856
|
() =>
|
|
21750
|
-
((
|
|
21751
|
-
|
|
21857
|
+
((
|
|
21858
|
+
a1
|
|
21859
|
+
) => {}) /* 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. */(
|
|
21860
|
+
userData
|
|
21752
21861
|
),
|
|
21753
21862
|
msecs
|
|
21754
21863
|
);
|
|
@@ -21764,8 +21873,11 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
21764
21873
|
runtimeKeepalivePop();
|
|
21765
21874
|
callUserCallback(() => {
|
|
21766
21875
|
if (
|
|
21767
|
-
((
|
|
21768
|
-
|
|
21876
|
+
((
|
|
21877
|
+
a1,
|
|
21878
|
+
a2
|
|
21879
|
+
) => {}) /* 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. */(
|
|
21880
|
+
t,
|
|
21769
21881
|
userData
|
|
21770
21882
|
)
|
|
21771
21883
|
) {
|
|
@@ -21789,8 +21901,10 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
21789
21901
|
runtimeKeepalivePush();
|
|
21790
21902
|
return setInterval(() => {
|
|
21791
21903
|
callUserCallback(() =>
|
|
21792
|
-
((
|
|
21793
|
-
|
|
21904
|
+
((
|
|
21905
|
+
a1
|
|
21906
|
+
) => {}) /* 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. */(
|
|
21907
|
+
userData
|
|
21794
21908
|
)
|
|
21795
21909
|
);
|
|
21796
21910
|
}, msecs);
|
|
@@ -21805,8 +21919,10 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
21805
21919
|
|
|
21806
21920
|
var _emscripten_async_call = (func, arg, millis) => {
|
|
21807
21921
|
var wrapper = () =>
|
|
21808
|
-
((
|
|
21809
|
-
|
|
21922
|
+
((
|
|
21923
|
+
a1
|
|
21924
|
+
) => {}) /* 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. */(
|
|
21925
|
+
arg
|
|
21810
21926
|
);
|
|
21811
21927
|
|
|
21812
21928
|
if (
|
|
@@ -21839,7 +21955,7 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
21839
21955
|
|
|
21840
21956
|
var _emscripten_set_main_loop = (func, fps, simulateInfiniteLoop) => {
|
|
21841
21957
|
var iterFunc =
|
|
21842
|
-
() => {}
|
|
21958
|
+
() => {} /* 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. */;
|
|
21843
21959
|
setMainLoop(iterFunc, fps, simulateInfiniteLoop);
|
|
21844
21960
|
};
|
|
21845
21961
|
_emscripten_set_main_loop.sig = 'vpii';
|
|
@@ -21851,8 +21967,10 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
21851
21967
|
simulateInfiniteLoop
|
|
21852
21968
|
) => {
|
|
21853
21969
|
var iterFunc = () =>
|
|
21854
|
-
((
|
|
21855
|
-
|
|
21970
|
+
((
|
|
21971
|
+
a1
|
|
21972
|
+
) => {}) /* 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. */(
|
|
21973
|
+
arg
|
|
21856
21974
|
);
|
|
21857
21975
|
setMainLoop(iterFunc, fps, simulateInfiniteLoop, arg);
|
|
21858
21976
|
};
|
|
@@ -21873,8 +21991,10 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
21873
21991
|
var __emscripten_push_main_loop_blocker = (func, arg, name) => {
|
|
21874
21992
|
MainLoop.queue.push({
|
|
21875
21993
|
func: () => {
|
|
21876
|
-
((
|
|
21877
|
-
|
|
21994
|
+
((
|
|
21995
|
+
a1
|
|
21996
|
+
) => {}) /* 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. */(
|
|
21997
|
+
arg
|
|
21878
21998
|
);
|
|
21879
21999
|
},
|
|
21880
22000
|
name: UTF8ToString(name),
|
|
@@ -21887,8 +22007,10 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
21887
22007
|
var __emscripten_push_uncounted_main_loop_blocker = (func, arg, name) => {
|
|
21888
22008
|
MainLoop.queue.push({
|
|
21889
22009
|
func: () => {
|
|
21890
|
-
((
|
|
21891
|
-
|
|
22010
|
+
((
|
|
22011
|
+
a1
|
|
22012
|
+
) => {}) /* 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. */(
|
|
22013
|
+
arg
|
|
21892
22014
|
);
|
|
21893
22015
|
},
|
|
21894
22016
|
name: UTF8ToString(name),
|
|
@@ -21922,8 +22044,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
21922
22044
|
var resultPtr = stackAlloc(POINTER_SIZE);
|
|
21923
22045
|
HEAPU32[resultPtr >> 2] = 0;
|
|
21924
22046
|
try {
|
|
21925
|
-
var result = ((
|
|
21926
|
-
|
|
22047
|
+
var result = ((
|
|
22048
|
+
a1,
|
|
22049
|
+
a2,
|
|
22050
|
+
a3
|
|
22051
|
+
) => {}) /* 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. */(
|
|
22052
|
+
resultPtr,
|
|
21927
22053
|
userData,
|
|
21928
22054
|
value
|
|
21929
22055
|
);
|
|
@@ -22760,15 +22886,19 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
22760
22886
|
() => {
|
|
22761
22887
|
runtimeKeepalivePop();
|
|
22762
22888
|
if (onload)
|
|
22763
|
-
((
|
|
22764
|
-
|
|
22889
|
+
((
|
|
22890
|
+
a1
|
|
22891
|
+
) => {}) /* 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. */(
|
|
22892
|
+
file
|
|
22765
22893
|
);
|
|
22766
22894
|
},
|
|
22767
22895
|
() => {
|
|
22768
22896
|
runtimeKeepalivePop();
|
|
22769
22897
|
if (onerror)
|
|
22770
|
-
((
|
|
22771
|
-
|
|
22898
|
+
((
|
|
22899
|
+
a1
|
|
22900
|
+
) => {}) /* 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. */(
|
|
22901
|
+
file
|
|
22772
22902
|
);
|
|
22773
22903
|
},
|
|
22774
22904
|
true // don'tCreateFile - it's already there
|
|
@@ -22802,16 +22932,21 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
22802
22932
|
() => {
|
|
22803
22933
|
runtimeKeepalivePop();
|
|
22804
22934
|
if (onload)
|
|
22805
|
-
((
|
|
22806
|
-
|
|
22935
|
+
((
|
|
22936
|
+
a1,
|
|
22937
|
+
a2
|
|
22938
|
+
) => {}) /* 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. */(
|
|
22939
|
+
arg,
|
|
22807
22940
|
cname
|
|
22808
22941
|
);
|
|
22809
22942
|
},
|
|
22810
22943
|
() => {
|
|
22811
22944
|
runtimeKeepalivePop();
|
|
22812
22945
|
if (onerror)
|
|
22813
|
-
((
|
|
22814
|
-
|
|
22946
|
+
((
|
|
22947
|
+
a1
|
|
22948
|
+
) => {}) /* 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. */(
|
|
22949
|
+
arg
|
|
22815
22950
|
);
|
|
22816
22951
|
},
|
|
22817
22952
|
true // don'tCreateFile - it's already there
|
|
@@ -23079,10 +23214,10 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
23079
23214
|
runtimeKeepalivePop();
|
|
23080
23215
|
callUserCallback(() =>
|
|
23081
23216
|
withStackSave(() =>
|
|
23082
|
-
((
|
|
23083
|
-
|
|
23084
|
-
|
|
23085
|
-
)
|
|
23217
|
+
((
|
|
23218
|
+
a1
|
|
23219
|
+
) => {}) /* 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. */(
|
|
23220
|
+
stringToUTF8OnStack(_file)
|
|
23086
23221
|
)
|
|
23087
23222
|
)
|
|
23088
23223
|
);
|
|
@@ -23126,8 +23261,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
23126
23261
|
callUserCallback(() => {
|
|
23127
23262
|
var buffer = _malloc(byteArray.length);
|
|
23128
23263
|
HEAPU8.set(byteArray, buffer);
|
|
23129
|
-
((
|
|
23130
|
-
|
|
23264
|
+
((
|
|
23265
|
+
a1,
|
|
23266
|
+
a2,
|
|
23267
|
+
a3
|
|
23268
|
+
) => {}) /* 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. */(
|
|
23269
|
+
userdata,
|
|
23131
23270
|
buffer,
|
|
23132
23271
|
byteArray.length
|
|
23133
23272
|
);
|
|
@@ -23137,8 +23276,10 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
23137
23276
|
if (onerror) {
|
|
23138
23277
|
runtimeKeepalivePop();
|
|
23139
23278
|
callUserCallback(() => {
|
|
23140
|
-
((
|
|
23141
|
-
|
|
23279
|
+
((
|
|
23280
|
+
a1
|
|
23281
|
+
) => {}) /* 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. */(
|
|
23282
|
+
userdata
|
|
23142
23283
|
);
|
|
23143
23284
|
});
|
|
23144
23285
|
}
|
|
@@ -23194,8 +23335,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
23194
23335
|
);
|
|
23195
23336
|
if (onload) {
|
|
23196
23337
|
var sp = stackSave();
|
|
23197
|
-
((
|
|
23198
|
-
|
|
23338
|
+
((
|
|
23339
|
+
a1,
|
|
23340
|
+
a2,
|
|
23341
|
+
a3
|
|
23342
|
+
) => {}) /* 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. */(
|
|
23343
|
+
handle,
|
|
23199
23344
|
userdata,
|
|
23200
23345
|
stringToUTF8OnStack(_file)
|
|
23201
23346
|
);
|
|
@@ -23203,8 +23348,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
23203
23348
|
}
|
|
23204
23349
|
} else {
|
|
23205
23350
|
if (onerror)
|
|
23206
|
-
((
|
|
23207
|
-
|
|
23351
|
+
((
|
|
23352
|
+
a1,
|
|
23353
|
+
a2,
|
|
23354
|
+
a3
|
|
23355
|
+
) => {}) /* 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. */(
|
|
23356
|
+
handle,
|
|
23208
23357
|
userdata,
|
|
23209
23358
|
http.status
|
|
23210
23359
|
);
|
|
@@ -23217,8 +23366,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
23217
23366
|
http.onerror = (e) => {
|
|
23218
23367
|
runtimeKeepalivePop();
|
|
23219
23368
|
if (onerror)
|
|
23220
|
-
((
|
|
23221
|
-
|
|
23369
|
+
((
|
|
23370
|
+
a1,
|
|
23371
|
+
a2,
|
|
23372
|
+
a3
|
|
23373
|
+
) => {}) /* 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. */(
|
|
23374
|
+
handle,
|
|
23222
23375
|
userdata,
|
|
23223
23376
|
http.status
|
|
23224
23377
|
);
|
|
@@ -23233,8 +23386,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
23233
23386
|
) {
|
|
23234
23387
|
var percentComplete = (e.loaded / e.total) * 100;
|
|
23235
23388
|
if (onprogress)
|
|
23236
|
-
((
|
|
23237
|
-
|
|
23389
|
+
((
|
|
23390
|
+
a1,
|
|
23391
|
+
a2,
|
|
23392
|
+
a3
|
|
23393
|
+
) => {}) /* 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. */(
|
|
23394
|
+
handle,
|
|
23238
23395
|
userdata,
|
|
23239
23396
|
percentComplete
|
|
23240
23397
|
);
|
|
@@ -23291,8 +23448,13 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
23291
23448
|
if (http.statusText) {
|
|
23292
23449
|
statusText = stringToUTF8OnStack(http.statusText);
|
|
23293
23450
|
}
|
|
23294
|
-
((
|
|
23295
|
-
|
|
23451
|
+
((
|
|
23452
|
+
a1,
|
|
23453
|
+
a2,
|
|
23454
|
+
a3,
|
|
23455
|
+
a4
|
|
23456
|
+
) => {}) /* 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. */(
|
|
23457
|
+
handle,
|
|
23296
23458
|
userdata,
|
|
23297
23459
|
http.status,
|
|
23298
23460
|
statusText
|
|
@@ -23313,8 +23475,13 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
23313
23475
|
var buffer = _malloc(byteArray.length);
|
|
23314
23476
|
HEAPU8.set(byteArray, buffer);
|
|
23315
23477
|
if (onload)
|
|
23316
|
-
((
|
|
23317
|
-
|
|
23478
|
+
((
|
|
23479
|
+
a1,
|
|
23480
|
+
a2,
|
|
23481
|
+
a3,
|
|
23482
|
+
a4
|
|
23483
|
+
) => {}) /* 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. */(
|
|
23484
|
+
handle,
|
|
23318
23485
|
userdata,
|
|
23319
23486
|
buffer,
|
|
23320
23487
|
byteArray.length
|
|
@@ -23335,8 +23502,13 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
23335
23502
|
// PROGRESS
|
|
23336
23503
|
http.onprogress = (e) => {
|
|
23337
23504
|
if (onprogress)
|
|
23338
|
-
((
|
|
23339
|
-
|
|
23505
|
+
((
|
|
23506
|
+
a1,
|
|
23507
|
+
a2,
|
|
23508
|
+
a3,
|
|
23509
|
+
a4
|
|
23510
|
+
) => {}) /* 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. */(
|
|
23511
|
+
handle,
|
|
23340
23512
|
userdata,
|
|
23341
23513
|
e.loaded,
|
|
23342
23514
|
e.lengthComputable || e.lengthComputable === undefined
|
|
@@ -23667,16 +23839,24 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
23667
23839
|
if (event === 'error') {
|
|
23668
23840
|
withStackSave(() => {
|
|
23669
23841
|
var msg = stringToUTF8OnStack(data[2]);
|
|
23670
|
-
((
|
|
23671
|
-
|
|
23842
|
+
((
|
|
23843
|
+
a1,
|
|
23844
|
+
a2,
|
|
23845
|
+
a3,
|
|
23846
|
+
a4
|
|
23847
|
+
) => {}) /* 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. */(
|
|
23848
|
+
data[0],
|
|
23672
23849
|
data[1],
|
|
23673
23850
|
msg,
|
|
23674
23851
|
userData
|
|
23675
23852
|
);
|
|
23676
23853
|
});
|
|
23677
23854
|
} else {
|
|
23678
|
-
((
|
|
23679
|
-
|
|
23855
|
+
((
|
|
23856
|
+
a1,
|
|
23857
|
+
a2
|
|
23858
|
+
) => {}) /* 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. */(
|
|
23859
|
+
data,
|
|
23680
23860
|
userData
|
|
23681
23861
|
);
|
|
23682
23862
|
}
|
|
@@ -24629,8 +24809,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
24629
24809
|
) => {
|
|
24630
24810
|
var webGlEventHandlerFunc = (e = event) => {
|
|
24631
24811
|
if (
|
|
24632
|
-
((
|
|
24633
|
-
|
|
24812
|
+
((
|
|
24813
|
+
a1,
|
|
24814
|
+
a2,
|
|
24815
|
+
a3
|
|
24816
|
+
) => {}) /* 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. */(
|
|
24817
|
+
eventTypeId,
|
|
24634
24818
|
0,
|
|
24635
24819
|
userData
|
|
24636
24820
|
)
|
|
@@ -24849,15 +25033,21 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
24849
25033
|
) {
|
|
24850
25034
|
event.preventDefault();
|
|
24851
25035
|
GLUT.saveModifiers(event);
|
|
24852
|
-
((
|
|
24853
|
-
|
|
25036
|
+
((
|
|
25037
|
+
a1,
|
|
25038
|
+
a2
|
|
25039
|
+
) => {}) /* 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. */(
|
|
25040
|
+
lastX,
|
|
24854
25041
|
lastY
|
|
24855
25042
|
);
|
|
24856
25043
|
} else if (GLUT.buttons != 0 && GLUT.motionFunc) {
|
|
24857
25044
|
event.preventDefault();
|
|
24858
25045
|
GLUT.saveModifiers(event);
|
|
24859
|
-
((
|
|
24860
|
-
|
|
25046
|
+
((
|
|
25047
|
+
a1,
|
|
25048
|
+
a2
|
|
25049
|
+
) => {}) /* 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. */(
|
|
25050
|
+
lastX,
|
|
24861
25051
|
lastY
|
|
24862
25052
|
);
|
|
24863
25053
|
}
|
|
@@ -25018,8 +25208,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
25018
25208
|
if (GLUT.specialFunc) {
|
|
25019
25209
|
event.preventDefault();
|
|
25020
25210
|
GLUT.saveModifiers(event);
|
|
25021
|
-
((
|
|
25022
|
-
|
|
25211
|
+
((
|
|
25212
|
+
a1,
|
|
25213
|
+
a2,
|
|
25214
|
+
a3
|
|
25215
|
+
) => {}) /* 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. */(
|
|
25216
|
+
key,
|
|
25023
25217
|
Browser.mouseX,
|
|
25024
25218
|
Browser.mouseY
|
|
25025
25219
|
);
|
|
@@ -25029,8 +25223,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
25029
25223
|
if (key !== null && GLUT.keyboardFunc) {
|
|
25030
25224
|
event.preventDefault();
|
|
25031
25225
|
GLUT.saveModifiers(event);
|
|
25032
|
-
((
|
|
25033
|
-
|
|
25226
|
+
((
|
|
25227
|
+
a1,
|
|
25228
|
+
a2,
|
|
25229
|
+
a3
|
|
25230
|
+
) => {}) /* 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. */(
|
|
25231
|
+
key,
|
|
25034
25232
|
Browser.mouseX,
|
|
25035
25233
|
Browser.mouseY
|
|
25036
25234
|
);
|
|
@@ -25045,8 +25243,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
25045
25243
|
if (GLUT.specialUpFunc) {
|
|
25046
25244
|
event.preventDefault();
|
|
25047
25245
|
GLUT.saveModifiers(event);
|
|
25048
|
-
((
|
|
25049
|
-
|
|
25246
|
+
((
|
|
25247
|
+
a1,
|
|
25248
|
+
a2,
|
|
25249
|
+
a3
|
|
25250
|
+
) => {}) /* 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. */(
|
|
25251
|
+
key,
|
|
25050
25252
|
Browser.mouseX,
|
|
25051
25253
|
Browser.mouseY
|
|
25052
25254
|
);
|
|
@@ -25056,8 +25258,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
25056
25258
|
if (key !== null && GLUT.keyboardUpFunc) {
|
|
25057
25259
|
event.preventDefault();
|
|
25058
25260
|
GLUT.saveModifiers(event);
|
|
25059
|
-
((
|
|
25060
|
-
|
|
25261
|
+
((
|
|
25262
|
+
a1,
|
|
25263
|
+
a2,
|
|
25264
|
+
a3
|
|
25265
|
+
) => {}) /* 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. */(
|
|
25266
|
+
key,
|
|
25061
25267
|
Browser.mouseX,
|
|
25062
25268
|
Browser.mouseY
|
|
25063
25269
|
);
|
|
@@ -25121,10 +25327,13 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
25121
25327
|
} catch (e) {}
|
|
25122
25328
|
event.preventDefault();
|
|
25123
25329
|
GLUT.saveModifiers(event);
|
|
25124
|
-
((
|
|
25125
|
-
|
|
25126
|
-
|
|
25127
|
-
|
|
25330
|
+
((
|
|
25331
|
+
a1,
|
|
25332
|
+
a2,
|
|
25333
|
+
a3,
|
|
25334
|
+
a4
|
|
25335
|
+
) => {}) /* 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. */(
|
|
25336
|
+
event['button'],
|
|
25128
25337
|
0 /*GLUT_DOWN*/,
|
|
25129
25338
|
Browser.mouseX,
|
|
25130
25339
|
Browser.mouseY
|
|
@@ -25139,10 +25348,13 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
25139
25348
|
if (GLUT.mouseFunc) {
|
|
25140
25349
|
event.preventDefault();
|
|
25141
25350
|
GLUT.saveModifiers(event);
|
|
25142
|
-
((
|
|
25143
|
-
|
|
25144
|
-
|
|
25145
|
-
|
|
25351
|
+
((
|
|
25352
|
+
a1,
|
|
25353
|
+
a2,
|
|
25354
|
+
a3,
|
|
25355
|
+
a4
|
|
25356
|
+
) => {}) /* 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. */(
|
|
25357
|
+
event['button'],
|
|
25146
25358
|
1 /*GLUT_UP*/,
|
|
25147
25359
|
Browser.mouseX,
|
|
25148
25360
|
Browser.mouseY
|
|
@@ -25171,8 +25383,13 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
25171
25383
|
if (GLUT.mouseFunc) {
|
|
25172
25384
|
event.preventDefault();
|
|
25173
25385
|
GLUT.saveModifiers(event);
|
|
25174
|
-
((
|
|
25175
|
-
|
|
25386
|
+
((
|
|
25387
|
+
a1,
|
|
25388
|
+
a2,
|
|
25389
|
+
a3,
|
|
25390
|
+
a4
|
|
25391
|
+
) => {}) /* 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. */(
|
|
25392
|
+
button,
|
|
25176
25393
|
0 /*GLUT_DOWN*/,
|
|
25177
25394
|
Browser.mouseX,
|
|
25178
25395
|
Browser.mouseY
|
|
@@ -25210,8 +25427,11 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
25210
25427
|
/* Can't call _glutReshapeWindow as that requests cancelling fullscreen. */
|
|
25211
25428
|
if (GLUT.reshapeFunc) {
|
|
25212
25429
|
// out("GLUT.reshapeFunc (from FS): " + width + ", " + height);
|
|
25213
|
-
((
|
|
25214
|
-
|
|
25430
|
+
((
|
|
25431
|
+
a1,
|
|
25432
|
+
a2
|
|
25433
|
+
) => {}) /* 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. */(
|
|
25434
|
+
width,
|
|
25215
25435
|
height
|
|
25216
25436
|
);
|
|
25217
25437
|
}
|
|
@@ -25267,8 +25487,11 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
25267
25487
|
// Resize callback stage 2: updateResizeListeners notifies reshapeFunc
|
|
25268
25488
|
Browser.resizeListeners.push((width, height) => {
|
|
25269
25489
|
if (GLUT.reshapeFunc) {
|
|
25270
|
-
((
|
|
25271
|
-
|
|
25490
|
+
((
|
|
25491
|
+
a1,
|
|
25492
|
+
a2
|
|
25493
|
+
) => {}) /* 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. */(
|
|
25494
|
+
width,
|
|
25272
25495
|
height
|
|
25273
25496
|
);
|
|
25274
25497
|
}
|
|
@@ -25383,8 +25606,10 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
25383
25606
|
var _glutTimerFunc = (msec, func, value) =>
|
|
25384
25607
|
safeSetTimeout(
|
|
25385
25608
|
() =>
|
|
25386
|
-
((
|
|
25387
|
-
|
|
25609
|
+
((
|
|
25610
|
+
a1
|
|
25611
|
+
) => {}) /* 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. */(
|
|
25612
|
+
value
|
|
25388
25613
|
),
|
|
25389
25614
|
msec
|
|
25390
25615
|
);
|
|
@@ -25544,8 +25769,11 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
25544
25769
|
Browser.setCanvasSize(width, height, true); // N.B. GLUT.reshapeFunc is also registered as a canvas resize callback.
|
|
25545
25770
|
// Just call it once here.
|
|
25546
25771
|
if (GLUT.reshapeFunc) {
|
|
25547
|
-
((
|
|
25548
|
-
|
|
25772
|
+
((
|
|
25773
|
+
a1,
|
|
25774
|
+
a2
|
|
25775
|
+
) => {}) /* 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. */(
|
|
25776
|
+
width,
|
|
25549
25777
|
height
|
|
25550
25778
|
);
|
|
25551
25779
|
}
|
|
@@ -26599,15 +26827,21 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
26599
26827
|
callUserCallback(() => {
|
|
26600
26828
|
if (error) {
|
|
26601
26829
|
if (onerror)
|
|
26602
|
-
((
|
|
26603
|
-
|
|
26830
|
+
((
|
|
26831
|
+
a1
|
|
26832
|
+
) => {}) /* 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. */(
|
|
26833
|
+
arg
|
|
26604
26834
|
);
|
|
26605
26835
|
return;
|
|
26606
26836
|
}
|
|
26607
26837
|
var buffer = _malloc(byteArray.length);
|
|
26608
26838
|
HEAPU8.set(byteArray, buffer);
|
|
26609
|
-
((
|
|
26610
|
-
|
|
26839
|
+
((
|
|
26840
|
+
a1,
|
|
26841
|
+
a2,
|
|
26842
|
+
a3
|
|
26843
|
+
) => {}) /* 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. */(
|
|
26844
|
+
arg,
|
|
26611
26845
|
buffer,
|
|
26612
26846
|
byteArray.length
|
|
26613
26847
|
);
|
|
@@ -26639,14 +26873,18 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
26639
26873
|
callUserCallback(() => {
|
|
26640
26874
|
if (error) {
|
|
26641
26875
|
if (onerror)
|
|
26642
|
-
((
|
|
26643
|
-
|
|
26876
|
+
((
|
|
26877
|
+
a1
|
|
26878
|
+
) => {}) /* 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. */(
|
|
26879
|
+
arg
|
|
26644
26880
|
);
|
|
26645
26881
|
return;
|
|
26646
26882
|
}
|
|
26647
26883
|
if (onstore)
|
|
26648
|
-
((
|
|
26649
|
-
|
|
26884
|
+
((
|
|
26885
|
+
a1
|
|
26886
|
+
) => {}) /* 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. */(
|
|
26887
|
+
arg
|
|
26650
26888
|
);
|
|
26651
26889
|
});
|
|
26652
26890
|
}
|
|
@@ -26661,14 +26899,18 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
26661
26899
|
callUserCallback(() => {
|
|
26662
26900
|
if (error) {
|
|
26663
26901
|
if (onerror)
|
|
26664
|
-
((
|
|
26665
|
-
|
|
26902
|
+
((
|
|
26903
|
+
a1
|
|
26904
|
+
) => {}) /* 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. */(
|
|
26905
|
+
arg
|
|
26666
26906
|
);
|
|
26667
26907
|
return;
|
|
26668
26908
|
}
|
|
26669
26909
|
if (ondelete)
|
|
26670
|
-
((
|
|
26671
|
-
|
|
26910
|
+
((
|
|
26911
|
+
a1
|
|
26912
|
+
) => {}) /* 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. */(
|
|
26913
|
+
arg
|
|
26672
26914
|
);
|
|
26673
26915
|
});
|
|
26674
26916
|
});
|
|
@@ -26685,14 +26927,19 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
26685
26927
|
callUserCallback(() => {
|
|
26686
26928
|
if (error) {
|
|
26687
26929
|
if (onerror)
|
|
26688
|
-
((
|
|
26689
|
-
|
|
26930
|
+
((
|
|
26931
|
+
a1
|
|
26932
|
+
) => {}) /* 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. */(
|
|
26933
|
+
arg
|
|
26690
26934
|
);
|
|
26691
26935
|
return;
|
|
26692
26936
|
}
|
|
26693
26937
|
if (oncheck)
|
|
26694
|
-
((
|
|
26695
|
-
|
|
26938
|
+
((
|
|
26939
|
+
a1,
|
|
26940
|
+
a2
|
|
26941
|
+
) => {}) /* 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. */(
|
|
26942
|
+
arg,
|
|
26696
26943
|
exists
|
|
26697
26944
|
);
|
|
26698
26945
|
});
|
|
@@ -26708,14 +26955,18 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
26708
26955
|
callUserCallback(() => {
|
|
26709
26956
|
if (error) {
|
|
26710
26957
|
if (onerror)
|
|
26711
|
-
((
|
|
26712
|
-
|
|
26958
|
+
((
|
|
26959
|
+
a1
|
|
26960
|
+
) => {}) /* 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. */(
|
|
26961
|
+
arg
|
|
26713
26962
|
);
|
|
26714
26963
|
return;
|
|
26715
26964
|
}
|
|
26716
26965
|
if (onclear)
|
|
26717
|
-
((
|
|
26718
|
-
|
|
26966
|
+
((
|
|
26967
|
+
a1
|
|
26968
|
+
) => {}) /* 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. */(
|
|
26969
|
+
arg
|
|
26719
26970
|
);
|
|
26720
26971
|
});
|
|
26721
26972
|
});
|
|
@@ -26872,8 +27123,11 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
26872
27123
|
safeSetTimeout(() => {
|
|
26873
27124
|
var stackBegin = Asyncify.currData + 12;
|
|
26874
27125
|
var stackEnd = HEAPU32[Asyncify.currData >> 2];
|
|
26875
|
-
((
|
|
26876
|
-
|
|
27126
|
+
((
|
|
27127
|
+
a1,
|
|
27128
|
+
a2
|
|
27129
|
+
) => {}) /* 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. */(
|
|
27130
|
+
stackBegin,
|
|
26877
27131
|
stackEnd
|
|
26878
27132
|
);
|
|
26879
27133
|
wakeUp();
|
|
@@ -26922,8 +27176,10 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
26922
27176
|
HEAPU32[(newFiber + 12) >> 2] = 0;
|
|
26923
27177
|
|
|
26924
27178
|
var userData = HEAPU32[(newFiber + 16) >> 2];
|
|
26925
|
-
((
|
|
26926
|
-
|
|
27179
|
+
((
|
|
27180
|
+
a1
|
|
27181
|
+
) => {}) /* 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. */(
|
|
27182
|
+
userData
|
|
26927
27183
|
);
|
|
26928
27184
|
} else {
|
|
26929
27185
|
var asyncifyData = newFiber + 20;
|
|
@@ -27934,8 +28190,11 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
27934
28190
|
if (!SDL.eventHandler) return;
|
|
27935
28191
|
|
|
27936
28192
|
while (SDL.pollEvent(SDL.eventHandlerTemp)) {
|
|
27937
|
-
((
|
|
27938
|
-
|
|
28193
|
+
((
|
|
28194
|
+
a1,
|
|
28195
|
+
a2
|
|
28196
|
+
) => {}) /* 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. */(
|
|
28197
|
+
SDL.eventHandlerContext,
|
|
27939
28198
|
SDL.eventHandlerTemp
|
|
27940
28199
|
);
|
|
27941
28200
|
}
|
|
@@ -29559,9 +29818,12 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
29559
29818
|
return;
|
|
29560
29819
|
|
|
29561
29820
|
// Ask SDL audio data from the user code.
|
|
29562
|
-
((
|
|
29563
|
-
|
|
29564
|
-
|
|
29821
|
+
((
|
|
29822
|
+
a1,
|
|
29823
|
+
a2,
|
|
29824
|
+
a3
|
|
29825
|
+
) => {}) /* 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. */(
|
|
29826
|
+
SDL.audio.userdata,
|
|
29565
29827
|
SDL.audio.buffer,
|
|
29566
29828
|
SDL.audio.bufferSize
|
|
29567
29829
|
);
|
|
@@ -30019,8 +30281,10 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
30019
30281
|
info.audio = null;
|
|
30020
30282
|
}
|
|
30021
30283
|
if (SDL.channelFinished) {
|
|
30022
|
-
((
|
|
30023
|
-
|
|
30284
|
+
((
|
|
30285
|
+
a1
|
|
30286
|
+
) => {}) /* 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. */(
|
|
30287
|
+
channel
|
|
30024
30288
|
);
|
|
30025
30289
|
}
|
|
30026
30290
|
}
|
|
@@ -30088,8 +30352,10 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
30088
30352
|
channelInfo.audio = null;
|
|
30089
30353
|
}
|
|
30090
30354
|
if (SDL.channelFinished)
|
|
30091
|
-
((
|
|
30092
|
-
|
|
30355
|
+
((
|
|
30356
|
+
a1
|
|
30357
|
+
) => {}) /* 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. */(
|
|
30358
|
+
channel
|
|
30093
30359
|
);
|
|
30094
30360
|
};
|
|
30095
30361
|
if (channelInfo.audio) {
|
|
@@ -30824,8 +31090,11 @@ export function init(RuntimeName, PHPLoader) {
|
|
|
30824
31090
|
var _SDL_AddTimer = (interval, callback, param) =>
|
|
30825
31091
|
safeSetTimeout(
|
|
30826
31092
|
() =>
|
|
30827
|
-
((
|
|
30828
|
-
|
|
31093
|
+
((
|
|
31094
|
+
a1,
|
|
31095
|
+
a2
|
|
31096
|
+
) => {}) /* 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. */(
|
|
31097
|
+
interval,
|
|
30829
31098
|
param
|
|
30830
31099
|
),
|
|
30831
31100
|
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
|
));
|