diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-03-22 11:31:54 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-03-22 11:31:54 -0700 |
commit | 8146bec6c72601f46edae19b1822d8bf585f4fd3 (patch) | |
tree | 2e20299ca51151b91031e3245021a54d7fe86ac9 /src | |
parent | e22176211cd8fe4fd4e13a336abcf93dd4d26723 (diff) |
add default c++ terminate() in library.js
Diffstat (limited to 'src')
-rw-r--r-- | src/library.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/library.js b/src/library.js index 3ee6f505..f8ea67ba 100644 --- a/src/library.js +++ b/src/library.js @@ -3712,6 +3712,11 @@ LibraryManager.library = { __exit(status); }, + _ZSt9terminatev__deps: ['exit'], + _ZSt9terminatev: function() { + _exit(-1234); + }, + atexit: function(func, arg) { __ATEXIT__.unshift({ func: func, arg: arg }); }, |