remove gate ffi struct

This commit is contained in:
Redo
2022-11-04 15:04:49 -06:00
parent 5438de0adf
commit a9056df54d
5 changed files with 17 additions and 29 deletions

View File

@@ -62,5 +62,5 @@ function Port.gettype(port)
end
function Port.getstate(port)
return Port.getgate(port).c.ports[port.idx].state
return Port.getgate(port).port_states[port.idx]
end