aboutsummaryrefslogtreecommitdiff
path: root/lua.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2023-11-09 17:05:42 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2023-11-09 17:05:42 -0300
commit024f9064f1b43758eb36aba52547edc0312bf4ba (patch)
tree9d8609112058e885196a581f0736fbdd94f7f94d /lua.h
parent7f4906f565ab9f8b1125107a3abae3d759f3ecf2 (diff)
downloadlua-024f9064f1b43758eb36aba52547edc0312bf4ba.tar.gz
lua-024f9064f1b43758eb36aba52547edc0312bf4ba.tar.bz2
lua-024f9064f1b43758eb36aba52547edc0312bf4ba.zip
External strings
Strings can use external buffers to store their contents.
Diffstat (limited to 'lua.h')
-rw-r--r--lua.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lua.h b/lua.h
index 699b7ca7..ca8d06fe 100644
--- a/lua.h
+++ b/lua.h
@@ -244,6 +244,8 @@ LUA_API void (lua_pushnil) (lua_State *L);
244LUA_API void (lua_pushnumber) (lua_State *L, lua_Number n); 244LUA_API void (lua_pushnumber) (lua_State *L, lua_Number n);
245LUA_API void (lua_pushinteger) (lua_State *L, lua_Integer n); 245LUA_API void (lua_pushinteger) (lua_State *L, lua_Integer n);
246LUA_API const char *(lua_pushlstring) (lua_State *L, const char *s, size_t len); 246LUA_API const char *(lua_pushlstring) (lua_State *L, const char *s, size_t len);
247LUA_API const char *(lua_pushextlstring) (lua_State *L,
248 const char *s, size_t len, lua_Alloc falloc, void *ud);
247LUA_API const char *(lua_pushstring) (lua_State *L, const char *s); 249LUA_API const char *(lua_pushstring) (lua_State *L, const char *s);
248LUA_API const char *(lua_pushvfstring) (lua_State *L, const char *fmt, 250LUA_API const char *(lua_pushvfstring) (lua_State *L, const char *fmt,
249 va_list argp); 251 va_list argp);