LUA_TOSTRING(3) Library Functions Manual LUA_TOSTRING(3)

lua_tostringconverts the Lua value to a C string, function indicator [-0, +0, m]

#include <lua.h>

const char *
lua_tostring(lua_State *L, int index);

() converts the Lua value at the given acceptable index to a C string.

Equivalent to lua_tolstring(3) with len equal to NULL.

lua_tolstring(3)

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

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

July 15, 2022 Debian