summaryrefslogtreecommitdiff
path: root/src/lstrlib.js
diff options
context:
space:
mode:
authorBenoit Giannangeli <benoit.giannangeli@boursorama.fr>2017-03-14 07:59:59 +0100
committerBenoit Giannangeli <benoit.giannangeli@boursorama.fr>2017-03-14 07:59:59 +0100
commitf72e2999b92084a8e2d0cef8bfb3b52607bc8dd5 (patch)
tree936b014f71e33df7cf488de1ec694f25ae11c1d6 /src/lstrlib.js
parent3ec4e9d919173429fa56841ce58b3214f7985077 (diff)
downloadfengari-f72e2999b92084a8e2d0cef8bfb3b52607bc8dd5.tar.gz
fengari-f72e2999b92084a8e2d0cef8bfb3b52607bc8dd5.tar.bz2
fengari-f72e2999b92084a8e2d0cef8bfb3b52607bc8dd5.zip
utf8.offset
Diffstat (limited to 'src/lstrlib.js')
-rw-r--r--src/lstrlib.js2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/lstrlib.js b/src/lstrlib.js
index 2f89777..3db3e5e 100644
--- a/src/lstrlib.js
+++ b/src/lstrlib.js
@@ -5,8 +5,6 @@ const assert = require('assert');
const lua = require('./lua.js');
const lapi = require('./lapi.js');
const lauxlib = require('./lauxlib.js');
-const CT = lua.constant_types;
-const TS = lua.thread_status;
const str_len = function(L) {
lapi.lua_pushinteger(L, lauxlib.luaL_checkstring(L, 1).length);