From d70a0c91ad42275af1f6f1b6e37c604442b3f0d1 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Thu, 15 Dec 2022 16:44:22 -0300 Subject: 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. --- lundump.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lundump.h') 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); /* dump one chunk; from ldump.c */ LUAI_FUNC int luaU_dump (lua_State* L, const Proto* f, lua_Writer w, - void* data, int strip); + void* data, int strip, Table *h); #endif -- cgit v1.2.3-55-g6feb