diff options
author | alon@honor <none@none> | 2010-10-23 20:37:49 -0700 |
---|---|---|
committer | alon@honor <none@none> | 2010-10-23 20:37:49 -0700 |
commit | fcddeb2e6455db795e86be78f1679bbfeb27c52d (patch) | |
tree | 03bc2ad82583dae8b35b99cc992ac28d66eac150 /src | |
parent | f221a9bada6e054c0bf6a99db1bb0c1f1d8d349d (diff) |
support for pure virtual functions
Diffstat (limited to 'src')
-rw-r--r-- | src/library.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/library.js b/src/library.js index b276eba8..61149e2d 100644 --- a/src/library.js +++ b/src/library.js @@ -165,6 +165,10 @@ var Library = { return ret; }, + __cxa_pure_virtual: function() { + throw 'Pure virtual function called!'; + }, + // iostream _ZNSt8ios_base4InitC1Ev: function() { |