LUA_RAWSETI(3) Library Functions Manual LUA_RAWSETI(3)

lua_rawseti — pops the value from the stack

#include <lua.h>

void
lua_rawseti(lua_State *L, int index, int n);

Function indicator: [-1, +0, m].

() does the equivalent of t[n] = v, where t is the value at the given valid index and v is the value at the top of the stack.

This function pops the value from the stack. The assignment is raw; that is, it does not invoke metamethods.

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

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

July 15, 2022 Debian