Lua States

Lua is fully reentrant: it does not have any global variables. The whole state of the Lua interpreter is stored in a dynamically allocated structure of type lua_State; this state must be passed as the first argument to every function in the library (except lua_open below.)

Created with the Personal Edition of HelpNDoc: Don't be left in the past: convert your WinHelp HLP help files to CHM with HelpNDoc