How do I use a global lua_State * in a game engine?
snippet in lua

How do I use a global lua_State * in a game engine?

user5407

-- object1Script.lua
allObjects.object1 = {
    init = function() 
        ...
        end, 
    tick = function()
        ...
        end
}