-- @runtimes luajit local h = require("harness") local m = require("main") h.describe("FFI struct", function() h.it("布局与字段", function() local r = m.run(function() end) h.eq(r.size, 16) h.eq(r.x, 1.5) h.eq(r.y, 2.5) end) end) h.run()