lua-users home
lua-l archive

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

> "Upvalues are local to the combination of a LuaState and a C library"
> -- I thought upvalues where specific to a lua function (or more
> specifically a closure).

Thx for the hint. I updated it with a link. 
You are right on the Lua side, but there are also upvalues on the C side; 

The header already stated: "Static variables vs upvalues (for C functions)", but I now added a link.