lua-users home
lua-l archive

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


Does the Lua C part call a metatable method when it produces a value of
a variable?

i.e, if I have a userdata value 'n', can I intercept somehow the operation

a = n

?  At the moment, this assigns the string 'n' to a.