Close a previously opened Lua script.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(flu_State) | :: | L |
Handle to the Lua state to close. |
subroutine flu_close(L) type(flu_State) :: L !! Handle to the Lua state to close. call lua_close(L%state) L%state = c_null_ptr end subroutine flu_close