lua-users home
lua-l archive

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

At 16:07 20/08/2003 +0100, you wrote:
> in tolua4.0 and tolua5.0, these "types" in the .pkg works as a hint
> for tolua to handle the parameter correctly.

And it sets up the parameter as what? A reference for use with
lua_getref? or? A stack index?

It's a stack index.. on tolua4 'LUA_VALUE' was an int, defined on tolua.h.. I don't see the definition on tolua.h from tolua5, but they're both on the basic types list, so I assume it's the same on tolua5.