diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2023-12-14 11:41:57 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2023-12-14 11:41:57 -0300 |
commit | 4eda1acafa1a69224b2d4f786cf1ec8f7a4d9ac5 (patch) | |
tree | 474a56c1cbb1b109f945cb3765c6ebc918d35b37 /lundump.h | |
parent | ad73b332240ef5b9bab1517517f63a1425dc7545 (diff) | |
download | lua-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.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 */ |
33 | LUAI_FUNC int luaU_dump (lua_State* L, const Proto* f, lua_Writer w, | 33 | LUAI_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 |