Initialises Lua interpreter and opens libraries, unless libs
is
.false.
. Returns E_EXIST
if the Lua pointer is already
associated, and E_LUA
if one of the Lua calls failed.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(lua_state_type), | intent(inout) | :: | lua |
Lua type. |
||
logical, | intent(in), | optional | :: | libs |
Open Lua libraries. |