src/locals.cpp
/*!
 * \fn void pop()
 * \brief Removes the last value added to this set of locals
 *
 * The Value is destroyed if it is owned by the Locals object.
 */
\fn void pop()
\brief Removes the last value added to this set of locals

The Value is destroyed if it is owned by the Locals object.
\ fn void pop () \ brief Removes the last value added to this set of locals The Value is destroyed if it is owned by the Locals object .
void Locals::pop()
{
  Value v = take();
  if (v.impl()->ref == 1)
  {
    v.engine()->destroy(v);
  }
}
void Locals :: pop ( ) { Value v = take ( ) ; if ( v . impl ( ) -> ref == 1 ) { v . engine ( ) -> destroy ( v ) ; } }
\fn void pop()
 \brief Removes the last value added to this set of locals
\ fn void pop () \ brief Removes the last value added to this set of locals