From 67578ec51f1a3ec2c967f15d370067caf9e0b87b Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Tue, 17 May 2005 16:49:15 -0300 Subject: several small details --- ldump.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'ldump.c') diff --git a/ldump.c b/ldump.c index e3823a0d..c453175d 100644 --- a/ldump.c +++ b/ldump.c @@ -1,5 +1,5 @@ /* -** $Id: ldump.c,v 2.4 2004/10/04 19:01:12 roberto Exp roberto $ +** $Id: ldump.c,v 2.5 2005/05/05 20:47:02 roberto Exp roberto $ ** save pre-compiled Lua chunks ** See Copyright Notice in lua.h */ @@ -21,7 +21,7 @@ typedef struct { lua_State* L; - lua_Chunkwriter writer; + lua_Writer writer; void* data; int strip; int status; @@ -164,7 +164,8 @@ static void DumpHeader(DumpState* D) /* ** dump Lua function as precompiled chunk */ -int luaU_dump (lua_State* L, const Proto* f, lua_Chunkwriter w, void* data, int strip) +int luaU_dump (lua_State* L, const Proto* f, lua_Writer w, void* data, + int strip) { DumpState D; D.L=L; -- cgit v1.2.3-55-g6feb