lua-users home
lua-l archive

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

On Fri, Sep 06, 2013 at 02:26:06PM +0200, Karol Drożak wrote:
> How can I manipulating local variables from C in Lua 5.2?

In general: don't.  Unless you have a really really really good reason,
modifying the calling function's environment is a bad idea.

Just return the values and say that it's up to the caller to put them