Ardour
9.0-pre0-582-g084a23a80d
|
Public Member Functions | |
StackPop (lua_State *L, int count) | |
~StackPop () | |
Private Attributes | |
lua_State * | m_L |
int | m_count |
Pop the Lua stack.
Pops the specified number of stack items on destruction. We use this when returning objects, to avoid an explicit temporary variable, since the destructor executes after the return statement. For example:
StackPop
object must always be a named local variable.
|
inline |