[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Moving an element on the stack
- From: "Juris Kalnins" <juris@...>
- Date: Wed, 03 Mar 2010 15:00:43 +0200
On Wed, 03 Mar 2010 14:55:34 +0200, steve donovan
<steve.j.donovan@gmail.com> wrote:
I've always missed a simple swap the top two elements operation,
personally
#define lua_swap(L) lua_insert(L, -2)