luau/VM/include
Petri Häkkinen 6fbea7cc84
Add lua_rawsetfield (#671)
Luau currently has the following functions in the C API for dealing with
tables without invoking metamethods:

lua_rawgetfield
lua_rawget
lua_rawgeti
lua_rawset
lua_rawseti

This change adds the missing function lua_rawsetfield for consistency
and because it's more efficient to use it in place of plain lua_rawset
which requires pushing the key and value separately.

Co-authored-by: Petri Häkkinen <petrih@rmd.remedy.fi>
2022-09-15 08:26:54 -07:00
..
lua.h Add lua_rawsetfield (#671) 2022-09-15 08:26:54 -07:00
luaconf.h Sync to upstream/release/539 (#625) 2022-08-04 15:35:33 -07:00
lualib.h Sync to upstream/release/539 (#625) 2022-08-04 15:35:33 -07:00