lua-users home
lua-l archive

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


Hi,

I'm trying to register class and their method into Lua.
So, I success in register the getters (in the __index) and the setters (in the __newindex).
I wonder know if there is a way to register the methods in an other table ?
In other words, I don't want that when I call in Lua : myObject:myMethod(args)
it call de the closure of the __index.
Can I use for exemple __call ?

Thanks,

Timothée Verrouil