diff options
-rw-r--r-- | src/library.js | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/library.js b/src/library.js index 560ddb86..9cb1967a 100644 --- a/src/library.js +++ b/src/library.js @@ -4706,15 +4706,17 @@ LibraryManager.library = { // setjmp.h // ========================================================================== - _setjmp: function(env) { + setjmp: function(env) { // XXX print('WARNING: setjmp() not really implemented, will fail if longjmp() is actually called'); return 0; }, + _setjmp: 'setjmp', - _longjmp: function(env, val) { + longjmp: function(env, val) { // not really working... assert(0); }, + _longjmp: 'longjmp', // ========================================================================== // signal.h |