fix
This commit is contained in:
parent
f5b9e12076
commit
8c16498ec6
@ -1,13 +1,11 @@
|
|||||||
-- Auto-generated by gencfuncs.lua
|
-- Auto-generated by gencfuncs.lua
|
||||||
|
|
||||||
local cFuncsByName = {
|
cFuncsByName = {
|
||||||
["diode"] = 1,
|
["diode"] = 1,
|
||||||
["not"] = 2,
|
["not"] = 2,
|
||||||
}
|
}
|
||||||
|
|
||||||
local cDataSizeByName = {
|
cDataSizeByName = {
|
||||||
["diode"] = 0,
|
["diode"] = 0,
|
||||||
["not"] = 0,
|
["not"] = 0,
|
||||||
}
|
}
|
||||||
|
|
||||||
return cFuncsByName, cDataSizeByName
|
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
|
|
||||||
local ffi = FFI or require("ffi")
|
local ffi = FFI or require("ffi")
|
||||||
local cFuncsByName, cDataSizeByName = require("compiled_sim_gates")
|
|
||||||
|
|
||||||
GateDefinition = {
|
GateDefinition = {
|
||||||
ports = {},
|
ports = {},
|
||||||
|
@ -30,6 +30,7 @@ dofile("port.lua")
|
|||||||
dofile("gate.lua")
|
dofile("gate.lua")
|
||||||
dofile("save.lua")
|
dofile("save.lua")
|
||||||
dofile("network.lua")
|
dofile("network.lua")
|
||||||
|
dofile("compiled_sim_gates.lua")
|
||||||
FFI = nil
|
FFI = nil
|
||||||
Socket = nil
|
Socket = nil
|
||||||
require = nil
|
require = nil
|
||||||
|
Loading…
x
Reference in New Issue
Block a user