diff --git a/src/library.js b/src/library.js index 542fe7e38..1d64b914b 100644 --- a/src/library.js +++ b/src/library.js @@ -72,6 +72,8 @@ var Library = { // stdlib.h + abs: 'Math.abs', + atexit: function(func) { __ATEXIT__.push(func); },