new pack/unpack for tables, current issue is things being turned into strings

This commit is contained in:
2023-07-30 00:47:27 -04:00
parent bbaac2d779
commit bb0592f3eb
9 changed files with 162 additions and 270 deletions
+1 -1
View File
@@ -135,7 +135,6 @@ function multi:newProxy(list)
self.recv = THREAD.waitFor(self.name.."_R"):init()
self.Type = multi.PROXY
for _,v in pairs(funcs) do
print(v,_)
if type(v) == "table" then
-- We have a connection
v[2]:init(proc_name)
@@ -190,6 +189,7 @@ function multi:newProxy(list)
THREAD = multi.integration.THREAD
end
local proxy = THREAD.waitFor(self.proxy_link)
print("Got:",proxy)
proxy.funcs = self.funcs
return proxy:init()
end