mlua-extras 11.6.2

Extra helpers and functionality built on top of mlua for embedded lua development
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- @return Custom
function getCustom() return {} end

--- @type Custom
local c = getCustom()

if c._variant == "B" then
    ---@cast c CustomB
    print(c.COUNT)
end

print(c.COUNT)

print("Hello world!")