lua-users home
lua-l archive

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


When definining a gettable tag method, and delegating one of the 
indexes to another c function with pushcfunction, is the table 
supposed to be on the stack for the function... If not, how do I go 
about getting the userdata for this gettable. I've seen code that 
does this and I thought mine was doing the same thing, but the 
userdata is not at stack index 1. Only the the parameters to the lua 
userdata.function exist on the stack.