Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
emscripten-core
GitHub Repository: emscripten-core/emscripten
Path: blob/main/src/closure-externs/dyncall-externs.js
4130 views
1
/**
2
* If DYNCALLS is enabled, then we will emit dynCall_* calls. If we happen to
3
* emit JS with such a call, but that code path is never reached, and the wasm
4
* does not contain any method with that signature, then we would not emit a
5
* dynCall_* method and closure would error. Define the common signatures here
6
* to avoid that.
7
*
8
* TODO: Fix https://github.com/emscripten-core/emscripten/issues/13858 in
9
* another way, either by landing
10
* https://github.com/emscripten-core/emscripten/pull/12088 or otherwise
11
* removing DYNCALLS.
12
*/
13
/**
14
* @suppress {duplicate, undefinedVars}
15
*/
16
var dynCall_v;
17
/**
18
* @suppress {duplicate, undefinedVars}
19
*/
20
var dynCall_vi;
21
/**
22
* @suppress {duplicate, undefinedVars}
23
*/
24
var dynCall_vii;
25
/**
26
* @suppress {duplicate, undefinedVars}
27
*/
28
var dynCall_iii;
29
30
31
32