/* Insert a variable in the list of to-be-closed variables.  */
void luaF_newtbcupval(lua_State *L, StkId level)
/* Insert a variable in the list of to-be-closed variables.  */
void luaF_newtbcupval(lua_State *L, StkId level)
{
    L->tbclist += MAXDELTA;
    L->tbclist->tbclist.delta = 0;
  }
  level->tbclist.delta = cast(unsigned short, level - L->tbclist);
  L->tbclist = level;
}