All tests working

This commit is contained in:
2023-04-25 21:57:25 -04:00
parent 45b51c15c7
commit d8218f0bf7
7 changed files with 69 additions and 0 deletions
+4
View File
@@ -139,6 +139,10 @@ local function INIT(__GlobalLinda, __SleepingLinda, __StatusLinda, __Console)
GLOBAL["__env"] = env
end
function THREAD.getENV()
return GLOBAL["__env"]
end
return GLOBAL, THREAD
end
+4
View File
@@ -171,6 +171,10 @@ function threads.setENV(env)
(threads.getGlobal())["__env"] = threads.packENV(env)
end
function threads.getENV()
return threads.unpackENV((threads.getGlobal())["__env"])
end
function threads.createTable(n)
local _proxy = {}
local function set(name,val)
+4
View File
@@ -106,6 +106,10 @@ local function INIT(thread)
GLOBAL["__env"] = env
end
function THREAD.getENV()
return GLOBAL["__env"]
end
return GLOBAL, THREAD
end