lua-users home
lua-l archive

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


Hallo,

On Wed, Aug 22, 2012 at 11:52 PM, Eric Tetz <erictetz@gmail.com> wrote:
> If I have a C function called by Lua. It has an upvalue and I'd like
> to change it's value. Possible?
>

Box the actual value inside a table and then set the table as the upvalue.

-- 
-alex
http://www.artisancoder.com/