dm_lua_init Function

public function dm_lua_init(lua, libs) result(rc)

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.

Arguments

Type IntentOptional Attributes Name
type(lua_state_type), intent(inout) :: lua

Lua type.

logical, intent(in), optional :: libs

Open Lua libraries.

Return Value integer


Calls

proc~~dm_lua_init~~CallsGraph proc~dm_lua_init dm_lua_init lual_newstate lual_newstate proc~dm_lua_init->lual_newstate lual_openlibs lual_openlibs proc~dm_lua_init->lual_openlibs

Called by

proc~~dm_lua_init~~CalledByGraph proc~dm_lua_init dm_lua_init proc~dm_config_open dm_config_open proc~dm_config_open->proc~dm_lua_init proc~dm_lua_version dm_lua_version proc~dm_lua_version->proc~dm_lua_init