This routine closes all the table opened in aot_path_open_table.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(aot_path_type), | intent(inout) | :: | me |
The path object to open as a function |
||
type(flu_State) | :: | conf |
The flu_state handle, which is either opened according to the path, or used to open the path in. |
|||
logical, | intent(in), | optional | :: | closeLua |
A flag to indicate, wether to close the Lua script, default is false. |
subroutine aot_path_close_table(me, conf, closeLua) !> The path object to open as a function type(aot_path_type), intent(inout) :: me !> The flu_state handle, which is either opened according to !! the path, or used to open the path in. type(flu_state) :: conf !> A flag to indicate, wether to close the Lua script, default !! is false. logical, intent(in), optional :: closeLua if (me%roothandle /= 0) then call aot_table_close(L=conf, thandle=me%roothandle) end if if (present(closeLua)) then if (closeLua) then call close_config(conf) end if end if end subroutine aot_path_close_table