LUA_RAWGET(3) Library Functions Manual LUA_RAWGET(3)

lua_rawgetpops the key from the stack, function indicator [-1, +1, -]

#include <lua.h>

void
lua_rawget(lua_State *L, int index);

() pops the key from the stack (putting the resulting value in its place). As in Lua, this function may trigger a metamethod for the "index" event. Similar to lua_gettable(3), but does a raw access (i.e., without metamethods).

lua_gettable(3)

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

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

July 15, 2022 Debian