lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


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)