diff options
author | max99x <max99x@gmail.com> | 2011-09-13 01:32:50 +0300 |
---|---|---|
committer | max99x <max99x@gmail.com> | 2011-09-13 01:32:50 +0300 |
commit | 91569e2483a4ef10970ed42ee2066128750ff65e (patch) | |
tree | a559c0d3fc65e3f52172c62c567f65edc8fcfcf5 | |
parent | 2349a6254c3b013b854cbb7930b272ad5c131511 (diff) |
Added stub for mblen().
-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 776183b0..cd204d95 100644 --- a/src/library.js +++ b/src/library.js @@ -3586,6 +3586,11 @@ LibraryManager.library = { return String_len(ptr); }, + // TODO: Implement when we have real unicode support. + mblen: function() { + return 1; + }, + strspn: function(pstr, pset) { var str = String_copy(pstr, true); var set = String_copy(pset); |