aboutsummaryrefslogtreecommitdiff
path: root/lundump.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2022-12-15 16:44:22 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2022-12-15 16:44:22 -0300
commitd70a0c91ad42275af1f6f1b6e37c604442b3f0d1 (patch)
tree1507250574d5f9b34c32a0fade34fbeaecb7c5f9 /lundump.h
parent3e6818ca87b8d7aa007e6992295956a92bb89de4 (diff)
downloadlua-d70a0c91ad42275af1f6f1b6e37c604442b3f0d1.tar.gz
lua-d70a0c91ad42275af1f6f1b6e37c604442b3f0d1.tar.bz2
lua-d70a0c91ad42275af1f6f1b6e37c604442b3f0d1.zip
Dump/undump reuse strings
A repeated string in a dump is represented as an index to its first occurence, instead of another copy of the string.
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 f3748a99..7def905b 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); 34 void* data, int strip, Table *h);
35 35
36#endif 36#endif