Close a table again.
This is done by popping all values above and itself from the stack.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(flu_state) | :: | L | Handle for the Lua script. |
|||
integer, | intent(in) | :: | thandle | Handle of the table to close. |
subroutine aot_table_close(L, thandle)
type(flu_state) :: L !! Handle for the Lua script.
!> Handle of the table to close.
integer, intent(in) :: thandle
if (thandle > 0) call flu_settop(L, thandle-1)
end subroutine aot_table_close