This commit is contained in:
Redo 2022-11-13 22:51:12 -06:00
parent f5b9e12076
commit 8c16498ec6
3 changed files with 3 additions and 5 deletions

View File

@ -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

View File

@ -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 = {},

View File

@ -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