aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/library.js5
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);