LUA_RAWSET(3) Library Functions Manual LUA_RAWSET(3)

lua_rawsetpops both the key and the value from the stack, function indicator [-2, +0, m]

#include <lua.h>

void
lua_rawset(lua_State *L, int index);

() pops both the key and the value from the stack. As in Lua, this function may trigger a metamethod for the "newindex" event. Similar to lua_settable(3), but does a raw assignment (i.e., without metamethods).

lua_settable(3)

Roberto Ierusalimschy, Luiz Henrique de Figueiredo, and Waldemar Celes, Lua 5.1 Reference Manual.

The lua_rawset() manual page is based on Lua Reference Manual 5.1 and was created by Sergey Bronnikov.

July 15, 2022 Debian