stop setting metatables on objects

This commit is contained in:
Redo0
2021-05-25 17:28:54 -05:00
parent 4cf2231a01
commit e92cc50186
7 changed files with 11 additions and 21 deletions

View File

@@ -15,7 +15,7 @@ FFI.cdef[[
};
]]
function Group.new(self)
function Group.new()
local o = {
state = false,
fxstate = false,
@@ -32,8 +32,6 @@ function Group.new(self)
nout_ports = 0,
nin_ports = 0,
}
setmetatable(o, self)
self.__index = self
return o
end