aboutsummaryrefslogtreecommitdiff
path: root/lundump.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2023-12-14 11:41:57 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2023-12-14 11:41:57 -0300
commit4eda1acafa1a69224b2d4f786cf1ec8f7a4d9ac5 (patch)
tree474a56c1cbb1b109f945cb3765c6ebc918d35b37 /lundump.h
parentad73b332240ef5b9bab1517517f63a1425dc7545 (diff)
downloadlua-4eda1acafa1a69224b2d4f786cf1ec8f7a4d9ac5.tar.gz
lua-4eda1acafa1a69224b2d4f786cf1ec8f7a4d9ac5.tar.bz2
lua-4eda1acafa1a69224b2d4f786cf1ec8f7a4d9ac5.zip
Cleaner protocol between 'lua_dump' and writer function
'lua_dump' signals to the writer function the end of a dump, so that is has more freedom when using the stack.
Diffstat (limited to 'lundump.h')
-rw-r--r--lundump.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lundump.h b/lundump.h
index 05ac7f85..b10307e4 100644
--- a/lundump.h
+++ b/lundump.h
@@ -31,6 +31,6 @@ LUAI_FUNC LClosure* luaU_undump (lua_State* L, ZIO* Z, const char* name,
31 31
32/* dump one chunk; from ldump.c */ 32/* dump one chunk; from ldump.c */
33LUAI_FUNC int luaU_dump (lua_State* L, const Proto* f, lua_Writer w, 33LUAI_FUNC int luaU_dump (lua_State* L, const Proto* f, lua_Writer w,
34 void* data, int strip, Table *h); 34 void* data, int strip);
35 35
36#endif 36#endif