lua-users home
lua-l archive

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


>  But there is not an equivalent lua_rawsetfield(). Is there something I
> have overlooked, or is this just an oversight?

Neither one nor the other. There is no "lua_rawsetfield", but this
is not an oversight. Some people may need lua_geti (no raw version);
others may need a lua_getfieldl where the key is given as a string
with explicit length (and of course some will need a lua_rawgetfieldl
too). There are endless variations. Lua provides a few variations
for the cases we feel are more common.

-- Roberto