Skip to content

Commit 73a60a2

Browse files
authored
Document extra INCOMING_MODULE_JS_API settings. NFC (#27194)
1 parent b3e7d30 commit 73a60a2

2 files changed

Lines changed: 25 additions & 2 deletions

File tree

site/source/docs/tools_reference/settings_reference.rst

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1447,7 +1447,18 @@ Setting this list to [], or at least a short and concise set of names you
14471447
actually use, can be very useful for reducing code size. By default, the
14481448
list contains a set of commonly used symbols.
14491449

1450-
FIXME: should this just be 0 if we want everything?
1450+
In addition to the default symbols, the following are also available:
1451+
1452+
- fetchSettings
1453+
- logReadFiles
1454+
- loadSplitModule
1455+
- onMalloc
1456+
- onRealloc
1457+
- onFree
1458+
- onSbrkGrow
1459+
- onCOSCacheHit
1460+
- onCOSCacheMiss
1461+
- onCOSStore
14511462

14521463
Default value: (multi-line value, see settings.js)
14531464

src/settings.js

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -989,7 +989,19 @@ var EXPORTED_RUNTIME_METHODS = [];
989989
// actually use, can be very useful for reducing code size. By default, the
990990
// list contains a set of commonly used symbols.
991991
//
992-
// FIXME: should this just be 0 if we want everything?
992+
// In addition to the default symbols, the following are also available:
993+
//
994+
// - fetchSettings
995+
// - logReadFiles
996+
// - loadSplitModule
997+
// - onMalloc
998+
// - onRealloc
999+
// - onFree
1000+
// - onSbrkGrow
1001+
// - onCOSCacheHit
1002+
// - onCOSCacheMiss
1003+
// - onCOSStore
1004+
//
9931005
// [link]
9941006
var INCOMING_MODULE_JS_API = [
9951007
'ENVIRONMENT', 'GL_MAX_TEXTURE_IMAGE_UNITS', 'SDL_canPlayWithWebAudio',

0 commit comments

Comments
 (0)