shims: Add the string.wlen function

This commit is contained in:
Emmanuel Lepage Vallee 2016-12-29 16:18:43 -05:00
parent 1e1bebc269
commit 5e1d2ce0ad
1 changed files with 5 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-- luacheck: globals string
function string.wlen(self)
return #self
end
return function(_, _)
-- Set the global shims