@@ -1100,12 +1100,14 @@ var LibraryBrowser = {
1100
1100
} ,
1101
1101
1102
1102
// Runs natively in pthread, no __proxy needed.
1103
+ emscripten_get_main_loop_timing__sig: 'vii' ,
1103
1104
emscripten_get_main_loop_timing : function ( mode , value ) {
1104
1105
if ( mode ) { { { makeSetValue ( 'mode' , 0 , 'Browser.mainLoop.timingMode' , 'i32' ) } } } ;
1105
1106
if ( value ) { { { makeSetValue ( 'value' , 0 , 'Browser.mainLoop.timingValue' , 'i32' ) } } } ;
1106
1107
} ,
1107
1108
1108
1109
// Runs natively in pthread, no __proxy needed.
1110
+ emscripten_set_main_loop_timing__sig : 'iii' ,
1109
1111
emscripten_set_main_loop_timing : function ( mode , value ) {
1110
1112
Browser . mainLoop . timingMode = mode ;
1111
1113
Browser . mainLoop . timingValue = value ;
@@ -1295,23 +1297,27 @@ var LibraryBrowser = {
1295
1297
1296
1298
// Runs natively in pthread, no __proxy needed.
1297
1299
emscripten_set_main_loop_arg__deps: [ '$setMainLoop' ] ,
1300
+ emscripten_set_main_loop_arg__sig : 'viiii' ,
1298
1301
emscripten_set_main_loop_arg : function ( func , arg , fps , simulateInfiniteLoop ) {
1299
1302
var browserIterationFunc = function ( ) { { { { makeDynCall ( 'vi' , 'func' ) } } } ( arg ) ; } ;
1300
1303
setMainLoop ( browserIterationFunc , fps , simulateInfiniteLoop , arg ) ;
1301
1304
} ,
1302
1305
1303
1306
// Runs natively in pthread, no __proxy needed.
1307
+ emscripten_cancel_main_loop__sig : 'v' ,
1304
1308
emscripten_cancel_main_loop : function ( ) {
1305
1309
Browser . mainLoop . pause ( ) ;
1306
1310
Browser . mainLoop . func = null ;
1307
1311
} ,
1308
1312
1309
1313
// Runs natively in pthread, no __proxy needed.
1314
+ emscripten_pause_main_loop__sig : 'v' ,
1310
1315
emscripten_pause_main_loop : function ( ) {
1311
1316
Browser . mainLoop . pause ( ) ;
1312
1317
} ,
1313
1318
1314
1319
// Runs natively in pthread, no __proxy needed.
1320
+ emscripten_resume_main_loop__sig : 'v' ,
1315
1321
emscripten_resume_main_loop : function ( ) {
1316
1322
Browser . mainLoop . resume ( ) ;
1317
1323
} ,
@@ -1333,13 +1339,15 @@ var LibraryBrowser = {
1333
1339
} ,
1334
1340
1335
1341
// Runs natively in pthread, no __proxy needed.
1342
+ emscripten_set_main_loop_expected_blockers__sig : 'vi' ,
1336
1343
emscripten_set_main_loop_expected_blockers : function ( num ) {
1337
1344
Browser . mainLoop . expectedBlockers = num ;
1338
1345
Browser . mainLoop . remainingBlockers = num ;
1339
1346
Browser . mainLoop . updateStatus ( ) ;
1340
1347
} ,
1341
1348
1342
1349
// Runs natively in pthread, no __proxy needed.
1350
+ emscripten_async_call__sig : 'viii' ,
1343
1351
emscripten_async_call : function ( func , arg , millis ) {
1344
1352
noExitRuntime = true ;
1345
1353
0 commit comments