allow luaget/luaset/luacall to access tables and methods, improve type conversion, add bl.string, begin adding matrix
This commit is contained in:
@@ -192,12 +192,6 @@ function require(mod)
|
||||
return _bllua_requiresecure(mod)
|
||||
end
|
||||
|
||||
-- Exposure to TS
|
||||
function _bllua_getvar(name) return _G[name] end
|
||||
function _bllua_setvar(name, val) _G[name] = val end
|
||||
function _bllua_eval(code) return loadstring(code)() end
|
||||
function _bllua_exec(fn) return dofile(fn, 2) end
|
||||
|
||||
local function isValidCode(code)
|
||||
local f,e = loadstring(code)
|
||||
return f~=nil
|
||||
|
||||
Reference in New Issue
Block a user