diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-05-03 16:40:18 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-05-04 19:53:45 -0700 |
commit | eadd89b7c87921ea3274e76017046b8bf884b336 (patch) | |
tree | 8c77b931a6323823542f33836ba765f46d6ff97c /src/settings.js | |
parent | 0560adda8a6c0259478a54e5b514ceaafe8fc10c (diff) |
make memory management sane: 0 is null, then static including globals, then stack, then dynamic/sbrk. deprecate shared libs (BUILD_AS_SHARED_LIB)
Diffstat (limited to 'src/settings.js')
-rw-r--r-- | src/settings.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/settings.js b/src/settings.js index 2e4c2550..ba1f6a83 100644 --- a/src/settings.js +++ b/src/settings.js @@ -279,7 +279,8 @@ var PRINT_SPLIT_FILE_MARKER = 0; // Prints markers in Javascript generation to s var BUILD_AS_SHARED_LIB = 0; // Whether to build the code as a shared library // 0 here means this is not a shared lib: It is a main file. - // 1 means this is a normal shared lib, load it with dlopen(). + // All shared library options (1 and 2) are currently deprecated XXX + // 1 means this is a normal shared lib, load it with dlopen() // 2 means this is a shared lib that will be linked at runtime, // which means it will insert its functions into // the global namespace. See STATIC_LIBS_TO_LOAD. |