lua-users home
lua-l archive

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


>Tolua-generated code seems to call 'lua_settop(0)' in between 
>reading the arguments and pushing the return values. Why is this?
>Could someone knowing the Lua internals comment on whether this 
>is good, bad, or does not matter?

Maybe is it just a safety catch, or a cleaning up of (possible) unused
extra arguments before pushing the results into the stack?

  Enrico