[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Missing function in lua API: move an element on the top of the stack ?
- From: "Ashwin Hirschi" <deery@...>
- Date: Mon, 07 Nov 2005 18:35:49 +0100
I found in the lua manual a function: lua_insert which put the element
on the top of the stack at a given index.
But is there a solution to put an element at a given index on the top
of the stack (and not a copy of the element like lua_pushfield do) ?
I don't know about lua_pushfield, but how about using lua_pushvalue and lua_remove?
no signature is a signature.